* integrate ComboBox in Standalone
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add ComboBoxes to SwingComparisonTabPanel
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix text color in ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add a bit of space below combobox in IDE example
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* tune ComboBox popup padding
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix ComboBox field background color
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* extract textStyle in ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make the formatter happy
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix ComboBox border
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* tune ComboBox focus
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* Revert "tune ComboBox focus"
This reverts commit f336503db3c9bbedd2fb816fe6bf9f8bcd676cbf.
* iterate on focus
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* reformat
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* remove cursorBrush style
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add isEditable flag to ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make the formatter happy
* tune ComboBox menu horizontal padding
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* remove offset from Standalone style
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix a couple of paddings in the menu
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make linter and formatter happy
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make the formatter happy
* add not-editable ComboBox to Standalone
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix focus on not-editable ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* rearrange ComboBox params to make ktlint happy
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix single line on not-editable ComboBox
reference: https://github.com/JetBrains/jewel/pull/601#pullrequestreview-2316763917
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* prevent the ComboBox from expanding
reference: https://github.com/JetBrains/jewel/pull/601#pullrequestreview-2316763917
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on colors
reference: https://github.com/JetBrains/jewel/pull/601#discussion_r1767606530
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* address a couple of feedbacks
reference: https://github.com/JetBrains/jewel/pull/601#discussion_r1767622814
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on focus management on ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* reformat and update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix focus on click for not-editable ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* inline a few variables to reduce clutter
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add different states for different ComboBoxes
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* reformat things
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* introduce ComboBoxStyle
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* restore DropdownStyle
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* split ComboBoxes states in Standalone sample
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* tune old DropDown style for IDE
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* tune ComboBox focus once more
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix ComboBox popup expand
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* remove focused padding for ComboBox divider
It's not happening in the IDE sample
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on ComboBox focus
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on ComboBox focus
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add ui-tests module
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* start adding tests to ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add more tests for ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* massive WIP commit because I'm getting paranoid
I know there is IntelliJ local history. Give me a break!
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* clean up and initial restoration of ComboBox features
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* rework ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add enabled/disabled chevron click tests
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add click management to chevron
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix popup open/close when not-editable
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add another batch of tests for ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add maxPopupHeight to ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* add onPopupStateChange
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* extract NotEditableComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on ListComboBox item selection
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* improve TAB navigation on NotEditableComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update IDE plugin example
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* reformat SwingComparisonTabPanel
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on ListComboBox scroll
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* remove debug border
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* reuse PointerInputScope.detectPressAndCancel
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* extract PopupContainerStyle
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on IntUiBridge.SimpleListItemStyle
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* ensure 100% tests are passing
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* move ListComboBox item selection with hover
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on hover and selection for SimpleListItem
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* have Esc to close an open popup
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on ListComboBox height
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix SimpleListItemColors.dark background color
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on Enter key press
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* close popup on click
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix *ComboBox arrow and arrow area size
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* remove unnecessary box
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* Update ktlint plugin config to also support 0.25 beta
They changed the config and didn't implement a migration of the old
config to the new config 🤦
* Cleanup code and refactor
Stuff is still broken, maybe more than before :P
* Remove duplicated focused handling
* Rename flag in ComboBox
* Remove Text from EditableComboBox
* Fix KotlinC woes
* Fix chevron alignment in EditableComboBox
* restore basic onHover behavior for ListComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix missing plugin in :ui-tests
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* Fix missing ⬇️ event on editable ComboBox (#635)
* rename a bunch of lambdas to make the linter happy
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
*
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* stitch broken tests
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* stitch IDE sample
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make the formatter happy
* renamed a bunch of lambdas and shushed the linter
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* format EditableComboBox
* improve test for disabled ComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Co-authored-by: morgillo <morgillo@google.com>
* Remove rounderd corner from SimpleListItemStyle in bridge (#651)
* remove rounded corner from IntUiBridge SimpleListItemMetrics
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make the formatter happy
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* Iterate on ListComboBox and SimpleListItem metrics (#658)
* tune the SimpleListItemStyle
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files and format
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* stitch ListComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on the SwingComparisonTabPanel ComboBox example
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on *ComboBox colors
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on *ComboBox colors and chevron positioning
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix warning in ListComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* stitch IntUiBridge
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* Fix ListComboBox hover (#659)
* massive WIP commit because I'm getting paranoid
I know there is IntelliJ local history. Give me a break!
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update IDE plugin example
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* improve hover management for ListComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on ListComboBox item selection on hover
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* fix missing click event on ComboBox.PopupContainer
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* refactor ListComboBox.hoverItemIndex
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make the formatter happy
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* stitch ComboBoxStyling
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* iterate on ListComboBox item selection on hover
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* update API files
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make ListComboBox.hoverItemIndex nullable
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* remove redundant variable ListComboBox.lastHoveredIndex
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* remove redundant variable ListComboBox.previewSelection
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make the formatter happy
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Co-authored-by: morgillo <morgillo@google.com>
* Split IntUiBridge into separate files according to components (#670)
* extract IntUiBridgeCheckbox
Signed-off-by: morgillo <morgillo@google.com>
* extract IntUiBridgeRadioButton
Signed-off-by: morgillo <morgillo@google.com>
* extract IntUiBridgeCircularProgress
Signed-off-by: morgillo <morgillo@google.com>
* extract IntUiBridgeButton
Signed-off-by: morgillo <morgillo@google.com>
* extract IntUiBridgeChip
Signed-off-by: morgillo <morgillo@google.com>
* extract IntUiBridgeComboBox
Signed-off-by: morgillo <morgillo@google.com>
* extract IntUiBridgeDropDown
Signed-off-by: morgillo <morgillo@google.com>
* extract IntUiBridgeSimpleListItem
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeProgress
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeLink
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeMenu
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgePopupContainer
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeSegmentedControl
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeSlider
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeTextArea
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeTextField
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeLazyTree
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeTab
Signed-off-by: morgillo <morgillo@google.com>
* iterate on IntUiBridgeButton
Signed-off-by: morgillo <morgillo@google.com>
* extract on IntUiBridgeTooltip
Signed-off-by: morgillo <morgillo@google.com>
* extract on IntUiBridgeGroupHeader
Signed-off-by: morgillo <morgillo@google.com>
* extract on IntUiBridgeSelectableLazyColumn
Signed-off-by: morgillo <morgillo@google.com>
* extract on IntUiBridgeDivider
Signed-off-by: morgillo <morgillo@google.com>
* extract on IntUiBridgeText
Signed-off-by: morgillo <morgillo@google.com>
* reformat all the IntUiBridge* files
Signed-off-by: morgillo <morgillo@google.com>
---------
Signed-off-by: morgillo <morgillo@google.com>
Co-authored-by: morgillo <morgillo@google.com>
* Reduce duplication in ListComboBox (#669)
* extract ListComboBox.onSelectedIndexesChange()
Signed-off-by: morgillo <morgillo@google.com>
* extract common parts in ListComboBox
Signed-off-by: morgillo <morgillo@google.com>
* reformat ListComboBox
Signed-off-by: morgillo <morgillo@google.com>
* refactor ListComboBox.contentItems
reference https://github.com/JetBrains/jewel/pull/669#discussion_r1826536827
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* extract ComboBoxMetrics.popupContentPadding
reference https://github.com/JetBrains/jewel/pull/669#discussion_r1826537016
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* make formatter happy
* rebase ListComboBox
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
---------
Signed-off-by: morgillo <morgillo@google.com>
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Co-authored-by: morgillo <morgillo@google.com>
* In ListComboBox prevents caret from moving on key up/down pressed (#692)
* prevent caret moving on key up/down pressed
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* simplify when in EditableComboBox
reference https://github.com/JetBrains/jewel/pull/692#discussion_r1847000876
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* properly notify event processing in EditableComboBox
reference https://github.com/JetBrains/jewel/pull/692#discussion_r1847002954
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
Signed-off-by: morgillo <morgillo@google.com>
Co-authored-by: morgillo <morgillo@google.com>
Co-authored-by: Sebastiano Poggi <poggos@gmail.com>
GitOrigin-RevId: e5d034017a3d11a40c1abafffe8e178e73157760
* Fix Scrollbars [part 1/n]
* Implement TrackClickBehaviors correctly
* Fix macOS scrollbar styling
* Provide ScrollableContainers for a simple, turn-key scrollbar API
* Make expanded scrollbar not hide while the mouse moves over the
scrollable composable
* Fix the expanding behaviour and animation on macOS
* Fix the visibility logic on macOS
* Resolve a number of inconsistencies with Swing implementations
* Simplify and consolidate internal implementation
* Separate tabStrip scrollbar styling
* Fix Scrollbars [part 2/n]
* Fix thumb colour fade in AlwaysVisible mode
* Move sample border to Outside so it doesn't overlap the scrollbar
* Fix Scrollbars [part 4/n]
* Rework layout/draw logic to finally align with Swing, in dark mode too
* Switch to custom drawing for the thumb for more control
* Fix Scrollbars [part 5/n]
* Cleanup code
* Update API definitions
* Fix Scrollbars [part 6/n]
* Make bridge compile
* Fix styling in bridge
* Update bridge samples
* Fix TextArea scrollbars
* Fix Scrollbars [part 7/n]
* Fix bug in ScrollableContainer
* Improve ReleasesSampleCompose
* Fix Scrollbars [part 8/n]
* Rewrite MacScrollbarHelper to avoid native crashes
* Fix Scrollbars [part 10/n]
* Add decorationModifier to TextArea API (useful e.g., for padding when
there are scrollbars)
* Fix ScrollableContainerImpl layout logic and bugs
* Fix one HorizontallyScrollableContainer using vScroll by mistake
* Use HorizontallyScrollableContainer in Markdown block renderer
* Update standalone sample Markdown with new APIs
* Fix Scrollbars [part 11/n]
* Add mouse move linger behaviour to all ScrollableContainers
* Add horizontal scrolling example to standalone sample
* Fix ScrollableContainerImpl layout bug with WhenScrolling
* Fix Scrollbars [part 12/n]
* Remove debug bg from Scrollbars sample
* Fix thumb appearing/disappearing animation
* Fix colour animations
* Keep AlwaysVisible thumb "hovered" while dragging
* Fix styling in the bridge
* Fix Scrollbars [part 13/n]
* Fix InputField ignoring provided scrollbar style
* Remove useless KDocs from TextArea/TextField
* Clean up code
* Mark non-state-based TextArea/TextField as scheduled for removal
* Fix Scrollbars [part 14/n]
* Fix native crash when TextField/TextArea don't have a fixed width
* Redo the entire BTF2-based InputField implementation, better
* Expose all the new parameters that BTF2-based InputField has to the
users of TextField and TextArea
* Fix TextArea decoration and scrollbars
* Fix Scrollbars [part 15/n]
* Fix scrollbars on Windows and Linux
* Fix TextArea end padding to account for scrollbar
* Fix Scrollbars [part 16/16]
* Clean up code
* Add scrollbar to undecorated TextAreas
GitOrigin-RevId: 3cfeadb7e17d05f76b25a38c4a1ed9062bcbc8d3
* # Conflicts:
# samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/view/component/Scrollbars.kt
* stitch wrong import after rebase
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
* reformat according to feedback
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
GitOrigin-RevId: ed31952efb8444b91269869cc0b1490d92a00ddc
* Add segmented controls
* Fix colors and focus behaviour of segmented controls
* Modify focus behaviour and colors of segmented controls
* Add segmented controls
* Fix colors and focus behaviour of segmented controls
* Modify focus behaviour and colors of segmented controls
* Tweak implementation to match actual impl/behaviour
The one thing that is still TODO is avoid focusing the control when it's
clicked. I removed the previous "clear focus" behaviour because it
clears the focus on click even when it shouldn't. I'll come up with a
better solution as soon as I can.
* Change focus behaviour to match Swing's
We made the buttons not focusable anymore, to prevent unwanted focus
movement. There is a bit of focus dark magic, but it now works as we'd
expect.
* Update segmented controls api
---------
Co-authored-by: Sebastiano Poggi <sebp@google.com>
GitOrigin-RevId: 3e847ba84adc08a489518d73ecdc8bd9410b483b
* The default button was missing spacing between its bg and the focus
outline. Outlined buttons are unaffected.
* The chips were drawing a double-outline when focused and selected. Now
they only draw the selected outline if they are both focused and
selected.
* The chips didn't clearly signal the pressed and selected states. The
background now reflects these states better (standalone only).
There are no specs so we're going with a bit more freedom in the
standalone version, as the Swing impl is quite lacking in polish still
GitOrigin-RevId: f57eba2a16493454cfd978f0a6dedc73e30848bb
The IDE also has an editor and a console text style, which come from the
editor color scheme. We weren't using them until now, but we now fully
comply to it in the Markdown rendering, too.
GitOrigin-RevId: 6732d567e0a22155ac6b3b0a05c8ab5e371296a3
It's practical to have the "base" text colours in GlobalColors:
* Normal
* Selected
* Disabled
* Info
* Error
They apply to labels and most components, but not every component
(e.g., default buttons have "inverted" text colors).
Note that the text colour is used as content colour, but not directly
in the styling. Besides, when initialising the stylings, we can't
really read these values as they haven't been init yet.
This is mostly a convenience for users that want to set a content colour
(e.g., to visually show some text as disabled/error).
Note: GlobalColors.paneBackground was renamed to panelBackground for
consistency with the Swing color key naming.
GitOrigin-RevId: 76d7dc9a3d33d4b82c9a5d2605ca6174efa55751
The main root cause was a missing return statement in retrieveIntAsDp(),
but we also had terribly inconsistent values for the menus compared to
the actual appearance. I have tweaked the bridge menu style defaults to
align better, but we'll have to come back to revisit the whole menu
implementation to actually use the right values in the right way. The
current implementation is not satisfactory.
GitOrigin-RevId: 5ffff1124420179750630370aaa33888f88506f2
* Update standalone bundled Inter font to 4.0
* Rename textStyle -> defaultTextStyle
This makes the extension function on JewelTheme clearer in its intent of
accessing the default TextStyle from the composition locals.
The former defaultTextStyle has been transformed to a function, which is
also making clearer it's a creation and not a field access. It has
contextually been renamed to createDefaultTextStyle().
GitOrigin-RevId: a893d03baad34a2912b632aedad16c257019581e
* Update TabData for flexible content
* Update ui/src/main/kotlin/org/jetbrains/jewel/ui/component/TabStrip.kt
Co-authored-by: Sebastiano Poggi <rock3r@users.noreply.github.com>
* Update ui/src/main/kotlin/org/jetbrains/jewel/ui/component/TabStrip.kt
Co-authored-by: Sebastiano Poggi <rock3r@users.noreply.github.com>
* review
* review
* Add tab content spacing to the user interface
The user interface has been updated to include tab content spacing. This is established by adding a new parameter, `tabContentSpacing`, in TabMetrics and adjusting and testing its implementation across various files like `IntUiTabStyling.kt`, `IntUiBridge.kt`, and `Tabs.kt`. This modification will ensure more consistency and control over the user interface design. The user interface api file has also been updated to reflect this change.
* lint
* api fix
* Update int-ui-standalone APIs
GitOrigin-RevId: 7e61aafa34113649798ccad1e3d3fc6208390a01
* Update dropdown item with icons and keybindings
* Fix minor issues (typos, formatting)
* Make the CI pass
The API check works locally, but not on the CI. Not sure why.
* api dump
* Run apiDump on Linux, because.
---------
Co-authored-by: Sebastiano Poggi <sebp@google.com>
Co-authored-by: Sebastiano Poggi <poggos@gmail.com>
GitOrigin-RevId: 0db2d4b906939f8b0a21e71e758509525bba7c12
* Make icon button and tabs unfocusable
* Stroke hint with svg patcher
* Stroke hint with svg patcher
* Fix light header switching
* Update api
* DynamicComponentStyling support
* Rename to LazyComponentStyling
* Make ComponentStyling.defaultComponentStyle as a LazyComponentStyling
* Simplify function name
* Update api
* Make ktlint happy
* Update api
* Update api
* Activation, SelectableIconButton support and new standalone sample
* Fix comment
* Make linters happy
* Fix comments
* Update API
* Make ktlint happy
* Fix comments
* Fix comments, outline button dark disabled style
* Update api
* Make ktlint happy
GitOrigin-RevId: 6dfacea4195d9bcd275797e1d3fd1b2464d7ed7c
* Refactor component styling API for extension components
* Make detekt happy
* Make detekt happy
GitOrigin-RevId: 21d3aa4ae014b429449ba0c491b5521a5236d876
* Move core components to core.component package
Includes moving their styling to a subpackage
* Move state to core.state package
* Move other bits to core and foundation packages
* Move basic theme stuff to foundation package
The foundation package doesn't depend on core anymore!
* Rename core package to ui
* Remove int-ui-core module
Its few files have been moved to ui and intui-standalone
* Rename core module to ui
* Split foundation module out of ui module
* Add missing foundation.api file
* Remove unnecessary FQNs
GitOrigin-RevId: 7cc69fd7345c6ead217f79d658b50944d5e90581
* Collapse Global* interfaces
* Collapse IconData interface, update generator
* Collapse ThemeColorPalette interface, update generator
* Collapse ThemeDefinition interface, update generator
* Renamed theme to JewelTheme
Cannot collapse the theme into JewelTheme since we get some
nasty classloading issue with Composer. Will investigate
separately.
* Cleanup some more code
* Rename ComponentStyling
* Rename ContextMenuRepresentation
* Clean up decorated window code, too
* Final cleanup pass
* Get rid of BaseIntUiTheme and IntUiTheme
One theme to rule them all!
GitOrigin-RevId: f9f9c42d11c682220b7c3bf4b3652e72d2e01db4
* Cleanup code, remove compiler warnings
* Add API validation to check task
1. Running binary-compatibility-validator on code
2. Flagging public data classes and failing build
3. Running Poko to autogen equals/hashcode/toString
* Remove all public data classes, add API dumps
GitOrigin-RevId: f90d8a9a992737b176f1c7d83409798628a629c1