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
Igor Demin
a8bc62c519
Migrate to 1.0.0-alpha4-build328
3 years ago
Igor Demin
c9a7b15e86
Migrate to Kotlin 1.5.30
3 years ago
Shagen Ogandzhanian
f8ac4ad2c3
Don't run web-core tests in Firefox (till further investigation)
3 years ago
Shagen Ogandzhanian
ced58ee707
Build web with gradle@7.1.1 and web-landing example
3 years ago
Shagen Ogandzhanian
6b209ebd87
Prepare DomApplier and related code for working with SVG entities
3 years ago
Shagen Ogandzhanian
d4804fafdd
[web] [tests] introduce elementBuilderShouldBeCalledOnce test
3 years ago
Shagen Ogandzhanian
a22c916721
Use runTest in stypePosition test
3 years ago
Shagen Ogandzhanian
ce9fbcc8dd
Add test that basically check that scope is remembered
...
Thanks to Oleksandr - I would have never come up with a solution this
quick
3 years ago
Shagen Ogandzhanian
6c1667e05a
[web] [tests] Refactor attributesUpdateShouldNotCauseInlineStylesCleanUp and make sure we check conditional class assignemnt (in combination with seeting style) as well
3 years ago
Oleksandr Karpovich
e8e02771a0
web: add test-utils module ( #1101 )
...
* web: move DomApplier, GlobalSnapshotManager, JsMicrotasksDispatcher to dedicated module
This will allow reusing them in test-utils module.
* web: move TestUtils.kt to a dedicated module
Use test-utils module in web-core as a dependency
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
bb8a69589b
web: Update COMPOSE_CORE_VERSION
3 years ago
Shagen Ogandzhanian
14909c23b2
Simplify CSS transform API signatures
...
There's no need to any of this methods to be Boolean
3 years ago
Shagen Ogandzhanian
770412444d
Support filter in CSS API
...
this resolves #923
3 years ago
Shagen Ogandzhanian
5518eec745
Support for transform in CSS API
...
This resolves #922
3 years ago
Shagen Ogandzhanian
4d727f7d5d
[web] [build] printTestBundleSize depends on jsTest
3 years ago
Oleksandr Karpovich
2689f7c4c0
web: Update test utils api to prepare it for publishing ( #1048 )
...
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
fdc9c5df5e
[web] [build] stricter guards for printTestBundleSize
3 years ago
Shagen Ogandzhanian
a1310f1b24
Always print testBundleSize after jsTest (if available)
3 years ago
Shagen Ogandzhanian
fce9010353
[web] Introduce printTestBundleSize task
3 years ago
Oleksandr Karpovich
d2d4971f28
web: mark internal and experimental api in web-core ( #1077 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
0d93252e90
web: mark internal and experimental api in web-widgets ( #1078 )
...
* web: mark internal and experimental api in web-widgets
* web: mark internal and experimental api in web-widgets
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
f7070f210d
[web] optionally skip benchmarks (by default enabled)
3 years ago
Shagen Ogandzhanian
a22bd9f889
Reintroduce printBundleSize for samples
3 years ago
Shagen Ogandzhanian
c513eef2e6
[web] [build] Fix all missing and incorrect sample modules
3 years ago
Oleksandr Karpovich
9dc7137298
web: update COMPOSE_CORE_VERSION=0.0.0-master-build316
...
the build from master contains an important fix for using compose in kotlin/js (composables in constructors).
following (default) builds will include the fix, so normal version can be used again.
3 years ago
Oleksandr Karpovich
4eedafc5fa
web: add tests for constructors with Composable parameters
3 years ago
Shagen Ogandzhanian
7c4ce006fe
Correct path to the falling balls example
...
It was renamed and previos commit will prevent situations when we miss
such things
3 years ago
Shagen Ogandzhanian
eac1c155e3
Fail if module is referring to a non-existent file path
3 years ago
Shagen Ogandzhanian
8d16f5a3a2
Remove obsolete and unused COMPOSE_WEB_BUILD_WITH_EXAMPLE build param
3 years ago
Oleksandr Karpovich
00d0ee008f
web: Add failing tests for composables passed into constructors (issue #746 )
3 years ago
Shagen Ogandzhanian
b7af8368ca
Web docs updated ( #994 )
...
* Minimal documentation for AttrsBuilder
* Minimal documentation for the StyleBuilder
* Add documentation for AttrsBuilder::attr
* Update doc for AtrsBuilder
* Minimal documentation for EventsListenerBuilder
* Documentation for AttrsBuilder::ref (copied from tutorial)
* Documentation for AttrsBuilder::prop
* Add docs for ElementScope and dom specific effects
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Nikolay Igotti
d499b350a2
Move to 1.0.0-alpha1
3 years ago
Shagen Ogandzhanian
a9f3f4f01c
Fix typo in CSS API madiaMaxHeight => mediaMaxHeight
3 years ago
Shagen Ogandzhanian
7557522e16
Minimal documentation for the most basic CSS API
3 years ago
Oleksandr Karpovich
656592124a
web: add a tutorial for DomSideEffect ( #975 )
...
* web: add a tutorial for DomSideEffect
* web: add a tutorial for DomSideEffect (edits)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
6504196bc9
web: fix a bug when inline styles get empty after attributes update ( #980 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
36295121a2
Remove web samples completely
...
We've decided to move in different direction
3 years ago
Shagen Ogandzhanian
16852696f5
Switch all web examples and web template to 1.0.0-alpha1-rc1
3 years ago
Shagen Ogandzhanian
87477236ec
Add google repo for all web modules, samples and examples
3 years ago