1810 Commits

Author SHA1 Message Date
Nikita Lipsky
fbd7b2be63 Correct README.md for experimental multiplatform template (#2795) 2023-02-28 12:04:37 +02:00
dima.avdeev
08e03e7c04 UIKit samples, change deprecated annotation @UIApplicationMain -> @main (#2800) 2023-02-27 13:02:30 +03:00
dima.avdeev
f6c36c3926 fix components project import with IDEA (#2799) 2023-02-25 21:46:49 +03:00
Nikita Lipsky
205d9c0d6f Add resources component to multiplatform template (#2796) 2023-02-24 18:20:41 +02:00
Nikita Lipsky
2cd92eed5c Add resources library to dependencies declared by compose gradle plugin (#2793)
* Add resources library to compose dependencies declared by compose gradle plugin

* Move resources component to CommonComponentsDependencies
2023-02-24 14:37:23 +02:00
Nikita Lipsky
5f08bfca16 Introduce Config.xсconfig (#2792)
- move APP_NAME (application name), BUNDLE_ID (bundle identifier) to Config.xcconfig

- add cleanup.sh script
2023-02-23 21:27:38 +02:00
Nikita Lipsky
c998ec50fc Revert "Introduce Config.xconfig"
This reverts commit e9009fe9bb.
2023-02-23 20:57:01 +02:00
Nikita Lipsky
e9009fe9bb Introduce Config.xconfig
- move APP_NAME (application name), BUNDLE_ID (bundle identifier) to Config.xcconfig

- add cleanup.sh script
2023-02-23 20:54:56 +02:00
Sebastian Aigner
8a635b6f96 ImageViewer: "Memories" view for ImageViewer, Stack-based Navigation, StateFlow-based Image Provider (#2789) 2023-02-23 20:31:15 +03:00
Nikita Lipsky
8ed753b1b9 Add iOS target to multiplatform template (#2788)
+ conform KMM wizard generated project structure and samples
2023-02-23 19:28:25 +02:00
dima.avdeev
6a6138f011 update submodule compose/frameworks/support to latest jb-main 2023-02-23 14:43:53 +04:00
Nikita Lipsky
6a56bdaa55 Copy templates to experimental as is ... (#2786)
... to add iOS target later
2023-02-22 19:38:22 +02:00
dima.avdeev
b1c449e1f3 README 2023-02-21 23:55:38 +04:00
dima.avdeev
9e8a138a2f fix typo ChatViewController (#2768) 2023-02-20 18:54:52 +03:00
Sebastian Aigner
e34f9c93da Move examples to V2 Source Set Layout (#2765) 2023-02-20 11:00:19 +03:00
dima.avdeev
a1cb760b7c Compose inside SwiftUI example (#2755) 2023-02-19 20:03:59 +03:00
Nikita Lipsky
0d0c9f64d3 ImageViewer: use painterResource from resource library. (#2761) 2023-02-17 16:04:07 +02:00
Sebastian Aigner
0dfba6086b Visual refresh for experimental Image Viewer (#2748)
* Design changes; move to material3

* Use animations to move between different images

* More design changes, rounded corners and animations

* Introduce square gallery view, start with granularizing state management

* Introduce square gallery view, start with granularizing state management

* Make PreviewImage not depend on the whole gallery state

* Move in initialization logic from composition into launched effect

* Highlight currently selected image

* Hoist state for FullscreenImage TopAppBar
Move from Custom Implementation to Material App Bar, use color scheme from main page
Extract hardcoded colors to ImageViewerColors

* Provide floating action buttons with nicer colors

* Provide keyboard events via SharedFlow (remove passing around MutableState in the composable hierarchy as it may potentially violate UDF)
Commonize IOScope initialization

* Provide German translation in shared R-strings

* Move from immutable data classes to Compose-aware State Holders.

* Fix gradlew formatting issue?

* Regenerate gradle wrapper after Android Studio autoformatting debacle

* Resolve rememberCoroutineScope issue

* Provide mock name for remaining picture in repo

* Restore TEAM_ID in project.pbxproj

* Use emptyFlow as default to simplify nullability handling for external events

* Remove extraneous newline and unnecessary print statement

* Provide German translation in XML format
Consistently rename title to "My Memories"

* Remove commented-out code, cleanup rendundant modifiers
Make Title Bar use callbacks instead of accessing ViewModel directly
Add toggle & icon for list and grid view
2023-02-17 15:38:50 +02:00
Nikita Lipsky
de0a081c12 minesweeper: use painterResource from resource library. (#2760) 2023-02-17 15:27:37 +02:00
Nikita Lipsky
266253564a visual-effects experimental sample: use XML Vector Drawable for Compose logo and painterResource from resources library. (#2759) 2023-02-17 15:27:15 +02:00
Nikita Lipsky
50def5feb8 Use painterResource from resource library for widgets-galley. (#2757) 2023-02-17 14:50:28 +02:00
Nikita Lipsky
05ee5aef35 Add XML Vector Drawables to MacOS native target. (#2756) 2023-02-16 20:28:21 +02:00
Nikita Lipsky
614fe78d71 Add painterResource utility method to resource library. (#2753)
+ respect density in remembering state for ImageVector
2023-02-16 19:38:19 +02:00
dima.avdeev
9274097dfc Update submodule compose/feameworks/support to latest jb-main 2023-02-15 20:35:36 +04:00
Igor Demin
3b81485bcc Remove experimental status of Material 3 (#2740)
It is already stable and reached 1.0.0 in Compose Multiplatform 1.3
2023-02-15 16:12:17 +01:00
Nikita Lipsky
2dd8d3223f Support for XML Vector Drawables in resources library. (#2749)
Support for XML Vector Drawables.
2023-02-15 16:32:54 +02:00
Nikita Lipsky
cc27bb68a6 Revert "Support for XML Vector Drawables."
This reverts commit 6060e86cbd.
2023-02-14 21:32:56 +02:00
Nikita Lipsky
6060e86cbd Support for XML Vector Drawables. 2023-02-14 21:22:03 +02:00
dima.avdeev
bd3891561c update submodule compose/frameworks/support to latest jb-main 2023-02-14 14:56:16 +04:00
Alexey Tsvetkov
fb441e505d Intellij compatibility fixes (#2733)
* Set 2022.1.1 as base IJ version

Stable AS is based on 2022.1.1 now,
so we can drop supporting 2021.3

* Update IDE plugin target bytecode version to 11

When 2022.1 is used as a base for IDE plugin,
inline functions from the platform
& the bundled Kotlin plugin cannot be used
unless target bytecode version is set to 11.

* Update Intellij SDK Gradle plugin

* Check editor is not disposed before showing preview toolbar

#2663

* Add preview caret listener only to main editor
2023-02-13 18:47:13 +01:00
Igor Demin
9fb0ed9487 Update bug_report.md 2023-02-13 14:44:36 +01:00
Igor Demin
f546ff4af4 Update feature_request.md (#2738)
* Update feature_request.md

About can't be blank

* Update feature_request.md

* Rename feature_request.md to enhancement.md
2023-02-13 14:41:44 +01:00
Igor Demin
98a47640d6 Update bug_report.md (#2736)
* Update bug_report.md

* Update bug_report.md

* Update bug_report.md
2023-02-13 14:28:30 +01:00
Igor Demin
316075e29e Rename feature_request to feature_request.md 2023-02-13 14:27:17 +01:00
Igor Demin
4dd8ed495f Feature request template (#2737)
We have bug report template, but don't have feature request template. Empty, for now.
2023-02-13 14:26:41 +01:00
Igor Demin
782377a770 Update bug_report.md 2023-02-10 09:55:56 +03:00
Igor Demin
861778f4d3 Change the platform section in the bug report template (#2723)
Checkboxes are treated as tasks: https://github.com/JetBrains/compose-jb/issues/2722
2023-02-10 09:55:12 +03:00
Oleksandr Karpovich
e9789ba364 Fix ComposeExtension.kotlinCompilerPluginArgs for non-jvm compilations (#2716) 2023-02-08 10:20:10 +01:00
Igor Demin
16bcc34b68 A note about experimental targets (#2717) 2023-02-08 09:45:56 +01:00
Igor Demin
4b449e914a Update bug_report.md (#2710)
* Update bug_report.md

* Update bug_report.md
2023-02-06 21:59:55 +01:00
Alexey Tsvetkov
8f3578bdca Fix gradle tests (#2708)
* Add docker file for Gradle tests on TeamCity

* Remove configuring JDK for tests

* Update compose & kotlin compiler in testAndroidxCompiler
2023-02-06 20:25:24 +01:00
Oleksandr Karpovich
c2865e05cc Update issue templates (#2707)
* Update issue templates

* Update .github/ISSUE_TEMPLATE/bug_report.md
2023-02-06 18:08:43 +01:00
Alexey Tsvetkov
75addb9224 Add proguard rules for issues example (#2703) 2023-02-06 16:26:10 +01:00
dima.avdeev
ab02a7125c testUIKit, add ui-text module (#2693) 2023-02-03 12:51:01 +03:00
Oleksandr Karpovich
aa64d2d232 Update VERSIONING.md (#2681) 2023-01-31 10:46:56 +01:00
Oleksandr Karpovich
d3c3d7a0ac Move compose submodule 2023-01-31 10:35:50 +01:00
Oleksandr Karpovich
bc6d42ef44 Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651)
* Update versions in examples

* Add more scripts to validate example on android and k/js

* Add validateExamplesIos.sh

* Update CHANGELOG.md for 1.3.0

* check examples with 1.3.0-rc06

* Update the versions: compose-multiplatform - 1.3.0, kotlin - 1.8.0

* Update ComposeCompilerCompatibility (1.4.0)

* Update web/yarn.lock
2023-01-30 21:02:23 +01:00
aSemy
8f3beed1fa #2597 use textContent instead of innerText for code snippet content (#2598) 2023-01-30 20:05:56 +01:00
Oleksandr Karpovich
c3af339156 Add a test for k/js compose compilation of an anonymous object with Composable (#2559)
* Add a test for k/js compose compilation of an anonymous object with @Composable functions

* add 1 more test

* add 1 more test
2023-01-30 20:05:15 +01:00
Oleksandr Karpovich
5d18d0a79d Add InheritanceTests with Composables for k/js (#2666) 2023-01-26 14:45:34 +01:00