@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,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"}
|
|
@@ -44,6 +44,7 @@ declare const ToastElement_base: (abstract new (...args: Array<any>) => import("
|
|
|
44
44
|
* @cssprop {String} --toast-padding-right - The padding right CSS custom property.
|
|
45
45
|
* @cssprop {String} --toast-padding-top - The padding top CSS custom property.
|
|
46
46
|
* @cssprop {String} --toast-offset-y - The vertical edge offset used for top and bottom positions.
|
|
47
|
+
* @cssprop {String} --toast-offset-x - The horizontal edge offset used for left, right, and corner positions.
|
|
47
48
|
* @cssprop {String} --toast-progress-fill-color - The progress fill bar color CSS custom property.
|
|
48
49
|
* @cssprop {String} --toast-progress-ring-fill-color - The progress ring fill color CSS custom property.
|
|
49
50
|
* @cssprop {String} --toast-shadow - The shadow CSS custom property.
|
|
@@ -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":"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,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';
|
|
@@ -72,6 +73,7 @@ import { toastElementTemplate } from './ToastElementTemplate';
|
|
|
72
73
|
* @cssprop {String} --toast-padding-right - The padding right CSS custom property.
|
|
73
74
|
* @cssprop {String} --toast-padding-top - The padding top CSS custom property.
|
|
74
75
|
* @cssprop {String} --toast-offset-y - The vertical edge offset used for top and bottom positions.
|
|
76
|
+
* @cssprop {String} --toast-offset-x - The horizontal edge offset used for left, right, and corner positions.
|
|
75
77
|
* @cssprop {String} --toast-progress-fill-color - The progress fill bar color CSS custom property.
|
|
76
78
|
* @cssprop {String} --toast-progress-ring-fill-color - The progress ring fill color CSS custom property.
|
|
77
79
|
* @cssprop {String} --toast-shadow - The shadow CSS custom property.
|
|
@@ -127,7 +129,7 @@ let ToastElement = class ToastElement extends Themeable(Animatable(Variantable(T
|
|
|
127
129
|
this._header = '';
|
|
128
130
|
this._content = '';
|
|
129
131
|
this._timeout = 0;
|
|
130
|
-
this._position = ToastPosition.
|
|
132
|
+
this._position = ToastPosition.Center;
|
|
131
133
|
this._showProgress = false;
|
|
132
134
|
this._fillElement = null;
|
|
133
135
|
this._fillAnimation = null;
|
|
@@ -426,7 +428,8 @@ ToastElement = __decorate([
|
|
|
426
428
|
ProgressRingElement,
|
|
427
429
|
StackElement,
|
|
428
430
|
BackdropElement,
|
|
429
|
-
ButtonElement
|
|
431
|
+
ButtonElement,
|
|
432
|
+
ToastActionsElement
|
|
430
433
|
]
|
|
431
434
|
}),
|
|
432
435
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Toast/ToastElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,EAAE,EAAmC,MAAM,6BAA6B,CA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B,MAAM,EAAE;YACJ,GAAG,EAAE,oBAAoB;YACzB,OAAO,EAAE,wBAAwB;YACjC,YAAY,EAAE,6BAA6B;SAC9C;QACD,OAAO,EAAE;YACL,WAAW;YACX,mBAAmB;YACnB,YAAY;YACZ,eAAe;YACf,aAAa;YACb,mBAAmB;SACtB;KACJ,CAAC;;GACW,YAAY,CA+TxB"}
|
|
@@ -6,17 +6,41 @@ import type { ValuesOf } from '../../Types/ValuesOf';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const ToastPosition: {
|
|
8
8
|
/**
|
|
9
|
-
* `bottom` - Displays the toast at the bottom of a container.
|
|
9
|
+
* `bottom` - Displays the toast at the bottom center of a container.
|
|
10
10
|
*/
|
|
11
11
|
readonly Bottom: "bottom";
|
|
12
12
|
/**
|
|
13
|
-
* `
|
|
13
|
+
* `bottom-left` - Displays the toast at the bottom left of a container.
|
|
14
14
|
*/
|
|
15
|
-
readonly
|
|
15
|
+
readonly BottomLeft: "bottom-left";
|
|
16
16
|
/**
|
|
17
|
-
* `
|
|
17
|
+
* `bottom-right` - Displays the toast at the bottom right of a container.
|
|
18
|
+
*/
|
|
19
|
+
readonly BottomRight: "bottom-right";
|
|
20
|
+
/**
|
|
21
|
+
* `center` - Displays the toast at the center of a container.
|
|
22
|
+
*/
|
|
23
|
+
readonly Center: "center";
|
|
24
|
+
/**
|
|
25
|
+
* `left` - Displays the toast at the left center of a container.
|
|
26
|
+
*/
|
|
27
|
+
readonly Left: "left";
|
|
28
|
+
/**
|
|
29
|
+
* `right` - Displays the toast at the right center of a container.
|
|
30
|
+
*/
|
|
31
|
+
readonly Right: "right";
|
|
32
|
+
/**
|
|
33
|
+
* `top` - Displays the toast at the top center of a container.
|
|
18
34
|
*/
|
|
19
35
|
readonly Top: "top";
|
|
36
|
+
/**
|
|
37
|
+
* `top-left` - Displays the toast at the top left of a container.
|
|
38
|
+
*/
|
|
39
|
+
readonly TopLeft: "top-left";
|
|
40
|
+
/**
|
|
41
|
+
* `top-right` - Displays the toast at the top right of a container.
|
|
42
|
+
*/
|
|
43
|
+
readonly TopRight: "top-right";
|
|
20
44
|
};
|
|
21
45
|
/**
|
|
22
46
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastPosition.d.ts","sourceRoot":"","sources":["../../../src/Controls/Types/ToastPosition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD;;;;GAIG;AACH,eAAO,MAAM,aAAa;IAEtB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CAEG,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ToastPosition.d.ts","sourceRoot":"","sources":["../../../src/Controls/Types/ToastPosition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD;;;;GAIG;AACH,eAAO,MAAM,aAAa;IAEtB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CAEG,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -7,16 +7,40 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export const ToastPosition = {
|
|
9
9
|
/**
|
|
10
|
-
* `bottom` - Displays the toast at the bottom of a container.
|
|
10
|
+
* `bottom` - Displays the toast at the bottom center of a container.
|
|
11
11
|
*/
|
|
12
12
|
Bottom: 'bottom',
|
|
13
13
|
/**
|
|
14
|
-
* `
|
|
14
|
+
* `bottom-left` - Displays the toast at the bottom left of a container.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
BottomLeft: 'bottom-left',
|
|
17
17
|
/**
|
|
18
|
-
* `
|
|
18
|
+
* `bottom-right` - Displays the toast at the bottom right of a container.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
BottomRight: 'bottom-right',
|
|
21
|
+
/**
|
|
22
|
+
* `center` - Displays the toast at the center of a container.
|
|
23
|
+
*/
|
|
24
|
+
Center: 'center',
|
|
25
|
+
/**
|
|
26
|
+
* `left` - Displays the toast at the left center of a container.
|
|
27
|
+
*/
|
|
28
|
+
Left: 'left',
|
|
29
|
+
/**
|
|
30
|
+
* `right` - Displays the toast at the right center of a container.
|
|
31
|
+
*/
|
|
32
|
+
Right: 'right',
|
|
33
|
+
/**
|
|
34
|
+
* `top` - Displays the toast at the top center of a container.
|
|
35
|
+
*/
|
|
36
|
+
Top: 'top',
|
|
37
|
+
/**
|
|
38
|
+
* `top-left` - Displays the toast at the top left of a container.
|
|
39
|
+
*/
|
|
40
|
+
TopLeft: 'top-left',
|
|
41
|
+
/**
|
|
42
|
+
* `top-right` - Displays the toast at the top right of a container.
|
|
43
|
+
*/
|
|
44
|
+
TopRight: 'top-right'
|
|
21
45
|
};
|
|
22
46
|
//# sourceMappingURL=ToastPosition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastPosition.js","sourceRoot":"","sources":["../../../src/Controls/Types/ToastPosition.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAIlB,aAAa;AAEb;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAEzB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,GAAG,EAAE,KAAK;
|
|
1
|
+
{"version":3,"file":"ToastPosition.js","sourceRoot":"","sources":["../../../src/Controls/Types/ToastPosition.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAIlB,aAAa;AAEb;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAEzB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,UAAU,EAAE,aAAa;IAEzB;;OAEG;IACH,WAAW,EAAE,cAAc;IAE3B;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,KAAK,EAAE,OAAO;IAEd;;OAEG;IACH,GAAG,EAAE,KAAK;IAEV;;OAEG;IACH,OAAO,EAAE,UAAU;IAEnB;;OAEG;IACH,QAAQ,EAAE,WAAW;CACf,CAAC"}
|
package/Index.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ export { SheetService } from './Controls/Components/Overlays/Sheet/SheetService'
|
|
|
292
292
|
export type { ISheetOptions, ISheetRef } from './Controls/Components/Overlays/Sheet/SheetService';
|
|
293
293
|
export { TOAST_SERVICE_DEFAULT_CONFIG } from './Controls/Components/Overlays/Toast/IToastServiceConfig';
|
|
294
294
|
export type { IToastBehavior, IToastServiceConfig } from './Controls/Components/Overlays/Toast/IToastServiceConfig';
|
|
295
|
+
export { ToastActionsElement } from './Controls/Components/Overlays/Toast/ToastActionsElement';
|
|
295
296
|
export { ToastElement } from './Controls/Components/Overlays/Toast/ToastElement';
|
|
296
297
|
export { Toast, ToastService } from './Controls/Components/Overlays/Toast/ToastService';
|
|
297
298
|
export type { IToastOptions, IToastRef } from './Controls/Components/Overlays/Toast/ToastService';
|