Commit Graph

1313 Commits

Author SHA1 Message Date
Aleksandr Veselov
d822283c4b Add docs about desktop a11y (#1775) 2022-02-08 20:55:45 +03:00
Thomas Vos
03d98ae908 Fix jnilib files not signed (#1799) 2022-02-08 15:43:36 +03:00
Thomas Vos
e818953c0b Fix fromFiles argument not lazy (#1797) 2022-02-08 10:46:01 +03:00
Thomas Vos
f895874f51 Fix packagePkg task (#1798) 2022-02-08 10:43:09 +03:00
Shagen Ogandzhanian
44cc13add1 Enable warning as errors by default in web (#1803) 2022-02-07 18:31:10 +01:00
Oleksandr Karpovich
7ea30be924 web: hide internal properties from AttrsScope, EventsListenerScope, StyleScope (#1802)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-02-07 15:27:48 +01:00
Oleksandr Karpovich
e37cb6dd0d move compose-web components to 1.1.0-alpha03 2022-02-07 11:51:42 +01:00
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>
2022-02-07 11:43:38 +01:00
Shagen Ogandzhanian
685e305c5e Move renderComposable to internal-web-core-runtime (#1789) 2022-02-04 21:00:59 +01:00
Shagen Ogandzhanian
6aaeddc4b4 Use standard side effects in Elements.kt (#1793) 2022-02-04 20:30:12 +01:00
Alexey Tsvetkov
6ba538c467 Fix publishing multiple platforms that use same alternative name (#1790)
-Pcompose.platforms=macos only matched MacosX64,
when it was expected to match both MacosX64 & MacosArm64
2022-02-04 11:25:28 +03:00
Sebastian
e1d0a39cf4 Add proguard configuration to tutorial (#1786) 2022-02-03 16:01:09 +03:00
Aleksandr Veselov
6a9be4a845 Add semantics to custom side panel elements (#1782) 2022-02-03 12:20:47 +03:00
James Hamilton
becd9e6155 Update ProGuard version in example (#1777)
Update ProGuard version and remove exclude for Android build tools dependency. The exclude should no longer be required (https://github.com/Guardsquare/proguard/issues/66).
2022-02-03 10:57:29 +03:00
Sebastian
ef0ed6c447 Fix issue on proguard example (#1780) 2022-02-03 10:57:01 +03:00
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>
2022-02-02 14:24:10 +01:00
Martynas Petuška
f98dfbc761 web: AttrsScope interface extraction (#1694)
* AttrsScope interface extraction

* PR amendments

* resolve conflicts

* remove yarn lockfile

* move submodule back
2022-02-01 14:06:34 +01:00
Igor Demin
b83d681c1f Update README.md 2022-02-01 15:13:56 +03:00
Oleksandr Karpovich
059a01f5d8 move compose submodule 2022-02-01 10:10:16 +01:00
Nikolay Igotti
d27b757092 Fix tutorial checker 2022-02-01 09:17:02 +03:00
Shagen Ogandzhanian
82bd465f5b Deprecate DisposableRefEffect and DomSideEffect (#1714) 2022-01-29 00:23:41 +01:00
Shagen Ogandzhanian
4bf01cf5e0 Make DomElementWrapper private (#1749) 2022-01-29 00:10:19 +01:00
Alexey Tsvetkov
4854bf5714 Fix JS Gradle test (#1760)
* Fix Gradle JS tests

* Use Gradle 7.3.3 instead of 7.3 in tests
2022-01-28 11:19:19 +03:00
Asad Dhorajiwala
ddb80e8161 Added link to Gradle tool window (#1757) 2022-01-27 18:03:53 +03:00
Ryan Simon
a749ade5d7 Fix issue where Android app is not launchable (#1758)
Launcher `Activity` should have `android:exported` attributes set to `true` so that app launchers have permission to launch the `Activity`.

Check official docs for more information: https://developer.android.com/guide/topics/manifest/activity-element#exported
2022-01-27 11:16:30 +03:00
Roman Sedaikin
b8ec76d166 Fixed slider-drag problem in [falling-balls-mpp] example. (#1750) 2022-01-26 16:41:35 +03:00
Oleksandr Karpovich
fb715e6061 Add checkAndWarnAboutUsingJsPlugin to gradle plugin (#1753)
* Add `checkAndWarnAboutUsingJsPlugin` to gradle plugin

closes #1693

* PR review improvements

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-01-26 14:32:21 +01:00
xuankaicat
26ce4099be Fix web-compose-bird example too many obstacles(#1493) (#1747) 2022-01-26 16:17:05 +03:00
Shagen Ogandzhanian
b71a5161a7 Reuse renderComposable in tests (#1732)
This also deprecates renderTestComposable
2022-01-25 11:36:37 +01:00
akurasov
b822900158 small corrections 2022-01-25 12:38:46 +03:00
Alexey Tsvetkov
d23806a3f4 Update examples (#1740)
* Update examples to Gradle 7.3.3

Resolves #1654

* Update compose and agp in examples

Resolves #1117

* Fix gradle plugins classloading in examples and templates

* Make falling balls mpp compatible with examples checker
2022-01-24 13:16:39 +03:00
Nikolay Igotti
6da56d56ea Move few MPP examples to experimental for now (#1739) 2022-01-24 13:06:01 +03:00
Alexey Tsvetkov
c1ecbd44ae Use cmake from master again 2022-01-21 17:12:03 +03:00
Alexey Tsvetkov
ef205f64bc Add Compose for Intellij usage example (#1728)
* Add example of using Compose for Intellij plugin

* Add instruction on how to use Compose for Intellij plugin
2022-01-21 17:09:45 +03:00
Alexey Tsvetkov
c44b6aa572 Update Compose for Intellij plugin name and description (#1729) 2022-01-21 17:07:07 +03:00
Aleksandr Veselov
ac792fabb4 Fix typo in build instructions (#1719) 2022-01-20 18:18:39 +03:00
Igor Demin
e182af469d Migrate skikoAospCommit to skiko-awt (#1721) 2022-01-20 13:50:38 +03:00
Aleksandr Veselov
d1fc145cca Add Minesweeper example application (#1500)
* Add Minesweeper example application

* Upgrade to mpp

* Compile for web and macos

* Fix unit tests

* Commonization and housekeeping

* Build for UIKit

* Update validateExamples.sh
2022-01-20 13:39:42 +03:00
Alexey Tsvetkov
4c3cf40c37 Add IJ plugin for reusing Compose in plugins (#1715)
* Add IJ plugin for reusing Compose in plugins

* Fix issues
2022-01-19 18:52:44 +03:00
Nikolay Igotti
c427f7c2bc Selective tutorial check ignore (#1716) 2022-01-19 17:32:50 +03:00
Alexey Tsvetkov
a1c4c8a41e Unsign dylibs when packaging with JDK 17 (#1703)
Resolves #1666
2022-01-19 13:38:56 +03:00
Alexander Gorshenev
ca382431c5 Updated frameworks/support to a fresh mpp branch state 2022-01-18 20:47:18 +03:00
Mário Fronza
b3c06bb2df removed unused lines (#1706) 2022-01-18 19:53:17 +03:00
akurasov
97d6f4022c moving template to 1.0.1 2022-01-18 13:48:26 +03:00
Oleksandr Karpovich
f09717d1bb remove kotlin-js-store in web-compose-in-js (#1707)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-01-18 10:33:38 +01:00
Alexey Tsvetkov
23921ae3ff Downgrade prebuilt cmake version (#1704)
Otherwise, new clean builds fail with error:
```
A problem occurred configuring project ':support:compose:ui:ui-inspection'.
> Failed to notify project evaluation listener.
> com.android.builder.errors.EvalIssueException: [CXX1300] CMake '3.18.1' was not found in SDK, PATH, or by cmake.dir property.
> The androidx.inspection plugin requires release build variant.
```
2022-01-18 11:17:15 +03:00
Thomas Vos
793b377147 Apple App Store (#1613)
* Add appStore option

* Fix "--app-image" option

* Add appCategory option

* Document signing for the Apple App Store

* Fix system version in the Product Definition Property List

* fixup! Fix "--app-image" option

* fixup! Document signing for the Apple App Store

* fixup! Add appStore option

* fixup! Add appCategory option

* Add provisioningProfile option

* Add entitlementsFile option (needs to be customised if your Mac app uses entitlements not in the default file)
2022-01-18 08:59:39 +03:00
akurasov
0c81859474 Enhancing mouse tutorial (#1591)
* Enhancing mouse tutorial

* Update README.md
2022-01-14 21:15:47 +03:00
Alexey Tsvetkov
6cda5a64d3 Remove falling-balls-web example (#1698)
falling-balls-mpp should be used instead
2022-01-14 20:20:23 +03:00
Alexey Tsvetkov
47214264ba Remove compose.with.web flag (#1697) 2022-01-14 20:20:10 +03:00