Skip to content

v1.4

Choose a tag to compare

@kravcik kravcik released this 14 Apr 09:51
· 9 commits to main since this release
4bf67d9
V1.4 (#113)

* - Add `QuickCopy` trait for quick copy button functionality in text controls (e.g., TextArea, TextInput).
- Improve checkbox and radio list rendering:
  - Refactor inline check classes and layout logic.
  - Add support for specifying items per row.
- Extend button customization:
  - Introduce `getFormButtonClass()` for unified button styling.
  - Add rounded styling utilities (via `Helper\ButtonRounded`).
- Ensure consistency in `assert()` usage by adopting global function.
- Enhance CSS for better input alignment, floating labels, and button styles.
- Refactor test layouts to align with new rendering logic.
- Add new unit tests for quick copy functionality and items-per-row rendering.

* Refactor `QuickCopy` integration:
- Introduce `QuickCopyable` interface for streamlined button handling.
- Update `TextArea` and `TextInput` to implement `QuickCopyable`.
- Replace `method_exists` checks with `instanceof QuickCopyable`.
- Optimize imports and simplify `Duplicator` class for cleaner codebase.

* readme.md

* Remove redundant `isSummernote` validation in `setQuickCopy`.

* Update README.md: document `setButtonClass()` for default button styling

* Refactor `DependentMultiSelect` control:
- Replace redundant recursive `getValue` call with corrected logic.
- Optimize `signalReceived` by updating `assert()` and using `SignalDial` directly.
- Add `controlClass` initialization for consistent styling.
- Refine `setPrompt` to accept nullable values.

* fix dependentMultiSelect

* fix whisperer

* fix AI code

* fix tests

* phpstan

* naja register

---------

Co-authored-by: danielungu <daniel.lungu@modulservis.cz>
Co-authored-by: Tomáš Vodička <vodictomas@gmail.com>