@energycap/components 0.38.8-ECAP-19884-ucp-theme-updates.20231027-1555 → 0.38.8-ECAP-20257-allow-dialogs-with-aligntotop.20231030-1634
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/display/dialog/dialog-types.mjs +1 -1
- package/esm2020/lib/display/dialog/dialog.component.mjs +6 -3
- package/fesm2015/energycap-components.mjs +5 -2
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +5 -2
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/display/dialog/dialog-types.d.ts +4 -0
- package/lib/display/dialog/dialog.component.d.ts +1 -0
- package/package.json +1 -1
@@ -94,6 +94,10 @@ export interface DialogOptions {
|
|
94
94
|
noMask?: boolean;
|
95
95
|
/** Align the dialog window to the top instead of centered. */
|
96
96
|
alignToTop?: boolean;
|
97
|
+
/** Set the top margin of the dialog window. Only takes effect if alignToTop is true.
|
98
|
+
* Must include units, i.e. "32rem" or "10vh"
|
99
|
+
*/
|
100
|
+
alignToTopMargin?: string;
|
97
101
|
/**
|
98
102
|
* Set to true if the dialog should automatically close when the window is resized.
|
99
103
|
* This is useful if you are conditionally showing/hiding the dialog content as a static part of the page
|