Commit graph

224 commits

Author SHA1 Message Date
Cecile Tonglet
f5070cf560 Update dependencies 2024-03-25 08:00:06 +01:00
Cecile Tonglet
4e52b1eab6 chore: Release 2023-11-28 10:15:20 +01:00
Cecile Tonglet
d596258759 PanelStack: fix missing element for comparison in PartialEq 2023-11-28 10:09:58 +01:00
Cecile Tonglet
c6c19f0241 Icons: fix warning when building icons 2023-11-28 10:09:36 +01:00
Cecile Tonglet
848204863c Card: should always use Option<Callback> and not just Callback
If you don't do this, the user can't pass an Option<Callback> at all.
2023-11-07 13:59:40 +01:00
Cecile Tonglet
b01e006371 Tree: fix node not visibly disabled 2023-11-07 10:46:55 +01:00
Cecile Tonglet
e5b5a5585a
Upgrade to Yew 0.21 (#174) 2023-10-08 14:34:16 +02:00
Yoh Deadfall
da9328340e
Added missed Rust logo (#173)
This PR adds a very important part - the Rust Lang logo. It gives `+10`
popularity points to the repo.
2023-05-18 16:29:45 +01:00
Cecile Tonglet
97ae6cb460 chore: Release 2023-05-17 14:25:15 +02:00
Cecile Tonglet
6061517742 Fix: do not auto-detect color scheme preference by default 2023-05-17 14:25:01 +02:00
Cecile Tonglet
04e071e419 chore: Release 2023-05-17 14:06:24 +02:00
Cecile Tonglet
2897c67e0a Add missing features on web-sys 2023-05-17 14:05:41 +02:00
Cecile Tonglet
ad55431263
Implement Dialog and Alert (#172) 2023-05-17 14:00:02 +02:00
Cecile Tonglet
993b8cc8bd chore: Release 2023-04-24 19:06:11 +02:00
Simon Bihel
31a3ba8946
Add grow_vertically to TextArea (#171)
This change replicates the behaviour on Blueprint.

Improvements could include:
1. adding support for the `value` property and generating the element
with the appropriate height; and
2. reduce the height when text is deleted.

Close #158
2023-04-24 09:57:21 +02:00
amos
071bbd6d06
Capture pointer synchronously (#169)
This was an attempt at addressing:

https://github.com/yewprint/yewprint/pull/168#issuecomment-1496578935

but it doesn't fully work around what I think is a Firefox bug (until
proven innocent).

Anyway it does simplify some bits of the code and it probably seems wise
to react to the DOM event before returning from the event listener (I'm
not sure how yew event dispatching works internally).
2023-04-05 14:16:33 +01:00
amos
bbd613206a
Make Slider component work on touch devices (#168)
blueprintjs, even on v4, apparently only works on desktop targets (it
uses mouse events), but I'm using yewprint for _something_ and I needed
it to work on mobile devices. It seems pointer events + pointer capture
is the way to go in 2023, so that's what this uses!

Tested on Chrome macOS, Firefox macOS, Safari macOS, and Chrome Android
and it works fine. You can drag starting from the handle or starting
from anywhere on the slider itself, you can still move the pointer
up/down outside the slider while holding it, focusing the handle + using
arrow keys still works as before.

I guess the only breaking change is that you can move the slider with a
secondary mouse button now, but since PointerEvent inherits from
MouseEvent it might be possible to re-add that restriction, if anyone
cares about it enough.
2023-04-04 20:34:33 +02:00
Cecile Tonglet
a705c433b8 (cargo-release) version 0.4.3 2023-03-01 15:53:53 +01:00
Cecile Tonglet
a8a00037ef Update Cargo.lock 2023-03-01 15:53:37 +01:00
Cecile Tonglet
f91f5810be
HtmlSelect: fix handling of unchanged option selection (#167) 2023-03-01 15:50:38 +01:00
Cecile Tonglet
b71f69ade9
Use Cell instead of RefCell (#166) 2023-02-07 08:05:16 +01:00
Dmitry Malkov
5d0bddca6b
Fix Light/Dark theme switch (#165) 2023-02-07 05:54:39 +01:00
Cecile Tonglet
fa96d3e403 (cargo-release) version 0.4.2 2023-02-01 10:18:20 +01:00
Cecile Tonglet
f5fdb429b6
Implement Debug and ImplicitClone for TreeData (#164) 2023-02-01 10:17:54 +01:00
Cecile Tonglet
48b2ef302a (cargo-release) version 0.4.1 2023-01-30 15:54:18 +01:00
Cecile Tonglet
2edd2a02b3
HtmlSelect: make sure selection is updated after render (#163) 2023-01-30 15:52:58 +01:00
Cecile Tonglet
c2f9b5cce7 (cargo-release) version 0.4.0 2022-12-21 11:50:16 +01:00
Cecile Tonglet
4344a315da Update Cargo.lock 2022-12-21 11:50:02 +01:00
Cecile Tonglet
73eb49ef0f Make yewprint-css version match yewprint version 2022-12-21 11:49:04 +01:00
Cecile Tonglet
80401a132e (cargo-release) version 0.4.0 2022-12-21 11:47:34 +01:00
Cecile Tonglet
dc92f18b65
Allow ratio or percentage in <ProgressBar/> (#162) 2022-12-19 17:32:15 +01:00
Cecile Tonglet
ba9b1746f4
Add components Portal and Overlay (#161) 2022-12-19 16:49:06 +01:00
Cecile Tonglet
b6a6004fcf
Rewrite Icon API (#160) 2022-12-14 17:42:43 +01:00
Cecile Tonglet
ebee832d39 Place temporary file at root with the others 2022-12-14 11:11:38 +01:00
Cecile Tonglet
933d4c569c
Version CSS again to prevent issues (#159) 2022-12-14 11:06:44 +01:00
Yohan Boogaert
3e58abab37
Update dependencies (#154)
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2022-12-14 10:26:26 +01:00
Cecile Tonglet
70aa7a0736
Remove incorrect placeholder in class (#157) 2022-12-12 08:03:16 +01:00
Yohan Boogaert
cb3f6fcc71
Modify gap between items in the icon list (#155) 2022-12-03 00:41:44 +01:00
Yohan Boogaert
c0e980e148
Add a way to search for icons (#150) 2022-11-22 13:06:39 +01:00
Cecile Tonglet
d4548c1169 (cargo-release) version 0.3.1 2022-09-19 15:18:04 +01:00
Cecile Tonglet
34ae2cb198
Collapse: fix class wrongly applied to body (#149) 2022-09-19 16:17:09 +02:00
Yohan Boogaert
25950d7e7d
Fix value of the HtmlSelect of the ProgressBar example (#148) 2022-09-12 10:06:56 +02:00
Martin Rueckl
a5851413a6
Fix link to API documentation (#146) 2022-09-05 05:35:34 +01:00
Cecile Tonglet
50c5d7c371 (cargo-release) version 0.3.0 2022-08-22 15:16:47 +01:00
Cecile Tonglet
90ce9a15a6
Fix HtmlSelect not resetting properly when value changed (#145) 2022-08-22 16:15:22 +02:00
yozhgoor
44d0b453b1 (cargo-release) version 0.2.0 2022-07-16 18:43:26 +02:00
Yohan Boogaert
b36ba41637
Fix routing issues (#144)
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2022-07-14 23:41:38 +02:00
Forest Anderson
3f96db6a7e
Yewprint upgrade 0.19 (#131)
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
Co-authored-by: Francois Stephany <francois@tamere.eu>
2022-06-28 09:57:14 +01:00
Yohan Boogaert
9407209aa2
Trigger deploy (#143) 2022-06-27 22:44:42 +02:00
Yohan Boogaert
a6725990de
Fix Netflify deploy (#142) 2022-06-27 15:25:23 +02:00