stable

Clone or download

Read-only

feat: Add "create new item" button in lazybox

How to test: No functional change. Notes: Keyboard navigation to the button is not handled in this commit. It probably requires a lot of work in lazybox. It will be added in a next contribution. part of story #28823 [modal] create artifact Change-Id: I50621f825b0c5b5984df2b64cc1672151353c6d6

Modified Files

Name
M lib/frontend/lazybox/src/dropdown/DropdownManager.test.ts +6 −1 Go to diff View file
A lib/frontend/lazybox/src/dropdown/new-item-template.ts +44 −0 Go to diff View file
M lib/frontend/lazybox/src/events/EventManager.test.ts +6 −1 Go to diff View file
M lib/frontend/lazybox/src/lazybox.ts +1 −7 Go to diff View file
M lib/frontend/lazybox/src/navigation/KeyboardNavigationManager.test.ts +2 −3 Go to diff View file
M lib/frontend/lazybox/src/renderers/BaseComponentRenderer.test.ts +6 −5 Go to diff View file
M lib/frontend/lazybox/src/renderers/BaseComponentRenderer.ts +24 −19 Go to diff View file
M lib/frontend/lazybox/src/renderers/DropdownContentRenderer.test.ts +2 −3 Go to diff View file
M lib/frontend/lazybox/src/selection/MultipleSelectionManager.test.ts +2 −3 Go to diff View file
M lib/frontend/lazybox/src/selection/SelectionManager.test.ts +2 −3 Go to diff View file
M lib/frontend/lazybox/src/type.ts +13 −2 Go to diff View file
A lib/frontend/lazybox/tests/builders/OptionsBuilder.ts +64 −0 Go to diff View file
M lib/frontend/lazybox/themes/style.scss +33 −4 Go to diff View file
M src/scripts/tlp-doc/src/editors.js +174 −175 Go to diff View file
M src/www/tlp-doc/resources/forms/lazybox/doc.html +4 −0 Go to diff View file
M src/www/tlp-doc/resources/forms/lazybox/example.html +5 −2 Go to diff View file