Closed (fixed)
Project:
Dialog Native
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2024 at 12:50 UTC
Updated:
15 Feb 2024 at 13:54 UTC
Jump to comment: Most recent

Comments
Comment #2
grevil commentedComment #3
finnsky commentedGonna work on it.
Comment #5
finnsky commentedAdded theming functions for dialog content header and buttons. What will be useful for custom theme developers.
Added close button which triggers customEvent with bubble.
Also added small code improvements.
1. Core version +11
2. Grouped dialog settings like
TO:
Comment #6
finnsky commentedComment #7
grevil commentedAdded a few comments, couldn't review completely yet.
Comment #8
finnsky commentedComment #9
grevil commentedGreat stuff!! Thanks a lot @finnsky!
I guess we still should add some styling to the close button, currently it is quite lackluster. Is there any drupal native "x" button, where we could clone the styling from?
Furthermore, it might make sense to have an optional parameter for the close button in "Drupal.theme.dialogHeader". I am not a theming expert, but this would only make sense to me.
Otherwise, LGTM!
Comment #10
grevil commentedComment #11
grevil commentedLet's move the styling part to #3415826: The styling of the dialog element needs adjusting..
Comment #12
grevil commented@finnsky we could also create a follow-up ticket for only styling the close button, feel free to decide yourself here.
Comment #13
finnsky commentedThank you for review.
in fact `Drupal.theme.dialogHeader"` it is the option for theme developer for overriding header.
On my side i would better to move with webcomponent and slots.
Comment #14
grevil commentedAlright! I am not too knowledgeable on Drupal theme development, just was something I thought would make sense hear.
RTBC then!
Comment #16
grevil commented