@breadstone/mosaik-elements-foundation 0.1.27 → 0.1.30
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/Themes/ToastElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Cosmopolitan.js +55 -6
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Joy.js +55 -6
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Joy.js.map +1 -1
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Memphis.js +55 -6
- package/Controls/Components/Overlays/Toast/Themes/ToastElement.Memphis.js.map +1 -1
- 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 +1 -0
- package/Controls/Components/Overlays/Toast/ToastElement.d.ts.map +1 -1
- package/Controls/Components/Overlays/Toast/ToastElement.js +5 -2
- package/Controls/Components/Overlays/Toast/ToastElement.js.map +1 -1
- package/Controls/Types/ToastPosition.d.ts +28 -4
- package/Controls/Types/ToastPosition.d.ts.map +1 -1
- package/Controls/Types/ToastPosition.js +29 -5
- package/Controls/Types/ToastPosition.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 +517 -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"ToastElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,CAuNzD"}
|
|
@@ -28,6 +28,7 @@ export function toastElementCosmopolitanStyle() {
|
|
|
28
28
|
--toast-font-weight: unset;
|
|
29
29
|
--toast-foreground-color: unset;
|
|
30
30
|
--toast-gap: unset;
|
|
31
|
+
--toast-offset-x: unset;
|
|
31
32
|
--toast-offset-y: unset;
|
|
32
33
|
--toast-padding-bottom: unset;
|
|
33
34
|
--toast-padding-left: unset;
|
|
@@ -157,24 +158,72 @@ export function toastElementCosmopolitanStyle() {
|
|
|
157
158
|
pointer-events: none;
|
|
158
159
|
}
|
|
159
160
|
|
|
160
|
-
:host([position="
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
:host([position="top"]) [part="root"] {
|
|
162
|
+
bottom: unset;
|
|
163
|
+
top: var(--toast-offset-y);
|
|
164
|
+
left: 50%;
|
|
163
165
|
translate: -50%;
|
|
164
166
|
}
|
|
165
167
|
|
|
166
|
-
:host([position="
|
|
168
|
+
:host([position="top-left"]) [part="root"] {
|
|
169
|
+
bottom: unset;
|
|
170
|
+
top: var(--toast-offset-y);
|
|
171
|
+
left: var(--toast-offset-x);
|
|
172
|
+
translate: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:host([position="top-right"]) [part="root"] {
|
|
176
|
+
bottom: unset;
|
|
177
|
+
top: var(--toast-offset-y);
|
|
178
|
+
left: unset;
|
|
179
|
+
right: var(--toast-offset-x);
|
|
180
|
+
translate: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
:host([position="left"]) [part="root"] {
|
|
184
|
+
top: 50%;
|
|
185
|
+
bottom: unset;
|
|
186
|
+
left: var(--toast-offset-x);
|
|
187
|
+
translate: 0 -50%;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
:host([position="center"]) [part="root"] {
|
|
167
191
|
top: 50%;
|
|
168
192
|
bottom: unset;
|
|
193
|
+
left: 50%;
|
|
169
194
|
translate: -50% -50%;
|
|
170
195
|
}
|
|
171
196
|
|
|
172
|
-
:host([position="
|
|
197
|
+
:host([position="right"]) [part="root"] {
|
|
198
|
+
top: 50%;
|
|
173
199
|
bottom: unset;
|
|
174
|
-
|
|
200
|
+
left: unset;
|
|
201
|
+
right: var(--toast-offset-x);
|
|
202
|
+
translate: 0 -50%;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:host([position="bottom"]) [part="root"] {
|
|
206
|
+
top: unset;
|
|
207
|
+
bottom: var(--toast-offset-y);
|
|
208
|
+
left: 50%;
|
|
175
209
|
translate: -50%;
|
|
176
210
|
}
|
|
177
211
|
|
|
212
|
+
:host([position="bottom-left"]) [part="root"] {
|
|
213
|
+
top: unset;
|
|
214
|
+
bottom: var(--toast-offset-y);
|
|
215
|
+
left: var(--toast-offset-x);
|
|
216
|
+
translate: 0;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
:host([position="bottom-right"]) [part="root"] {
|
|
220
|
+
top: unset;
|
|
221
|
+
bottom: var(--toast-offset-y);
|
|
222
|
+
left: unset;
|
|
223
|
+
right: var(--toast-offset-x);
|
|
224
|
+
translate: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
178
227
|
`;
|
|
179
228
|
}
|
|
180
229
|
//# sourceMappingURL=ToastElement.Cosmopolitan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.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,6BAA6B;IACzC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ToastElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.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,6BAA6B;IACzC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqNT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"ToastElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,SAAS,CAwQhD"}
|
|
@@ -28,6 +28,7 @@ export function toastElementJoyStyle() {
|
|
|
28
28
|
--toast-font-weight: var(--joy-typography-body1-font-weight);
|
|
29
29
|
--toast-foreground-color: var(--joy-scheme-foreground);
|
|
30
30
|
--toast-gap: var(--joy-layout-space);
|
|
31
|
+
--toast-offset-x: var(--joy-layout-space);
|
|
31
32
|
--toast-offset-y: var(--joy-layout-space);
|
|
32
33
|
--toast-padding-bottom: var(--joy-layout-space);
|
|
33
34
|
--toast-padding-left: calc(var(--joy-layout-space) * 2);
|
|
@@ -157,24 +158,72 @@ export function toastElementJoyStyle() {
|
|
|
157
158
|
pointer-events: none;
|
|
158
159
|
}
|
|
159
160
|
|
|
160
|
-
:host([position="
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
:host([position="top"]) [part="root"] {
|
|
162
|
+
bottom: unset;
|
|
163
|
+
top: var(--toast-offset-y);
|
|
164
|
+
left: 50%;
|
|
163
165
|
translate: -50%;
|
|
164
166
|
}
|
|
165
167
|
|
|
166
|
-
:host([position="
|
|
168
|
+
:host([position="top-left"]) [part="root"] {
|
|
169
|
+
bottom: unset;
|
|
170
|
+
top: var(--toast-offset-y);
|
|
171
|
+
left: var(--toast-offset-x);
|
|
172
|
+
translate: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:host([position="top-right"]) [part="root"] {
|
|
176
|
+
bottom: unset;
|
|
177
|
+
top: var(--toast-offset-y);
|
|
178
|
+
left: unset;
|
|
179
|
+
right: var(--toast-offset-x);
|
|
180
|
+
translate: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
:host([position="left"]) [part="root"] {
|
|
184
|
+
top: 50%;
|
|
185
|
+
bottom: unset;
|
|
186
|
+
left: var(--toast-offset-x);
|
|
187
|
+
translate: 0 -50%;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
:host([position="center"]) [part="root"] {
|
|
167
191
|
top: 50%;
|
|
168
192
|
bottom: unset;
|
|
193
|
+
left: 50%;
|
|
169
194
|
translate: -50% -50%;
|
|
170
195
|
}
|
|
171
196
|
|
|
172
|
-
:host([position="
|
|
197
|
+
:host([position="right"]) [part="root"] {
|
|
198
|
+
top: 50%;
|
|
173
199
|
bottom: unset;
|
|
174
|
-
|
|
200
|
+
left: unset;
|
|
201
|
+
right: var(--toast-offset-x);
|
|
202
|
+
translate: 0 -50%;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:host([position="bottom"]) [part="root"] {
|
|
206
|
+
top: unset;
|
|
207
|
+
bottom: var(--toast-offset-y);
|
|
208
|
+
left: 50%;
|
|
175
209
|
translate: -50%;
|
|
176
210
|
}
|
|
177
211
|
|
|
212
|
+
:host([position="bottom-left"]) [part="root"] {
|
|
213
|
+
top: unset;
|
|
214
|
+
bottom: var(--toast-offset-y);
|
|
215
|
+
left: var(--toast-offset-x);
|
|
216
|
+
translate: 0;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
:host([position="bottom-right"]) [part="root"] {
|
|
220
|
+
top: unset;
|
|
221
|
+
bottom: var(--toast-offset-y);
|
|
222
|
+
left: unset;
|
|
223
|
+
right: var(--toast-offset-x);
|
|
224
|
+
translate: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
178
227
|
:host [part="root"] {
|
|
179
228
|
padding: calc(var(--joy-layout-space) * 2) calc(var(--joy-layout-space) * 3);
|
|
180
229
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.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,oBAAoB;IAChC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ToastElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.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,oBAAoB;IAChC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsQT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"ToastElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,SAAS,CAuNpD"}
|
|
@@ -28,6 +28,7 @@ export function toastElementMemphisStyle() {
|
|
|
28
28
|
--toast-font-weight: var(--memphis-typography-body2-font-weight);
|
|
29
29
|
--toast-foreground-color: var(--memphis-scheme-foreground);
|
|
30
30
|
--toast-gap: var(--memphis-layout-space);
|
|
31
|
+
--toast-offset-x: var(--memphis-layout-space);
|
|
31
32
|
--toast-offset-y: var(--memphis-layout-space);
|
|
32
33
|
--toast-padding-bottom: calc(var(--memphis-layout-space) * 1.2);
|
|
33
34
|
--toast-padding-left: calc(var(--memphis-layout-space) * 2.4);
|
|
@@ -157,24 +158,72 @@ export function toastElementMemphisStyle() {
|
|
|
157
158
|
pointer-events: none;
|
|
158
159
|
}
|
|
159
160
|
|
|
160
|
-
:host([position="
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
:host([position="top"]) [part="root"] {
|
|
162
|
+
bottom: unset;
|
|
163
|
+
top: var(--toast-offset-y);
|
|
164
|
+
left: 50%;
|
|
163
165
|
translate: -50%;
|
|
164
166
|
}
|
|
165
167
|
|
|
166
|
-
:host([position="
|
|
168
|
+
:host([position="top-left"]) [part="root"] {
|
|
169
|
+
bottom: unset;
|
|
170
|
+
top: var(--toast-offset-y);
|
|
171
|
+
left: var(--toast-offset-x);
|
|
172
|
+
translate: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:host([position="top-right"]) [part="root"] {
|
|
176
|
+
bottom: unset;
|
|
177
|
+
top: var(--toast-offset-y);
|
|
178
|
+
left: unset;
|
|
179
|
+
right: var(--toast-offset-x);
|
|
180
|
+
translate: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
:host([position="left"]) [part="root"] {
|
|
184
|
+
top: 50%;
|
|
185
|
+
bottom: unset;
|
|
186
|
+
left: var(--toast-offset-x);
|
|
187
|
+
translate: 0 -50%;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
:host([position="center"]) [part="root"] {
|
|
167
191
|
top: 50%;
|
|
168
192
|
bottom: unset;
|
|
193
|
+
left: 50%;
|
|
169
194
|
translate: -50% -50%;
|
|
170
195
|
}
|
|
171
196
|
|
|
172
|
-
:host([position="
|
|
197
|
+
:host([position="right"]) [part="root"] {
|
|
198
|
+
top: 50%;
|
|
173
199
|
bottom: unset;
|
|
174
|
-
|
|
200
|
+
left: unset;
|
|
201
|
+
right: var(--toast-offset-x);
|
|
202
|
+
translate: 0 -50%;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:host([position="bottom"]) [part="root"] {
|
|
206
|
+
top: unset;
|
|
207
|
+
bottom: var(--toast-offset-y);
|
|
208
|
+
left: 50%;
|
|
175
209
|
translate: -50%;
|
|
176
210
|
}
|
|
177
211
|
|
|
212
|
+
:host([position="bottom-left"]) [part="root"] {
|
|
213
|
+
top: unset;
|
|
214
|
+
bottom: var(--toast-offset-y);
|
|
215
|
+
left: var(--toast-offset-x);
|
|
216
|
+
translate: 0;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
:host([position="bottom-right"]) [part="root"] {
|
|
220
|
+
top: unset;
|
|
221
|
+
bottom: var(--toast-offset-y);
|
|
222
|
+
left: unset;
|
|
223
|
+
right: var(--toast-offset-x);
|
|
224
|
+
translate: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
178
227
|
`;
|
|
179
228
|
}
|
|
180
229
|
//# sourceMappingURL=ToastElement.Memphis.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.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,wBAAwB;IACpC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ToastElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Toast/Themes/ToastElement.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,wBAAwB;IACpC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqNT,CAAC;AACN,CAAC"}
|