Commit graph

39 commits

Author SHA1 Message Date
Cecile Tonglet
e5b5a5585a
Upgrade to Yew 0.21 (#174) 2023-10-08 14:34:16 +02:00
Cecile Tonglet
97ae6cb460 chore: Release 2023-05-17 14:25:15 +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
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
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
f91f5810be
HtmlSelect: fix handling of unchanged option selection (#167) 2023-03-01 15:50:38 +01:00
Cecile Tonglet
fa96d3e403 (cargo-release) version 0.4.2 2023-02-01 10:18:20 +01:00
Cecile Tonglet
48b2ef302a (cargo-release) version 0.4.1 2023-01-30 15:54:18 +01:00
Cecile Tonglet
80401a132e (cargo-release) version 0.4.0 2022-12-21 11:47:34 +01:00
Cecile Tonglet
ba9b1746f4
Add components Portal and Overlay (#161) 2022-12-19 16:49:06 +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
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
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
25be039090
Replace wasm-run by xtask-wasm (#138) 2022-05-09 19:20:26 +02:00
Cecile Tonglet
d6f41b0c1e Clean-up & updates before publishing 2021-11-23 10:09:27 +01:00
Cecile Tonglet
1aae88fa40
Add command to update Blueprint CSS (#111)
* Add command to update Blueprint CSS

* Actually update CSS
2021-06-10 11:15:21 +02:00
Yohan Boogaert
fea5f0a000
Use wasm-run to build yewprint (#104) 2021-04-13 16:23:12 +02:00
Cecile Tonglet
bd1bb35d6e
Use docs-theme from blueprint (#24) 2020-09-27 14:49:05 +02:00
Cecile Tonglet
a5813d0fc0
Revert LTO optimization (#20)
For some reason the size is smaller on Netlify without LTO
2020-09-26 06:06:43 +02:00
Cecile Tonglet
974d2d5f63 Display wasm size and enable LTO for release build 2020-09-26 05:31:21 +02:00
Cecile Tonglet
f5bc807ec2
Syntax color for examples (#19) 2020-09-25 21:47:11 +02:00
Cecile Tonglet
768cb68384
Move menu to the left (#8) 2020-09-23 15:59:07 +02:00
Cecile Tonglet
8cc26c0a52 Badges 2020-09-23 13:42:26 +02:00
Cecile Tonglet
608cae413c Rename project to yewprint 2020-09-20 17:06:28 +02:00
Cecile Tonglet
672b9eb75f Prepare for upload 2020-09-13 22:11:50 +02:00
Cecile Tonglet
584f5f69b1 WIP: Tree 2020-09-13 18:16:01 +02:00
Cecile Tonglet
066dc90444 Component Icon 2020-09-13 07:53:12 +02:00
Cecile Tonglet
244bbdd3cc WIP: Tree and Collapse 2020-09-12 11:08:17 +02:00
Cecile Tonglet
b267c5f1ba Button and Switch 2020-09-03 18:40:42 +02:00
Cecile Tonglet
50381d5cc4 Initial commit 2020-09-03 16:45:38 +02:00