Enhancement GPU-1097
Updates jQuery dependency to 3.7.0 and jQuery UI dependency to 1.13.2.
Custom plugins might need adaptions. See the list of deprecated function for jQuery.
Enhancement GPU-1097
Replaces linting and building with the wro4j-maven-plugin with eslint, esbuild and postcss.
Enhancement GPU-1253
Existing UI Systems have been overhauled:
ui/scopes: have been de-deprecated and reworkedui/surface: now controls general UI behavior and can derfer it to other systems entirely
All UI Components may now inherit from the new ui/component base-class, as new functionality and requirements have been added.
Icons have been reworked to use Google's Material Symbols instead of Image files.
Icons that are used are mapped and available in ui/icons.
New Systems for dynamic, and consistent UIs have been added:
ui/dropdown: Adds a generic way to open a dropdown on a specific component.ui/dynamicForm: Allows for dynamic form and form-control generation, as well as a component registry to add new components.ui/modal: Adds a generic way to open modals with a form.
New UI Components have been added:
ui/attributeButton: Regular button, which also allows for editing of a single attribute of an HTML-Element.ui/attributeToggleButton: Extension ofui/attributeButtonwhich adds toggle functions to the button.ui/checkbox: Checkbox component to control a boolean value.ui/colorPicker: Color picker to either select a pre-defined color value or let‘s the user select/pick one.ui/contextButton: Button which opens a context (Modal/Dropdown) on click.ui/contextToggleButton: Extension ofui/contextButtonwhich adds toggle functions to the button.ui/dateTimePicker: Date-Time Picker to enter/select a date, or a date-time.ui/iframe: Iframe which allows embedding of external components and interacts via the window message protocol.ui/input: Formerlyui/text, and is a generic input element.ui/select: Select which allows the user to select one or more options.ui/selectMenu: Special select for dropdowns only. Allows the user to select only one option and has additional step for extra data input.ui/slider: Horizontal slider/range to select a number.ui/splitButton: Button which has a secondary smaller button added to it.ui/text: Just text without any interactions.ui/toggleSplitButton: Extension ofui/splitBttonwhich adds toggle functions to the button.
Components which have been removed:
ui/accordionMenuButton: Use a combination ofui/contextButton, orui/dropdown; and theui/selectMenuinstead.ui/menuButton: Use a combination ofui/contextButton, orui/dropdown; and theui/selectMenuinstead.ui/multiSplit: Use either aui/splitButton, or a combination ofui/contextButton, orui/dropdown; and theui/selectMenuinstead.ui/port-helper-attribute-field: Use theui/attributeButtonorui/attributeToggleButtoninstead.ui/port-helper-multi-split: Use either aui/splitButton, or a combination ofui/contextButton, orui/dropdown; and theui/selectMenuinstead.ui/text: Not directly removed, but changed toui/input, as this component will now only render text.
Component layouts and stylings may have changed significantly.
Enhancement GPU-1253
Various settings for plugins and the UI Toolbar have been changed.
Noteworthy changes for the Aloha.settings.toolbar:
- Tabs require an
id, andlabelproperty and optionally anicon. - Tab component slots (@components@) can be defined by either
stringor as{ slot: string; scope: string | string[] }elements.
For full type definitions, check the ui/settings file.