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>
3 years ago
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>
3 years ago
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>
3 years ago
Shagen Ogandzhanian
f3d4a2cbfa
Fix web integration tests
3 years ago
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
3 years ago
Oleksandr Karpovich
58f36be885
web: Disable flaky SelectElementTests to investigate them later
3 years ago
Shagen Ogandzhanian
fce92382fd
Introduce new CSS Color API and deprecate old one
...
This resolves #902
3 years ago
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>
3 years ago
Shagen Ogandzhanian
dc3b743f2c
[web] Color is a namespace, use CSSColorValue whenever you need StylePropertyValue subtype
3 years ago
Shagen Ogandzhanian
084aa680a1
Rename mediaQuery-related min/maxWidth/Height extensions by adding media prefix
...
This resolves #886
3 years ago
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>
3 years ago
Oleksandr Karpovich
8edc12f02a
web: Remove deprecated input event listeners ( #861 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Abasov Akif
e2dd256235
CSS Animations ( #810 )
3 years ago
Shagen Ogandzhanian
8a072a356e
Remove helper DOM builder elements from the public scope
3 years ago
Shagen Ogandzhanian
244f4ce1d8
Fix last integraton test failing in Firefox and enabling it as a default target
3 years ago
Shagen Ogandzhanian
a11f080730
Make `file input updates the text` cross-browser
3 years ago
Shagen Ogandzhanian
073e5e9db6
Mediaquery resize test is passing in Firefox
...
firefox tests are not enabled so far nevertheless
3 years ago
Shagen Ogandzhanian
8d5f47f78b
Prepare mediaquery test for cross-browser support
3 years ago
Shagen Ogandzhanian
c0bba88f02
Simplify text selection in "select event update the txt"
...
This approach also make it more cross-platform resistant
3 years ago
Shagen Ogandzhanian
8131b6665d
Remove accidentaly wrongly merge code from a debug branch
3 years ago
Shagen Ogandzhanian
c5b1e29f15
Add posibility to install missing chrome drivers for local development
3 years ago
Shagen Ogandzhanian
1b42dbec3e
Dispose web drivers after selenium tests
3 years ago
Shagen Ogandzhanian
05dc8d1c05
Run selenium tests in Firefox is specific System property (synced with project property) is present
3 years ago
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>
3 years ago
Shagen Ogandzhanian
2de373c7db
Prepare integration tests for possibility to run against Firefox
3 years ago
Abasov Akif
0a90ae2194
Remove CSS Typed OM API ( #786 )
3 years ago
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
3 years ago
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>
3 years ago
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
4 years ago
Shagen Ogandzhanian
b1328204b8
Make consistent multi-platform plugin invocation throughout web modules and examples
4 years ago
Shagen Ogandzhanian
6a8e15a7fe
[web] Attribute builder builds styles as well
4 years ago
Shagen Ogandzhanian
4dd4390ecd
Introduce web-integration-widgets and rename web-integration to web-integration-core
...
web-integration-widgets is without tests so far
4 years ago