wj-elements 0.4.0 → 0.4.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.
- package/dist/custom-elements.json +21140 -0
- package/dist/dark.css +9 -0
- package/dist/light.css +9 -0
- package/dist/packages/wje-dropdown/dropdown.element.d.ts +29 -1
- package/dist/packages/wje-input/input.element.d.ts +2 -0
- package/dist/packages/wje-option/option.element.d.ts +3 -0
- package/dist/packages/wje-select/select.element.d.ts +17 -0
- package/dist/packages/wje-textarea/textarea.element.d.ts +2 -0
- package/dist/packages/wje-toast/toast.element.d.ts +80 -10
- package/dist/styles.css +58 -5
- package/dist/web-types.json +3842 -0
- package/dist/wje-animation.js +1 -1
- package/dist/wje-dropdown.js +66 -1
- package/dist/wje-dropdown.js.map +1 -1
- package/dist/wje-input.js +14 -3
- package/dist/wje-input.js.map +1 -1
- package/dist/wje-option.js +8 -2
- package/dist/wje-option.js.map +1 -1
- package/dist/wje-select.js +175 -27
- package/dist/wje-select.js.map +1 -1
- package/dist/wje-textarea.js +1 -1
- package/dist/wje-textarea.js.map +1 -1
- package/dist/wje-toast.js +383 -11
- package/dist/wje-toast.js.map +1 -1
- package/package.json +1 -1
package/dist/dark.css
CHANGED
|
@@ -191,6 +191,8 @@
|
|
|
191
191
|
--wje-input-background-color: var(--wje-color-contrast-0);
|
|
192
192
|
--wje-input-color: var(--wje-color);
|
|
193
193
|
--wje-input-color-invalid: var(--wje-color-danger-9);
|
|
194
|
+
--wje-input-error-background-color: var(--wje-tooltip-background);
|
|
195
|
+
--wje-input-error-color: var(--wje-tooltip-color);
|
|
194
196
|
--wje-input-border-color: var(--wje-border-color);
|
|
195
197
|
--wje-input-border-color-focus: var(--wje-color-primary);
|
|
196
198
|
|
|
@@ -247,6 +249,8 @@
|
|
|
247
249
|
--wje-select-background: var(--wje-color-contrast-0);
|
|
248
250
|
--wje-select-options-background-color: var(--wje-color-contrast-0);
|
|
249
251
|
--wje-select-options-border-color: var(--wje-border-color);
|
|
252
|
+
--wje-select-error-background-color: var(--wje-tooltip-background);
|
|
253
|
+
--wje-select-error-color: var(--wje-tooltip-color);
|
|
250
254
|
--wje-select-color: var(--wje-color);
|
|
251
255
|
|
|
252
256
|
/* Sliding - Container */
|
|
@@ -261,9 +265,14 @@
|
|
|
261
265
|
--wje-textarea-background-color: var(--wje-background);
|
|
262
266
|
--wje-textarea-color: var(--wje-color);
|
|
263
267
|
--wje-textarea-color-invalid: var(--wje-color-danger-1);
|
|
268
|
+
--wje-textarea-error-background-color: var(--wje-tooltip-background);
|
|
269
|
+
--wje-textarea-error-color: var(--wje-tooltip-color);
|
|
264
270
|
--wje-textarea-border-color: var(--wje-border-color);
|
|
265
271
|
--wje-textarea-border-color-focus: var(--wje-color-primary-1);
|
|
266
272
|
|
|
273
|
+
/* Toast */
|
|
274
|
+
--wje-toast-stack-width: 300px;
|
|
275
|
+
|
|
267
276
|
/* Toolbar */
|
|
268
277
|
--wje-toolbar-background: var(--wje-background);
|
|
269
278
|
--wje-toolbar-border-color: var(--wje-border-color);
|
package/dist/light.css
CHANGED
|
@@ -442,6 +442,8 @@
|
|
|
442
442
|
--wje-input-background-color: var(--wje-color-contrast-0);
|
|
443
443
|
--wje-input-color: var(--wje-color);
|
|
444
444
|
--wje-input-color-invalid: var(--wje-color-danger-9);
|
|
445
|
+
--wje-input-error-background-color: var(--wje-tooltip-background);
|
|
446
|
+
--wje-input-error-color: var(--wje-tooltip-color);
|
|
445
447
|
--wje-input-border-color: var(--wje-border-color);
|
|
446
448
|
--wje-input-border-color-focus: var(--wje-color-primary);
|
|
447
449
|
--wje-input-border-width: 1px;
|
|
@@ -589,6 +591,8 @@
|
|
|
589
591
|
--wje-select-options-border-style: var(--wje-border-style);
|
|
590
592
|
--wje-select-options-border-color: var(--wje-border-color);
|
|
591
593
|
--wje-select-options-border-radius: var(--wje-border-radius-medium);
|
|
594
|
+
--wje-select-error-background-color: var(--wje-tooltip-background);
|
|
595
|
+
--wje-select-error-color: var(--wje-tooltip-color);
|
|
592
596
|
--wje-select-line-height: 20px;
|
|
593
597
|
--wje-select-color: var(--wje-color);
|
|
594
598
|
--wje-select-margin-bottom: var(--wje-spacing-x-small);
|
|
@@ -637,6 +641,8 @@
|
|
|
637
641
|
--wje-textarea-background-color: var(--wje-background);
|
|
638
642
|
--wje-textarea-color: var(--wje-color);
|
|
639
643
|
--wje-textarea-color-invalid: var(--wje-color-danger-9);
|
|
644
|
+
--wje-textarea-error-background-color: var(--wje-tooltip-background);
|
|
645
|
+
--wje-textarea-error-color: var(--wje-tooltip-color);
|
|
640
646
|
--wje-textarea-border-width: 1px;
|
|
641
647
|
--wje-textarea-border-style: solid;
|
|
642
648
|
--wje-textarea-border-color: var(--wje-border-color);
|
|
@@ -651,6 +657,9 @@
|
|
|
651
657
|
--wje-textarea-label-line-height: var(--wje-line-height-denser);
|
|
652
658
|
--wje-textarea-label-font-size: var(--wje-font-size);
|
|
653
659
|
|
|
660
|
+
/* Toast */
|
|
661
|
+
--wje-toast-stack-width: 300px;
|
|
662
|
+
|
|
654
663
|
/* Thumbnail */
|
|
655
664
|
--wje-thumbnail-width: 48px;
|
|
656
665
|
--wje-thumbnail-height: 48px;
|
|
@@ -77,7 +77,35 @@ export default class Dropdown extends WJElement {
|
|
|
77
77
|
*/
|
|
78
78
|
afterDraw(): void;
|
|
79
79
|
onSlotChange: () => void;
|
|
80
|
-
|
|
80
|
+
/**
|
|
81
|
+
* Handles popup hide events and closes only the dropdown that owns the popup.
|
|
82
|
+
* This prevents nested dropdowns from collapsing their parent dropdown when the
|
|
83
|
+
* child popup is hidden.
|
|
84
|
+
* @param {Event} e The popup hide event.
|
|
85
|
+
*/
|
|
86
|
+
popupHideCallback: (e: Event) => void;
|
|
87
|
+
/**
|
|
88
|
+
* Assigns the current dropdown instance as the owner of its popup layers.
|
|
89
|
+
* Owner metadata is later used to resolve which dropdown should react to
|
|
90
|
+
* delegated menu-item clicks, including portaled popup content.
|
|
91
|
+
*/
|
|
92
|
+
syncPopupOwner(): void;
|
|
93
|
+
/**
|
|
94
|
+
* Recursively assigns owner metadata to the dropdown content subtree while
|
|
95
|
+
* leaving nested dropdown roots untouched, so each nested dropdown can keep
|
|
96
|
+
* its own ownership boundary.
|
|
97
|
+
* @param {HTMLElement} [root] The subtree root whose children should inherit this dropdown owner. Defaults to the current dropdown.
|
|
98
|
+
*/
|
|
99
|
+
syncOwnedContentOwner(root?: HTMLElement): void;
|
|
100
|
+
/**
|
|
101
|
+
* Resolves the dropdown that owns a clicked menu item. The lookup prefers
|
|
102
|
+
* explicit owner metadata and falls back to DOM traversal so both regular
|
|
103
|
+
* and portaled dropdown content can be scoped correctly.
|
|
104
|
+
* @param {EventTarget[]} path The composed event path.
|
|
105
|
+
* @param {HTMLElement} item The clicked menu item element.
|
|
106
|
+
* @returns {HTMLElement|null} The owning dropdown element or null when it cannot be resolved.
|
|
107
|
+
*/
|
|
108
|
+
getMenuItemOwner(path: EventTarget[], item: HTMLElement): HTMLElement | null;
|
|
81
109
|
/**
|
|
82
110
|
* Handles delegated clicks from inside the popup and closes the dropdown when a leaf menu item is selected.
|
|
83
111
|
* This works even when the menu is portaled, because we rely on the composed path.
|
|
@@ -14,6 +14,8 @@ import { FormAssociatedElement } from '../internals/form-associated-element.js';
|
|
|
14
14
|
* @cssproperty [--wje-input-background-color=var(--wje-background)] - Specifies the background color of the input field.
|
|
15
15
|
* @cssproperty [--wje-input-color=var(--wje-color)] - Sets the text color within the input field.
|
|
16
16
|
* @cssproperty [--wje-input-color-invalid=var(--wje-color-danger)] - Changes the text color when the input value is invalid.
|
|
17
|
+
* @cssproperty [--wje-input-error-background-color=var(--wje-tooltip-background)] - Controls the background color of the validation error bubble.
|
|
18
|
+
* @cssproperty [--wje-input-error-color=var(--wje-tooltip-color)] - Controls the text color of the validation error bubble.
|
|
17
19
|
* @cssproperty [--wje-input-border-color=var(--wje-border-color)] - Defines the border color of the input field.
|
|
18
20
|
* @cssproperty [--wje-input-border-color-focus=var(--wje-color-primary)] - Specifies the border color when the input is focused.
|
|
19
21
|
* @cssproperty [--wje-input-border-width=1px] - Sets the width of the input border.
|
|
@@ -54,6 +54,9 @@ export default class Option extends WJElement {
|
|
|
54
54
|
* @returns {boolean} Returns true if the 'wje-select' element has the 'multiple' attribute, otherwise false.
|
|
55
55
|
*/
|
|
56
56
|
get multiple(): boolean;
|
|
57
|
+
set ownerSelect(value: any);
|
|
58
|
+
get ownerSelect(): any;
|
|
59
|
+
_ownerSelect: any;
|
|
57
60
|
/**
|
|
58
61
|
* Sets the value attribute of the option.
|
|
59
62
|
* @param {string} value The value to set.
|
|
@@ -11,6 +11,7 @@ import { default as Options } from '../wje-options/options.js';
|
|
|
11
11
|
import { default as Checkbox } from '../wje-checkbox/checkbox.js';
|
|
12
12
|
export class Select extends FormAssociatedElement {
|
|
13
13
|
static _instanceId: number;
|
|
14
|
+
static portalStyles: string;
|
|
14
15
|
/**
|
|
15
16
|
* Returns the CSS styles for the component.
|
|
16
17
|
* @static
|
|
@@ -143,6 +144,22 @@ export class Select extends FormAssociatedElement {
|
|
|
143
144
|
* @returns {string} The default value of the input element.
|
|
144
145
|
*/
|
|
145
146
|
get defaultValue(): string;
|
|
147
|
+
/**
|
|
148
|
+
* Sets or removes the `portaled` attribute on the select.
|
|
149
|
+
* Mirrors the dropdown API so popup content can be rendered in a portal root.
|
|
150
|
+
* @param {boolean|string} value Determines whether and where the popup should be portaled.
|
|
151
|
+
*/
|
|
152
|
+
set portaled(value: boolean | string);
|
|
153
|
+
/**
|
|
154
|
+
* Getter for the `portaled` attribute value.
|
|
155
|
+
* @returns {string} The configured portal target or an empty string for the default body portal.
|
|
156
|
+
*/
|
|
157
|
+
get portaled(): string;
|
|
158
|
+
/**
|
|
159
|
+
* Checks whether popup content should be portaled.
|
|
160
|
+
* @returns {boolean} True when the `portaled` attribute is present.
|
|
161
|
+
*/
|
|
162
|
+
get isPortaled(): boolean;
|
|
146
163
|
/**
|
|
147
164
|
* Sets the trigger value.
|
|
148
165
|
* @param {string} value The trigger value to set.
|
|
@@ -12,6 +12,8 @@ import { FormAssociatedElement } from '../internals/form-associated-element.js';
|
|
|
12
12
|
* @cssproperty [--wje-textarea-background-color=var(--wje-background)] - Sets the background color of the textarea. Accepts any valid CSS color value.
|
|
13
13
|
* @cssproperty [--wje-textarea-color=var(--wje-color)] - Defines the text color within the textarea. Accepts any valid CSS color value.
|
|
14
14
|
* @cssproperty [--wje-textarea-color-invalid=var(--wje-color-danger)] - Changes the text color of the textarea when it is invalid. Useful for highlighting validation errors.
|
|
15
|
+
* @cssproperty [--wje-textarea-error-background-color=var(--wje-tooltip-background)] - Controls the background color of the validation error bubble.
|
|
16
|
+
* @cssproperty [--wje-textarea-error-color=var(--wje-tooltip-color)] - Controls the text color of the validation error bubble.
|
|
15
17
|
* @cssproperty [--wje-textarea-border-width=1px] - Specifies the width of the textarea's border. Accepts any valid CSS length unit.
|
|
16
18
|
* @cssproperty [--wje-textarea-border-style=solid] - Sets the style of the textarea's border. Accepts standard CSS border styles such as `solid`, `dashed`, or `dotted`.
|
|
17
19
|
* @cssproperty [--wje-textarea-border-color=var(--wje-border-color)] - Defines the border color of the textarea. Accepts any valid CSS color value.
|
|
@@ -6,14 +6,19 @@ import { default as WJElement } from '../wje-element/element.js';
|
|
|
6
6
|
* @status stable
|
|
7
7
|
* @augments {WJElement}
|
|
8
8
|
* @csspart native - The native part
|
|
9
|
-
* @cssproperty {string} headline - Specifies the headline text of the toast. Represents the main title or heading displayed in the toast.
|
|
10
|
-
* @cssproperty {boolean} open - Indicates whether the toast is currently open (visible). A value of `true` shows the toast, while `false` hides it.
|
|
11
|
-
* @cssproperty {number} duration - Determines the duration (in milliseconds) for which the toast is displayed. After this time, the toast will automatically close unless it is manually closed.
|
|
12
|
-
* @cssproperty {boolean} closable - Specifies whether the toast can be manually closed by the user. If `true`, the toast will include a close button or mechanism.
|
|
13
|
-
* @cssproperty {string} color - Defines the color of the toast. Accepts any valid CSS color value such as `hex`, `RGB`, or named colors.
|
|
14
|
-
* @cssproperty {boolean} countdown - Indicates whether a countdown is displayed in the toast. When `true`, a visual countdown timer is shown to indicate the remaining time before the toast closes.
|
|
15
9
|
* @slot - The content of the toast.
|
|
16
10
|
* @slot media - The media of the toast.
|
|
11
|
+
* @attribute {string} headline - Specifies the headline text of the toast. Represents the main title or heading displayed in the toast.
|
|
12
|
+
* @attribute {boolean} open - Indicates whether the toast is currently open (visible). A value of `true` shows the toast, while `false` hides it.
|
|
13
|
+
* @attribute {number} duration - Determines the duration (in milliseconds) for which the toast is displayed. After this time, the toast will automatically close unless it is manually closed.
|
|
14
|
+
* @attribute {boolean} closable - Specifies whether the toast can be manually closed by the user. If `true`, the toast will include a close button or mechanism.
|
|
15
|
+
* @attribute {string} color - Defines the color variant of the toast. Supports values such as `primary`, `complete`, `success`, `warning`, `danger`, `info`, and `contrast`.
|
|
16
|
+
* @attribute {boolean} countdown - Indicates whether a countdown is displayed in the toast. When `true`, a visual countdown timer is shown to indicate the remaining time before the toast closes.
|
|
17
|
+
* @attribute {boolean} stacked - Enables a layered toast stack where the newest toast stays visually on top while older ones shrink behind it.
|
|
18
|
+
* @attribute {string} stack-position - Defines where the toast stack is placed on the screen. Supports `top-start`, `top-center`, `top-end`, `bottom-start`, `bottom-center`, and `bottom-end`.
|
|
19
|
+
* @attribute {number} stack-depth - Defines how many visual levels the collapsed stacked toast can show. Older toasts beyond this limit stay at the last reduced level. Default is `3`.
|
|
20
|
+
* @attribute {string} icon - Adds a leading icon into the `media` slot by icon name.
|
|
21
|
+
* @cssproperty [--wje-toast-stack-width=300px] - Defines the width of the toast stack container. Useful for centered stacked toasts and demo layouts.
|
|
17
22
|
* // @fires wje-toast:after-show - Fired after the toast is shown.
|
|
18
23
|
* // @fires wje-toast:after-hide - Fired after the toast is hidden.
|
|
19
24
|
*/
|
|
@@ -24,9 +29,7 @@ export default class Toast extends WJElement {
|
|
|
24
29
|
* @returns {CSSStyleSheet} The CSS stylesheet
|
|
25
30
|
*/
|
|
26
31
|
static get cssStyleSheet(): CSSStyleSheet;
|
|
27
|
-
toastStack: HTMLDivElement
|
|
28
|
-
className: string;
|
|
29
|
-
};
|
|
32
|
+
toastStack: HTMLDivElement;
|
|
30
33
|
/**
|
|
31
34
|
* Set headline value of the toast.
|
|
32
35
|
* @param value
|
|
@@ -87,6 +90,36 @@ export default class Toast extends WJElement {
|
|
|
87
90
|
* @returns {boolean}
|
|
88
91
|
*/
|
|
89
92
|
get countdown(): boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Set stacked value of the toast.
|
|
95
|
+
* @param value
|
|
96
|
+
*/
|
|
97
|
+
set stacked(value: boolean);
|
|
98
|
+
/**
|
|
99
|
+
* Get stacked value of the toast.
|
|
100
|
+
* @returns {boolean}
|
|
101
|
+
*/
|
|
102
|
+
get stacked(): boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Set stack depth of the toast.
|
|
105
|
+
* @param value
|
|
106
|
+
*/
|
|
107
|
+
set stackDepth(value: number);
|
|
108
|
+
/**
|
|
109
|
+
* Get stack depth of the toast.
|
|
110
|
+
* @returns {number}
|
|
111
|
+
*/
|
|
112
|
+
get stackDepth(): number;
|
|
113
|
+
/**
|
|
114
|
+
* Set stack position of the toast.
|
|
115
|
+
* @param value
|
|
116
|
+
*/
|
|
117
|
+
set stackPosition(value: string);
|
|
118
|
+
/**
|
|
119
|
+
* Get stack position of the toast.
|
|
120
|
+
* @returns {string}
|
|
121
|
+
*/
|
|
122
|
+
get stackPosition(): string;
|
|
90
123
|
/**
|
|
91
124
|
* Set icon value of the toast.
|
|
92
125
|
* @param value
|
|
@@ -97,6 +130,42 @@ export default class Toast extends WJElement {
|
|
|
97
130
|
* @returns {string}
|
|
98
131
|
*/
|
|
99
132
|
get icon(): string;
|
|
133
|
+
/**
|
|
134
|
+
* Creates a toast stack container.
|
|
135
|
+
* @returns {HTMLDivElement}
|
|
136
|
+
*/
|
|
137
|
+
createToastStack(): HTMLDivElement;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the key of the toast stack.
|
|
140
|
+
* @returns {string}
|
|
141
|
+
*/
|
|
142
|
+
getToastStackKey(): string;
|
|
143
|
+
/**
|
|
144
|
+
* Applies the stack placement directly on the element so demo/app layout CSS cannot override it accidentally.
|
|
145
|
+
* @param {HTMLDivElement} stack
|
|
146
|
+
*/
|
|
147
|
+
applyToastStackPlacement(stack?: HTMLDivElement): void;
|
|
148
|
+
/**
|
|
149
|
+
* Applies the current toast stack configuration to a stack element.
|
|
150
|
+
* @param {HTMLDivElement} stack
|
|
151
|
+
*/
|
|
152
|
+
syncToastStack(stack?: HTMLDivElement): void;
|
|
153
|
+
/**
|
|
154
|
+
* Clears transient stack styling from a toast.
|
|
155
|
+
* @param {Toast} toast
|
|
156
|
+
*/
|
|
157
|
+
clearStackItemStyles(toast: Toast): void;
|
|
158
|
+
/**
|
|
159
|
+
* Measures the rendered height of a toast for stack overlap calculations.
|
|
160
|
+
* @param {Toast} toast
|
|
161
|
+
* @returns {number}
|
|
162
|
+
*/
|
|
163
|
+
getToastVisualHeight(toast: Toast): number;
|
|
164
|
+
/**
|
|
165
|
+
* Recomputes the visual order of toasts inside the stack.
|
|
166
|
+
* @param {HTMLDivElement} stack
|
|
167
|
+
*/
|
|
168
|
+
updateToastStack(stack?: HTMLDivElement): void;
|
|
100
169
|
/**
|
|
101
170
|
* Draw method for the toast notification.
|
|
102
171
|
* @returns {object} Document fragment
|
|
@@ -109,7 +178,7 @@ export default class Toast extends WJElement {
|
|
|
109
178
|
*/
|
|
110
179
|
afterDraw(): void;
|
|
111
180
|
countdownAnimation: Animation;
|
|
112
|
-
remainingTime:
|
|
181
|
+
remainingTime: any;
|
|
113
182
|
/**
|
|
114
183
|
* Starts the timer.
|
|
115
184
|
* This method sets the `startTime` property to the current time and sets
|
|
@@ -119,6 +188,7 @@ export default class Toast extends WJElement {
|
|
|
119
188
|
*/
|
|
120
189
|
startTimer(): void;
|
|
121
190
|
startTime: number;
|
|
191
|
+
isTimerPaused: boolean;
|
|
122
192
|
timeoutID: number;
|
|
123
193
|
/**
|
|
124
194
|
* Stops the timer.
|
package/dist/styles.css
CHANGED
|
@@ -842,10 +842,63 @@ z = font size
|
|
|
842
842
|
.wje-toast-stack {
|
|
843
843
|
position: fixed;
|
|
844
844
|
top: 0;
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
max-
|
|
845
|
+
right: 0;
|
|
846
|
+
margin: 0.5rem;
|
|
847
|
+
width: min(var(--wje-toast-stack-width, 300px), calc(100vw - 1rem));
|
|
848
|
+
max-width: calc(100vw - 1rem);
|
|
849
|
+
max-height: calc(100vh - 1rem);
|
|
849
850
|
overflow: auto;
|
|
850
851
|
z-index: 9999;
|
|
851
|
-
|
|
852
|
+
display: flex;
|
|
853
|
+
flex-direction: column;
|
|
854
|
+
align-items: stretch;
|
|
855
|
+
gap: var(--wje-spacing-medium);
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.wje-toast-stack[data-position='top-start'] {
|
|
859
|
+
left: 0;
|
|
860
|
+
right: auto;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.wje-toast-stack[data-position='top-center'] {
|
|
864
|
+
left: 50%;
|
|
865
|
+
right: auto;
|
|
866
|
+
transform: translateX(-50%);
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.wje-toast-stack[data-position='bottom-start'],
|
|
870
|
+
.wje-toast-stack[data-position='bottom-center'],
|
|
871
|
+
.wje-toast-stack[data-position='bottom-end'] {
|
|
872
|
+
top: auto;
|
|
873
|
+
bottom: 0;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.wje-toast-stack[data-position='bottom-start'] {
|
|
877
|
+
left: 0;
|
|
878
|
+
right: auto;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
.wje-toast-stack[data-position='bottom-center'] {
|
|
882
|
+
left: 50%;
|
|
883
|
+
right: auto;
|
|
884
|
+
transform: translateX(-50%);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.wje-toast-stack[data-stacked='true'] {
|
|
888
|
+
overflow: visible;
|
|
889
|
+
padding-block: 1rem;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.wje-toast-stack[data-stacked='true'] > wje-toast {
|
|
893
|
+
margin: 0;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.wje-toast-stack[data-stacked='true'][data-expanded='true'] {
|
|
897
|
+
overflow: auto;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.wje-toast-stack[data-stacked='true'][data-expanded='true'] > wje-toast {
|
|
901
|
+
--wje-toast-stack-scale: 1 !important;
|
|
902
|
+
--wje-toast-stack-shift: 0px !important;
|
|
903
|
+
--wje-toast-stack-opacity: 1 !important;
|
|
904
|
+
}
|