Update docs, cleanup code after refactor (#199)

* Clean up code, add simple IntUiTheme entry point

Moved foundation.tree into foundation.lazy, too.

* Update README for 0.8.0

Added code samples, updated project structure, added sections on custom
window decoration and icon runtime patching.

* Add getting started section
GitOrigin-RevId: 7e69d32bda849d252fcf4a013fe8ebebb6ca1777
This commit is contained in:
Sebastiano Poggi
2023-10-22 15:00:08 +01:00
committed by intellij-monorepo-bot
parent 6545f52b76
commit 9fc924b3ce
33 changed files with 652 additions and 465 deletions

View File

@@ -1,6 +1,5 @@
[![JetBrains incubator](https://img.shields.io/badge/JetBrains-incubator-yellow)](https://github.com/JetBrains#jetbrains-on-github) [![CI checks](https://img.shields.io/github/actions/workflow/status/JetBrains/jewel/build.yml?logo=github)](https://github.com/JetBrains/jewel/actions/workflows/build.yml) [![Licensed under Apache 2.0](https://img.shields.io/github/license/JetBrains/jewel)](https://github.com/JetBrains/jewel/blob/main/LICENSE) [![Latest release](https://img.shields.io/github/v/release/JetBrains/jewel?include_prereleases&label=Latest%20Release&logo=github)](https://github.com/JetBrains/jewel/releases/latest)
# Jewel: a Compose for Desktop theme
<img alt="Jewel logo" src="art/jewel-logo.svg" width="20%"/>
@@ -10,15 +9,52 @@ desktop-optimized theme and set of components.
> [!WARNING]
>
> This project is in active development, and caution is advised when considering it for production uses. You _can_,
> but you should expect APIs to change often, things to move around and/or break, and all that jazz. Binary
> compatibility is not currently guaranteed across releases, but it is an eventual aim for 1.0, if it is possible.
> This project is in active development, and caution is advised when considering it for production uses. You _can_ use
> it, but you should expect APIs to change often, things to move around and/or break, and all that jazz. Binary
> compatibility is not guaranteed across releases, and APIs are still in flux and subject to change.
>
> Use at your own risk! (but have fun if you do!)
> Writing 3rd party IntelliJ Plugins in Compose for Desktop is currently **not officially supported** by the IntelliJ
> Platform. It should work, but your mileage may vary, and if things break you're on your own.
>
> Use at your own risk!
Jewel provides stand-alone implementations of the IntelliJ Platform themes that can be used in any Compose for Desktop
application, and a Swing LaF Bridge that only works in the IntelliJ Platform (i.e., used to create IDE plugins), but
automatically mirrors the current Swing LaF into Compose for a native-looking, consistent UI.
Jewel provides an implementation of the IntelliJ Platform themes that can be used in any Compose for Desktop
application. Additionally, it has a Swing LaF Bridge that only works in the IntelliJ Platform (i.e., used to create IDE
plugins), but automatically mirrors the current Swing LaF into Compose for a native-looking, consistent UI.
## Getting started
To use Jewel in your app, you only need to add the relevant dependency. There are two scenarios: standalone Compose for
Desktop app, and IntelliJ Platform plugin.
For now, Jewel artifacts aren't available on Maven Central. You need to add a custom Maven repository to your build:
```kotlin
repositories {
maven("https://packages.jetbrains.team/maven/p/kpm/public/")
// Any other repositories you need (e.g., mavenCentral())
}
```
If you're writing a **standalone app**, then you should depend on the `int-ui-standalone` artifact:
```kotlin
dependencies {
implementation("org.jetbrains.jewel:jewel-int-ui-standalone:[jewel version]")
// Optional, for custom decorated windows:
implementation("org.jetbrains.jewel:jewel-int-ui-decorated-window:[jewel version]")
}
```
For an **IntelliJ Platform plugin**, then you should depend on the appropriate `ide-laf-bridge` artifact:
```kotlin
dependencies {
// The platform version is a supported major IJP version (e.g., 232 or 233 for 2023.2 and 2023.3 respectively)
implementation("org.jetbrains.jewel:jewel-ide-laf-bridge-platform-specific:[jewel version]-ij-[platform version]")
}
```
## Project structure
@@ -26,15 +62,27 @@ The project is split in modules:
1. `buildSrc` contains the build logic, including:
* The `jewel` and `jewel-publish` configuration plugins
* The `jewel-check-public-api` and `jewel-linting` configuration plugins
* The Theme Palette generator plugin
2. `core` contains the foundational Jewel functionality, including the components and their styling primitives
3. `int-ui` implements the standalone version of the IntelliJ New UI, which implements the
["Int UI" design system](https://www.figma.com/community/file/1227732692272811382/int-ui-kit), and can be used
anywhere
4. `ide-laf-bridge` contains the Swing LaF bridge to use in IntelliJ Platform plugins (see more below)
5. `samples` contains the example apps, which showcase the available components:
1. `standalone` is a regular CfD app, using the predefined "base" theme definitions
2. `ide-plugin` is an IntelliJ plugin, adding some UI to the IDE, and showcasing the use of the Swing Bridge
* The Studio Releases generator plugin
2. `foundation` contains the foundational Jewel functionality:
* Basic components without strong styling (e.g., `SelectableLazyColumn`, `BasicLazyTree`)
* The `JewelTheme` interface with a few basic composition locals
* The state management primitives
* The Jewel annotations
* A few other primitives
3. `ui` contains all the styled components and custom painters logic
4. `decorated-window` contains basic, unstyled functionality to have custom window decoration on the JetBrains Runtime
5. `int-ui` contains two modules:
* `int-ui-standalone` has a standalone version of the Int UI styling values that can be used in any Compose for
Desktop app
* `int-ui-decorated-window` has a standalone version of the Int UI styling values for the custom window decoration
that can be used in any Compose for Desktop app
6. `ide-laf-bridge` contains the Swing LaF bridge to use in IntelliJ Platform plugins (see more below)
* The `ide-laf-bridge-*` sub-modules contain code that is specific to a certain IntelliJ Platform version
7. `samples` contains the example apps, which showcase the available components:
* `standalone` is a regular CfD app, using the standalone theme definitions and custom window decoration
* `ide-plugin` is an IntelliJ plugin that showcases the use of the Swing Bridge
### Int UI Standalone theme
@@ -46,31 +94,137 @@ to your heart's content. By default, it matches the official Int UI specs.
> as it has extra features and patches for UI functionalities that aren't available in other JDKs.
> We **do not support** running Jewel on any other JDK.
To use Jewel components in a non-IntelliJ Platform environment, you need to wrap your UI hierarchy in a `IntUiTheme`
composable:
```kotlin
IntUiTheme(isDark = false) {
// ...
}
```
If you want more control over the theming, you can use other `IntUiTheme` overloads, like the standalone sample does.
#### Custom window decoration
The JetBrains Runtime allows windows to have a custom decoration instead of the regular title bar.
![A screenshot of the custom window decoration in the standalone sample](art/docs/custom-chrome.png)
The standalone sample app shows how to easily get something that looks like a JetBrains IDE; if you want to go _very_
custom, you only need to depend on the `decorated-window` module, which contains all the required primitives, but not
the Int UI styling.
To get an IntelliJ-like custom title bar, you need to pass the window decoration styling to your theme call, and add the
`DecoratedWindow` composable at the top level of the theme:
```kotlin
IntUiTheme(
themeDefinition,
componentStyling = {
themeDefinition.decoratedWindowComponentStyling(
titleBarStyle = TitleBarStyle.light()
)
},
) {
DecoratedWindow(
onCloseRequest = { exitApplication() },
) {
// ...
}
}
```
### The Swing Bridge
Jewel includes a crucial element for proper integration with the IDE: a bridge between the Swing components, theme
and LaF, and the Compose world.
Jewel includes a crucial element for proper integration with the IDE: a bridge between the Swing components theme
and LaF and the Compose world.
This bridge ensures that we pick up the colours, typography, metrics, and images as defined in the current IntelliJ
theme, and apply them to the Compose components as well — at least for themes that use the
standard [IntelliJ theming](https://plugins.jetbrains.com/docs/intellij/themes-getting-started.html) mechanisms.
theme, and apply them to the Compose components as well. This means Jewel will automatically adapt to IntelliJ Platform
themes that use the [standard theming](https://plugins.jetbrains.com/docs/intellij/themes-getting-started.html)
mechanisms.
> [!NOTE]
> IntelliJ themes that use non-standard mechanisms (such as providing custom UI implementations for Swing components)
> are not, and will never, be supported.
> are not, and can never, be supported.
If you're writing an IntelliJ Platform plugin, you should use the `SwingBridgeTheme` instead of a standalone theme.
If you're writing an IntelliJ Platform plugin, you should use the `SwingBridgeTheme` instead of the standalone theme:
```kotlin
SwingBridgeTheme {
// ...
}
```
#### Accessing icons
When you want to draw an icon from the resources, you should use a `PainterProvider`. Reading an icon from the IDE is
as easy as using the `retrieveStatefulIcon()` and `retrieveStatelessIcon()`:
When you want to draw an icon from the resources, you can either use the `Icon` composable and pass it the resource path
and the corresponding class to look up the classpath from, or go one lever deeper and use the lower level,
`Painter`-based API.
The `Icon` approach looks like this:
```kotlin
val svgLoader = service<SwingBridgeService>().svgLoader
val painterProvider = retrieveStatelessIcon("icons/bot-toolwindow.svg", svgLoader, iconData)
// Load the "close" icon from the IDE's AllIcons class
Icon(
"actions/close.svg",
iconClass = AllIcons::class.java,
contentDescription = "Close",
)
```
To obtain a `Painter`, instead, you'd use:
```kotlin
val painterProvider = rememberResourcePainterProvider(
path = "actions/close.svg",
iconClass = AllIcons::class.java
)
val painter by painterProvider.getPainter()
```
#### Icon runtime patching
Jewel emulates the under-the-hood machinations that happen in the IntelliJ Platform when loading icons. Specifically,
the resource will be subject to some transformations before being loaded.
For example, in the IDE, if New UI is active, the icon path may be replaced with a different one. Some key colors in SVG
icons will also be replaced based on the current theme. See
[the docs](https://plugins.jetbrains.com/docs/intellij/work-with-icons-and-images.html#new-ui-icons).
Beyond that, even in standalone, Jewel will pick up icons with the appropriate dark/light variant for the current theme,
and for bitmap icons it will try to pick the 2x variants based on the `LocalDensity`.
If you have a _stateful_ icon, that is if you need to display different icons based on some state, you can use the
`PainterProvider.getPainter(PainterHint...)` overload. You can then use one of the state-mapping `PainterHint` to let
Jewel load the appropriate icon automatically:
```kotlin
// myState implements SelectableComponentState and has a ToggleableState property
val myPainter by myPainterProvider.getPainter(
if (myState.toggleableState == ToggleableState.Indeterminate) {
IndeterminateHint
} else {
PainterHint.None
},
Selected(myState),
Stateful(myState),
)
```
Where the `IndeterminateHint` looks like this:
```kotlin
private object IndeterminateHint : PainterSuffixHint() {
override fun suffix(): String = "Indeterminate"
}
```
Assuming the PainterProvider has a base path of `components/myIcon.svg`, Jewel will automatically translate it to the
right path based on the state. If you want to learn more about this system, look at the `PainterHint` interface and its
implementations.
### Swing interoperability
As this is Compose for Desktop, you get a good degree of interoperability with Swing. To avoid glitches and z-order
@@ -79,7 +233,7 @@ issues, you should enable the
before you initialize Compose content.
The `ToolWindow.addComposeTab()` extension function provided by the `ide-laf-bridge` module will take care of that for
you, but if you want to also enable it in other scenarios and in standalone applications, you can call the
you. However, if you want to also enable it in other scenarios and in standalone applications, you can call the
`enableNewSwingCompositing()` function in your Compose entry points (that is, right before creating a `ComposePanel`).
> [!NOTE]
@@ -94,20 +248,21 @@ If you don't already have access to the Kotlin Slack, you can request it
[here](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up).
## License
Jewel is licensed under the [Apache 2.0 license](https://github.com/JetBrains/jewel/blob/main/LICENSE).
```
Copyright 20223 JetBrains s.r.o.
Copyright 20223 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -32,7 +32,7 @@ import androidx.compose.ui.window.WindowState
import androidx.compose.ui.window.rememberWindowState
import com.jetbrains.JBR
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.window.styling.DecoratedWindowStyle
import org.jetbrains.jewel.window.utils.DesktopPlatform

View File

@@ -26,7 +26,8 @@ import java.awt.Frame
import java.awt.event.MouseEvent
import java.awt.event.WindowEvent
@Composable internal fun DecoratedWindowScope.TitleBarOnLinux(
@Composable
internal fun DecoratedWindowScope.TitleBarOnLinux(
modifier: Modifier = Modifier,
gradientStartColor: Color = Color.Unspecified,
style: TitleBarStyle = JewelTheme.defaultTitleBarStyle,
@@ -72,7 +73,8 @@ import java.awt.event.WindowEvent
}
}
@Composable private fun TitleBarScope.CloseButton(
@Composable
private fun TitleBarScope.CloseButton(
onClick: () -> Unit,
state: DecoratedWindowState,
style: TitleBarStyle = JewelTheme.defaultTitleBarStyle,
@@ -80,7 +82,8 @@ import java.awt.event.WindowEvent
ControlButton(onClick, state, style.icons.closeButton, "Close", style, style.paneCloseButtonStyle)
}
@Composable private fun TitleBarScope.ControlButton(
@Composable
private fun TitleBarScope.ControlButton(
onClick: () -> Unit,
state: DecoratedWindowState,
painterProvider: PainterProvider,

View File

@@ -55,7 +55,8 @@ private class NewFullscreenControlsNode(
var newControls: Boolean,
) : Modifier.Node()
@Composable internal fun DecoratedWindowScope.TitleBarOnMacOs(
@Composable
internal fun DecoratedWindowScope.TitleBarOnMacOs(
modifier: Modifier = Modifier,
gradientStartColor: Color = Color.Unspecified,
style: TitleBarStyle = JewelTheme.defaultTitleBarStyle,

View File

@@ -17,7 +17,8 @@ import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.ui.util.isDark
import org.jetbrains.jewel.window.styling.TitleBarStyle
@Composable internal fun DecoratedWindowScope.TitleBarOnWindows(
@Composable
internal fun DecoratedWindowScope.TitleBarOnWindows(
modifier: Modifier = Modifier,
gradientStartColor: Color = Color.Unspecified,
style: TitleBarStyle = JewelTheme.defaultTitleBarStyle,

View File

@@ -70,7 +70,8 @@ internal const val TITLE_BAR_BORDER_LAYOUT_ID = "__TITLE_BAR_BORDER__"
}
}
@Composable internal fun DecoratedWindowScope.TitleBarImpl(
@Composable
internal fun DecoratedWindowScope.TitleBarImpl(
modifier: Modifier = Modifier,
gradientStartColor: Color = Color.Unspecified,
style: TitleBarStyle = JewelTheme.defaultTitleBarStyle,
@@ -224,7 +225,8 @@ internal class TitleBarMeasurePolicy(
}
}
@Composable internal fun rememberTitleBarMeasurePolicy(
@Composable
internal fun rememberTitleBarMeasurePolicy(
window: Window,
state: DecoratedWindowState,
applyTitleBar: (Dp, DecoratedWindowState) -> PaddingValues,

View File

@@ -13,14 +13,6 @@ public final class org/jetbrains/jewel/foundation/BorderColors {
public final class org/jetbrains/jewel/foundation/BorderColors$Companion {
}
public final class org/jetbrains/jewel/foundation/BorderKt {
public static final fun border (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke;Landroidx/compose/ui/graphics/Shape;)Landroidx/compose/ui/Modifier;
public static final fun border-AkepmR4 (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FLandroidx/compose/ui/graphics/Brush;Landroidx/compose/ui/graphics/Shape;F)Landroidx/compose/ui/Modifier;
public static synthetic fun border-AkepmR4$default (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FLandroidx/compose/ui/graphics/Brush;Landroidx/compose/ui/graphics/Shape;FILjava/lang/Object;)Landroidx/compose/ui/Modifier;
public static final fun border-QWjY48E (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FJLandroidx/compose/ui/graphics/Shape;F)Landroidx/compose/ui/Modifier;
public static synthetic fun border-QWjY48E$default (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FJLandroidx/compose/ui/graphics/Shape;FILjava/lang/Object;)Landroidx/compose/ui/Modifier;
}
public final class org/jetbrains/jewel/foundation/CompatibilityKt {
public static final fun enableNewSwingCompositing ()V
}
@@ -248,7 +240,7 @@ public final class org/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEven
}
public final class org/jetbrains/jewel/foundation/lazy/SelectableLazyColumnKt {
public static final fun SelectableLazyColumn (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Landroidx/compose/foundation/layout/PaddingValues;ZLkotlin/jvm/functions/Function1;Landroidx/compose/foundation/layout/Arrangement$Vertical;Landroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/foundation/gestures/FlingBehavior;Lorg/jetbrains/jewel/foundation/tree/KeyBindingActions;Lorg/jetbrains/jewel/foundation/tree/PointerEventActions;Landroidx/compose/foundation/interaction/MutableInteractionSource;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;III)V
public static final fun SelectableLazyColumn (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Landroidx/compose/foundation/layout/PaddingValues;ZLkotlin/jvm/functions/Function1;Landroidx/compose/foundation/layout/Arrangement$Vertical;Landroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/foundation/gestures/FlingBehavior;Lorg/jetbrains/jewel/foundation/lazy/tree/KeyBindingActions;Lorg/jetbrains/jewel/foundation/lazy/tree/PointerEventActions;Landroidx/compose/foundation/interaction/MutableInteractionSource;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;III)V
}
public abstract interface class org/jetbrains/jewel/foundation/lazy/SelectableLazyItemScope : androidx/compose/foundation/lazy/LazyItemScope {
@@ -333,6 +325,383 @@ public final class org/jetbrains/jewel/foundation/lazy/SelectionMode : java/lang
public static fun values ()[Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/BasicLazyTreeKt {
public static final fun BasicLazyTree-orM9XXQ (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Lkotlin/jvm/functions/Function1;JJJFLandroidx/compose/foundation/shape/CornerSize;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/foundation/layout/PaddingValues;FFLorg/jetbrains/jewel/foundation/lazy/tree/TreeState;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;JLorg/jetbrains/jewel/foundation/lazy/tree/KeyBindingActions;Lorg/jetbrains/jewel/foundation/lazy/tree/PointerEventActions;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;IIII)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/BuildTreeKt {
public static final fun asTree (Ljava/io/File;Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;
public static final fun asTree (Ljava/nio/file/Path;Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;
public static synthetic fun asTree$default (Ljava/io/File;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;
public static synthetic fun asTree$default (Ljava/nio/file/Path;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;
public static final fun buildTree (Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/ChildrenGeneratorScope : org/jetbrains/jewel/foundation/lazy/tree/TreeGeneratorScope {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element$Node;)V
public fun add (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element;)V
public fun addLeaf (Ljava/lang/Object;Ljava/lang/Object;)V
public fun addNode (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
public final fun getParent ()Lorg/jetbrains/jewel/foundation/lazy/tree/ChildrenGeneratorScope$ParentInfo;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/ChildrenGeneratorScope$ParentInfo {
public static final field $stable I
public fun <init> (Ljava/lang/Object;II)V
public final fun component1 ()Ljava/lang/Object;
public final fun component2 ()I
public final fun component3 ()I
public final fun copy (Ljava/lang/Object;II)Lorg/jetbrains/jewel/foundation/lazy/tree/ChildrenGeneratorScope$ParentInfo;
public static synthetic fun copy$default (Lorg/jetbrains/jewel/foundation/lazy/tree/ChildrenGeneratorScope$ParentInfo;Ljava/lang/Object;IIILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/lazy/tree/ChildrenGeneratorScope$ParentInfo;
public fun equals (Ljava/lang/Object;)Z
public final fun getData ()Ljava/lang/Object;
public final fun getDepth ()I
public final fun getIndex ()I
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public class org/jetbrains/jewel/foundation/lazy/tree/DefaultMacOsTreeColumnKeybindings : org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewKeybindings {
public static final field $stable I
public static final field Companion Lorg/jetbrains/jewel/foundation/lazy/tree/DefaultMacOsTreeColumnKeybindings$Companion;
public fun <init> ()V
public fun isKeyboardMultiSelectionKeyPressed-5xRPYO0 (I)Z
public fun isKeyboardMultiSelectionKeyPressed-ZmokQxo (Ljava/lang/Object;)Z
}
public final class org/jetbrains/jewel/foundation/lazy/tree/DefaultMacOsTreeColumnKeybindings$Companion : org/jetbrains/jewel/foundation/lazy/tree/DefaultMacOsTreeColumnKeybindings {
}
public final class org/jetbrains/jewel/foundation/lazy/tree/DefaultSelectableLazyColumnEventAction : org/jetbrains/jewel/foundation/lazy/tree/PointerEventActions {
public static final field $stable I
public fun <init> ()V
public fun handlePointerEventPress (Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public fun onExtendSelectionToKey (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public fun toggleKeySelection (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public class org/jetbrains/jewel/foundation/lazy/tree/DefaultSelectableLazyColumnKeyActions : org/jetbrains/jewel/foundation/lazy/tree/KeyBindingActions {
public static final field $stable I
public fun <init> ()V
public fun getActions ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent;
public fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public fun handleOnKeyEvent-jhbQyNo (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)Lkotlin/jvm/functions/Function1;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewKeyActions : org/jetbrains/jewel/foundation/lazy/tree/DefaultSelectableLazyColumnKeyActions {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeState;)V
public synthetic fun getActions ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent;
public fun getActions ()Lorg/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewOnKeyEvent;
public synthetic fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings;
public fun handleOnKeyEvent-jhbQyNo (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)Lkotlin/jvm/functions/Function1;
}
public class org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewKeybindings : org/jetbrains/jewel/foundation/lazy/DefaultSelectableColumnKeybindings, org/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings {
public static final field $stable I
public static final field Companion Lorg/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewKeybindings$Companion;
public fun <init> ()V
public fun edit-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun extendSelectionToChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun extendSelectionToParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun selectChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public synthetic fun selectNextSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun selectNextSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Void;
public fun selectParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public synthetic fun selectPreviousSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun selectPreviousSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Void;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewKeybindings$Companion : org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewKeybindings {
}
public final class org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewKeybindingsKt {
public static final fun getDefaultWindowsTreeViewClickModifierHandler ()Lkotlin/jvm/functions/Function1;
}
public class org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewOnKeyEvent : org/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings;Lorg/jetbrains/jewel/foundation/lazy/tree/TreeState;)V
public synthetic fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings;
public fun onEdit ()V
public fun onExtendSelectionToFirst (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onExtendSelectionToLastItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onExtendSelectionWithNextItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onExtendSelectionWithPreviousItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageDownAndExtendSelection (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageDownAndSelectItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageUpAndExtendSelection (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageUpAndSelectItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectAll (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectChild (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectFirstItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectLastItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectNextItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectParent (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectPreviousItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/DefaultTreeViewPointerEventAction : org/jetbrains/jewel/foundation/lazy/tree/PointerEventActions {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeState;)V
public fun handlePointerEventPress (Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public fun onExtendSelectionToKey (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public fun toggleKeySelection (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public abstract interface class org/jetbrains/jewel/foundation/lazy/tree/KeyBindingActions {
public abstract fun getActions ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent;
public abstract fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public abstract fun handleOnKeyEvent-jhbQyNo (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)Lkotlin/jvm/functions/Function1;
}
public abstract interface class org/jetbrains/jewel/foundation/lazy/tree/PointerEventActions {
public abstract fun handlePointerEventPress (Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public abstract fun onExtendSelectionToKey (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public abstract fun toggleKeySelection (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/PointerEventActions$DefaultImpls {
public static fun handlePointerEventPress (Lorg/jetbrains/jewel/foundation/lazy/tree/PointerEventActions;Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public static fun onExtendSelectionToKey (Lorg/jetbrains/jewel/foundation/lazy/tree/PointerEventActions;Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public static fun toggleKeySelection (Lorg/jetbrains/jewel/foundation/lazy/tree/PointerEventActions;Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/Tree {
public static final field $stable I
public static final field Companion Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Companion;
public final fun getRoots ()Ljava/util/List;
public final fun isEmpty ()Z
public final fun walkBreadthFirst ()Lkotlin/sequences/Sequence;
public final fun walkDepthFirst ()Lkotlin/sequences/Sequence;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/Tree$Companion {
}
public abstract interface class org/jetbrains/jewel/foundation/lazy/tree/Tree$Element {
public abstract fun getChildIndex ()I
public abstract fun getData ()Ljava/lang/Object;
public abstract fun getDepth ()I
public abstract fun getId ()Ljava/lang/Object;
public abstract fun getNext ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public abstract fun getParent ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public abstract fun getPrevious ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public abstract fun nextElementsIterable ()Ljava/lang/Iterable;
public abstract fun path ()Ljava/util/List;
public abstract fun previousElementsIterable ()Ljava/lang/Iterable;
public abstract fun setNext (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)V
public abstract fun setPrevious (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/Tree$Element$DefaultImpls {
public static fun nextElementsIterable (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)Ljava/lang/Iterable;
public static fun path (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)Ljava/util/List;
public static fun previousElementsIterable (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)Ljava/lang/Iterable;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/Tree$Element$Leaf : org/jetbrains/jewel/foundation/lazy/tree/Tree$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;IILorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;Ljava/lang/Object;)V
public fun getChildIndex ()I
public fun getData ()Ljava/lang/Object;
public fun getDepth ()I
public fun getId ()Ljava/lang/Object;
public fun getNext ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public fun getParent ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public fun getPrevious ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public fun nextElementsIterable ()Ljava/lang/Iterable;
public fun path ()Ljava/util/List;
public fun previousElementsIterable ()Ljava/lang/Iterable;
public fun setNext (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)V
public fun setPrevious (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/Tree$Element$Node : org/jetbrains/jewel/foundation/lazy/tree/Tree$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;IILorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;Lkotlin/jvm/functions/Function1;Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;Ljava/lang/Object;)V
public final fun close ()V
public fun getChildIndex ()I
public final fun getChildren ()Ljava/util/List;
public fun getData ()Ljava/lang/Object;
public fun getDepth ()I
public fun getId ()Ljava/lang/Object;
public fun getNext ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public fun getParent ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public fun getPrevious ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;
public fun nextElementsIterable ()Ljava/lang/Iterable;
public final fun open (Z)V
public static synthetic fun open$default (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element$Node;ZILjava/lang/Object;)V
public fun path ()Ljava/util/List;
public fun previousElementsIterable ()Ljava/lang/Iterable;
public fun setNext (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)V
public fun setPrevious (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree$Element;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeBuilder : org/jetbrains/jewel/foundation/lazy/tree/TreeGeneratorScope {
public static final field $stable I
public fun <init> ()V
public fun add (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element;)V
public fun addLeaf (Ljava/lang/Object;Ljava/lang/Object;)V
public fun addNode (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
public final fun build ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;
}
public abstract class org/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element {
public static final field $stable I
public abstract fun getId ()Ljava/lang/Object;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Leaf : org/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public final fun component2 ()Ljava/lang/Object;
public final fun copy (Ljava/lang/Object;Ljava/lang/Object;)Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Leaf;
public static synthetic fun copy$default (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Leaf;Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Leaf;
public fun equals (Ljava/lang/Object;)Z
public final fun getData ()Ljava/lang/Object;
public fun getId ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Node : org/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
public final fun component1 ()Ljava/lang/Object;
public final fun component2 ()Ljava/lang/Object;
public final fun component3 ()Lkotlin/jvm/functions/Function1;
public final fun copy (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Node;
public static synthetic fun copy$default (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Node;Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element$Node;
public fun equals (Ljava/lang/Object;)Z
public final fun getChildrenGenerator ()Lkotlin/jvm/functions/Function1;
public final fun getData ()Ljava/lang/Object;
public fun getId ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeElementState : org/jetbrains/jewel/foundation/state/InteractiveComponentState, org/jetbrains/jewel/foundation/state/SelectableComponentState {
public static final field Companion Lorg/jetbrains/jewel/foundation/lazy/tree/TreeElementState$Companion;
public static final synthetic fun box-impl (J)Lorg/jetbrains/jewel/foundation/lazy/tree/TreeElementState;
public fun chooseValue (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Landroidx/compose/runtime/Composer;I)Ljava/lang/Object;
public static fun chooseValue-impl (JLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Landroidx/compose/runtime/Composer;I)Ljava/lang/Object;
public static fun constructor-impl (J)J
public static final fun copy-do3-xvo (JZZZZZZZ)J
public static synthetic fun copy-do3-xvo$default (JZZZZZZZILjava/lang/Object;)J
public fun equals (Ljava/lang/Object;)Z
public static fun equals-impl (JLjava/lang/Object;)Z
public static final fun equals-impl0 (JJ)Z
public final fun getState-s-VKNKU ()J
public fun hashCode ()I
public static fun hashCode-impl (J)I
public fun isActive ()Z
public static fun isActive-impl (J)Z
public fun isEnabled ()Z
public static fun isEnabled-impl (J)Z
public static final fun isExpanded-impl (J)Z
public fun isFocused ()Z
public static fun isFocused-impl (J)Z
public fun isHovered ()Z
public static fun isHovered-impl (J)Z
public fun isPressed ()Z
public static fun isPressed-impl (J)Z
public fun isSelected ()Z
public static fun isSelected-impl (J)Z
public fun toString ()Ljava/lang/String;
public static fun toString-impl (J)Ljava/lang/String;
public final synthetic fun unbox-impl ()J
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeElementState$Companion {
public final fun of-do3-xvo (ZZZZZZZ)J
public static synthetic fun of-do3-xvo$default (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeElementState$Companion;ZZZZZZZILjava/lang/Object;)J
}
public abstract interface class org/jetbrains/jewel/foundation/lazy/tree/TreeGeneratorScope {
public abstract fun add (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeBuilder$Element;)V
public abstract fun addLeaf (Ljava/lang/Object;Ljava/lang/Object;)V
public abstract fun addNode (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeGeneratorScope$DefaultImpls {
public static synthetic fun addLeaf$default (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeGeneratorScope;Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;)V
public static synthetic fun addNode$default (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeGeneratorScope;Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeKt {
public static final fun emptyTree ()Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeState : androidx/compose/foundation/gestures/ScrollableState, org/jetbrains/jewel/foundation/lazy/SelectableScope {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun dispatchRawDelta (F)F
public fun getCanScrollBackward ()Z
public fun getCanScrollForward ()Z
public final fun getOpenNodes ()Ljava/util/Set;
public fun getSelectedKeys ()Ljava/util/List;
public fun isScrollInProgress ()Z
public final fun openNodes (Ljava/util/List;)V
public fun scroll (Landroidx/compose/foundation/MutatePriority;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setOpenNodes (Ljava/util/Set;)V
public fun setSelectedKeys (Ljava/util/List;)V
public final fun toggleNode (Ljava/lang/Object;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeStateKt {
public static final fun rememberTreeState (Landroidx/compose/foundation/lazy/LazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Landroidx/compose/runtime/Composer;II)Lorg/jetbrains/jewel/foundation/lazy/tree/TreeState;
}
public abstract interface class org/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings : org/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings {
public abstract fun extendSelectionToChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun extendSelectionToParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectNextSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectPreviousSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings$DefaultImpls {
public static fun isKeyboardCtrlMetaKeyPressed-ZmokQxo (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings;Ljava/lang/Object;)Z
public static fun isKeyboardMultiSelectionKeyPressed-5xRPYO0 (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings;I)Z
public static fun isKeyboardMultiSelectionKeyPressed-ZmokQxo (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewKeybindings;Ljava/lang/Object;)Z
}
public abstract interface class org/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent : org/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent {
public abstract fun onSelectChild (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public abstract fun onSelectParent (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent$DefaultImpls {
public static fun onEdit (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;)V
public static fun onExtendSelectionToFirst (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onExtendSelectionToLastItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onExtendSelectionWithNextItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onExtendSelectionWithPreviousItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageDownAndExtendSelection (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageDownAndSelectItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageUpAndExtendSelection (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageUpAndSelectItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectAll (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectFirstItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectLastItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectNextItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectPreviousItem (Lorg/jetbrains/jewel/foundation/lazy/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/modifier/BorderKt {
public static final fun border (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke;Landroidx/compose/ui/graphics/Shape;)Landroidx/compose/ui/Modifier;
public static final fun border-AkepmR4 (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FLandroidx/compose/ui/graphics/Brush;Landroidx/compose/ui/graphics/Shape;F)Landroidx/compose/ui/Modifier;
public static synthetic fun border-AkepmR4$default (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FLandroidx/compose/ui/graphics/Brush;Landroidx/compose/ui/graphics/Shape;FILjava/lang/Object;)Landroidx/compose/ui/Modifier;
public static final fun border-QWjY48E (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FJLandroidx/compose/ui/graphics/Shape;F)Landroidx/compose/ui/Modifier;
public static synthetic fun border-QWjY48E$default (Landroidx/compose/ui/Modifier;Lorg/jetbrains/jewel/foundation/Stroke$Alignment;FJLandroidx/compose/ui/graphics/Shape;FILjava/lang/Object;)Landroidx/compose/ui/Modifier;
}
public final class org/jetbrains/jewel/foundation/modifier/OnHoverModifierKt {
public static final fun onHover (Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;)Landroidx/compose/ui/Modifier;
}
@@ -485,372 +854,3 @@ public final class org/jetbrains/jewel/foundation/theme/ThemeIconData$Companion
public final fun getEmpty ()Lorg/jetbrains/jewel/foundation/theme/ThemeIconData;
}
public final class org/jetbrains/jewel/foundation/tree/BasicLazyTreeKt {
public static final fun BasicLazyTree-orM9XXQ (Lorg/jetbrains/jewel/foundation/tree/Tree;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Lkotlin/jvm/functions/Function1;JJJFLandroidx/compose/foundation/shape/CornerSize;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/foundation/layout/PaddingValues;FFLorg/jetbrains/jewel/foundation/tree/TreeState;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;JLorg/jetbrains/jewel/foundation/tree/KeyBindingActions;Lorg/jetbrains/jewel/foundation/tree/PointerEventActions;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;IIII)V
}
public final class org/jetbrains/jewel/foundation/tree/BuildTreeKt {
public static final fun asTree (Ljava/io/File;Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/tree/Tree;
public static final fun asTree (Ljava/nio/file/Path;Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/tree/Tree;
public static synthetic fun asTree$default (Ljava/io/File;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/tree/Tree;
public static synthetic fun asTree$default (Ljava/nio/file/Path;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/tree/Tree;
public static final fun buildTree (Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/tree/Tree;
}
public final class org/jetbrains/jewel/foundation/tree/ChildrenGeneratorScope : org/jetbrains/jewel/foundation/tree/TreeGeneratorScope {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/tree/Tree$Element$Node;)V
public fun add (Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element;)V
public fun addLeaf (Ljava/lang/Object;Ljava/lang/Object;)V
public fun addNode (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
public final fun getParent ()Lorg/jetbrains/jewel/foundation/tree/ChildrenGeneratorScope$ParentInfo;
}
public final class org/jetbrains/jewel/foundation/tree/ChildrenGeneratorScope$ParentInfo {
public static final field $stable I
public fun <init> (Ljava/lang/Object;II)V
public final fun component1 ()Ljava/lang/Object;
public final fun component2 ()I
public final fun component3 ()I
public final fun copy (Ljava/lang/Object;II)Lorg/jetbrains/jewel/foundation/tree/ChildrenGeneratorScope$ParentInfo;
public static synthetic fun copy$default (Lorg/jetbrains/jewel/foundation/tree/ChildrenGeneratorScope$ParentInfo;Ljava/lang/Object;IIILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/tree/ChildrenGeneratorScope$ParentInfo;
public fun equals (Ljava/lang/Object;)Z
public final fun getData ()Ljava/lang/Object;
public final fun getDepth ()I
public final fun getIndex ()I
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public class org/jetbrains/jewel/foundation/tree/DefaultMacOsTreeColumnKeybindings : org/jetbrains/jewel/foundation/tree/DefaultTreeViewKeybindings {
public static final field $stable I
public static final field Companion Lorg/jetbrains/jewel/foundation/tree/DefaultMacOsTreeColumnKeybindings$Companion;
public fun <init> ()V
public fun isKeyboardMultiSelectionKeyPressed-5xRPYO0 (I)Z
public fun isKeyboardMultiSelectionKeyPressed-ZmokQxo (Ljava/lang/Object;)Z
}
public final class org/jetbrains/jewel/foundation/tree/DefaultMacOsTreeColumnKeybindings$Companion : org/jetbrains/jewel/foundation/tree/DefaultMacOsTreeColumnKeybindings {
}
public final class org/jetbrains/jewel/foundation/tree/DefaultSelectableLazyColumnEventAction : org/jetbrains/jewel/foundation/tree/PointerEventActions {
public static final field $stable I
public fun <init> ()V
public fun handlePointerEventPress (Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public fun onExtendSelectionToKey (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public fun toggleKeySelection (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public class org/jetbrains/jewel/foundation/tree/DefaultSelectableLazyColumnKeyActions : org/jetbrains/jewel/foundation/tree/KeyBindingActions {
public static final field $stable I
public fun <init> ()V
public fun getActions ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent;
public fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public fun handleOnKeyEvent-jhbQyNo (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)Lkotlin/jvm/functions/Function1;
}
public final class org/jetbrains/jewel/foundation/tree/DefaultTreeViewKeyActions : org/jetbrains/jewel/foundation/tree/DefaultSelectableLazyColumnKeyActions {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/tree/TreeState;)V
public synthetic fun getActions ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent;
public fun getActions ()Lorg/jetbrains/jewel/foundation/tree/DefaultTreeViewOnKeyEvent;
public synthetic fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public fun getKeybindings ()Lorg/jetbrains/jewel/foundation/tree/TreeViewKeybindings;
public fun handleOnKeyEvent-jhbQyNo (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)Lkotlin/jvm/functions/Function1;
}
public class org/jetbrains/jewel/foundation/tree/DefaultTreeViewKeybindings : org/jetbrains/jewel/foundation/lazy/DefaultSelectableColumnKeybindings, org/jetbrains/jewel/foundation/tree/TreeViewKeybindings {
public static final field $stable I
public static final field Companion Lorg/jetbrains/jewel/foundation/tree/DefaultTreeViewKeybindings$Companion;
public fun <init> ()V
public fun edit-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun extendSelectionToChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun extendSelectionToParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun selectChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public synthetic fun selectNextSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun selectNextSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Void;
public fun selectParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public synthetic fun selectPreviousSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public fun selectPreviousSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Void;
}
public final class org/jetbrains/jewel/foundation/tree/DefaultTreeViewKeybindings$Companion : org/jetbrains/jewel/foundation/tree/DefaultTreeViewKeybindings {
}
public final class org/jetbrains/jewel/foundation/tree/DefaultTreeViewKeybindingsKt {
public static final fun getDefaultWindowsTreeViewClickModifierHandler ()Lkotlin/jvm/functions/Function1;
}
public class org/jetbrains/jewel/foundation/tree/DefaultTreeViewOnKeyEvent : org/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/tree/TreeViewKeybindings;Lorg/jetbrains/jewel/foundation/tree/TreeState;)V
public synthetic fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public fun getKeybindings ()Lorg/jetbrains/jewel/foundation/tree/TreeViewKeybindings;
public fun onEdit ()V
public fun onExtendSelectionToFirst (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onExtendSelectionToLastItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onExtendSelectionWithNextItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onExtendSelectionWithPreviousItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageDownAndExtendSelection (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageDownAndSelectItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageUpAndExtendSelection (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onScrollPageUpAndSelectItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectAll (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectChild (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectFirstItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectLastItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectNextItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectParent (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun onSelectPreviousItem (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/tree/DefaultTreeViewPointerEventAction : org/jetbrains/jewel/foundation/tree/PointerEventActions {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/tree/TreeState;)V
public fun handlePointerEventPress (Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public fun onExtendSelectionToKey (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public fun toggleKeySelection (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public abstract interface class org/jetbrains/jewel/foundation/tree/KeyBindingActions {
public abstract fun getActions ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent;
public abstract fun getKeybindings ()Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;
public abstract fun handleOnKeyEvent-jhbQyNo (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)Lkotlin/jvm/functions/Function1;
}
public abstract interface class org/jetbrains/jewel/foundation/tree/PointerEventActions {
public abstract fun handlePointerEventPress (Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public abstract fun onExtendSelectionToKey (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public abstract fun toggleKeySelection (Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/tree/PointerEventActions$DefaultImpls {
public static fun handlePointerEventPress (Lorg/jetbrains/jewel/foundation/tree/PointerEventActions;Landroidx/compose/ui/input/pointer/PointerEvent;Lorg/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;Ljava/util/List;Ljava/lang/Object;)V
public static fun onExtendSelectionToKey (Lorg/jetbrains/jewel/foundation/tree/PointerEventActions;Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectionMode;)V
public static fun toggleKeySelection (Lorg/jetbrains/jewel/foundation/tree/PointerEventActions;Ljava/lang/Object;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/tree/Tree {
public static final field $stable I
public static final field Companion Lorg/jetbrains/jewel/foundation/tree/Tree$Companion;
public final fun getRoots ()Ljava/util/List;
public final fun isEmpty ()Z
public final fun walkBreadthFirst ()Lkotlin/sequences/Sequence;
public final fun walkDepthFirst ()Lkotlin/sequences/Sequence;
}
public final class org/jetbrains/jewel/foundation/tree/Tree$Companion {
}
public abstract interface class org/jetbrains/jewel/foundation/tree/Tree$Element {
public abstract fun getChildIndex ()I
public abstract fun getData ()Ljava/lang/Object;
public abstract fun getDepth ()I
public abstract fun getId ()Ljava/lang/Object;
public abstract fun getNext ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public abstract fun getParent ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public abstract fun getPrevious ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public abstract fun nextElementsIterable ()Ljava/lang/Iterable;
public abstract fun path ()Ljava/util/List;
public abstract fun previousElementsIterable ()Ljava/lang/Iterable;
public abstract fun setNext (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)V
public abstract fun setPrevious (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)V
}
public final class org/jetbrains/jewel/foundation/tree/Tree$Element$DefaultImpls {
public static fun nextElementsIterable (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)Ljava/lang/Iterable;
public static fun path (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)Ljava/util/List;
public static fun previousElementsIterable (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)Ljava/lang/Iterable;
}
public final class org/jetbrains/jewel/foundation/tree/Tree$Element$Leaf : org/jetbrains/jewel/foundation/tree/Tree$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;IILorg/jetbrains/jewel/foundation/tree/Tree$Element;Lorg/jetbrains/jewel/foundation/tree/Tree$Element;Lorg/jetbrains/jewel/foundation/tree/Tree$Element;Ljava/lang/Object;)V
public fun getChildIndex ()I
public fun getData ()Ljava/lang/Object;
public fun getDepth ()I
public fun getId ()Ljava/lang/Object;
public fun getNext ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public fun getParent ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public fun getPrevious ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public fun nextElementsIterable ()Ljava/lang/Iterable;
public fun path ()Ljava/util/List;
public fun previousElementsIterable ()Ljava/lang/Iterable;
public fun setNext (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)V
public fun setPrevious (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)V
}
public final class org/jetbrains/jewel/foundation/tree/Tree$Element$Node : org/jetbrains/jewel/foundation/tree/Tree$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;IILorg/jetbrains/jewel/foundation/tree/Tree$Element;Lkotlin/jvm/functions/Function1;Lorg/jetbrains/jewel/foundation/tree/Tree$Element;Lorg/jetbrains/jewel/foundation/tree/Tree$Element;Ljava/lang/Object;)V
public final fun close ()V
public fun getChildIndex ()I
public final fun getChildren ()Ljava/util/List;
public fun getData ()Ljava/lang/Object;
public fun getDepth ()I
public fun getId ()Ljava/lang/Object;
public fun getNext ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public fun getParent ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public fun getPrevious ()Lorg/jetbrains/jewel/foundation/tree/Tree$Element;
public fun nextElementsIterable ()Ljava/lang/Iterable;
public final fun open (Z)V
public static synthetic fun open$default (Lorg/jetbrains/jewel/foundation/tree/Tree$Element$Node;ZILjava/lang/Object;)V
public fun path ()Ljava/util/List;
public fun previousElementsIterable ()Ljava/lang/Iterable;
public fun setNext (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)V
public fun setPrevious (Lorg/jetbrains/jewel/foundation/tree/Tree$Element;)V
}
public final class org/jetbrains/jewel/foundation/tree/TreeBuilder : org/jetbrains/jewel/foundation/tree/TreeGeneratorScope {
public static final field $stable I
public fun <init> ()V
public fun add (Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element;)V
public fun addLeaf (Ljava/lang/Object;Ljava/lang/Object;)V
public fun addNode (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
public final fun build ()Lorg/jetbrains/jewel/foundation/tree/Tree;
}
public abstract class org/jetbrains/jewel/foundation/tree/TreeBuilder$Element {
public static final field $stable I
public abstract fun getId ()Ljava/lang/Object;
}
public final class org/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Leaf : org/jetbrains/jewel/foundation/tree/TreeBuilder$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;Ljava/lang/Object;)V
public final fun component1 ()Ljava/lang/Object;
public final fun component2 ()Ljava/lang/Object;
public final fun copy (Ljava/lang/Object;Ljava/lang/Object;)Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Leaf;
public static synthetic fun copy$default (Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Leaf;Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Leaf;
public fun equals (Ljava/lang/Object;)Z
public final fun getData ()Ljava/lang/Object;
public fun getId ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class org/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Node : org/jetbrains/jewel/foundation/tree/TreeBuilder$Element {
public static final field $stable I
public fun <init> (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
public final fun component1 ()Ljava/lang/Object;
public final fun component2 ()Ljava/lang/Object;
public final fun component3 ()Lkotlin/jvm/functions/Function1;
public final fun copy (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Node;
public static synthetic fun copy$default (Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Node;Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element$Node;
public fun equals (Ljava/lang/Object;)Z
public final fun getChildrenGenerator ()Lkotlin/jvm/functions/Function1;
public final fun getData ()Ljava/lang/Object;
public fun getId ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class org/jetbrains/jewel/foundation/tree/TreeElementState : org/jetbrains/jewel/foundation/state/InteractiveComponentState, org/jetbrains/jewel/foundation/state/SelectableComponentState {
public static final field Companion Lorg/jetbrains/jewel/foundation/tree/TreeElementState$Companion;
public static final synthetic fun box-impl (J)Lorg/jetbrains/jewel/foundation/tree/TreeElementState;
public fun chooseValue (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Landroidx/compose/runtime/Composer;I)Ljava/lang/Object;
public static fun chooseValue-impl (JLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Landroidx/compose/runtime/Composer;I)Ljava/lang/Object;
public static fun constructor-impl (J)J
public static final fun copy-ZVebPRw (JZZZZZZZ)J
public static synthetic fun copy-ZVebPRw$default (JZZZZZZZILjava/lang/Object;)J
public fun equals (Ljava/lang/Object;)Z
public static fun equals-impl (JLjava/lang/Object;)Z
public static final fun equals-impl0 (JJ)Z
public final fun getState-s-VKNKU ()J
public fun hashCode ()I
public static fun hashCode-impl (J)I
public fun isActive ()Z
public static fun isActive-impl (J)Z
public fun isEnabled ()Z
public static fun isEnabled-impl (J)Z
public static final fun isExpanded-impl (J)Z
public fun isFocused ()Z
public static fun isFocused-impl (J)Z
public fun isHovered ()Z
public static fun isHovered-impl (J)Z
public fun isPressed ()Z
public static fun isPressed-impl (J)Z
public fun isSelected ()Z
public static fun isSelected-impl (J)Z
public fun toString ()Ljava/lang/String;
public static fun toString-impl (J)Ljava/lang/String;
public final synthetic fun unbox-impl ()J
}
public final class org/jetbrains/jewel/foundation/tree/TreeElementState$Companion {
public final fun of-ZVebPRw (ZZZZZZZ)J
public static synthetic fun of-ZVebPRw$default (Lorg/jetbrains/jewel/foundation/tree/TreeElementState$Companion;ZZZZZZZILjava/lang/Object;)J
}
public abstract interface class org/jetbrains/jewel/foundation/tree/TreeGeneratorScope {
public abstract fun add (Lorg/jetbrains/jewel/foundation/tree/TreeBuilder$Element;)V
public abstract fun addLeaf (Ljava/lang/Object;Ljava/lang/Object;)V
public abstract fun addNode (Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
}
public final class org/jetbrains/jewel/foundation/tree/TreeGeneratorScope$DefaultImpls {
public static synthetic fun addLeaf$default (Lorg/jetbrains/jewel/foundation/tree/TreeGeneratorScope;Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;)V
public static synthetic fun addNode$default (Lorg/jetbrains/jewel/foundation/tree/TreeGeneratorScope;Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
}
public final class org/jetbrains/jewel/foundation/tree/TreeKt {
public static final fun emptyTree ()Lorg/jetbrains/jewel/foundation/tree/Tree;
}
public final class org/jetbrains/jewel/foundation/tree/TreeState : androidx/compose/foundation/gestures/ScrollableState, org/jetbrains/jewel/foundation/lazy/SelectableScope {
public static final field $stable I
public fun <init> (Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public fun dispatchRawDelta (F)F
public fun getCanScrollBackward ()Z
public fun getCanScrollForward ()Z
public final fun getOpenNodes ()Ljava/util/Set;
public fun getSelectedKeys ()Ljava/util/List;
public fun isScrollInProgress ()Z
public final fun openNodes (Ljava/util/List;)V
public fun scroll (Landroidx/compose/foundation/MutatePriority;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setOpenNodes (Ljava/util/Set;)V
public fun setSelectedKeys (Ljava/util/List;)V
public final fun toggleNode (Ljava/lang/Object;)V
}
public final class org/jetbrains/jewel/foundation/tree/TreeStateKt {
public static final fun rememberTreeState (Landroidx/compose/foundation/lazy/LazyListState;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;Landroidx/compose/runtime/Composer;II)Lorg/jetbrains/jewel/foundation/tree/TreeState;
}
public abstract interface class org/jetbrains/jewel/foundation/tree/TreeViewKeybindings : org/jetbrains/jewel/foundation/lazy/SelectableColumnKeybindings {
public abstract fun extendSelectionToChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun extendSelectionToParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectChild-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectNextSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectParent-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
public abstract fun selectPreviousSibling-ZmokQxo (Ljava/lang/Object;)Ljava/lang/Boolean;
}
public final class org/jetbrains/jewel/foundation/tree/TreeViewKeybindings$DefaultImpls {
public static fun isKeyboardCtrlMetaKeyPressed-ZmokQxo (Lorg/jetbrains/jewel/foundation/tree/TreeViewKeybindings;Ljava/lang/Object;)Z
public static fun isKeyboardMultiSelectionKeyPressed-5xRPYO0 (Lorg/jetbrains/jewel/foundation/tree/TreeViewKeybindings;I)Z
public static fun isKeyboardMultiSelectionKeyPressed-ZmokQxo (Lorg/jetbrains/jewel/foundation/tree/TreeViewKeybindings;Ljava/lang/Object;)Z
}
public abstract interface class org/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent : org/jetbrains/jewel/foundation/lazy/SelectableColumnOnKeyEvent {
public abstract fun onSelectChild (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public abstract fun onSelectParent (Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}
public final class org/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent$DefaultImpls {
public static fun onEdit (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;)V
public static fun onExtendSelectionToFirst (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onExtendSelectionToLastItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onExtendSelectionWithNextItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onExtendSelectionWithPreviousItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageDownAndExtendSelection (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageDownAndSelectItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageUpAndExtendSelection (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onScrollPageUpAndSelectItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectAll (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectFirstItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectLastItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectNextItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
public static fun onSelectPreviousItem (Lorg/jetbrains/jewel/foundation/tree/TreeViewOnKeyEvent;Ljava/util/List;Lorg/jetbrains/jewel/foundation/lazy/SelectableLazyListState;)V
}

View File

@@ -25,10 +25,10 @@ import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.unit.dp
import kotlinx.coroutines.launch
import org.jetbrains.jewel.foundation.lazy.SelectableLazyListScopeContainer.Entry
import org.jetbrains.jewel.foundation.tree.DefaultSelectableLazyColumnEventAction
import org.jetbrains.jewel.foundation.tree.DefaultSelectableLazyColumnKeyActions
import org.jetbrains.jewel.foundation.tree.KeyBindingActions
import org.jetbrains.jewel.foundation.tree.PointerEventActions
import org.jetbrains.jewel.foundation.lazy.tree.DefaultSelectableLazyColumnEventAction
import org.jetbrains.jewel.foundation.lazy.tree.DefaultSelectableLazyColumnKeyActions
import org.jetbrains.jewel.foundation.lazy.tree.KeyBindingActions
import org.jetbrains.jewel.foundation.lazy.tree.PointerEventActions
/**
* A composable that displays a scrollable and selectable list of items in

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import java.io.File
import java.nio.file.Path

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import androidx.compose.ui.input.key.Key
import androidx.compose.ui.input.key.KeyEvent

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import org.jetbrains.jewel.foundation.lazy.SelectableLazyListKey
import org.jetbrains.jewel.foundation.lazy.SelectableLazyListState

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import androidx.compose.ui.input.key.KeyEvent
import androidx.compose.ui.input.key.KeyEventType

View File

@@ -1,6 +1,6 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import org.jetbrains.jewel.foundation.tree.Tree.Element.Node
import org.jetbrains.jewel.foundation.lazy.tree.Tree.Element.Node
@Suppress("UNCHECKED_CAST")
fun <T> emptyTree() = Tree.EMPTY as Tree<T>

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import androidx.compose.foundation.gestures.ScrollableState
import androidx.compose.foundation.lazy.LazyListState

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation.tree
package org.jetbrains.jewel.foundation.lazy.tree
import org.jetbrains.jewel.foundation.lazy.SelectableColumnOnKeyEvent
import org.jetbrains.jewel.foundation.lazy.SelectableLazyListKey

View File

@@ -1,4 +1,4 @@
package org.jetbrains.jewel.foundation
package org.jetbrains.jewel.foundation.modifier
import androidx.compose.foundation.border
import androidx.compose.foundation.shape.RoundedCornerShape
@@ -36,6 +36,10 @@ import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.isUnspecified
import androidx.compose.ui.unit.takeOrElse
import androidx.compose.ui.unit.toSize
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.grow
import org.jetbrains.jewel.foundation.hasAtLeastOneNonRoundedCorner
import org.jetbrains.jewel.foundation.shrink
import kotlin.math.ceil
import kotlin.math.max
import kotlin.math.min

View File

@@ -337,6 +337,7 @@ public final class org/jetbrains/jewel/intui/standalone/theme/IntUiGlobalMetrics
public final class org/jetbrains/jewel/intui/standalone/theme/IntUiThemeKt {
public static final fun IntUiTheme (Lorg/jetbrains/jewel/foundation/theme/ThemeDefinition;Lkotlin/jvm/functions/Function2;ZLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V
public static final fun IntUiTheme (ZZLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V
public static final fun darkComponentStyling (Lorg/jetbrains/jewel/foundation/theme/JewelTheme$Companion;Lorg/jetbrains/jewel/ui/component/styling/CheckboxStyle;Lorg/jetbrains/jewel/ui/component/styling/ChipStyle;Lorg/jetbrains/jewel/ui/component/styling/CircularProgressStyle;Lorg/jetbrains/jewel/ui/component/styling/ButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/TabStyle;Lorg/jetbrains/jewel/ui/component/styling/DividerStyle;Lorg/jetbrains/jewel/ui/component/styling/DropdownStyle;Lorg/jetbrains/jewel/ui/component/styling/TabStyle;Lorg/jetbrains/jewel/ui/component/styling/GroupHeaderStyle;Lorg/jetbrains/jewel/ui/component/styling/HorizontalProgressBarStyle;Lorg/jetbrains/jewel/ui/component/styling/IconButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/LabelledTextFieldStyle;Lorg/jetbrains/jewel/ui/component/styling/LazyTreeStyle;Lorg/jetbrains/jewel/ui/component/styling/LinkStyle;Lorg/jetbrains/jewel/ui/component/styling/MenuStyle;Lorg/jetbrains/jewel/ui/component/styling/ButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/RadioButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/ScrollbarStyle;Lorg/jetbrains/jewel/ui/component/styling/TextAreaStyle;Lorg/jetbrains/jewel/ui/component/styling/TextFieldStyle;Lorg/jetbrains/jewel/ui/component/styling/TooltipStyle;Lorg/jetbrains/jewel/ui/component/styling/DropdownStyle;Landroidx/compose/runtime/Composer;IIII)Lorg/jetbrains/jewel/ui/ComponentStyling;
public static final fun darkThemeDefinition-RFMEUTM (Lorg/jetbrains/jewel/foundation/theme/JewelTheme$Companion;Lorg/jetbrains/jewel/foundation/GlobalColors;Lorg/jetbrains/jewel/foundation/GlobalMetrics;Lorg/jetbrains/jewel/foundation/theme/ThemeColorPalette;Lorg/jetbrains/jewel/foundation/theme/ThemeIconData;Landroidx/compose/ui/text/TextStyle;JLandroidx/compose/runtime/Composer;II)Lorg/jetbrains/jewel/foundation/theme/ThemeDefinition;
public static final fun defaultComponentStyling (Lorg/jetbrains/jewel/foundation/theme/JewelTheme$Companion;Lorg/jetbrains/jewel/foundation/theme/ThemeDefinition;Landroidx/compose/runtime/Composer;I)Lorg/jetbrains/jewel/ui/ComponentStyling;

View File

@@ -60,14 +60,10 @@ fun CheckboxMetrics.Companion.defaults(
@Composable
fun CheckboxIcons.Companion.light(
checkbox: PainterProvider = checkbox("com/intellij/ide/ui/laf/icons/intellij/checkBox.svg"),
checkbox: PainterProvider = standalonePainterProvider("com/intellij/ide/ui/laf/icons/intellij/checkBox.svg"),
) = CheckboxIcons(checkbox)
@Composable
fun CheckboxIcons.Companion.dark(
checkbox: PainterProvider = checkbox("com/intellij/ide/ui/laf/icons/darcula/checkBox.svg"),
checkbox: PainterProvider = standalonePainterProvider("com/intellij/ide/ui/laf/icons/darcula/checkBox.svg"),
) = CheckboxIcons(checkbox)
@Composable
private fun checkbox(basePath: String): PainterProvider =
standalonePainterProvider(basePath)

View File

@@ -178,6 +178,27 @@ fun JewelTheme.Companion.lightComponentStyling(
undecoratedDropdownStyle = undecoratedDropdownStyle,
)
@Composable
fun IntUiTheme(
isDark: Boolean = false,
swingCompatMode: Boolean = false,
content: @Composable () -> Unit,
) {
val themeDefinition =
if (isDark) {
JewelTheme.darkThemeDefinition()
} else {
JewelTheme.lightThemeDefinition()
}
IntUiTheme(
theme = themeDefinition,
componentStyling = { emptyArray() },
swingCompatMode = swingCompatMode,
content = content,
)
}
@Composable
fun IntUiTheme(
theme: ThemeDefinition,

View File

@@ -28,8 +28,8 @@ import com.intellij.ui.JBColor
import icons.JewelIcons
import org.jetbrains.jewel.bridge.theme.SwingBridgeTheme
import org.jetbrains.jewel.bridge.toComposeColor
import org.jetbrains.jewel.foundation.lazy.tree.buildTree
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.foundation.tree.buildTree
import org.jetbrains.jewel.ui.component.CheckboxRow
import org.jetbrains.jewel.ui.component.CircularProgressIndicator
import org.jetbrains.jewel.ui.component.CircularProgressIndicatorBig
@@ -43,7 +43,8 @@ import org.jetbrains.jewel.ui.component.Text
import org.jetbrains.jewel.ui.component.TextField
import org.jetbrains.jewel.ui.component.Tooltip
@Composable internal fun ComponentShowcaseTab() {
@Composable
internal fun ComponentShowcaseTab() {
SwingBridgeTheme {
val bgColor by remember(JewelTheme.isDark) { mutableStateOf(JBColor.PanelBackground.toComposeColor()) }
@@ -58,7 +59,8 @@ import org.jetbrains.jewel.ui.component.Tooltip
}
}
@Composable private fun RowScope.ColumnOne() {
@Composable
private fun RowScope.ColumnOne() {
Column(
Modifier.weight(1f),
verticalArrangement = Arrangement.spacedBy(16.dp),
@@ -167,7 +169,8 @@ import org.jetbrains.jewel.ui.component.Tooltip
}
}
@Composable private fun RowScope.ColumnTwo() {
@Composable
private fun RowScope.ColumnTwo() {
Column(
Modifier.weight(1f),
verticalArrangement = Arrangement.spacedBy(16.dp),

View File

@@ -16,7 +16,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.RectangleShape
import androidx.compose.ui.unit.dp
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.ui.component.GroupHeader
import org.jetbrains.jewel.ui.component.OutlinedButton

View File

@@ -23,8 +23,8 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import org.jetbrains.jewel.foundation.lazy.SelectableLazyColumn
import org.jetbrains.jewel.foundation.lazy.tree.buildTree
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.foundation.tree.buildTree
import org.jetbrains.jewel.ui.component.Chip
import org.jetbrains.jewel.ui.component.GroupHeader
import org.jetbrains.jewel.ui.component.LazyTree

View File

@@ -320,7 +320,7 @@ public final class org/jetbrains/jewel/ui/component/LabelledTextFieldKt {
}
public final class org/jetbrains/jewel/ui/component/LazyTreeKt {
public static final fun LazyTree (Lorg/jetbrains/jewel/foundation/tree/Tree;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Lorg/jetbrains/jewel/foundation/tree/TreeState;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lorg/jetbrains/jewel/foundation/tree/KeyBindingActions;Lorg/jetbrains/jewel/ui/component/styling/LazyTreeStyle;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;II)V
public static final fun LazyTree (Lorg/jetbrains/jewel/foundation/lazy/tree/Tree;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Lorg/jetbrains/jewel/foundation/lazy/tree/TreeState;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lorg/jetbrains/jewel/foundation/lazy/tree/KeyBindingActions;Lorg/jetbrains/jewel/ui/component/styling/LazyTreeStyle;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;II)V
}
public final class org/jetbrains/jewel/ui/component/LinearProgressBarKt {
@@ -1298,7 +1298,7 @@ public final class org/jetbrains/jewel/ui/component/styling/LazyTreeColors {
public static final field $stable I
public static final field Companion Lorg/jetbrains/jewel/ui/component/styling/LazyTreeColors$Companion;
public synthetic fun <init> (JJJJJJJLkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun contentFor-iZdlh1w (JLandroidx/compose/runtime/Composer;I)Landroidx/compose/runtime/State;
public final fun contentFor-EWxiZrY (JLandroidx/compose/runtime/Composer;I)Landroidx/compose/runtime/State;
public fun equals (Ljava/lang/Object;)Z
public final fun getContent-0d7_KjU ()J
public final fun getContentFocused-0d7_KjU ()J

View File

@@ -5,7 +5,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.unit.Dp
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.state.FocusableComponentState
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.ui.util.thenIf

View File

@@ -28,7 +28,7 @@ import androidx.compose.ui.graphics.takeOrElse
import androidx.compose.ui.semantics.Role
import androidx.compose.ui.text.TextStyle
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Active
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Enabled
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Focused

View File

@@ -26,7 +26,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.isUnspecified
import androidx.compose.ui.semantics.Role
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Active
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Enabled
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Focused

View File

@@ -37,7 +37,7 @@ import androidx.compose.ui.semantics.Role
import androidx.compose.ui.window.Popup
import androidx.compose.ui.window.PopupProperties
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Active
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Enabled
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Focused

View File

@@ -23,7 +23,7 @@ import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.input.TextFieldValue
import androidx.compose.ui.text.input.VisualTransformation
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Active
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Enabled
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Focused

View File

@@ -7,15 +7,15 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.takeOrElse
import org.jetbrains.jewel.foundation.ExperimentalJewelApi
import org.jetbrains.jewel.foundation.lazy.SelectableLazyItemScope
import org.jetbrains.jewel.foundation.lazy.tree.BasicLazyTree
import org.jetbrains.jewel.foundation.lazy.tree.DefaultTreeViewKeyActions
import org.jetbrains.jewel.foundation.lazy.tree.KeyBindingActions
import org.jetbrains.jewel.foundation.lazy.tree.Tree
import org.jetbrains.jewel.foundation.lazy.tree.TreeElementState
import org.jetbrains.jewel.foundation.lazy.tree.TreeState
import org.jetbrains.jewel.foundation.lazy.tree.rememberTreeState
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.foundation.theme.LocalContentColor
import org.jetbrains.jewel.foundation.tree.BasicLazyTree
import org.jetbrains.jewel.foundation.tree.DefaultTreeViewKeyActions
import org.jetbrains.jewel.foundation.tree.KeyBindingActions
import org.jetbrains.jewel.foundation.tree.Tree
import org.jetbrains.jewel.foundation.tree.TreeElementState
import org.jetbrains.jewel.foundation.tree.TreeState
import org.jetbrains.jewel.foundation.tree.rememberTreeState
import org.jetbrains.jewel.ui.component.styling.LazyTreeStyle
import org.jetbrains.jewel.ui.theme.treeStyle

View File

@@ -61,7 +61,7 @@ import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Popup
import androidx.compose.ui.window.PopupProperties
import org.jetbrains.jewel.foundation.Stroke
import org.jetbrains.jewel.foundation.border
import org.jetbrains.jewel.foundation.modifier.border
import org.jetbrains.jewel.foundation.modifier.onHover
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Active
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Enabled

View File

@@ -10,7 +10,7 @@ import androidx.compose.runtime.staticCompositionLocalOf
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.Dp
import org.jetbrains.jewel.foundation.GenerateDataFunctions
import org.jetbrains.jewel.foundation.tree.TreeElementState
import org.jetbrains.jewel.foundation.lazy.tree.TreeElementState
import org.jetbrains.jewel.ui.painter.PainterProvider
@Stable