Oleksandr Karpovich
e902beeece
release 1.0.1-rc2 with 1.6.10 ( #1590 )
...
* move to kotlin 1.6.10-RC and corresponding compose commit
* Update path to the karma plugin we are patching
* Add ExperimentalComposeWebStyleApi
what worries me that this actually shows that there are some cases where without any changes apart version compiler people will have to worry about such annotations
* update kotlin version in templates to adopt 1.6.10-RC
* web: move ComposableWithNullableTypeParameter.kt to passing test cases
* update kotlin version in other places
* update imageviewer example: add OptIn for experimental API
* move compose
* move to kotlin 1.6.10 and corresponding compose
* move to kotlin 1.6.10 and corresponding compose
* move to 1.0.1-rc2
* move to 1.0.1-rc2 (todoapp)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
Co-authored-by: Shagen Ogandzhanian <shagen.ogandzhanian@jetbrains.com>
3 years ago
Shagen Ogandzhanian
798f0ac1ab
Kotlin testing reuse ( #1562 )
3 years ago
Shagen Ogandzhanian
90cb181a71
Core with Frefox tests enabled ( #1563 )
3 years ago
Igor Demin
dbd0a21949
Modify replace.sh for replacing Compose version ( #1511 )
...
Remove:
```
__LATEST_COMPOSE_RELEASE_VERSION__
__KOTLIN_COMPOSE_VERSION__
System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION")
```
They pollute templates/examples.
Now, all paths where we need to change the version are hardcoded in the script.
Usage:
```
./replace.sh 1.0.0-rc6
```
This script is planned to run on CI
In the future I will add support for changing Kotlin version
3 years ago
Oleksandr Karpovich
046f225846
web: workaround flaky CI test runner ( #1550 )
...
* web: workaround flaky CI test runner
* Move config path to test-utils/conf/karma.config.common.d
* Reusing same karma config everywhere aprt benchmarks
it looks like we can have only one karma config directory
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
Co-authored-by: Shagen Ogandzhanian <shagen.ogandzhanian@jetbrains.com>
3 years ago
Shagen Ogandzhanian
a1f923399f
Plugin path resolution customization ( #1549 )
3 years ago
Oleksandr Karpovich
9dce4fe0fc
web: add KT-48273 workaround to web-integration-core module
3 years ago
Igor Demin
559e9364f1
Move examples to 1.0.0 ( #1524 )
3 years ago
Shagen Ogandzhanian
d902912424
Make all CSS Selectors private ( #1519 )
3 years ago
Oleksandr Karpovich
cf62af9a23
web (breaking change): make constructors of CSSSelectors classes internal ( #1510 )
...
* web (breaking change): Make CSSSelector constructors internal and move constant selectors instances to `SelectorsScope`
* web (breaking change): Make CSSSelectors classes internal
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
1b731e0af6
web (breaking change): move top level functions for css selectors to new SelectorsScope ( #1504 )
...
* web (breaking change): move top level functions for css selectors to new SelectorsScope
These functions don't need to be on top level because their purpose is to be used within StyleSheet
* web: update CSSSelector plus operator
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
d87c29a10d
web: add test for CSSSelector plus operator
3 years ago
Oleksandr Karpovich
4623985462
web (breaking change): move `combine` and `feature` functions to GenericStyleSheetBuilder scope (in CSSMediaRule.kt) ( #1508 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
6d0a0f4f1d
web (breaking change): make some functions internal ( #1509 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Abasov Akif
43a16c8e77
Throw exception for `String + CSSSelector` with `self` cases. ( #1462 )
...
* Throw exception for `String + CSSSelector` with `self` cases.
* Refactoring: CSSSelector: open -> abstract, assertTrue -> assertFailsWith
* Exceptions rewording
* CSSSelfSelector: public -> internal
3 years ago
Oleksandr Karpovich
45a63ec41c
web: remove Options for event listeners ( #1470 )
...
Options were never actually applied and there was no way to use anything beside Options.DEFAULT
It's still possible to set options using k/js `addEventListener` on the element's reference
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
3778eadd37
web: add `inputmode` global attribute ( #1461 )
...
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
closes https://github.com/JetBrains/compose-jb/issues/1338
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
1a817574f3
Introduce webWidgetsDeprecationMessage which is used in Deprecated annotation ( #1459 )
3 years ago
Oleksandr Karpovich
e139fbb1e4
deprecate compose.web.web-widgets in source code and gradle plugin ( #1453 )
...
* deprecate compose.web.web-widgets in source code and gradle plugin (name alias)
* fix typo
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
84eb629cec
web: fix and update compiler plugin test cases ( #1452 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
742c4a40fd
web: update compiler plugin test cases to make them runnable ( #1447 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
1066bcab40
web: add tests for onChange event for checkbox and radiobutton ( #1411 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Abasov Akif
974ef56832
Fix css selectors: combine, sibling ( #1418 )
3 years ago
Shagen Ogandzhanian
39693d4c78
[web] update Chrome and Gecko driver version
3 years ago
Shagen Ogandzhanian
f96eeea220
[web] Common config for printing test results to STDOUT
3 years ago
Oleksandr Karpovich
0f1d191b93
web: add compiler test case `Composable With Typed Default Values` ( #1231 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
bbec5eaa43
web: add tests for Css selectors `desc` ( #1305 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Abasov Akif
984a26ce1d
Pass resolved with self selector to nested builder ( #1298 )
3 years ago
Abasov Akif
14bf6674d9
Add implicit self for nested css selector ( #1284 )
...
* Deprecate `descendant` and introduce `desc` util to combine selectors
* Add internal `contains` method to `CSSSelector`
* Add implicit self for nested css selector
3 years ago
Oleksandr Karpovich
c5c28f8aad
web: make auto-css experimental ( #1294 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
095379d513
Introduce basic support for SVG ( #1289 )
3 years ago
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
1638f0f08b
web: fix mouse event for safari mobile ( #1288 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
40e89d1f37
web: move ComposableWithDefaultValuesDefinedByOtherParams.kt to passing test cases
3 years ago
Philip Wedemann
13620b9dd7
Align StyleSheetBuilder parameter with other @Composable ContentBuilder and add test ( #1112 )
3 years ago
Abasov Akif
381a95bb62
Basic animations test ( #1233 )
...
Basic animations test
3 years ago
Oleksandr Karpovich
3795ad1fb9
web: add compiler test case `Composable With Default Values Defined By Other Params` ( #1230 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
8d665cf1f0
web: update chromedriver version ( #1229 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
326a130ab8
web: add compiler test case for type nullable params ( #1227 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Igor Demin
6fe8be049d
Miggrate to 1.0.0-alpha4-build362 ( #1205 )
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
d68c432506
web: add tests for ComposableLambdaCalls.kt ( #1121 )
...
* web: add tests for ComposableLambdaCalls.kt
* web update compose version 1.0.0-alpha4-build348
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
3f2a5d06c4
[web] and turning Firefox tests in core of again
3 years ago
Shagen Ogandzhanian
ffc5eaf5b3
Moved benchmark tests to a dedicated package
3 years ago
Shagen Ogandzhanian
ce606d1c22
[web] [tests] Completely get rid of waitForAnimationFrame in favour of waitForRecompositionComplete
3 years ago
Shagen Ogandzhanian
dcd8b70f70
[web] [tests] Use waitForRecompositionComplete instead of waitForAnimationFrame in add/remove benchmark tests
3 years ago
Shagen Ogandzhanian
98b58a8371
[web] Use common test api in benchmark-core
3 years ago
Shagen Ogandzhanian
4c252b8196
Use asHtmlElement helper only in TestUtils
...
TestUtils is a perfect classic name!
3 years ago
Shagen Ogandzhanian
d8de109ba1
[web] Re-enable Firefox tests after making build job non-parallel
3 years ago
Shagen Ogandzhanian
c8f91a9695
Extract PositionTests from StaticComposableTests and use runTest in both
3 years ago