@breadstone/mosaik-elements-foundation 0.1.27 → 0.1.28
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/Controls/Components/Overlays/Toast/IToastActionsElementProps.d.ts +9 -0
- package/Controls/Components/Overlays/Toast/IToastActionsElementProps.d.ts.map +1 -0
- package/Controls/Components/Overlays/Toast/IToastActionsElementProps.js +3 -0
- package/Controls/Components/Overlays/Toast/IToastActionsElementProps.js.map +1 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Cosmopolitan.d.ts +6 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Cosmopolitan.d.ts.map +1 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Cosmopolitan.js +82 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Cosmopolitan.js.map +1 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Joy.d.ts +6 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Joy.js +82 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Joy.js.map +1 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Memphis.d.ts +6 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Memphis.d.ts.map +1 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Memphis.js +82 -0
- package/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Memphis.js.map +1 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElement.d.ts +88 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElement.d.ts.map +1 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElement.js +115 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElement.js.map +1 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElementTemplate.d.ts +9 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElementTemplate.js +36 -0
- package/Controls/Components/Overlays/Toast/ToastActionsElementTemplate.js.map +1 -0
- package/Controls/Components/Overlays/Toast/ToastElement.d.ts.map +1 -1
- package/Controls/Components/Overlays/Toast/ToastElement.js +3 -1
- package/Controls/Components/Overlays/Toast/ToastElement.js.map +1 -1
- package/Index.d.ts +1 -0
- package/Index.d.ts.map +1 -1
- package/Index.js +1 -0
- package/Index.js.map +1 -1
- package/Routing/PathToRegexp.d.ts +1 -1
- package/custom-elements.json +512 -0
- package/package.json +3 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ISlottableProps } from '../../../Behaviors/Slottable';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the `IToastActionsElementProps` interface.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface IToastActionsElementProps extends ISlottableProps {
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=IToastActionsElementProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IToastActionsElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/IToastActionsElementProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAIpE;;;;GAIG;AACH,MAAM,WAAW,yBAA0B,SAAQ,eAAe;CACjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IToastActionsElementProps.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/IToastActionsElementProps.ts"],"names":[],"mappings":"AAAA,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,oCAAoC,IAAI,SAAS,CAoEhE"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// ------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
// </auto-generated>
|
|
6
|
+
// ------------------------------------------------------------------------------
|
|
7
|
+
// #region Imports
|
|
8
|
+
import { css } from '../../../../../Dom/Css';
|
|
9
|
+
// #endregion
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export function toastActionsElementCosmopolitanStyle() {
|
|
14
|
+
return css `
|
|
15
|
+
:host {
|
|
16
|
+
--toast-actions-font-family: unset;
|
|
17
|
+
--toast-actions-font-letter-spacing: unset;
|
|
18
|
+
--toast-actions-font-line-height: unset;
|
|
19
|
+
--toast-actions-font-size: unset;
|
|
20
|
+
--toast-actions-font-text-decoration: unset;
|
|
21
|
+
--toast-actions-font-text-transform: unset;
|
|
22
|
+
--toast-actions-font-weight: unset;
|
|
23
|
+
--toast-actions-gap: unset;
|
|
24
|
+
--toast-actions-padding-bottom: unset;
|
|
25
|
+
--toast-actions-padding-left: unset;
|
|
26
|
+
--toast-actions-padding-right: unset;
|
|
27
|
+
--toast-actions-padding-top: unset;
|
|
28
|
+
--toast-actions-shadow: unset unset unset unset unset;
|
|
29
|
+
--toast-actions-shadow-blur: unset;
|
|
30
|
+
--toast-actions-shadow-color: unset;
|
|
31
|
+
--toast-actions-shadow-offset-x: unset;
|
|
32
|
+
--toast-actions-shadow-offset-y: unset;
|
|
33
|
+
--toast-actions-shadow-spread: unset;
|
|
34
|
+
--toast-actions-transition-duration: unset;
|
|
35
|
+
--toast-actions-transition-mode: unset;
|
|
36
|
+
--toast-actions-transition-property: unset;
|
|
37
|
+
--toast-actions-translate: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
41
|
+
:host {
|
|
42
|
+
transition-duration: .01ms;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
display: block;
|
|
49
|
+
position: relative;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host *, :host :before, :host :after {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
background-repeat: no-repeat;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host :before, :host :after {
|
|
58
|
+
text-decoration: inherit;
|
|
59
|
+
vertical-align: inherit;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host([hidden]) {
|
|
63
|
+
display: none !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:host {
|
|
67
|
+
padding: var(--toast-actions-padding-top) var(--toast-actions-padding-right) var(--toast-actions-padding-bottom) var(--toast-actions-padding-left);
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: var(--toast-actions-gap);
|
|
71
|
+
flex-direction: row;
|
|
72
|
+
display: flex;
|
|
73
|
+
position: relative;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host [part="innerStack"] {
|
|
77
|
+
--stack-gap: var(--toast-actions-gap);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
`;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=ToastActionsElement.Cosmopolitan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,oCAAoC;IAChD,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkET,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,SAAS,CAoEvD"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// ------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
// </auto-generated>
|
|
6
|
+
// ------------------------------------------------------------------------------
|
|
7
|
+
// #region Imports
|
|
8
|
+
import { css } from '../../../../../Dom/Css';
|
|
9
|
+
// #endregion
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export function toastActionsElementJoyStyle() {
|
|
14
|
+
return css `
|
|
15
|
+
:host {
|
|
16
|
+
--toast-actions-font-family: unset;
|
|
17
|
+
--toast-actions-font-letter-spacing: unset;
|
|
18
|
+
--toast-actions-font-line-height: unset;
|
|
19
|
+
--toast-actions-font-size: unset;
|
|
20
|
+
--toast-actions-font-text-decoration: unset;
|
|
21
|
+
--toast-actions-font-text-transform: unset;
|
|
22
|
+
--toast-actions-font-weight: unset;
|
|
23
|
+
--toast-actions-gap: var(--joy-layout-space);
|
|
24
|
+
--toast-actions-padding-bottom: var(--joy-layout-space);
|
|
25
|
+
--toast-actions-padding-left: calc(var(--joy-layout-space) * 2);
|
|
26
|
+
--toast-actions-padding-right: calc(var(--joy-layout-space) * 2);
|
|
27
|
+
--toast-actions-padding-top: var(--joy-layout-space);
|
|
28
|
+
--toast-actions-shadow: unset unset unset unset unset;
|
|
29
|
+
--toast-actions-shadow-blur: unset;
|
|
30
|
+
--toast-actions-shadow-color: unset;
|
|
31
|
+
--toast-actions-shadow-offset-x: unset;
|
|
32
|
+
--toast-actions-shadow-offset-y: unset;
|
|
33
|
+
--toast-actions-shadow-spread: unset;
|
|
34
|
+
--toast-actions-transition-duration: unset;
|
|
35
|
+
--toast-actions-transition-mode: unset;
|
|
36
|
+
--toast-actions-transition-property: unset;
|
|
37
|
+
--toast-actions-translate: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
41
|
+
:host {
|
|
42
|
+
transition-duration: .01ms;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
display: block;
|
|
49
|
+
position: relative;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host *, :host :before, :host :after {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
background-repeat: no-repeat;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host :before, :host :after {
|
|
58
|
+
text-decoration: inherit;
|
|
59
|
+
vertical-align: inherit;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host([hidden]) {
|
|
63
|
+
display: none !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:host {
|
|
67
|
+
padding: var(--toast-actions-padding-top) var(--toast-actions-padding-right) var(--toast-actions-padding-bottom) var(--toast-actions-padding-left);
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: var(--toast-actions-gap);
|
|
71
|
+
flex-direction: row;
|
|
72
|
+
display: flex;
|
|
73
|
+
position: relative;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host [part="innerStack"] {
|
|
77
|
+
--stack-gap: var(--toast-actions-gap);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
`;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=ToastActionsElement.Joy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,2BAA2B;IACvC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkET,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,+BAA+B,IAAI,SAAS,CAoE3D"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// ------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
// </auto-generated>
|
|
6
|
+
// ------------------------------------------------------------------------------
|
|
7
|
+
// #region Imports
|
|
8
|
+
import { css } from '../../../../../Dom/Css';
|
|
9
|
+
// #endregion
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export function toastActionsElementMemphisStyle() {
|
|
14
|
+
return css `
|
|
15
|
+
:host {
|
|
16
|
+
--toast-actions-font-family: unset;
|
|
17
|
+
--toast-actions-font-letter-spacing: unset;
|
|
18
|
+
--toast-actions-font-line-height: unset;
|
|
19
|
+
--toast-actions-font-size: unset;
|
|
20
|
+
--toast-actions-font-text-decoration: unset;
|
|
21
|
+
--toast-actions-font-text-transform: unset;
|
|
22
|
+
--toast-actions-font-weight: unset;
|
|
23
|
+
--toast-actions-gap: var(--memphis-layout-space);
|
|
24
|
+
--toast-actions-padding-bottom: calc(var(--memphis-layout-space) * 2);
|
|
25
|
+
--toast-actions-padding-left: calc(var(--memphis-layout-space) * 2);
|
|
26
|
+
--toast-actions-padding-right: calc(var(--memphis-layout-space) * 2);
|
|
27
|
+
--toast-actions-padding-top: calc(var(--memphis-layout-space) * 2);
|
|
28
|
+
--toast-actions-shadow: unset unset unset unset unset;
|
|
29
|
+
--toast-actions-shadow-blur: unset;
|
|
30
|
+
--toast-actions-shadow-color: unset;
|
|
31
|
+
--toast-actions-shadow-offset-x: unset;
|
|
32
|
+
--toast-actions-shadow-offset-y: unset;
|
|
33
|
+
--toast-actions-shadow-spread: unset;
|
|
34
|
+
--toast-actions-transition-duration: unset;
|
|
35
|
+
--toast-actions-transition-mode: unset;
|
|
36
|
+
--toast-actions-transition-property: unset;
|
|
37
|
+
--toast-actions-translate: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
41
|
+
:host {
|
|
42
|
+
transition-duration: .01ms;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
display: block;
|
|
49
|
+
position: relative;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host *, :host :before, :host :after {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
background-repeat: no-repeat;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host :before, :host :after {
|
|
58
|
+
text-decoration: inherit;
|
|
59
|
+
vertical-align: inherit;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host([hidden]) {
|
|
63
|
+
display: none !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:host {
|
|
67
|
+
padding: var(--toast-actions-padding-top) var(--toast-actions-padding-right) var(--toast-actions-padding-bottom) var(--toast-actions-padding-left);
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: var(--toast-actions-gap);
|
|
71
|
+
flex-direction: row;
|
|
72
|
+
display: flex;
|
|
73
|
+
position: relative;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host [part="innerStack"] {
|
|
77
|
+
--stack-gap: var(--toast-actions-gap);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
`;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=ToastActionsElement.Memphis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastActionsElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,+BAA+B;IAC3C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkET,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { ISlottable } from '../../../Behaviors/Slottable';
|
|
2
|
+
import { CustomElement } from '../../Abstracts/CustomElement';
|
|
3
|
+
import type { IToastActionsElementProps } from './IToastActionsElementProps';
|
|
4
|
+
declare const ToastActionsElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor;
|
|
5
|
+
/**
|
|
6
|
+
* ToastActions - Container for action buttons within a toast.
|
|
7
|
+
*
|
|
8
|
+
* @description
|
|
9
|
+
* Hosts the action buttons that appear at the bottom of a toast.
|
|
10
|
+
* Place this element in the `actions` slot of `mosaik-toast`.
|
|
11
|
+
*
|
|
12
|
+
* @name ToastActions
|
|
13
|
+
* @element mosaik-toast-actions
|
|
14
|
+
* @category Overlays
|
|
15
|
+
*
|
|
16
|
+
* @slot - The default content slot for action buttons.
|
|
17
|
+
* @slot prefix - The prefix slot.
|
|
18
|
+
* @slot suffix - The suffix slot.
|
|
19
|
+
*
|
|
20
|
+
* @csspart innerStack - The innerStack part.
|
|
21
|
+
*
|
|
22
|
+
* @cssprop {String} --toast-actions-font-family - The actions font family CSS custom property.
|
|
23
|
+
* @cssprop {String} --toast-actions-font-letter-spacing - The actions font letter spacing CSS custom property.
|
|
24
|
+
* @cssprop {String} --toast-actions-font-line-height - The actions font line height CSS custom property.
|
|
25
|
+
* @cssprop {String} --toast-actions-font-size - The actions font size CSS custom property.
|
|
26
|
+
* @cssprop {String} --toast-actions-font-text-decoration - The actions font text decoration CSS custom property.
|
|
27
|
+
* @cssprop {String} --toast-actions-font-text-transform - The actions font text transform CSS custom property.
|
|
28
|
+
* @cssprop {String} --toast-actions-font-weight - The actions font weight CSS custom property.
|
|
29
|
+
* @cssprop {String} --toast-actions-gap - The actions gap CSS custom property.
|
|
30
|
+
* @cssprop {String} --toast-actions-padding-bottom - The actions padding bottom CSS custom property.
|
|
31
|
+
* @cssprop {String} --toast-actions-padding-left - The actions padding left CSS custom property.
|
|
32
|
+
* @cssprop {String} --toast-actions-padding-right - The actions padding right CSS custom property.
|
|
33
|
+
* @cssprop {String} --toast-actions-padding-top - The actions padding top CSS custom property.
|
|
34
|
+
* @cssprop {String} --toast-actions-shadow - The actions shadow CSS custom property.
|
|
35
|
+
* @cssprop {String} --toast-actions-shadow-blur - The actions shadow blur CSS custom property.
|
|
36
|
+
* @cssprop {String} --toast-actions-shadow-color - The actions shadow color CSS custom property.
|
|
37
|
+
* @cssprop {String} --toast-actions-shadow-offset-x - The actions shadow offset x CSS custom property.
|
|
38
|
+
* @cssprop {String} --toast-actions-shadow-offset-y - The actions shadow offset y CSS custom property.
|
|
39
|
+
* @cssprop {String} --toast-actions-shadow-spread - The actions shadow spread CSS custom property.
|
|
40
|
+
* @cssprop {String} --toast-actions-transition-duration - The actions transition duration CSS custom property.
|
|
41
|
+
* @cssprop {String} --toast-actions-transition-mode - The actions transition mode CSS custom property.
|
|
42
|
+
* @cssprop {String} --toast-actions-transition-property - The actions transition property CSS custom property.
|
|
43
|
+
* @cssprop {String} --toast-actions-translate - The actions translate CSS custom property.
|
|
44
|
+
*
|
|
45
|
+
* @dependency mosaik-stack - The Stack element.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* Toast actions with two buttons:
|
|
49
|
+
* ```html
|
|
50
|
+
* <mosaik-toast-actions slot="actions">
|
|
51
|
+
* <mosaik-button><span slot="label">Cancel</span></mosaik-button>
|
|
52
|
+
* <mosaik-button variant="primary"><span slot="label">Confirm</span></mosaik-button>
|
|
53
|
+
* </mosaik-toast-actions>
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class ToastActionsElement extends ToastActionsElement_base implements IToastActionsElementProps, ISlottable {
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
constructor();
|
|
63
|
+
/**
|
|
64
|
+
* Returns the `is` property.
|
|
65
|
+
* The `is` property represents natural name of this element.
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
* @static
|
|
69
|
+
* @readonly
|
|
70
|
+
*/
|
|
71
|
+
static get is(): string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare namespace ToastActionsElement {
|
|
77
|
+
type Props = IToastActionsElementProps;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
declare global {
|
|
83
|
+
interface HTMLElementTagNameMap {
|
|
84
|
+
'mosaik-toast-actions': ToastActionsElement;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
export {};
|
|
88
|
+
//# sourceMappingURL=ToastActionsElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/ToastActionsElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAa,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;;AAQ7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBAea,mBACT,SAAQ,wBACR,YAAW,yBAAyB,EAAE,UAAU;IAIhD;;OAEG;;IASH;;;;;;;OAOG;IACH,WAAkB,EAAE,IAAI,MAAM,CAE7B;CAIJ;AAED;;EAEE;AACF,yBAAiB,mBAAmB,CAAC;IACjC,KAAY,KAAK,GAAG,yBAAyB,CAAC;CACjD;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,sBAAsB,EAAE,mBAAmB,CAAC;KAC/C;CACJ"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// #region Imports
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
import { Slottable } from '../../../Behaviors/Slottable';
|
|
12
|
+
import { Component } from '../../../Decorators/ComponentDecorator';
|
|
13
|
+
import { CustomElement } from '../../Abstracts/CustomElement';
|
|
14
|
+
import { StackElement } from '../../Layouts/Stack/StackElement';
|
|
15
|
+
import { toastActionsElementTemplate } from './ToastActionsElementTemplate';
|
|
16
|
+
import { toastActionsElementJoyStyle } from './Themes/ToastActionsElement.Joy';
|
|
17
|
+
import { toastActionsElementMemphisStyle } from './Themes/ToastActionsElement.Memphis';
|
|
18
|
+
import { toastActionsElementCosmopolitanStyle } from './Themes/ToastActionsElement.Cosmopolitan';
|
|
19
|
+
import { Themeable } from '../../../Behaviors/Themeable';
|
|
20
|
+
// #endregion
|
|
21
|
+
/**
|
|
22
|
+
* ToastActions - Container for action buttons within a toast.
|
|
23
|
+
*
|
|
24
|
+
* @description
|
|
25
|
+
* Hosts the action buttons that appear at the bottom of a toast.
|
|
26
|
+
* Place this element in the `actions` slot of `mosaik-toast`.
|
|
27
|
+
*
|
|
28
|
+
* @name ToastActions
|
|
29
|
+
* @element mosaik-toast-actions
|
|
30
|
+
* @category Overlays
|
|
31
|
+
*
|
|
32
|
+
* @slot - The default content slot for action buttons.
|
|
33
|
+
* @slot prefix - The prefix slot.
|
|
34
|
+
* @slot suffix - The suffix slot.
|
|
35
|
+
*
|
|
36
|
+
* @csspart innerStack - The innerStack part.
|
|
37
|
+
*
|
|
38
|
+
* @cssprop {String} --toast-actions-font-family - The actions font family CSS custom property.
|
|
39
|
+
* @cssprop {String} --toast-actions-font-letter-spacing - The actions font letter spacing CSS custom property.
|
|
40
|
+
* @cssprop {String} --toast-actions-font-line-height - The actions font line height CSS custom property.
|
|
41
|
+
* @cssprop {String} --toast-actions-font-size - The actions font size CSS custom property.
|
|
42
|
+
* @cssprop {String} --toast-actions-font-text-decoration - The actions font text decoration CSS custom property.
|
|
43
|
+
* @cssprop {String} --toast-actions-font-text-transform - The actions font text transform CSS custom property.
|
|
44
|
+
* @cssprop {String} --toast-actions-font-weight - The actions font weight CSS custom property.
|
|
45
|
+
* @cssprop {String} --toast-actions-gap - The actions gap CSS custom property.
|
|
46
|
+
* @cssprop {String} --toast-actions-padding-bottom - The actions padding bottom CSS custom property.
|
|
47
|
+
* @cssprop {String} --toast-actions-padding-left - The actions padding left CSS custom property.
|
|
48
|
+
* @cssprop {String} --toast-actions-padding-right - The actions padding right CSS custom property.
|
|
49
|
+
* @cssprop {String} --toast-actions-padding-top - The actions padding top CSS custom property.
|
|
50
|
+
* @cssprop {String} --toast-actions-shadow - The actions shadow CSS custom property.
|
|
51
|
+
* @cssprop {String} --toast-actions-shadow-blur - The actions shadow blur CSS custom property.
|
|
52
|
+
* @cssprop {String} --toast-actions-shadow-color - The actions shadow color CSS custom property.
|
|
53
|
+
* @cssprop {String} --toast-actions-shadow-offset-x - The actions shadow offset x CSS custom property.
|
|
54
|
+
* @cssprop {String} --toast-actions-shadow-offset-y - The actions shadow offset y CSS custom property.
|
|
55
|
+
* @cssprop {String} --toast-actions-shadow-spread - The actions shadow spread CSS custom property.
|
|
56
|
+
* @cssprop {String} --toast-actions-transition-duration - The actions transition duration CSS custom property.
|
|
57
|
+
* @cssprop {String} --toast-actions-transition-mode - The actions transition mode CSS custom property.
|
|
58
|
+
* @cssprop {String} --toast-actions-transition-property - The actions transition property CSS custom property.
|
|
59
|
+
* @cssprop {String} --toast-actions-translate - The actions translate CSS custom property.
|
|
60
|
+
*
|
|
61
|
+
* @dependency mosaik-stack - The Stack element.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* Toast actions with two buttons:
|
|
65
|
+
* ```html
|
|
66
|
+
* <mosaik-toast-actions slot="actions">
|
|
67
|
+
* <mosaik-button><span slot="label">Cancel</span></mosaik-button>
|
|
68
|
+
* <mosaik-button variant="primary"><span slot="label">Confirm</span></mosaik-button>
|
|
69
|
+
* </mosaik-toast-actions>
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
let ToastActionsElement = class ToastActionsElement extends Themeable(Slottable(CustomElement)) {
|
|
75
|
+
// #region Ctor
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor() {
|
|
80
|
+
super();
|
|
81
|
+
}
|
|
82
|
+
// #endregion
|
|
83
|
+
// #region Properties
|
|
84
|
+
/**
|
|
85
|
+
* Returns the `is` property.
|
|
86
|
+
* The `is` property represents natural name of this element.
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
* @static
|
|
90
|
+
* @readonly
|
|
91
|
+
*/
|
|
92
|
+
static get is() {
|
|
93
|
+
return 'mosaik-toast-actions';
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
ToastActionsElement = __decorate([
|
|
97
|
+
Component({
|
|
98
|
+
selector: 'mosaik-toast-actions',
|
|
99
|
+
template: toastActionsElementTemplate,
|
|
100
|
+
themes: {
|
|
101
|
+
joy: toastActionsElementJoyStyle,
|
|
102
|
+
memphis: toastActionsElementMemphisStyle,
|
|
103
|
+
cosmopolitan: toastActionsElementCosmopolitanStyle
|
|
104
|
+
},
|
|
105
|
+
host: {
|
|
106
|
+
slot: 'actions'
|
|
107
|
+
},
|
|
108
|
+
imports: [
|
|
109
|
+
StackElement
|
|
110
|
+
]
|
|
111
|
+
}),
|
|
112
|
+
__metadata("design:paramtypes", [])
|
|
113
|
+
], ToastActionsElement);
|
|
114
|
+
export { ToastActionsElement };
|
|
115
|
+
//# sourceMappingURL=ToastActionsElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/ToastActionsElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAc,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,aAAa;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAgBI,IAAM,mBAAmB,GAAzB,MAAM,mBACT,SAAQ,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IAG3C,eAAe;IAEf;;OAEG;IACH;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IAED,aAAa;IAEb,qBAAqB;IAErB;;;;;;;OAOG;IACI,MAAM,KAAK,EAAE;QAChB,OAAO,sBAAsB,CAAC;IAClC,CAAC;CAIJ,CAAA;AA/BY,mBAAmB;IAf/B,SAAS,CAAC;QACP,QAAQ,EAAE,sBAAsB;QAChC,QAAQ,EAAE,2BAA2B;QACrC,MAAM,EAAE;YACJ,GAAG,EAAE,2BAA2B;YAChC,OAAO,EAAE,+BAA+B;YACxC,YAAY,EAAE,oCAAoC;SACrD;QACD,IAAI,EAAE;YACF,IAAI,EAAE,SAAS;SAClB;QACD,OAAO,EAAE;YACL,YAAY;SACf;KACJ,CAAC;;GACW,mBAAmB,CA+B/B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type TemplateResult } from '../../../../Dom/Html';
|
|
2
|
+
import type { ToastActionsElement } from './ToastActionsElement';
|
|
3
|
+
/**
|
|
4
|
+
* The template of the `ToastActionsElement`.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare function toastActionsElementTemplate<T extends ToastActionsElement>(e: T): TemplateResult;
|
|
9
|
+
//# sourceMappingURL=ToastActionsElementTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElementTemplate.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/ToastActionsElementTemplate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAIjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAIjE;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,mBAAmB,EAAE,CAAC,EAAE,CAAC,GAAG,cAAc,CAuB/F"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// #region Imports
|
|
2
|
+
import { html } from '../../../../Dom/Html';
|
|
3
|
+
import { HorizontalAlignment } from '../../../Types/HorizontalAlignment';
|
|
4
|
+
import { Orientation } from '../../../Types/Orientation';
|
|
5
|
+
import { VerticalAlignment } from '../../../Types/VerticalAlignment';
|
|
6
|
+
// #endregion
|
|
7
|
+
/**
|
|
8
|
+
* The template of the `ToastActionsElement`.
|
|
9
|
+
*
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export function toastActionsElementTemplate(e) {
|
|
13
|
+
return html `
|
|
14
|
+
<mosaik-stack part="innerStack" .orientation="${Orientation.Horizontal}"
|
|
15
|
+
.verticalAlignment="${VerticalAlignment.Center}"
|
|
16
|
+
.dir="${e.dir}"
|
|
17
|
+
?hidden="${!e.hasSlotContent('prefix')}">
|
|
18
|
+
<slot name="prefix"></slot>
|
|
19
|
+
</mosaik-stack>
|
|
20
|
+
<mosaik-stack part="innerStack" style="flex: 1;"
|
|
21
|
+
.orientation="${Orientation.Horizontal}"
|
|
22
|
+
.verticalAlignment="${VerticalAlignment.Center}"
|
|
23
|
+
.horizontalAlignment="${HorizontalAlignment.Right}"
|
|
24
|
+
.dir="${e.dir}"
|
|
25
|
+
?hidden="${!e.hasSlotContent('')}">
|
|
26
|
+
<slot></slot>
|
|
27
|
+
</mosaik-stack>
|
|
28
|
+
<mosaik-stack part="innerStack" .orientation="${Orientation.Horizontal}"
|
|
29
|
+
.verticalAlignment="${VerticalAlignment.Center}"
|
|
30
|
+
.dir="${e.dir}"
|
|
31
|
+
?hidden="${!e.hasSlotContent('suffix')}">
|
|
32
|
+
<slot name="suffix"></slot>
|
|
33
|
+
</mosaik-stack>
|
|
34
|
+
`;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=ToastActionsElementTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastActionsElementTemplate.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/ToastActionsElementTemplate.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAAuB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAGrE,aAAa;AAEb;;;;GAIG;AACH,MAAM,UAAU,2BAA2B,CAAgC,CAAI;IAC3E,OAAO,IAAI,CAAA;wDACyC,WAAW,CAAC,UAAU;4CAClC,iBAAiB,CAAC,MAAM;8BACtC,CAAC,CAAC,GAAG;iCACF,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC;;;;sCAItB,WAAW,CAAC,UAAU;4CAChB,iBAAiB,CAAC,MAAM;8CACtB,mBAAmB,CAAC,KAAK;8BACzC,CAAC,CAAC,GAAG;iCACF,CAAC,CAAC,CAAC,cAAc,CAAC,EAAE,CAAC;;;wDAGE,WAAW,CAAC,UAAU;4CAClC,iBAAiB,CAAC,MAAM;8BACtC,CAAC,CAAC,GAAG;iCACF,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC;;;KAGvD,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/ToastElement.ts"],"names":[],"mappings":"AAKA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAS7E,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAM7D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ToastElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/ToastElement.ts"],"names":[],"mappings":"AAKA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAS7E,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAM7D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;;AAM/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,qBAiBa,YACT,SAAQ,iBACR,YAAW,kBAAkB,EAAE,WAAW;IAI1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAQ;IAC/B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,SAAS,CAAgB;IACjC,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,cAAc,CAAmB;IACzC,OAAO,CAAC,sBAAsB,CAAoC;IAClE,OAAO,CAAC,qBAAqB,CAAoC;IAMjE;;OAEG;;IAsBH;;;;;;;OAOG;IACH,WAAkB,EAAE,IAAI,MAAM,CAE7B;IAED;;;;OAIG;IACH,IACW,MAAM,IAAI,MAAM,CAE1B;IAED,IAAW,MAAM,CAAC,KAAK,EAAE,MAAM,EAK9B;IAED;;;;OAIG;IACH,IACW,OAAO,IAAI,MAAM,CAE3B;IAED,IAAW,OAAO,CAAC,KAAK,EAAE,MAAM,EAK/B;IAED;;;;;;OAMG;IACH,IACW,OAAO,IAAI,MAAM,CAE3B;IAED,IAAW,OAAO,CAAC,KAAK,EAAE,MAAM,EAM/B;IAED;;;;;OAKG;IACH,IACW,QAAQ,IAAI,aAAa,CAEnC;IAED,IAAW,QAAQ,CAAC,KAAK,EAAE,aAAa,EAKvC;IAED;;;;;OAKG;IACH,IAIW,YAAY,IAAI,OAAO,CAEjC;IACD,IAAW,YAAY,CAAC,KAAK,EAAE,OAAO,EAKrC;IAED;;;;;;;OAOG;IACH,IAAoB,eAAe,IAAI,WAAW,CAEjD;IAMD;;;;;OAKG;IAEH,SAAS,CAAC,uBAAuB,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI;IAcrE;;;;;OAKG;IACmB,KAAK,IAAI,OAAO,CAAC,OAAO,CAAC;IAI/C;;;OAGG;IACa,iBAAiB,IAAI,IAAI;IAKzC;;;OAGG;IACa,oBAAoB,IAAI,IAAI;IAM5C;;;OAGG;cACgB,eAAe,IAAI,IAAI;IAc1C;;;;;;OAMG;IACI,UAAU,IAAI,IAAI;IAMzB;;OAEG;IAEH,SAAS,CAAC,6BAA6B,IAAI,IAAI;IAQ/C;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAwB1B;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAI1B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;CAS9B;AAED;;EAEE;AACF,yBAAiB,YAAY,CAAC;IAC1B,KAAY,KAAK,GAAG,kBAAkB,CAAC;CAC1C;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IAEX,UAAU,qBAAqB;QAE3B,cAAc,EAAE,YAAY,CAAC;KAChC;CACJ"}
|
|
@@ -27,6 +27,7 @@ import { BackdropElement } from '../../Primitives/Backdrop/BackdropElement';
|
|
|
27
27
|
import { TextElement } from '../../Primitives/Text/TextElement';
|
|
28
28
|
import { ProgressRingElement } from '../../Ranges/ProgressRing/ProgressRingElement';
|
|
29
29
|
import { OverlayElement } from '../Abstracts/OverlayElement';
|
|
30
|
+
import { ToastActionsElement } from './ToastActionsElement';
|
|
30
31
|
import { toastElementCosmopolitanStyle } from './Themes/ToastElement.Cosmopolitan';
|
|
31
32
|
import { toastElementJoyStyle } from './Themes/ToastElement.Joy';
|
|
32
33
|
import { toastElementMemphisStyle } from './Themes/ToastElement.Memphis';
|
|
@@ -426,7 +427,8 @@ ToastElement = __decorate([
|
|
|
426
427
|
ProgressRingElement,
|
|
427
428
|
StackElement,
|
|
428
429
|
BackdropElement,
|
|
429
|
-
ButtonElement
|
|
430
|
+
ButtonElement,
|
|
431
|
+
ToastActionsElement
|
|
430
432
|
]
|
|
431
433
|
}),
|
|
432
434
|
__metadata("design:paramtypes", [])
|