David Cook
8c6d3a27ec
Move modal action styles to parent component
...
They were already being shared with a HelpModalComponent in fact.
2024-02-06 14:34:36 +11:00
David Cook
137489f492
Refactor: move basic modal styles to generic parent component
...
The style was already being shared with a sibling component.
Now we can instantiate a plain old 'modal'.
2024-01-16 12:53:07 +11:00
Ahmed Ejaz
c2693d1a32
11068: add responsiveness to delete modal actions
2023-12-29 03:02:16 +05:00
Ahmed Ejaz
6ed447b6ac
11068: code refactor
...
- Add single delete modal
for product and variant each
2023-12-23 15:53:28 +05:00
Ahmed Ejaz
985487c061
11068: update confirm_modal_component
...
- add new position alignment for the modal actions
- add 'justify-space-around' and 'justify-end' as new alignment classes
- use the above classes accordingly
2023-12-22 03:10:52 +05:00
Ahmed Ejaz
f44476b9af
11068: code refactoring
...
- Make use of reflexes when deleting the product and variant
- Add reflex dataset param to confirm_modal_component
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
a71bb21789
11068: update confirm_button_color to confirm_button_class
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
0efd78b979
#11068 : update confirm_modal_component to accept controller values
2023-12-20 12:54:54 +05:00
Ahmed Ejaz
5d490ded15
#11068 , update ConfirmModalComponent to take more options
2023-12-20 12:54:54 +05:00
Matt-Yorkley
bee46720f4
Combine bulk action controllers and pass reflex as an argument
2023-05-21 00:15:32 +01:00
Jean-Baptiste Bellet
ad0d0e393e
ConfirmModalComponent is ready to receive data-reflex
...
And not only `data-action`
2023-04-20 08:45:03 +02:00
cyrillefr
332c95dec5
Modify actual modal confirm component
...
- Need to take into account some additional customn message
2023-02-06 19:47:36 +01:00
Jean-Baptiste Bellet
519c15a9d5
Create a ConfirmModalComponent
...
- Inherits from ModalComponent
- Has a close button
- Accept `confirm_actions` to trigger reflexes
- Accept `controller` to encapsulate stimulus reflexe controllers
2023-01-03 10:32:11 +01:00