Commit Graph

43 Commits

Author SHA1 Message Date
Abdelilah El Aissaoui
907b657c89 Docs to AnimatedImage public methods (#2050)
* Added additional docs to public methods

* Replaced parent with caller

* Updated AnimatedImage docs

* Replaced path with image
2022-05-05 15:30:03 +03:00
Igor Demin
4ff361bd62 Components. AnimatedImage. Fix 'load' function. (#2043)
Passed to 'load' lambda can change every recomposition (it depends on variables which are captured inside it)
2022-04-29 16:46:48 +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
Abdelilah El Aissaoui
96f0d98d27 Added animated image component (#2015)
* Added animated image component

* Simplified network request

* Resource load is now done in the IO Dispatchers

* Renamed constant to express better its use

* Refactored animated image component to use the default Image component instead of creating our own component

* Added missing keys

* Created new module resources & adapted AnimatedImage to it
2022-04-29 13:57:15 +03: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
Igor Demin
713f687b02 SplitPane. Remove material dependency (#1979)
SplitPane by design, shouldn't have default visual representation, because it mostly depends on the design system (material, material3, etc)

Fixes https://github.com/JetBrains/compose-jb/issues/1975

RelNote:
SplitPane no longer depends on compose.material. Now, by default, SplitPane has invisible 0px splitter, not 1px black/white splitter as it was before. If you want to preserve the previous behaviour, specify a splitter explicitly:
```
HorizontalSplitPane(splitterState) {
    splitter {
        visiblePart {
            Box(
                Modifier
                    .height(1.dp)
                    .fillMaxHeight()
                    .background(MaterialTheme.colors.background)
            )
        }
    }
}
```
2022-04-11 11:47:45 +03: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
Alexey Tsvetkov
f3a403b321 Additional CI fixes (#1696)
* Fix components script compilation

* Add script to run Gradle with Compose properties set up

It's useful for running a single task in
the included Compose build.

* Set default JVM target to 11 if it is lower

* Update Compose submodule
2022-01-14 20:19:53 +03:00
Alexey Tsvetkov
8ff2a324b6 More CI fixes (#1649)
* Update Kotlin in SplitPane component

* Use skiko-awt-* artifacts instead of skiko-jvm-*
2021-12-30 09:32:56 +03:00
Alexey Tsvetkov
11918f3e8a Fix MPP CI issues (#1645)
* Fix compilation of SplitPane

* Fix Gradle tests
2021-12-30 09:29:25 +03:00
Alexey Tsvetkov
8e335c9d21 Switch main components build to Gradle 7.3.3 (#1643)
Using one version of Gradle improves build
performance and dev experience by
reusing Gradle daemons, using less storage
& copying for Gradle cache, etc
2021-12-30 09:26:37 +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
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
Igor Demin
559e9364f1 Move examples to 1.0.0 (#1524) 2021-12-01 20:23:48 +03:00
Igor Demin
21473b13f1 Move to 1.0.0-rc12 (#1518)
* Move build_from_cli

* Migrate to 1.0.0-rc12

* Comment about LWJGL

* Update Tutorials
2021-12-01 15:37:02 +03:00
Nikolay Igotti
4589805fc0 Use 1.0.0-beta1 in components 2021-10-25 10:38:03 +03:00
Igor Demin
b9b9e3438b Move cef and videoplayer to experimental folder (#1277)
Only experimental/components/settings.gradle.kts is copied with changes, the rest is copied without changes
2021-10-19 19:00:34 +03:00
akurasov
064e3ed3d4 updating components and tutorials to latest Compose API 2021-10-07 17:58:25 +03:00
Igor Demin
5db79e49b6 Fix components compilation 2021-09-28 11:10:34 +03:00
Igor Demin
eb7d618042 Fix components compilation 2021-09-28 10:54:00 +03:00
Igor Demin
6fe8be049d Miggrate to 1.0.0-alpha4-build362 (#1205) 2021-09-28 10:38:21 +03:00
Nikolay Igotti
86bf3115b5 Sync/2021 09 27 (#1203) 2021-09-27 18:03:34 +03:00
Igor Demin
a8bc62c519 Migrate to 1.0.0-alpha4-build328 2021-08-27 23:29:58 +03:00
Igor Demin
c9a7b15e86 Migrate to Kotlin 1.5.30 2021-08-27 20:40:51 +03:00
theapache64
01355cc93f Fix VideoPlayer (#1088)
* fix player's macOS issue

* replace local file path with public URL
2021-08-21 12:43:30 +03:00
Noire
0f9735140d Fix component SplitPane (#1037) 2021-08-10 15:59:08 +03:00
Nikolay Igotti
d499b350a2 Move to 1.0.0-alpha1 2021-08-04 09:41:56 +03:00
Igor Demin
581b5f0b0a Update Compose + Migrate to 0.5.0-build262 / Kotlin 1.5.21 (#916) 2021-07-21 11:24:17 +03:00
Igor Demin
854de3681c Publish components (#829) 2021-06-29 16:55:08 +03:00
Nikolay Igotti
0dc9bf0104 Move to 0.4.0 2021-05-31 18:25:21 +03:00
Nikolay Igotti
e817408595 Use 0.4.0-rc2 in examples (#720) 2021-05-31 14:19:54 +03:00
Nikolay Igotti
bf4f7051a2 Move to Kotlin 1.5.10 and Compose 0.4.0-rc1 2021-05-28 14:28:15 +03:00
Nikolay Igotti
38f4cfa33e Move to 0.4.0-build209 2021-05-20 19:04:27 +03:00
Nikolay Igotti
7bdb87f20b Move to Compose 0.4.0-build208 and Kotlin 1.5.0 2021-05-20 17:48:04 +03:00
Alexey Tsvetkov
8c8b4147ab Update to 0.4.0-build182 and get rid of jcenter
The build `0.4.0-build182` upgrades
`kotlinx-collections-immutable` library
(which is used by the compose runtime) to 0.3.4,
which was published to maven central,
so most usages of sunsetting jcenter repo
can be removed now.

Resolves #557
2021-04-21 12:44:57 +03:00
Nikolay Igotti
76e3f45f8b Move to Kotlin 1.4.32 and 0.4.0-build180 2021-04-12 12:26:03 +03:00
Nikolay Igotti
2f7f05babd Move to 0.3.2. 2021-03-02 09:51:30 +03:00
Nikolay Igotti
1999f58e75 Move to build 0.3.1. 2021-03-01 09:37:24 +03:00
Cromefire_
3812ab11c0 Embedded video player (#421) 2021-02-24 21:07:22 +03:00
Igor Demin
bc90bb7074 SplitPane. Fix SplitterHandleAlignment 2021-02-21 01:19:38 +03:00
Igor Demin
1b634255e8 Split pane. Refactoring (#408) 2021-02-21 00:03:04 +03:00
LAP2
901406269a Add split pane (#355)
Components. SplitPane
2021-02-20 23:53:50 +03:00
Nikolay Igotti
2fa3dcde04 Custom components template. (#206) 2020-12-21 14:41:13 +03:00