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
Shagen Ogandzhanian
a1a94c7447
Introduce basic support for outline and it's properties to CSS API
3 years ago
Shagen Ogandzhanian
8dd5e17338
Introduce basic support for flex in CSS API
3 years ago
Shagen Ogandzhanian
f1081c67ba
Basic support for flex-basic in CSS API
3 years ago
Shagen Ogandzhanian
5164e0669b
Introduce basic support for white-space in CSS API
3 years ago
Shagen Ogandzhanian
f861210bdd
Introduce basic support for cursor in CSS API
3 years ago
Shagen Ogandzhanian
24e7e3dd16
Basic support for border-width in CSS API
3 years ago
Shagen Ogandzhanian
2bd08c323a
Introduce basic support for text-decoration and its constituents in CSS API
3 years ago
Shagen Ogandzhanian
6dd06d4d18
Introduce basic support for text-align in CSS API
3 years ago
Shagen Ogandzhanian
7b8afd901b
Basic support for letter-spacing in CSS API
3 years ago
Shagen Ogandzhanian
99b1751f2e
Basic support for boxSizing in CSS API
3 years ago
Oleksandr Karpovich
53eed79835
web: fix a bug for inputs taking string value ( #871 )
...
It was not possible to make the input empty by setting the state to an empty string.
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
bf2a3d7b10
Remove obslete test from StaticComposableTests
3 years ago
Shagen Ogandzhanian
459cf7b37f
Introduce separate CSSDisplayTests
3 years ago
Shagen Ogandzhanian
362c010045
Move relevant tests from StaticComposableTests to CSSBoxTests
3 years ago
Shagen Ogandzhanian
0baeeca8c4
CSSProperties is no more, use properties.kt in case of doubts
3 years ago
Shagen Ogandzhanian
c1fd4bd259
Move relevant properties from CSSProperties to box.kt, position.kt and flex.kt
3 years ago
Shagen Ogandzhanian
d0a2664e62
Basic support for overflow and its constituents in CSS API
3 years ago
Shagen Ogandzhanian
1a73206d3a
Basic support for padding and its constituents in CSS API
3 years ago
Shagen Ogandzhanian
1083bb7dc0
Basic support for margin and its constituents in CSS API
3 years ago
Shagen Ogandzhanian
959e47b7b5
Basic support for list-style and its constituents in CSS API
3 years ago
Shagen Ogandzhanian
5860585a53
Minimal support for font and its derivatives in CSS API
3 years ago
Shagen Ogandzhanian
331818ef60
Move CSS animation API calls to a separate file
3 years ago
Shagen Ogandzhanian
b294b732c0
Move border-related CSS API calls to a separate file
...
The idea is that every API call that has builder deserves to have a
separate file
3 years ago
Shagen Ogandzhanian
36e66e66fe
Move all src files in core to org.jetbrains.compose.web
3 years ago
Oleksandr Karpovich
d94c185125
web: Add tests for `AutoComplete` attribute for different elements
3 years ago
Shagen Ogandzhanian
4412f95245
Introduce basic minimal support for background in CSS API
3 years ago
Philip Wedemann
331282b7c2
Web: Update autocomplete attr builder according to MDN ( #859 )
...
* Add value to autocomplete
* Add all predefined autocomplete possibilities
* Add all predefined autocomplete possibilities
* Update InputAttrsBuilder.kt
* Update autocomplete attr builder according to MDN
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
* Inline AutoComplete "enum" class
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
3 years ago
Shagen Ogandzhanian
585da89c8c
Introduce minimal backgroundAttachment to the CSS API
3 years ago
Shagen Ogandzhanian
e3925c602f
Fix web buil
3 years ago
Philip Wedemann
67952b4b40
Use typed Element in ref to remove cast in usage ( #828 )
3 years ago
Oleksandr Karpovich
ead86959b9
web: Add tests for `ref` attribute ( #864 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
6e2514fd88
Move backgroundColor to a separate file and introduce dedicated test
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
Eric Pabst
f80715aee7
Fix typo: handeled -> handled ( #822 )
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
306bbbb5f2
Add minimal units tests for media queries
3 years ago
Shagen Ogandzhanian
643bda09d8
CSSPlus, CSSMinus, CSSTimes and CSSDiv are private - it's all CSSCalcOperation for users
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
df05778843
AttrBuilder is nullable by default
3 years ago
Shagen Ogandzhanian
019cbd2940
Use CSSStyleSheet so that there's no need to define additional functionality on Stylesheet
3 years ago
Shagen Ogandzhanian
453cc89bca
Add minimal test for testing media query in stylesheet
3 years ago
Philip Wedemann
766e5950de
web: Remove the boolean parameter from hidden() to align with #780 ( #783 )
...
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden
3 years ago
Abasov Akif
a167abe04c
Add more calc shortcuts ( #798 )
3 years ago
Abasov Akif
925f697a6f
Feature/calc ( #790 )
...
* CSS operations
* CSS operations with variables
* Fix api to use CSSColorValue instead of Color to use CSSVariables too
* Fix api to use CSSNumericValue instead of CSSSizeValue to use CSSVariables too
* Fix CSSBorder types
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
Shagen Ogandzhanian
b794032880
Remove unused constructor from DomNodeWrapper
3 years ago
Shagen Ogandzhanian
c83938374f
Add missing embedded HTML elements (apart from PORTAL)
...
IFRAME, OBJECT, PARAM, PICTURE, SOURCE
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
3 years ago