@sebgroup/green-core 2.5.1 → 2.5.2
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.
|
@@ -60,16 +60,22 @@ let GdsDialog = class extends withSizeXProps(
|
|
|
60
60
|
this.close(returnValue || "native-close");
|
|
61
61
|
});
|
|
62
62
|
__privateAdd(this, _dispatchCloseEvent, (reason) => {
|
|
63
|
-
this.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
if (__privateGet(this, _dispatchUiStateEvent).call(this, reason)) {
|
|
64
|
+
this.dispatchCustomEvent("gds-close", {
|
|
65
|
+
detail: reason
|
|
66
|
+
});
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
return false;
|
|
67
70
|
});
|
|
68
71
|
__privateAdd(this, _dispatchShowEvent, (reason) => {
|
|
69
|
-
this.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
if (__privateGet(this, _dispatchUiStateEvent).call(this, reason)) {
|
|
73
|
+
this.dispatchCustomEvent("gds-show", {
|
|
74
|
+
detail: reason
|
|
75
|
+
});
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
return false;
|
|
73
79
|
});
|
|
74
80
|
__privateAdd(this, _dispatchUiStateEvent, (reason) => {
|
|
75
81
|
return this.dispatchCustomEvent("gds-ui-state", {
|
|
@@ -133,6 +139,7 @@ let GdsDialog = class extends withSizeXProps(
|
|
|
133
139
|
box-shadow="xl"
|
|
134
140
|
gap="l"
|
|
135
141
|
border-radius="s"
|
|
142
|
+
max-width="100%"
|
|
136
143
|
>
|
|
137
144
|
<slot name="dialog">
|
|
138
145
|
<gds-flex justify-content="space-between">
|
|
@@ -158,6 +165,7 @@ let GdsDialog = class extends withSizeXProps(
|
|
|
158
165
|
justify-content="center"
|
|
159
166
|
gap="s"
|
|
160
167
|
padding="s 0 0 0"
|
|
168
|
+
flex-wrap="wrap"
|
|
161
169
|
>
|
|
162
170
|
<slot name="footer">
|
|
163
171
|
<gds-button
|
|
@@ -215,7 +223,7 @@ handleTriggerSlotChange_fn = function() {
|
|
|
215
223
|
_handleTriggerClick = new WeakMap();
|
|
216
224
|
_handleClickOutside = new WeakMap();
|
|
217
225
|
GdsDialog.styles = [DialogStyles];
|
|
218
|
-
GdsDialog.styleExpressionBaseSelector = "
|
|
226
|
+
GdsDialog.styleExpressionBaseSelector = "dialog";
|
|
219
227
|
__decorateClass([
|
|
220
228
|
property({ type: Boolean, reflect: true })
|
|
221
229
|
], GdsDialog.prototype, "open", 2);
|
package/gds-element.js
CHANGED
|
@@ -14,7 +14,7 @@ class GdsElement extends LitElement {
|
|
|
14
14
|
/**
|
|
15
15
|
* The semantic version of this element. Can be used for troubleshooting to verify the version being used.
|
|
16
16
|
*/
|
|
17
|
-
this.semanticVersion = "2.5.
|
|
17
|
+
this.semanticVersion = "2.5.2";
|
|
18
18
|
this._isUsingTransitionalStyles = false;
|
|
19
19
|
this._dynamicStylesController = new DynamicStylesController(this);
|
|
20
20
|
}
|
|
@@ -12,9 +12,9 @@ export * from './datepicker/index.js';
|
|
|
12
12
|
export * from './details/index.js';
|
|
13
13
|
export * from './dialog/index.js';
|
|
14
14
|
export * from './div/index.js';
|
|
15
|
+
export * from './divider/index.js';
|
|
15
16
|
export * from './dropdown/index.js';
|
|
16
17
|
export * from './fab/index.js';
|
|
17
|
-
export * from './divider/index.js';
|
|
18
18
|
export * from './filter-chips/index.js';
|
|
19
19
|
export * from './flex/index.js';
|
|
20
20
|
export * from './form-summary/index.js';
|
|
@@ -22,10 +22,10 @@ export * from './grid/index.js';
|
|
|
22
22
|
export * from './grouped-list/index.js';
|
|
23
23
|
export * from './list-item/index.js';
|
|
24
24
|
export * from './icons/icon/index.js';
|
|
25
|
+
export * from './img/index.js';
|
|
25
26
|
export * from './input/index.js';
|
|
26
27
|
export * from './link/index.js';
|
|
27
28
|
export * from './mask/index.js';
|
|
28
|
-
export * from './img/index.js';
|
|
29
29
|
export * from './menu-button/index.js';
|
|
30
30
|
export * from './backdrop/index.js';
|
|
31
31
|
export * from './popover/index.js';
|
package/generated/react/index.js
CHANGED
|
@@ -12,9 +12,9 @@ export * from "./datepicker/index.js";
|
|
|
12
12
|
export * from "./details/index.js";
|
|
13
13
|
export * from "./dialog/index.js";
|
|
14
14
|
export * from "./div/index.js";
|
|
15
|
+
export * from "./divider/index.js";
|
|
15
16
|
export * from "./dropdown/index.js";
|
|
16
17
|
export * from "./fab/index.js";
|
|
17
|
-
export * from "./divider/index.js";
|
|
18
18
|
export * from "./filter-chips/index.js";
|
|
19
19
|
export * from "./flex/index.js";
|
|
20
20
|
export * from "./form-summary/index.js";
|
|
@@ -22,10 +22,10 @@ export * from "./grid/index.js";
|
|
|
22
22
|
export * from "./grouped-list/index.js";
|
|
23
23
|
export * from "./list-item/index.js";
|
|
24
24
|
export * from "./icons/icon/index.js";
|
|
25
|
+
export * from "./img/index.js";
|
|
25
26
|
export * from "./input/index.js";
|
|
26
27
|
export * from "./link/index.js";
|
|
27
28
|
export * from "./mask/index.js";
|
|
28
|
-
export * from "./img/index.js";
|
|
29
29
|
export * from "./menu-button/index.js";
|
|
30
30
|
export * from "./backdrop/index.js";
|
|
31
31
|
export * from "./popover/index.js";
|
package/package.json
CHANGED