Igor Demin
4ee708c598
Upgrade examples to Compose 1.2.0
2 years ago
Igor Demin
37e33fba29
Compose 1.2.0-rc02
2 years ago
Igor Demin
7ad4492f43
Migrate to 1.2.0-rc01 ( #2382 )
2 years ago
Igor Demin
529230ce88
Rename COMPOSE_CORE_VERSION and COMPOSE_WEB_VERSION to compose.version ( #2365 )
...
as in the other places
2 years ago
Igor Demin
9fa322a3ee
Upgrade to 1.2.0-beta02
2 years ago
Igor Demin
a208ecba73
Upgrade to 1.2.0-beta01
2 years ago
Ayfri
d85bd8c941
Add support for transition in CSS api. ( #2228 )
...
* web: Support for transition in CSS api.
* Use proper name for Transitions class, fix formatting.
* web: add ExperimentalComposeWebApi on transitions CSS API.
* web: Add documentation for transitions CSS API.
* fix: Apply all suggested changes.
* web: Add unit tests to transitions CSS API.
* fix: Update documentation with new methods names.
2 years ago
Philip Wedemann
471d5c652d
Fix Compile Error ( #2302 )
2 years ago
Philip Wedemann
28755d0f70
Web SVG: Publish custom attr functions ( #2127 )
...
* Web SVG: Publish custom attr functions
* Add points and ry overload
* Remove duplicate ry method
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
2 years ago
Philip Wedemann
f618a73348
Support attrs extension functions in sub elements too ( #2126 )
2 years ago
Philip Wedemann
ca03e09c86
Add pom information and license to Web artifacts ( #2195 )
...
* Add pom information and license to Web artifacts
* Update build.gradle.kts
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
2 years ago
Emir
749c213bc3
Add missing `background-blend-mode` property ( #2128 )
2 years ago
Veyndan Stuart
dd857bd1b0
Remove unnecessary parameter to required ( #1988 )
...
* Remove unnecessary parameter to required
As [`required` is a boolean attribute](https://html.spec.whatwg.org/multipage/input.html#the-required-attribute ), `required(false)` would confusingly make the input required.
* Add back old function and deprecate it
2 years ago
Oleksandr Karpovich
80b71a92ea
Deprecate 3 overloads of StyleScope.borderWidth with wrong parameter names ( #2297 )
...
* Temporary deprecate 3 overloads of StyleScope.borderWidth
The reason is wrong parameter names. The behaviour is still correct.
The idea is to fix the parameter names in 2.0 (which is more appropriate for breaking changes)
* Apply better deprecation and replacement approach
* improve the deprecation message
* fix
* add tests for deprecated borderWidth
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2 years ago
Oleksandr Karpovich
91a60dc014
remove deprecated compose.web.web-widgets from the source code ( #2294 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2 years ago
Igor Demin
b60de28986
Update EventsListenerScope.kt
2 years ago
Oleksandr Karpovich
0317176658
add kotlin-js-store/yarn.lock
2 years ago
Oleksandr Karpovich
dfe7e40eef
web: update for kotlin 1.7.0
2 years ago
Philip Wedemann
ad757a8f0a
Web: Add list overload for classes ( #2094 )
...
* Add list overload for classes
* Add array and collection overload for classes
* Remove array overload
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
2 years ago
Oleksandr Karpovich
c1c7f883c5
web: fix buildSrc
3 years ago
Oleksandr Karpovich
5c0a72e677
web: pass kotlin.version property ( #2044 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
e69ac23dbf
Move compose + use kotlin 1.6.21 ( #2025 )
...
* Move compose
* Update kotlin version to 1.6.20
* Move compose + Update kotlin version to 1.6.21
* Move compose to include a fix for compose plugin (kjs specific)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
alexander-gorshenev
7b17474c83
Missing repo and latest jb main ( #1976 )
...
* Added missing coroutines dev maven repository
* Advanced to the latest jb-main
3 years ago
Oleksandr Karpovich
f1854a9dce
web: add HtmlAttrMarker ( #1958 )
...
To forbid declaring of attrs is style scope
closes #1893
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
InsanusMokrassar
22da8d9529
Add support of dl, dt and dd ( #1922 )
3 years ago
Nikolay Igotti
4af260d36a
Move to 1.1.0 ( #1882 )
...
Co-authored-by: Roman Sedaikin <roman.sedaikin@jetbrains.com>
Co-authored-by: Igor Demin <igordmn@gmail.com>
3 years ago
Oleksandr Karpovich
1ab63ed995
fix Style composable and CSSRulesHolderState ( #1889 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
cd7691a53f
Simplify inner CSS API, remove css fun completely (was experimental, will be redesigned)
3 years ago
Shagen Ogandzhanian
6f89804467
[web][tests] always use nextChild when you start with root.children[0], remove redundant braces
3 years ago
Oleksandr Karpovich
5b496eb191
web: update TagElement with tagName: String ( #1827 )
...
* web: update TagElement with tagName: String
Enable changing the tagName value. This will delete the initial html element and create a new one with a new tagName.
Cache ElementBuilder instances.
* add comments
* update PR according to discussion
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
bccf783976
web: make canvasAttributeTest independent of attributes order
3 years ago
Shreck Ye
7a9776cc43
web: make `applyAttrs` in the second overloaded `TagElement` nullable to be consistent with the first one ( #1814 )
3 years ago
Philip Wedemann
a528838712
Web: Add Canvas element ( #1823 )
...
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
3 years ago
Oleksandr Karpovich
f7d71a034b
web: add a test `keyChangesTheOrderButKeepsSameInstances`
3 years ago
Shagen Ogandzhanian
44e0dbe7bf
Remove redundant dependencies in widgets
3 years ago
Shagen Ogandzhanian
2cb9ec0846
Remove separate setup for nodejs in widgets
...
This is supposed to be set up only in root project
3 years ago
Oleksandr Karpovich
21cda3f3c6
web: make ComposeDomNode inline ( #1808 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
edac50ae39
Introduce HTMLElement.computedStyle: CSSStyleDeclaration helper function ( #1815 )
3 years ago
Shagen Ogandzhanian
98dbfe93cb
Update selenium chrome driver to 98.0.4758.48
3 years ago
Shagen Ogandzhanian
44cc13add1
Enable warning as errors by default in web ( #1803 )
3 years ago
Oleksandr Karpovich
7ea30be924
web: hide internal properties from AttrsScope, EventsListenerScope, StyleScope ( #1802 )
...
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
e37cb6dd0d
move compose-web components to 1.1.0-alpha03
3 years ago
Oleksandr Karpovich
af2c354f72
web: apply `classes` and `style` before all other attributes and properties ( #1788 )
...
* web: apply `classes` before all other attributes and properties
This mitigates "Flash of unstyled content"
* apply style {} before attr(...). Add more tests
* use val instead of var for classes
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
685e305c5e
Move renderComposable to internal-web-core-runtime ( #1789 )
3 years ago
Shagen Ogandzhanian
6aaeddc4b4
Use standard side effects in Elements.kt ( #1793 )
3 years ago
Oleksandr Karpovich
0c30a3e2af
web: add typealias AttrsBuilder referencing new AttrsScopeBuilder ( #1778 )
...
This mitigates possible breaking API changes
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Martynas Petuška
f98dfbc761
web: AttrsScope interface extraction ( #1694 )
...
* AttrsScope interface extraction
* PR amendments
* resolve conflicts
* remove yarn lockfile
* move submodule back
3 years ago
Shagen Ogandzhanian
82bd465f5b
Deprecate DisposableRefEffect and DomSideEffect ( #1714 )
3 years ago
Shagen Ogandzhanian
4bf01cf5e0
Make DomElementWrapper private ( #1749 )
3 years ago
Shagen Ogandzhanian
b71a5161a7
Reuse renderComposable in tests ( #1732 )
...
This also deprecates renderTestComposable
3 years ago