Oleksandr Karpovich
354e48a542
Web: fix jumping cursor of controlled inputs ( #1287 )
...
* web: fix cursor position for controlled inputs (wip)
* web: fix cursor position for controlled inputs (wip)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-10-21 19:02:11 +02:00
Oleksandr Karpovich
626cba019a
web: add RadioGroup component to manage several Radio Inputs ( #1116 )
...
* web: add RadioGroup component to manage several Radio Inputs
* web: improve RadioGroup PR after discussions
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-09-16 10:39:11 +02:00
Oleksandr Karpovich
db53b95a31
Web/controlled inputs ( #1031 )
...
* web: make TextInput manage its view state
* web: make TextInput manage its view state
* web: make TextInput manage its view state
* web: add tests for controlled TextArea and RadioButton
* Add more tests for controlled and uncontrolled inputs
* Add more tests for controlled and uncontrolled inputs
* Update date input tests
* Update time input tests
* Update date input tests
* Add docs for controlled and unctontrolled input modes
* web: improve docs for controlled inputs
* web: make benchmark add1kItems run only 2 times instead of 3 (to prevent it from throwing timeout)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-08-23 11:34:22 +02:00
Shagen Ogandzhanian
f3d4a2cbfa
Fix web integration tests
2021-07-23 13:47:39 +02:00
Shagen Ogandzhanian
a5cffc44ca
CSS API - disallow String parameters for colors
...
See #891 - Still not closing though since I want to revisit it after CSS Grid and propert keywrods typing
2021-07-20 11:22:40 +02:00
Oleksandr Karpovich
58f36be885
web: Disable flaky SelectElementTests to investigate them later
2021-07-19 14:58:46 +02:00
Shagen Ogandzhanian
fce92382fd
Introduce new CSS Color API and deprecate old one
...
This resolves #902
2021-07-16 19:02:10 +02:00
Oleksandr Karpovich
6d97c6d055
web: align the rest of events ( #887 )
...
* web: update change and beforeInput event listeners
* web: update Clipboard events: copy, cut, paste
* web: update Keyboard events: keyup, keydown
* web: update select event (only for input and textarea)
* web: update FocusEvents: focus, blur, focusin, focusout
* web: update Touch Events
* web: remove search event listener as it's not supported in Firefox
* web: update Animation Events
* web: update scroll event
* web: rename WrappedEventListener to SyntheticEventListener
* refactor internal event listeners to avoid redundant lambdas
* remove WrappedEvent.kt
* move SyntheticInputEvent.kt to `events` package
* Add tests for Select element events
* remove import from another changelist
* web: add Form events: submit and reset
* fix PR discussions
* web: rename `attrsBuilder` to `attrs`
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-07-16 17:56:15 +02:00
Shagen Ogandzhanian
dc3b743f2c
[web] Color is a namespace, use CSSColorValue whenever you need StylePropertyValue subtype
2021-07-15 23:46:53 +02:00
Shagen Ogandzhanian
084aa680a1
Rename mediaQuery-related min/maxWidth/Height extensions by adding media prefix
...
This resolves #886
2021-07-14 14:06:29 +02:00
Oleksandr Karpovich
ac76dc5f0e
web: Use SyntheticMouseEvent as a type for a value in mouse events listeners ( #862 )
...
* web: Use SyntheticMouseEvent as a type for a value in mouse events listeners
* add tests for mouse event
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-07-14 12:22:36 +02:00
Oleksandr Karpovich
8edc12f02a
web: Remove deprecated input event listeners ( #861 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-07-07 12:16:38 +02:00
Abasov Akif
e2dd256235
CSS Animations ( #810 )
2021-07-05 10:51:55 +03:00
Shagen Ogandzhanian
8a072a356e
Remove helper DOM builder elements from the public scope
2021-07-03 01:14:54 +02:00
Shagen Ogandzhanian
244f4ce1d8
Fix last integraton test failing in Firefox and enabling it as a default target
2021-07-02 00:54:16 +02:00
Shagen Ogandzhanian
a11f080730
Make file input updates the text cross-browser
2021-07-01 22:56:08 +02:00
Shagen Ogandzhanian
073e5e9db6
Mediaquery resize test is passing in Firefox
...
firefox tests are not enabled so far nevertheless
2021-07-01 22:47:24 +02:00
Shagen Ogandzhanian
8d5f47f78b
Prepare mediaquery test for cross-browser support
2021-07-01 22:10:35 +02:00
Shagen Ogandzhanian
c0bba88f02
Simplify text selection in "select event update the txt"
...
This approach also make it more cross-platform resistant
2021-06-30 23:35:04 +02:00
Shagen Ogandzhanian
8131b6665d
Remove accidentaly wrongly merge code from a debug branch
2021-06-30 17:12:44 +02:00
Shagen Ogandzhanian
c5b1e29f15
Add posibility to install missing chrome drivers for local development
2021-06-29 13:37:21 +02:00
Shagen Ogandzhanian
1b42dbec3e
Dispose web drivers after selenium tests
2021-06-26 00:13:53 +02:00
Shagen Ogandzhanian
05dc8d1c05
Run selenium tests in Firefox is specific System property (synced with project property) is present
2021-06-25 16:11:39 +02:00
Oleksandr Karpovich
29a5297907
Web: Input element and onInput event refactoring ( #799 )
...
* web: Add more tests for the event handlers
* web: Inputs refactoring (wip)
* web: Add `Options` for `addEventListener`
* web: Add basic methods and properties to the SyntheticInputEvent to align it with `org.w3c.dom.events.Event`
* web: Add a test for `capture = true` Event Listener Option
* web: Update PR to make contain only relevant changes + add specific functions for Inputs
* web: Update PR to align with master after rebase
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-06-25 16:04:49 +02:00
Shagen Ogandzhanian
2de373c7db
Prepare integration tests for possibility to run against Firefox
2021-06-25 14:41:55 +02:00
Abasov Akif
0a90ae2194
Remove CSS Typed OM API ( #786 )
2021-06-18 14:11:01 +03:00
Shagen Ogandzhanian
4529645a75
Don't allow to assign null value in attr ( #780 )
...
* Remove atrributes completely and reapply everything
Rather than keeping map with attributes applied
* Don't allow nullable signatures while calling attr
2021-06-15 13:24:43 +02:00
Oleksandr Karpovich
3b96c55daa
web: test for media query ( #766 )
...
* web: Add a test for media query in style sheet
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com >
2021-06-09 18:22:10 +02:00
Shagen Ogandzhanian
898fa303ff
Rename package names in web-core
...
androidx.compose.web -> org.jetbrains.compose.web
androidx.compose.web.elements -> org.jetbrains.compose.web.dom
2021-06-01 18:39:12 +02:00
Shagen Ogandzhanian
6a8e15a7fe
[web] Attribute builder builds styles as well
2021-05-26 19:03:08 +02:00
Shagen Ogandzhanian
4dd4390ecd
Introduce web-integration-widgets and rename web-integration to web-integration-core
...
web-integration-widgets is without tests so far
2021-05-24 15:29:42 +02:00