Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* integrate ComboBox in Standalone Signed-off-by: Ivan Morgillo <[email protected]> * add ComboBoxes to SwingComparisonTabPanel Signed-off-by: Ivan Morgillo <[email protected]> * fix text color in ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * add a bit of space below combobox in IDE example Signed-off-by: Ivan Morgillo <[email protected]> * tune ComboBox popup padding Signed-off-by: Ivan Morgillo <[email protected]> * fix ComboBox field background color Signed-off-by: Ivan Morgillo <[email protected]> * extract textStyle in ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * make the formatter happy Signed-off-by: Ivan Morgillo <[email protected]> * fix ComboBox border Signed-off-by: Ivan Morgillo <[email protected]> * tune ComboBox focus Signed-off-by: Ivan Morgillo <[email protected]> * Revert "tune ComboBox focus" This reverts commit f336503. * iterate on focus Signed-off-by: Ivan Morgillo <[email protected]> * reformat Signed-off-by: Ivan Morgillo <[email protected]> * remove cursorBrush style Signed-off-by: Ivan Morgillo <[email protected]> * add isEditable flag to ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * make the formatter happy * tune ComboBox menu horizontal padding Signed-off-by: Ivan Morgillo <[email protected]> * remove offset from Standalone style Signed-off-by: Ivan Morgillo <[email protected]> * fix a couple of paddings in the menu Signed-off-by: Ivan Morgillo <[email protected]> * make linter and formatter happy Signed-off-by: Ivan Morgillo <[email protected]> * make the formatter happy * add not-editable ComboBox to Standalone Signed-off-by: Ivan Morgillo <[email protected]> * fix focus on not-editable ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * rearrange ComboBox params to make ktlint happy Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * fix single line on not-editable ComboBox reference: #601 (review) Signed-off-by: Ivan Morgillo <[email protected]> * prevent the ComboBox from expanding reference: #601 (review) Signed-off-by: Ivan Morgillo <[email protected]> * iterate on colors reference: #601 (comment) Signed-off-by: Ivan Morgillo <[email protected]> * address a couple of feedbacks reference: #601 (comment) Signed-off-by: Ivan Morgillo <[email protected]> * iterate on focus management on ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * reformat and update API files Signed-off-by: Ivan Morgillo <[email protected]> * fix focus on click for not-editable ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * inline a few variables to reduce clutter Signed-off-by: Ivan Morgillo <[email protected]> * add different states for different ComboBoxes Signed-off-by: Ivan Morgillo <[email protected]> * reformat things Signed-off-by: Ivan Morgillo <[email protected]> * introduce ComboBoxStyle Signed-off-by: Ivan Morgillo <[email protected]> * restore DropdownStyle Signed-off-by: Ivan Morgillo <[email protected]> * split ComboBoxes states in Standalone sample Signed-off-by: Ivan Morgillo <[email protected]> * tune old DropDown style for IDE Signed-off-by: Ivan Morgillo <[email protected]> * tune ComboBox focus once more Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * fix ComboBox popup expand Signed-off-by: Ivan Morgillo <[email protected]> * remove focused padding for ComboBox divider It's not happening in the IDE sample Signed-off-by: Ivan Morgillo <[email protected]> * iterate on ComboBox focus Signed-off-by: Ivan Morgillo <[email protected]> * iterate on ComboBox focus Signed-off-by: Ivan Morgillo <[email protected]> * add ui-tests module Signed-off-by: Ivan Morgillo <[email protected]> * start adding tests to ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * add more tests for ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * massive WIP commit because I'm getting paranoid I know there is IntelliJ local history. Give me a break! Signed-off-by: Ivan Morgillo <[email protected]> * clean up and initial restoration of ComboBox features Signed-off-by: Ivan Morgillo <[email protected]> * rework ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * add enabled/disabled chevron click tests Signed-off-by: Ivan Morgillo <[email protected]> * add click management to chevron Signed-off-by: Ivan Morgillo <[email protected]> * fix popup open/close when not-editable Signed-off-by: Ivan Morgillo <[email protected]> * add another batch of tests for ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * add maxPopupHeight to ComboBox Signed-off-by: Ivan Morgillo <[email protected]> * add onPopupStateChange Signed-off-by: Ivan Morgillo <[email protected]> * extract NotEditableComboBox Signed-off-by: Ivan Morgillo <[email protected]> * iterate on ListComboBox item selection Signed-off-by: Ivan Morgillo <[email protected]> * improve TAB navigation on NotEditableComboBox Signed-off-by: Ivan Morgillo <[email protected]> * update IDE plugin example Signed-off-by: Ivan Morgillo <[email protected]> * reformat SwingComparisonTabPanel Signed-off-by: Ivan Morgillo <[email protected]> * iterate on ListComboBox scroll Signed-off-by: Ivan Morgillo <[email protected]> * remove debug border Signed-off-by: Ivan Morgillo <[email protected]> * reuse PointerInputScope.detectPressAndCancel Signed-off-by: Ivan Morgillo <[email protected]> * extract PopupContainerStyle Signed-off-by: Ivan Morgillo <[email protected]> * iterate on IntUiBridge.SimpleListItemStyle Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * ensure 100% tests are passing Signed-off-by: Ivan Morgillo <[email protected]> * move ListComboBox item selection with hover Signed-off-by: Ivan Morgillo <[email protected]> * iterate on hover and selection for SimpleListItem Signed-off-by: Ivan Morgillo <[email protected]> * have Esc to close an open popup Signed-off-by: Ivan Morgillo <[email protected]> * iterate on ListComboBox height Signed-off-by: Ivan Morgillo <[email protected]> * fix SimpleListItemColors.dark background color Signed-off-by: Ivan Morgillo <[email protected]> * iterate on Enter key press Signed-off-by: Ivan Morgillo <[email protected]> * close popup on click Signed-off-by: Ivan Morgillo <[email protected]> * fix *ComboBox arrow and arrow area size Signed-off-by: Ivan Morgillo <[email protected]> * remove unnecessary box Signed-off-by: Ivan Morgillo <[email protected]> * 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 <[email protected]> * fix missing plugin in :ui-tests Signed-off-by: Ivan Morgillo <[email protected]> * Fix missing ⬇️ event on editable ComboBox (#635) * rename a bunch of lambdas to make the linter happy Signed-off-by: Ivan Morgillo <[email protected]> * Fix #632 Signed-off-by: Ivan Morgillo <[email protected]> * stitch broken tests Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * stitch IDE sample Signed-off-by: Ivan Morgillo <[email protected]> * make the formatter happy * renamed a bunch of lambdas and shushed the linter Signed-off-by: Ivan Morgillo <[email protected]> * format EditableComboBox * improve test for disabled ComboBox Signed-off-by: Ivan Morgillo <[email protected]> --------- Signed-off-by: Ivan Morgillo <[email protected]> Co-authored-by: morgillo <[email protected]> * Remove rounderd corner from SimpleListItemStyle in bridge (#651) * remove rounded corner from IntUiBridge SimpleListItemMetrics Signed-off-by: Ivan Morgillo <[email protected]> * make the formatter happy --------- Signed-off-by: Ivan Morgillo <[email protected]> * Iterate on ListComboBox and SimpleListItem metrics (#658) * tune the SimpleListItemStyle Signed-off-by: Ivan Morgillo <[email protected]> * update API files and format Signed-off-by: Ivan Morgillo <[email protected]> * stitch ListComboBox Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * iterate on the SwingComparisonTabPanel ComboBox example Signed-off-by: Ivan Morgillo <[email protected]> * iterate on *ComboBox colors Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * iterate on *ComboBox colors and chevron positioning Signed-off-by: Ivan Morgillo <[email protected]> --------- Signed-off-by: Ivan Morgillo <[email protected]> * fix warning in ListComboBox Signed-off-by: Ivan Morgillo <[email protected]> * stitch IntUiBridge Signed-off-by: Ivan Morgillo <[email protected]> * 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 <[email protected]> * update IDE plugin example Signed-off-by: Ivan Morgillo <[email protected]> * improve hover management for ListComboBox Signed-off-by: Ivan Morgillo <[email protected]> * iterate on ListComboBox item selection on hover Signed-off-by: Ivan Morgillo <[email protected]> * fix missing click event on ComboBox.PopupContainer Signed-off-by: Ivan Morgillo <[email protected]> * refactor ListComboBox.hoverItemIndex Signed-off-by: Ivan Morgillo <[email protected]> * make the formatter happy Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * stitch ComboBoxStyling Signed-off-by: Ivan Morgillo <[email protected]> * iterate on ListComboBox item selection on hover Signed-off-by: Ivan Morgillo <[email protected]> * update API files Signed-off-by: Ivan Morgillo <[email protected]> * make ListComboBox.hoverItemIndex nullable Signed-off-by: Ivan Morgillo <[email protected]> * remove redundant variable ListComboBox.lastHoveredIndex Signed-off-by: Ivan Morgillo <[email protected]> * remove redundant variable ListComboBox.previewSelection Signed-off-by: Ivan Morgillo <[email protected]> * make the formatter happy --------- Signed-off-by: Ivan Morgillo <[email protected]> Co-authored-by: morgillo <[email protected]> * Split IntUiBridge into separate files according to components (#670) * extract IntUiBridgeCheckbox Signed-off-by: morgillo <[email protected]> * extract IntUiBridgeRadioButton Signed-off-by: morgillo <[email protected]> * extract IntUiBridgeCircularProgress Signed-off-by: morgillo <[email protected]> * extract IntUiBridgeButton Signed-off-by: morgillo <[email protected]> * extract IntUiBridgeChip Signed-off-by: morgillo <[email protected]> * extract IntUiBridgeComboBox Signed-off-by: morgillo <[email protected]> * extract IntUiBridgeDropDown Signed-off-by: morgillo <[email protected]> * extract IntUiBridgeSimpleListItem Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeProgress Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeLink Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeMenu Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgePopupContainer Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeSegmentedControl Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeSlider Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeTextArea Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeTextField Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeLazyTree Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeTab Signed-off-by: morgillo <[email protected]> * iterate on IntUiBridgeButton Signed-off-by: morgillo <[email protected]> * extract on IntUiBridgeTooltip Signed-off-by: morgillo <[email protected]> * extract on IntUiBridgeGroupHeader Signed-off-by: morgillo <[email protected]> * extract on IntUiBridgeSelectableLazyColumn Signed-off-by: morgillo <[email protected]> * extract on IntUiBridgeDivider Signed-off-by: morgillo <[email protected]> * extract on IntUiBridgeText Signed-off-by: morgillo <[email protected]> * reformat all the IntUiBridge* files Signed-off-by: morgillo <[email protected]> --------- Signed-off-by: morgillo <[email protected]> Co-authored-by: morgillo <[email protected]> * Reduce duplication in ListComboBox (#669) * extract ListComboBox.onSelectedIndexesChange() Signed-off-by: morgillo <[email protected]> * extract common parts in ListComboBox Signed-off-by: morgillo <[email protected]> * reformat ListComboBox Signed-off-by: morgillo <[email protected]> * refactor ListComboBox.contentItems reference #669 (comment) Signed-off-by: Ivan Morgillo <[email protected]> * extract ComboBoxMetrics.popupContentPadding reference #669 (comment) Signed-off-by: Ivan Morgillo <[email protected]> * make formatter happy * rebase ListComboBox Signed-off-by: Ivan Morgillo <[email protected]> --------- Signed-off-by: morgillo <[email protected]> Signed-off-by: Ivan Morgillo <[email protected]> Co-authored-by: morgillo <[email protected]> * 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 <[email protected]> * simplify when in EditableComboBox reference #692 (comment) Signed-off-by: Ivan Morgillo <[email protected]> * properly notify event processing in EditableComboBox reference #692 (comment) Signed-off-by: Ivan Morgillo <[email protected]> --------- Signed-off-by: Ivan Morgillo <[email protected]> --------- Signed-off-by: Ivan Morgillo <[email protected]> Signed-off-by: morgillo <[email protected]> Co-authored-by: morgillo <[email protected]> Co-authored-by: Sebastiano Poggi <[email protected]>
- Loading branch information