diff --git a/CHANGELOG.md b/CHANGELOG.md index 26ad839..3d47dff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,93 +4,118 @@ ### Breaking changes -* The `InlineDatePicker` control renamed to `Calendar`. +- The `InlineDatePicker` control was renamed to `Calendar`. -### Features +### Added -- (Base) New `DeckPane` component with swipe and slide transition support. -- (Base) New `MaskTextField` (and `MaskTextFormatter`) component to support masked text input. -- (Base) New `PasswordTextField` component to simplify `PasswordTextFormatter` usage. - (Base) 🚀 [BBCode](https://ru.wikipedia.org/wiki/BBCode) markup support. -- (Base) New `ModalPane` to display modal dialogs on top of the current scene. -- (CSS) 🚀 New MacOS-like Cupertino theme in light and dark variants. -- (CSS) 🚀 New [Dracula](https://ui.draculatheme.com/) theme. -- (CSS) New `TabPane` style. There are three styles supported: default, floating and classic (new one). -- (Sampler) 🚀 SceneBuilder integration. AtlantaFX themes can be installed (or uninstalled) to SceneBuilder directly from the Sampler app. +- (Base) 🚀 `DeckPane` layout with support for swipe and slide transitions. +- (Base) 🚀 `MaskTextField` (and `MaskTextFormatter`) control to support masked text input. +- (Base) 🚀 `Message` control for displaying banners or alerts. +- (Base) 🚀 `ModalPane` and `ModalBox` controls to display modal dialogs on the top of the current scene. +- (Base) 🚀 `Notification` control for displaying notifications. +- (Base) 🚀 The `Card` and `Tile` controls, which are both versatile containers that can be used in various contexts. +- (Base) All themes are now additionally available in the BSS format. +- (Base) Animations library. +- (Base) `InputGroup` layout to simplify creating, well, input groups. +- (Base) `PasswordTextField` control to simplify `PasswordTextFormatter` usage. +- (Base) `ToggleGroup` support for the `ToggleSwitch` +- (Base) `ToggleSwitch` property to control the label position (left or right). +- (Base) New utility methods in `Styles` class. +- (CSS) 🚀 MacOS-like Cupertino theme in light and dark variants. +- (CSS) 🚀 [Dracula](https://ui.draculatheme.com/) theme. +- (CSS) Classic `TabPane` style. There are three styles supported: default, floating and classic. +- (CSS) Regular outlined buttons. There was only colored option before. +- (CSS) `.no-header` tweak support for the `TableView` and `TreeTableView`. +- (CSS) `.edge-to-edge` tweak support for the `TextInput` and `Calendar`. +- (CSS) Intent pseudo-classes (`success`, `danger`) support for the `ToggleSwitch`. +- (CSS) An utility CSS classes for setting background colors. +- (CSS) Distinctive background color for the readonly text input state. +- (CSS) Breadcrumbs support for the `Toolbar`. +- (CSS) `Button` shadow effect support (`-color-button-shadow`). Only for themes compiled with the `button.$use-shadow` flag enabled. +- (Sampler) 🚀 The Sampler app is completely rewritten to give it a more modern look and feel. +- (Sampler) 🚀 SceneBuilder integration. AtlantaFX themes can be installed (or updated, or uninstalled) directly from the Sampler app. -### Improvements +### Improved -- (Base) Improved Javadoc. See full API reference in [docs](https://mkpaz.github.io/atlantafx/apidocs/atlantafx.base/module-summary.html). -- (Base) `ToggleSwitch` label position support (left or right). -- (CSS) `ToggleSwitch` pseudo-classes (`success`, `danger`) support. -- (CSS) `Button` shadow support (`-color-button-shadow`). Only for themes compiled with the `button.$use-shadow` flag enabled. -- (CSS) Looked-up color variables support: `Separator`. -- (CSS) Added border radius/shadow to popup menu for `ComboBox` (and all `ComboBox`-based) controls. -- (CSS) Looked-up colors to style selected `TabPane` tab. +- (Build) JavaFX version bump to 20 (March 2023). +- (Base) A proper [Javadoc](https://mkpaz.github.io/atlantafx/apidocs/atlantafx.base/module-summary.html) for all controls. +- (Base) All controls are now more FXML-friendly. +- (CSS) Looked-up color variables for `Separator` and the selected `TabPane` tab.. +- (CSS) Border radius and shadow effect to popup menu for `ComboBox` and all `ComboBox`-based controls. +- (CSS) `TextFieldTableCell` is highlighted when in the editable state thanks to the new `:focus-within` state support. +- (CSS) Icon buttons are now use `-fx-content-display: graphic-only` as the default. +- (CSS) Better `TreeView` alt icon. It's chevron character instead of `+/-`. +- (CSS) Better toolbar buttons styling. +- (CSS) Baseline-left is the default alignment for virtualized controls, because center-left sometimes lags on scrolling in large tables. -### Bugfixes +### Fixed -- (Base) Fixed incorrect `Slider` progress track length calculation. -- (CSS) Fixed `Popover` arrow background color. -- (CSS) Fixed `ListView` with `.bordered` class displays borders on empty cells. +- (Base) Incorrect `Slider` progress track length calculation. +- (Base) NPE when the Popover owner is not added to the scene. +- (CSS) `Popover` arrow background color. +- (CSS) `ListView` with `.bordered` class displays borders on empty cells. +- (CSS) Baseline-left is now the default alignment for virtualized controls. This change was made because center-left alignment can lead to scrolling lags in large tables. +- (CSS) Tooltip inherits font properties from parent node. +- (CSS) Double-opacity in disabled `ChoiceBox`. ## [1.2.0] - 2023-02-11 This is a bugfix/maintenance release that also contains a few style improvements. -### Chores - -- (Build) JavaFX version updated to 19 (September 2022). -- (Build) Added ErrorProne plugin. -- (Build) Added Checkstyle plugin. - -### Improvements +### Added +- (Build) ErrorProne plugin. +- (Build) Checkstyle plugin. - (Build) SceneBuilder theme pack generation (#28) (thanks to **ennerf**). -- (CSS) Add inner border radius to improve controls border corners (#24) (thanks to **mimoguz**). +- (CSS) Pseudo-classes to set the `Label` color. +- (CSS) Intent classes to set `FontIcon` color. + +### Improved + +- (Build) JavaFX version bump to 19 (September 2022). +- (CSS) Inner border radius to input controls (#24) (thanks to **mimoguz**). - (CSS) Hover effect for `CheckBox` and `RadioButton`. - (CSS) Hover effect for `TabPane` close button. -- (CSS) Setting `Label` color via pseudo-classes support. -- (CSS) Setting `FontIcon` color support. - (CSS) Increased `Menu`/`Menubar` paddings. -### Bugfixes +### Fixed -- (CSS) Fix text inputs borders color (#21). -- (CSS) Fix `Tooltip` text not showing for circular buttons. -- (CSS) Prevent context menu from inheriting text input font properties. -- (CSS) Fix invalid `DatePicker` cell size. - (Base) Remove `ToggleSwitch` left padding when text is empty. -- (Base) Fix `PasswordTextFormatter` garbled input. +- (Base) `PasswordTextFormatter` garbled input. +- (CSS) `Tooltip` text not showing for circular buttons. +- (CSS) Prevent context menu from inheriting text input font properties. +- (CSS) Invalid text inputs borders color (#21). +- (CSS) Invalid `DatePicker` cell size. ## [1.1.0] - 2022-10-10 -### Features +### Added - (Sampler) 🚀 External themes support. Sampler can now be used to develop custom themes. - (Sampler) 🚀 Brand new improved user interface. -- (Sampler) Widget page that aims to provide examples of some well-known components that won't be added to the project, but can be easily created using existing controls and a bit of CSS. First examples: `Card`, `Message`, `Stepper`, `Tag`. -- (Base) New control: `RingProgressIndicator`. Like `ProgressIndicator`, but fully customizable and uses arc instead of fill to indicate progress value. -- (Base) New skin: `ProgressSliderSkin`. A slider with color track. -- (Base) New `Breadcrumbs` API to provide more control customization. +- (Sampler) Widget page that aims to provide examples of some well-known components. +- (Base) `RingProgressIndicator` control. Like `ProgressIndicator`, but fully customizable and uses arc instead of fill to indicate the progress value. +- (Base) `ProgressSliderSkin` skin. A slider with color track. +- (Base) `Breadcrumbs` API to provide more control customization: - Anything that extends `ButtonBase` can be used as `Breadcrumbs` item. - Divider is now customizable via corresponding factory. -- (Base) New utility: `PasswordTextFormatter`. An alternative to the `PasswordField`, the formatter that (un)masks `TextField` content based on boolean property. -- (CSS) Size style support: `TextField`, `Button`, `Slider`. -- (CSS) Rounded style support: `TextField`, `Button`. -- (CSS) Dense style support: `TabPane`, `TitledPane` / `Accordion`. -- (CSS) Alt icon tweak support: `TreeView`, `TitledPane` / `Accordion`. -- (CSS) Input group support: `Label`. `Label` graphic property can be used to add arbitrary node to the input group. +- (Base) `PasswordTextFormatter` utility. An alternative to the `PasswordField`, the formatter that masks or unmasks `TextField` content based on boolean property. +- (Base) Properties for setting the top and bottom node for `DatePicker`. E.g. those can be a clock widget or event list. +- (CSS) Size style support for the `TextField`, `Button`, `Slider`. +- (CSS) Rounded style support for the`TextField`, `Button`. +- (CSS) Dense style support for the `TabPane`, `TitledPane`, `Accordion`. +- (CSS) `.alt-icon` tweak support for the `TreeView`, `TitledPane`, `Accordion`. +- (CSS) Input group support for the `Label`. `Label` graphic property can be used to add arbitrary node to the input group. - (CSS) Utility classes for muted and subtle text style. - (CSS) Utility classes for box elevation effect: `.elevated-[1-4]`. - -### Improvements - -- (Base) Setting top and bottom node for `DatePicker`. E.g. those can be a clock widget or event list. -- (CSS) 🚀 Nord light and dark themes rewamp with better color contrast and improved design. -- (CSS) Refactoring and improved control design: `Button`, `DatePicker`, `Slider`. -- (CSS) Looked-up color variables support: `Hyperlink`, `TextField`, `TextArea`, `ProgressBar`. - (CSS) New global looked-up color variable `-color-shadow-default` for creating shadow effects. +- +### Improved + +- (CSS) 🚀 Nord light and dark themes rewamp with better color contrast and improved design. +- (CSS) Refactoring and improved control design for the `Button`, `DatePicker`, `Slider`. +- (CSS) Looked-up color variables support for the `Hyperlink`, `TextField`, `TextArea`, `ProgressBar`. - (CSS) Shadow effect for popup controls. ## [1.0.0] - 2022-09-06