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
Yohan Boogaert
28ea706be4
Deploy Netfliy preview from forks on pull request ( #141 )
2022-06-27 14:50:44 +02:00
yozhgoor
bf91608c27
(cargo-release) version 0.2.1
2022-06-08 16:22:20 +02:00
Yohan Boogaert
0962df3caa
Replace reqwest
by ureq
( #140 )
2022-06-08 15:56:26 +02:00
Yohan Boogaert
25be039090
Replace wasm-run by xtask-wasm ( #138 )
2022-05-09 19:20:26 +02:00
Cecile Tonglet
28f879a9a4
switch: add prop align_right ( #137 )
2022-05-09 13:32:11 +02:00
Cecile Tonglet
8f2f588e6f
(cargo-release) version 0.2.0
2022-04-04 17:25:48 +01:00
Cecile Tonglet
59f4fab305
Revert change of version
2022-04-04 17:25:29 +01:00
Cecile Tonglet
b8358f3ceb
Fix CSS version to v3 ( #135 )
2022-04-04 18:23:59 +02:00
Lachezar Lechev
fd67f09ba5
Switch: add inner labels ( #126 )
2021-12-12 12:19:33 +01:00
Cecile Tonglet
87fcffdb71
(cargo-release) version 0.1.1
2021-11-23 10:25:17 +01:00
Cecile Tonglet
a373604983
(cargo-release) version 0.1.1
2021-11-23 10:24:35 +01:00
Cecile Tonglet
d2f23378d9
Update invalid link in doc
2021-11-23 10:24:03 +01:00
Cecile Tonglet
2abb78ab09
(cargo-release) version 0.1.0
2021-11-23 10:18:11 +01:00
Cecile Tonglet
90eb865455
Add missing file to package yewprint
2021-11-23 10:17:42 +01:00
Cecile Tonglet
ddcb093e9f
(cargo-release) version 0.1.0
2021-11-23 10:09:38 +01:00
Cecile Tonglet
d6f41b0c1e
Clean-up & updates before publishing
2021-11-23 10:09:27 +01:00