@breadstone/mosaik-elements-svelte 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/index.mjs +174 -21
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.1.30 (2026-06-24)
2
+
3
+ This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
4
+
5
+ ## 0.1.29 (2026-06-24)
6
+
7
+ ### 🚀 Features
8
+
9
+ - **toast:** add new positions and action ([581725264f](https://github.com/RueDeRennes/mosaik/commit/581725264f))
10
+
1
11
  ## 0.1.28 (2026-06-24)
2
12
 
3
13
  ### 🚀 Features
package/index.mjs CHANGED
@@ -183955,8 +183955,14 @@ var C4 = class e {
183955
183955
  }
183956
183956
  }, w4 = {
183957
183957
  Bottom: "bottom",
183958
- Middle: "middle",
183959
- Top: "top"
183958
+ BottomLeft: "bottom-left",
183959
+ BottomRight: "bottom-right",
183960
+ Center: "center",
183961
+ Left: "left",
183962
+ Right: "right",
183963
+ Top: "top",
183964
+ TopLeft: "top-left",
183965
+ TopRight: "top-right"
183960
183966
  };
183961
183967
  //#endregion
183962
183968
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Overlays/Toast/Themes/ToastElement.Cosmopolitan.js
@@ -183978,6 +183984,7 @@ function Kye() {
183978
183984
  --toast-font-weight: unset;
183979
183985
  --toast-foreground-color: unset;
183980
183986
  --toast-gap: unset;
183987
+ --toast-offset-x: unset;
183981
183988
  --toast-offset-y: unset;
183982
183989
  --toast-padding-bottom: unset;
183983
183990
  --toast-padding-left: unset;
@@ -184107,24 +184114,72 @@ function Kye() {
184107
184114
  pointer-events: none;
184108
184115
  }
184109
184116
 
184110
- :host([position="bottom"]) [part="root"] {
184111
- top: unset;
184112
- bottom: var(--toast-offset-y);
184117
+ :host([position="top"]) [part="root"] {
184118
+ bottom: unset;
184119
+ top: var(--toast-offset-y);
184120
+ left: 50%;
184113
184121
  translate: -50%;
184114
184122
  }
184115
184123
 
184116
- :host([position="middle"]) [part="root"] {
184124
+ :host([position="top-left"]) [part="root"] {
184125
+ bottom: unset;
184126
+ top: var(--toast-offset-y);
184127
+ left: var(--toast-offset-x);
184128
+ translate: 0;
184129
+ }
184130
+
184131
+ :host([position="top-right"]) [part="root"] {
184132
+ bottom: unset;
184133
+ top: var(--toast-offset-y);
184134
+ left: unset;
184135
+ right: var(--toast-offset-x);
184136
+ translate: 0;
184137
+ }
184138
+
184139
+ :host([position="left"]) [part="root"] {
184117
184140
  top: 50%;
184118
184141
  bottom: unset;
184142
+ left: var(--toast-offset-x);
184143
+ translate: 0 -50%;
184144
+ }
184145
+
184146
+ :host([position="center"]) [part="root"] {
184147
+ top: 50%;
184148
+ bottom: unset;
184149
+ left: 50%;
184119
184150
  translate: -50% -50%;
184120
184151
  }
184121
184152
 
184122
- :host([position="top"]) [part="root"] {
184153
+ :host([position="right"]) [part="root"] {
184154
+ top: 50%;
184123
184155
  bottom: unset;
184124
- top: var(--toast-offset-y);
184156
+ left: unset;
184157
+ right: var(--toast-offset-x);
184158
+ translate: 0 -50%;
184159
+ }
184160
+
184161
+ :host([position="bottom"]) [part="root"] {
184162
+ top: unset;
184163
+ bottom: var(--toast-offset-y);
184164
+ left: 50%;
184125
184165
  translate: -50%;
184126
184166
  }
184127
184167
 
184168
+ :host([position="bottom-left"]) [part="root"] {
184169
+ top: unset;
184170
+ bottom: var(--toast-offset-y);
184171
+ left: var(--toast-offset-x);
184172
+ translate: 0;
184173
+ }
184174
+
184175
+ :host([position="bottom-right"]) [part="root"] {
184176
+ top: unset;
184177
+ bottom: var(--toast-offset-y);
184178
+ left: unset;
184179
+ right: var(--toast-offset-x);
184180
+ translate: 0;
184181
+ }
184182
+
184128
184183
  `;
184129
184184
  }
184130
184185
  //#endregion
@@ -184147,6 +184202,7 @@ function qye() {
184147
184202
  --toast-font-weight: var(--joy-typography-body1-font-weight);
184148
184203
  --toast-foreground-color: var(--joy-scheme-foreground);
184149
184204
  --toast-gap: var(--joy-layout-space);
184205
+ --toast-offset-x: var(--joy-layout-space);
184150
184206
  --toast-offset-y: var(--joy-layout-space);
184151
184207
  --toast-padding-bottom: var(--joy-layout-space);
184152
184208
  --toast-padding-left: calc(var(--joy-layout-space) * 2);
@@ -184276,24 +184332,72 @@ function qye() {
184276
184332
  pointer-events: none;
184277
184333
  }
184278
184334
 
184279
- :host([position="bottom"]) [part="root"] {
184280
- top: unset;
184281
- bottom: var(--toast-offset-y);
184335
+ :host([position="top"]) [part="root"] {
184336
+ bottom: unset;
184337
+ top: var(--toast-offset-y);
184338
+ left: 50%;
184282
184339
  translate: -50%;
184283
184340
  }
184284
184341
 
184285
- :host([position="middle"]) [part="root"] {
184342
+ :host([position="top-left"]) [part="root"] {
184343
+ bottom: unset;
184344
+ top: var(--toast-offset-y);
184345
+ left: var(--toast-offset-x);
184346
+ translate: 0;
184347
+ }
184348
+
184349
+ :host([position="top-right"]) [part="root"] {
184350
+ bottom: unset;
184351
+ top: var(--toast-offset-y);
184352
+ left: unset;
184353
+ right: var(--toast-offset-x);
184354
+ translate: 0;
184355
+ }
184356
+
184357
+ :host([position="left"]) [part="root"] {
184358
+ top: 50%;
184359
+ bottom: unset;
184360
+ left: var(--toast-offset-x);
184361
+ translate: 0 -50%;
184362
+ }
184363
+
184364
+ :host([position="center"]) [part="root"] {
184286
184365
  top: 50%;
184287
184366
  bottom: unset;
184367
+ left: 50%;
184288
184368
  translate: -50% -50%;
184289
184369
  }
184290
184370
 
184291
- :host([position="top"]) [part="root"] {
184371
+ :host([position="right"]) [part="root"] {
184372
+ top: 50%;
184292
184373
  bottom: unset;
184293
- top: var(--toast-offset-y);
184374
+ left: unset;
184375
+ right: var(--toast-offset-x);
184376
+ translate: 0 -50%;
184377
+ }
184378
+
184379
+ :host([position="bottom"]) [part="root"] {
184380
+ top: unset;
184381
+ bottom: var(--toast-offset-y);
184382
+ left: 50%;
184294
184383
  translate: -50%;
184295
184384
  }
184296
184385
 
184386
+ :host([position="bottom-left"]) [part="root"] {
184387
+ top: unset;
184388
+ bottom: var(--toast-offset-y);
184389
+ left: var(--toast-offset-x);
184390
+ translate: 0;
184391
+ }
184392
+
184393
+ :host([position="bottom-right"]) [part="root"] {
184394
+ top: unset;
184395
+ bottom: var(--toast-offset-y);
184396
+ left: unset;
184397
+ right: var(--toast-offset-x);
184398
+ translate: 0;
184399
+ }
184400
+
184297
184401
  :host [part="root"] {
184298
184402
  padding: calc(var(--joy-layout-space) * 2) calc(var(--joy-layout-space) * 3);
184299
184403
  }
@@ -184365,6 +184469,7 @@ function Jye() {
184365
184469
  --toast-font-weight: var(--memphis-typography-body2-font-weight);
184366
184470
  --toast-foreground-color: var(--memphis-scheme-foreground);
184367
184471
  --toast-gap: var(--memphis-layout-space);
184472
+ --toast-offset-x: var(--memphis-layout-space);
184368
184473
  --toast-offset-y: var(--memphis-layout-space);
184369
184474
  --toast-padding-bottom: calc(var(--memphis-layout-space) * 1.2);
184370
184475
  --toast-padding-left: calc(var(--memphis-layout-space) * 2.4);
@@ -184494,24 +184599,72 @@ function Jye() {
184494
184599
  pointer-events: none;
184495
184600
  }
184496
184601
 
184497
- :host([position="bottom"]) [part="root"] {
184498
- top: unset;
184499
- bottom: var(--toast-offset-y);
184602
+ :host([position="top"]) [part="root"] {
184603
+ bottom: unset;
184604
+ top: var(--toast-offset-y);
184605
+ left: 50%;
184500
184606
  translate: -50%;
184501
184607
  }
184502
184608
 
184503
- :host([position="middle"]) [part="root"] {
184609
+ :host([position="top-left"]) [part="root"] {
184610
+ bottom: unset;
184611
+ top: var(--toast-offset-y);
184612
+ left: var(--toast-offset-x);
184613
+ translate: 0;
184614
+ }
184615
+
184616
+ :host([position="top-right"]) [part="root"] {
184617
+ bottom: unset;
184618
+ top: var(--toast-offset-y);
184619
+ left: unset;
184620
+ right: var(--toast-offset-x);
184621
+ translate: 0;
184622
+ }
184623
+
184624
+ :host([position="left"]) [part="root"] {
184504
184625
  top: 50%;
184505
184626
  bottom: unset;
184627
+ left: var(--toast-offset-x);
184628
+ translate: 0 -50%;
184629
+ }
184630
+
184631
+ :host([position="center"]) [part="root"] {
184632
+ top: 50%;
184633
+ bottom: unset;
184634
+ left: 50%;
184506
184635
  translate: -50% -50%;
184507
184636
  }
184508
184637
 
184509
- :host([position="top"]) [part="root"] {
184638
+ :host([position="right"]) [part="root"] {
184639
+ top: 50%;
184510
184640
  bottom: unset;
184511
- top: var(--toast-offset-y);
184641
+ left: unset;
184642
+ right: var(--toast-offset-x);
184643
+ translate: 0 -50%;
184644
+ }
184645
+
184646
+ :host([position="bottom"]) [part="root"] {
184647
+ top: unset;
184648
+ bottom: var(--toast-offset-y);
184649
+ left: 50%;
184512
184650
  translate: -50%;
184513
184651
  }
184514
184652
 
184653
+ :host([position="bottom-left"]) [part="root"] {
184654
+ top: unset;
184655
+ bottom: var(--toast-offset-y);
184656
+ left: var(--toast-offset-x);
184657
+ translate: 0;
184658
+ }
184659
+
184660
+ :host([position="bottom-right"]) [part="root"] {
184661
+ top: unset;
184662
+ bottom: var(--toast-offset-y);
184663
+ left: unset;
184664
+ right: var(--toast-offset-x);
184665
+ translate: 0;
184666
+ }
184667
+
184515
184668
  `;
184516
184669
  }
184517
184670
  //#endregion
@@ -184579,7 +184732,7 @@ var T4 = function(e, t, n, r) {
184579
184732
  _mouseOverSubscription;
184580
184733
  _mouseOutSubscription;
184581
184734
  constructor() {
184582
- super(), this._header = "", this._content = "", this._timeout = 0, this._position = w4.Middle, this._showProgress = !1, this._fillElement = null, this._fillAnimation = null, this._timer = C4.empty(() => this.close()), this._mouseOverSubscription = null, this._mouseOutSubscription = null, this.enter = fw, this.exit = dw;
184735
+ super(), this._header = "", this._content = "", this._timeout = 0, this._position = w4.Center, this._showProgress = !1, this._fillElement = null, this._fillAnimation = null, this._timer = C4.empty(() => this.close()), this._mouseOverSubscription = null, this._mouseOutSubscription = null, this.enter = fw, this.exit = dw;
184583
184736
  }
184584
184737
  static get is() {
184585
184738
  return "mosaik-toast";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "Mosaik elements for Svelte.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -11,8 +11,8 @@
11
11
  "url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
12
12
  },
13
13
  "dependencies": {
14
- "@breadstone/mosaik-elements": "0.1.28",
15
- "@breadstone/mosaik-elements-foundation": "0.1.28",
14
+ "@breadstone/mosaik-elements": "0.1.30",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.30",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {