Commit Graph

330 Commits

Author SHA1 Message Date
Alexey Tsvetkov
af92759a81 Update Intellij Gradle plugin (#2088)
Resolves #2070
2022-05-31 15:23:10 +03:00
Igor Demin
15f8b0bbd3 Revert Kotlin to 1.6.10
Version of Kotlin should be compatible with Compose that is set in gradle.properties
2022-04-29 16:33:55 +04:00
dima-avdeev-jb
3585dd3afa Fix todoapp sample, iOS build (#2024) 2022-04-21 12:54:45 +04:00
Oleksandr Karpovich
95c5783bd8 pass -Pkotlin.version=$KOTLIN_VERSION in validateExamples.sh
It was ignored previously.
2022-04-21 10:25:02 +02:00
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>
2022-04-20 15:33:01 +02:00
Travis Reitter
6f00515736 Apple Silicon build fixes for todoapp (#1999)
* upgrade Reaktive to one that has better Apple Silicon support

* upgrade SQLDelight for Apple Silicon support

* Fix build to support Apple Silicon

Some of this code could be better centralized though I've been unable to
find a solution.

* simplify utils/build.gradle.kts

* workaround

* fix review comments

* sample todoapp: rename Todo.framework -> KotlinCommon.framework

Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
2022-04-20 10:10:55 +04:00
Igor Demin
dc0335b210 WidgetsGallery. Refactor painterResource 2022-04-19 14:51:36 +04:00
Igor Demin
bb51f9fd8f Pass Kotlin version to validateExample.sh 2022-04-19 13:54:05 +04:00
dima-avdeev-jb
dd205b1955 Intellij compose tool window panel (#1994) 2022-04-11 12:48:36 +04:00
dima-avdeev-jb
e4cebf9eda Intellij plugin to choose color (truth of concept) (#1990) 2022-04-05 18:21:16 +04:00
Igor Demin
8ae418457e Fix notepad example 2022-03-13 10:23:55 +04:00
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>
2022-02-25 20:48:49 +03:00
Arkadii Ivanov
265de0fc28 TodoApp. Updated Decompose to 0.5.1 and MVIKotlin to 3.0.0-beta01. (#1896) 2022-02-25 16:48:45 +03:00
Oleksandr Karpovich
1ab63ed995 fix Style composable and CSSRulesHolderState (#1889)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-02-23 09:59:19 +01:00
Aleksandr Veselov
6a9be4a845 Add semantics to custom side panel elements (#1782) 2022-02-03 12:20:47 +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
xuankaicat
26ce4099be Fix web-compose-bird example too many obstacles(#1493) (#1747) 2022-01-26 16:17:05 +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
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
Aleksandr Veselov
ac792fabb4 Fix typo in build instructions (#1719) 2022-01-20 18:18:39 +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
a1c4c8a41e Unsign dylibs when packaging with JDK 17 (#1703)
Resolves #1666
2022-01-19 13:38:56 +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
6cda5a64d3 Remove falling-balls-web example (#1698)
falling-balls-mpp should be used instead
2022-01-14 20:20:23 +03:00
Oleksandr Karpovich
479add7c89 add BouncingBalls example to falling-balls-mpp (#1699)
* add BouncingBalls example to falling-balls-mpp

* add new bouncing balls at click position instead of a random coordinates

* review improvements

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-01-14 15:52:15 +01:00
Shagen Ogandzhanian
a052f280d9 Temporary fix for subsituting default vulnerable dependency from kotlin/js build workflow 2022-01-12 18:24:42 +01:00
akurasov
900f042891 Adding NY animation (#1681) 2022-01-12 18:55:26 +03:00
Alexey Tsvetkov
387fa07bd8 Simplify configuration for web and uikit apps (#1682) 2022-01-11 17:06:43 +03:00
Oleksandr Karpovich
5bc0616116 web: add missing webpack.config.d in web-compose-in-js example (#1683) 2022-01-11 13:49:09 +01:00
Oleksandr Karpovich
38e17c1955 web: add example for dom-based-composables usage in plain JS (#1677)
* web: add example for dom-based-composables usage in plain JS

* web: add example for dom-based-composables usage in plain JS (review improvements)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-01-11 13:33:44 +01:00
Oleksandr Karpovich
a7ea7b7767 move Compose submodule and update mpp demo (#1678)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-01-10 15:53:03 +01:00
Alexander Gorshenev
b98c88d6fe Add Falling Balls MPP example
Author:Alexander Gorshenev <alexander.gorshenev@jetbrains.com>
Co-authored-by: Alexey Tsvetkov <alexey.tsvetkov@jetbrains.com>
Co-authored-by: Nikolay Igotti <igotti@gmail.com>
2021-12-30 09:15:23 +03:00
Igor Demin
b2213e3132 Fix Todo example Deps (#1607)
task `gradlew jsBrowserDevelopmentRun` didn't work
2021-12-16 01:11:10 +03:00
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>
2021-12-14 15:19:20 +01:00
Shagen Ogandzhanian
81f167f589 Remove redundant braces for CSS units with unary minus
It's redundant since we have `operator fun <T: CSSUnit> CSSSizeValue<T>.unaryMinus(): CSSSizeValue<T> `
2021-12-13 17:10:58 +01:00
Igor Demin
de2e3bc262 Update validateExamples.sh 2021-12-08 22:18:39 +03:00
Igor Demin
3c466d8530 Update validateExamples.sh 2021-12-08 21:59:24 +03:00
Igor Demin
b811013545 Update validateExamples.sh 2021-12-08 21:40:03 +03:00
Igor Demin
6633d0d23b Script for validating examples on CI (fix permissions) 2021-12-08 19:57:44 +03:00
Igor Demin
9ae5da0dcd Script for validating examples on CI 2021-12-08 18:01:22 +03:00
Igor Demin
a05d9b2ee1 Script for validating examples on CI 2021-12-08 17:56:49 +03:00
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
2021-12-08 10:32:18 +03:00
Nikolay Igotti
834dc94e5b Visual effects (#1547) 2021-12-07 10:27:02 +03:00
Igor Demin
74d536dfa8 Fix dark theme in widgets example (#1536) 2021-12-03 19:01:59 +03:00
Igor Demin
559e9364f1 Move examples to 1.0.0 (#1524) 2021-12-01 20:23:48 +03:00
Oleksandr Karpovich
f19d5fb66a update web-landing: fix padding for WtContainer 2021-12-01 16:42:54 +01:00
Oleksandr Karpovich
a9156f5787 update web-landing content according to new version (1.0.0-rc12) (#1523)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-12-01 16:24:30 +01:00
Igor Demin
3e34d5e756 Fix Todo example for Android 2021-12-01 17:10:01 +03:00
Igor Demin
3ed28dde02 Fix Todo example for Android 2021-12-01 17:08:24 +03:00