Shagen Ogandzhanian
3902bf2768
Introduce printBundleSize to all web sample projects
...
And remove it from benchmarks
3 years ago
Nikolay Igotti
e82aeadf3c
Fix typo.
3 years ago
Alexey Tsvetkov
8a685b62fb
Fix compatibility with Gradle < 7.1 ( #957 )
3 years ago
Alexey Tsvetkov
22a7cea62e
Remove deprecated Gradle plugin DSL properties ( #953 )
3 years ago
Alexey Tsvetkov
d0f286dfb0
Rename default IDE plugin publishing channel ( #952 )
3 years ago
Shagen Ogandzhanian
6fa567032e
Autogenerate all web examples from samples
...
That would make it easier to keep them consistent and to test them
continuously
3 years ago
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
3 years ago
Roman Sedaikin
2e571c8734
Updated ImageViewer to 0.5.0-build270
3 years ago
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>
3 years ago
Nikolay Igotti
0ed5aa650a
Cleanup warnings, make them errors.
3 years ago
Nikolay Igotti
7798c83da2
Move falling balls to 0.5.0-build270
3 years ago
Shagen Ogandzhanian
ab3ac73f83
Build all web examples with -Pcompose.web.buildSamples=true
3 years ago
Igor Demin
82468294f4
Update Compose
3 years ago
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>
3 years ago
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
3 years ago
Andrew Rudenko
11464f199e
Update mouse tutorial ( #932 )
3 years ago
Nikolay Igotti
f2fec0ea63
Switch repo to compose-jb
3 years ago
Shagen Ogandzhanian
f3d4a2cbfa
Fix web integration tests
3 years ago
SkillCode
4f3703693d
Replace invalid scrollbars link ( #929 )
3 years ago
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
3 years ago
Alexey Tsvetkov
a0a8a32302
Idea floating panel ( #927 )
...
* Implement floating editor toolbar for running preview
* Minor: remove accidentally committed debug logging
3 years ago
Shagen Ogandzhanian
2536c29766
Basic support for grid-auto-flow, grid-auto-columns and grid-auto-rows in CSS API
...
This contibutes to #895
3 years ago
Igor Demin
e071b2889b
Publish compose:ui:ui-tooling-preview
3 years ago
Shagen Ogandzhanian
4c6388f995
Introduce minimal support of alignSelf, justifySelf, alignItems, justifyItems, gap in CSS API
3 years ago
Shagen Ogandzhanian
b9a87578fc
Support negation for CSSNumeric values
...
This resolves #921
3 years ago
Shagen Ogandzhanian
e4e05c826c
Li can be build in any context
...
We won't try to type-check the DOM structure, it's up to user which elements and where to use
3 years ago
Shagen Ogandzhanian
636694a46e
Introduce basic support for grid-column/row-start/end
...
This contributes to #895
3 years ago
Igor Demin
f4f53d69c8
Fix multiple composable windows
...
If we open two windows and close the first one - the second one will jump to the position of the closed one
3 years ago
Igor Demin
581b5f0b0a
Update Compose + Migrate to 0.5.0-build262 / Kotlin 1.5.21 ( #916 )
3 years ago
Shagen Ogandzhanian
f4fc51f372
Simplify CSSFlexTests
3 years ago
Shagen Ogandzhanian
ef56abac66
Introduce helper function to the test scope to iterate through root children
3 years ago
Shagen Ogandzhanian
90cecde6f2
Basic support for grid-template-areas
...
This contributes to #895
3 years ago
Shagen Ogandzhanian
cf19b0fba9
Introduce basic support for grid-area in CSS API
3 years ago
Shagen Ogandzhanian
ac7974d056
Introduce minimal support for "grid-template-columns" and "grid-template-rows" in CSS API
3 years ago
Shagen Ogandzhanian
58ea0bde81
Basic suppport for gridRow and gridColumn in CSS API
...
This contributes to #895
3 years ago
Shagen Ogandzhanian
a5cffc44ca
CSS API - disallow String parameters for colors
...
See #891 - Still not closing though since I want to revisit it after CSS Grid and propert keywrods typing
3 years ago
Arkadii Ivanov
d89671218a
Add previews to TodoApp example ( #909 )
3 years ago
Shagen Ogandzhanian
fb63c43394
Use max/minWidth/Height call in samples
3 years ago
Shagen Ogandzhanian
83870dde5d
Correct @Deprecation.ReplaceWith arguments for Color.hsl, Color.hsla
3 years ago
Alexey Tsvetkov
c271999ec8
Check preview RPC protocol version ( #907 )
...
Show notification, when preview client and server use different versions
of the protocol
3 years ago
Oleksandr Karpovich
58f36be885
web: Disable flaky SelectElementTests to investigate them later
3 years ago
Alexey Tsvetkov
b73b09dffc
Include jdk.crypto.ec by default ( #905 )
...
Without this module most of https
is not going to work (see https://github.com/JetBrains/compose-jb/issues/269 or https://github.com/JetBrains/compose-jb/issues/429 )
The inclusion of this module increases a size of
a prepackaged app by ~440 kb
and of a packaged dmg by ~167 kb
3 years ago
Alexey Tsvetkov
f15f4236de
Better preview progress indication ( #901 )
...
* Indicate preview progress with loading panel
* Avoid sending repeated preview requests
3 years ago
Shagen Ogandzhanian
a83bf4c181
Remove StylePropertyValue.asString, StylePropertyValue.asNumber and StylePropertyValue.asCSSStyleValue
...
in other words, remove all StylePropertyValue -> js object value
3 years ago
Shagen Ogandzhanian
bb4e97b149
CSSVariableValueAs is not a StylePropertyValue
3 years ago
Shagen Ogandzhanian
fce92382fd
Introduce new CSS Color API and deprecate old one
...
This resolves #902
3 years ago
Oleksandr Karpovich
6d97c6d055
web: align the rest of events ( #887 )
...
* web: update change and beforeInput event listeners
* web: update Clipboard events: copy, cut, paste
* web: update Keyboard events: keyup, keydown
* web: update select event (only for input and textarea)
* web: update FocusEvents: focus, blur, focusin, focusout
* web: update Touch Events
* web: remove search event listener as it's not supported in Firefox
* web: update Animation Events
* web: update scroll event
* web: rename WrappedEventListener to SyntheticEventListener
* refactor internal event listeners to avoid redundant lambdas
* remove WrappedEvent.kt
* move SyntheticInputEvent.kt to `events` package
* Add tests for Select element events
* remove import from another changelist
* web: add Form events: submit and reset
* fix PR discussions
* web: rename `attrsBuilder` to `attrs`
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
8c01295e8a
Web/add compose plugin integration cases for kotlinjs ( #870 )
...
* web: Add integration cases for compose plugin targeting kotlin/js
* web: Add integration cases for compose plugin targeting kotlin/js
* Report cases to TeamCity
* Update README.md
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Alexey Tsvetkov
992268bccd
Suppress naming style inspection for composable functions ( #889 )
...
This change suppresses a diagnostic,
which complaints, when a function starts
with an upper case letter
3 years ago
Shagen Ogandzhanian
27e4dd4fe6
Introduce html/css color constants
...
This resolve #890 : Introduce complete list of HTML color aliases
3 years ago