Shagen Ogandzhanian
636694a46e
Introduce basic support for grid-column/row-start/end
...
This contributes to #895
3 years ago
Igor Demin
581b5f0b0a
Update Compose + Migrate to 0.5.0-build262 / Kotlin 1.5.21 ( #916 )
3 years ago
Shagen Ogandzhanian
f4fc51f372
Simplify CSSFlexTests
3 years ago
Shagen Ogandzhanian
ef56abac66
Introduce helper function to the test scope to iterate through root children
3 years ago
Shagen Ogandzhanian
90cecde6f2
Basic support for grid-template-areas
...
This contributes to #895
3 years ago
Shagen Ogandzhanian
cf19b0fba9
Introduce basic support for grid-area in CSS API
3 years ago
Shagen Ogandzhanian
ac7974d056
Introduce minimal support for "grid-template-columns" and "grid-template-rows" in CSS API
3 years ago
Shagen Ogandzhanian
58ea0bde81
Basic suppport for gridRow and gridColumn in CSS API
...
This contributes to #895
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
Shagen Ogandzhanian
83870dde5d
Correct @Deprecation.ReplaceWith arguments for Color.hsl, Color.hsla
3 years ago
Shagen Ogandzhanian
a83bf4c181
Remove StylePropertyValue.asString, StylePropertyValue.asNumber and StylePropertyValue.asCSSStyleValue
...
in other words, remove all StylePropertyValue -> js object value
3 years ago
Shagen Ogandzhanian
bb4e97b149
CSSVariableValueAs is not a StylePropertyValue
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
27e4dd4fe6
Introduce html/css color constants
...
This resolve #890 : Introduce complete list of HTML color aliases
3 years ago
Shagen Ogandzhanian
dc3b743f2c
[web] Color is a namespace, use CSSColorValue whenever you need StylePropertyValue subtype
3 years ago
Shagen Ogandzhanian
30c5510111
[web] Color is used exclusively as a namespace, all data classes a derived from CSSColorValue
3 years ago
Shagen Ogandzhanian
1e8cbe8afd
Add test case for variable<StylePropertyNumber> in CSS API
3 years ago
Shagen Ogandzhanian
eb26f07240
Introduce separate test for the 3-ary border call in CSS API
3 years ago
Shagen Ogandzhanian
153ce9f063
Move relevant border test from StaticComposableTests to CSSBorderTests
3 years ago
Shagen Ogandzhanian
8f2a420543
Introduce basic support for max/min-width/height in CSS API
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
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