Commit Graph

838 Commits

Author SHA1 Message Date
Nikolay Igotti
eadbe8daed Theme detection logic. 2021-08-02 16:01:50 +03:00
Shagen Ogandzhanian
ee5397f51d Add jsMain dependencies to the multiplatform-template 2021-08-02 14:25:10 +02:00
Igor Demin
a734861ea1 Templates. Update versions
Revert to 6.9 as 7.1.1 doesn't properly work with com.android.tools.build:gradle:4.0.1
com.android.tools.build:gradle:7.0.0 doesn't supported by IDEA yet
2021-08-02 14:46:05 +03:00
Roman Sedaikin
75abbd3aa7 Added tabbing navigation tutorial. (#817)
* Added tabbing navigation tutorial.
2021-08-02 14:35:37 +03:00
Shagen Ogandzhanian
16852696f5 Switch all web examples and web template to 1.0.0-alpha1-rc1 2021-08-02 12:48:49 +02:00
Igor Demin
519d0e47d2 Templates. Update versions 2021-08-02 13:33:49 +03:00
Igor Demin
19d7eabc7f Use DesktopMaterialTheme instead of MaterialTheme 2021-08-02 13:07:56 +03:00
Igor Demin
8e5773f400 Update Compose 2021-08-02 13:00:48 +03:00
Alexey Tsvetkov
5d4a26b076 Fix preview floating panel compatibility with both 2020.3 and 2021.1 (#973) 2021-08-02 12:11:51 +03:00
Alexey Tsvetkov
227834f963 Allow preview to work without explicit dependency on compose.uiTooling (#972)
Add runtime-only module org.jetbrains.compose.ui:ui-tooling-desktop
to preview classpath in configureDesktopPreview task
2021-08-02 11:47:06 +03:00
Alexey Tsvetkov
079a317c03 Update examples (#967)
* Update widgets gallery examples

* Update notepad example

* Update issues example

This change updates:
* Gradle to 7.1.1;
* AGP to 7.0.0;
* Compose to 1.0.0-alpha1-rc1;
* Kotlin to 1.5.21.

* Update image viewer example
2021-08-02 10:45:44 +03:00
Nikolay Igotti
54ea726f91 Fix icon setting 2021-08-02 10:14:49 +03:00
Nikolay Igotti
a7bde4a5dc Move to the new windows API 2021-08-02 10:07:40 +03:00
Scott Pierce
8342d370d6 Sign jnilib files on osx in addition to dylib files. (#966)
Co-authored-by: Scott Pierce <>
2021-08-02 08:02:48 +03:00
Nikolay Igotti
0ff88e0d2c Move todoapp to 1.0.0-alpha1-rc1. 2021-08-01 19:17:07 +03:00
Nikolay Igotti
3f528d14f0 Move to newer platform and IDEA gradle plugin 2021-08-01 15:00:05 +03:00
Nikolay Igotti
88c4e27d6e Move intellijPlugin to 1.0.0-alpha1-rc1 2021-08-01 14:22:46 +03:00
Igor Demin
06f4ade5c6 Update build.gradle.kts 2021-07-31 20:17:09 +03:00
Igor Demin
4f908a50e3 Update build.gradle.kts 2021-07-31 20:16:06 +03:00
Nikolay Igotti
eceb3b8797 Move templates to 1.0.0-alpha1-rc1 2021-07-31 00:41:59 +03:00
Igor Demin
1786de28a7 Sync/2021 07 30 (#961) 2021-07-31 00:38:25 +03:00
Nikolay Igotti
0d232be23a Move few examples to 1.0.0-alpha1-rc1 2021-07-31 00:19:10 +03:00
Shagen Ogandzhanian
87477236ec Add google repo for all web modules, samples and examples 2021-07-30 19:05:34 +02:00
Shagen Ogandzhanian
89f9117b6f Fix for dependency in samples/falling_balls_with_web 2021-07-30 18:12:26 +02:00
Shagen Ogandzhanian
9654149ec7 Update web_landing sample and web_langin example with fresher CSS API 2021-07-30 16:24:41 +02:00
Shagen Ogandzhanian
3902bf2768 Introduce printBundleSize to all web sample projects
And remove it from benchmarks
2021-07-30 13:06:42 +02:00
Nikolay Igotti
e82aeadf3c Fix typo. 2021-07-30 11:14:58 +03:00
Alexey Tsvetkov
8a685b62fb Fix compatibility with Gradle < 7.1 (#957) 2021-07-30 00:29:32 +03:00
Alexey Tsvetkov
22a7cea62e Remove deprecated Gradle plugin DSL properties (#953) 2021-07-29 16:44:59 +03:00
Alexey Tsvetkov
d0f286dfb0 Rename default IDE plugin publishing channel (#952) 2021-07-29 16:44:52 +03:00
Shagen Ogandzhanian
6fa567032e Autogenerate all web examples from samples
That would make it easier to keep them consistent and to test them
continuously
2021-07-29 15:02:21 +02:00
Alexey Tsvetkov
4945f450e1 Enable running preview for any Compose Desktop module (#951)
Previously preview only worked in projects,
that define compose.desktop.application {} DSL block

Resolves #908
2021-07-29 12:09:13 +03:00
Roman Sedaikin
2e571c8734 Updated ImageViewer to 0.5.0-build270 2021-07-28 18:56:23 +03:00
Oleksandr Karpovich
b41344ef41 Web/update tutorials and examples (#942)
* web: Update tutorials (to use 0.5.0-build270)

* web: Update examples (to use 0.5.0-build270 and kotlin 1.5.21)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-07-28 17:50:20 +02:00
Nikolay Igotti
0ed5aa650a Cleanup warnings, make them errors. 2021-07-27 16:42:25 +03:00
Nikolay Igotti
7798c83da2 Move falling balls to 0.5.0-build270 2021-07-27 16:37:18 +03:00
Shagen Ogandzhanian
ab3ac73f83 Build all web examples with -Pcompose.web.buildSamples=true 2021-07-27 14:14:37 +02:00
Igor Demin
82468294f4 Update Compose 2021-07-27 15:04:08 +03:00
Oleksandr Karpovich
af2f2b2b8d Add a check that compose is used along with kotlinx.serialization (#900)
* Add a check that compose is used along with kotlinx.serialization

There's a known issue that both plugins can't be used in the same module (specifically for kotlin/js targets).
The compose gradle plugin will check for `kotlinx.serialization` and will show a warning.

* Fix PR suggestions

* Update WarnAboutComposeWithSerialization.kt

Update the link for the issue

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-07-27 09:57:27 +02:00
theapache64
c63ade0ba9 Update web-compose-bird example (#934)
* bump compose version to 0.5.0-build262 and multiplatform version to 1.5.21

* add method comments

* update demo gif
2021-07-26 12:43:52 +03:00
Andrew Rudenko
11464f199e Update mouse tutorial (#932) 2021-07-26 10:43:29 +02:00
Nikolay Igotti
f2fec0ea63 Switch repo to compose-jb 2021-07-26 10:25:49 +03:00
Shagen Ogandzhanian
f3d4a2cbfa Fix web integration tests 2021-07-23 13:47:39 +02:00
SkillCode
4f3703693d Replace invalid scrollbars link (#929) 2021-07-23 10:46:35 +03:00
Shagen Ogandzhanian
d363211110 Remove CSSVariables context
One can define CSS variables anywhere
This is actually  the only thing we want to do right now in framework
of #894

Resolves #894
2021-07-23 01:10:10 +02:00
Alexey Tsvetkov
a0a8a32302 Idea floating panel (#927)
* Implement floating editor toolbar for running preview

* Minor: remove accidentally committed debug logging
2021-07-22 19:51:52 +03:00
Shagen Ogandzhanian
2536c29766 Basic support for grid-auto-flow, grid-auto-columns and grid-auto-rows in CSS API
This contibutes to #895
2021-07-22 15:30:10 +02:00
Igor Demin
e071b2889b Publish compose:ui:ui-tooling-preview 2021-07-22 11:06:17 +03:00
Shagen Ogandzhanian
4c6388f995 Introduce minimal support of alignSelf, justifySelf, alignItems, justifyItems, gap in CSS API 2021-07-22 00:35:52 +02:00
Shagen Ogandzhanian
b9a87578fc Support negation for CSSNumeric values
This resolves #921
2021-07-21 22:38:42 +02:00