@breadstone/mosaik-elements-foundation 0.1.28 → 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.
@@ -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,CAsKzD"}
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="bottom"]) [part="root"] {
161
- top: unset;
162
- bottom: var(--toast-offset-y);
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="middle"]) [part="root"] {
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="top"]) [part="root"] {
197
+ :host([position="right"]) [part="root"] {
198
+ top: 50%;
173
199
  bottom: unset;
174
- top: var(--toast-offset-y);
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoKT,CAAC;AACN,CAAC"}
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,CAuNhD"}
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="bottom"]) [part="root"] {
161
- top: unset;
162
- bottom: var(--toast-offset-y);
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="middle"]) [part="root"] {
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="top"]) [part="root"] {
197
+ :host([position="right"]) [part="root"] {
198
+ top: 50%;
173
199
  bottom: unset;
174
- top: var(--toast-offset-y);
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqNT,CAAC;AACN,CAAC"}
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,CAsKpD"}
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="bottom"]) [part="root"] {
161
- top: unset;
162
- bottom: var(--toast-offset-y);
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="middle"]) [part="root"] {
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="top"]) [part="root"] {
197
+ :host([position="right"]) [part="root"] {
198
+ top: 50%;
173
199
  bottom: unset;
174
- top: var(--toast-offset-y);
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoKT,CAAC;AACN,CAAC"}
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"}
@@ -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;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;I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AK,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"}
@@ -73,6 +73,7 @@ import { toastElementTemplate } from './ToastElementTemplate';
73
73
  * @cssprop {String} --toast-padding-right - The padding right CSS custom property.
74
74
  * @cssprop {String} --toast-padding-top - The padding top CSS custom property.
75
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.
76
77
  * @cssprop {String} --toast-progress-fill-color - The progress fill bar color CSS custom property.
77
78
  * @cssprop {String} --toast-progress-ring-fill-color - The progress ring fill color CSS custom property.
78
79
  * @cssprop {String} --toast-shadow - The shadow CSS custom property.
@@ -128,7 +129,7 @@ let ToastElement = class ToastElement extends Themeable(Animatable(Variantable(T
128
129
  this._header = '';
129
130
  this._content = '';
130
131
  this._timeout = 0;
131
- this._position = ToastPosition.Middle;
132
+ this._position = ToastPosition.Center;
132
133
  this._showProgress = false;
133
134
  this._fillElement = null;
134
135
  this._fillAnimation = null;
@@ -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,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAoB,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,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,CAAC;QACP,QAAQ,EAAE,cAAc;QACxB,QAAQ,EAAE,oBAAoB;QAC9B,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
- * `middle` - Displays the toast at the middle of a container.
13
+ * `bottom-left` - Displays the toast at the bottom left of a container.
14
14
  */
15
- readonly Middle: "middle";
15
+ readonly BottomLeft: "bottom-left";
16
16
  /**
17
- * `top` - Displays the toast at the top of a container.
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
- * `middle` - Displays the toast at the middle of a container.
14
+ * `bottom-left` - Displays the toast at the bottom left of a container.
15
15
  */
16
- Middle: 'middle',
16
+ BottomLeft: 'bottom-left',
17
17
  /**
18
- * `top` - Displays the toast at the top of a container.
18
+ * `bottom-right` - Displays the toast at the bottom right of a container.
19
19
  */
20
- Top: 'top'
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;CACJ,CAAC"}
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"}
@@ -156681,6 +156681,11 @@
156681
156681
  "description": "The vertical edge offset used for top and bottom positions.",
156682
156682
  "type": "String"
156683
156683
  },
156684
+ {
156685
+ "name": "--toast-offset-x",
156686
+ "description": "The horizontal edge offset used for left, right, and corner positions.",
156687
+ "type": "String"
156688
+ },
156684
156689
  {
156685
156690
  "name": "--toast-progress-fill-color",
156686
156691
  "description": "The progress fill bar color CSS custom property.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-foundation",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "Mosaik elements components package.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -14,8 +14,8 @@
14
14
  "url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
15
15
  },
16
16
  "dependencies": {
17
- "@breadstone/mosaik-elements": "0.1.28",
18
- "@breadstone/mosaik-themes": "0.1.28",
17
+ "@breadstone/mosaik-elements": "0.1.30",
18
+ "@breadstone/mosaik-themes": "0.1.30",
19
19
  "tslib": "2.8.1"
20
20
  },
21
21
  "peerDependencies": {