@breadstone/mosaik-elements-svelte 0.0.275 → 0.0.277

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 +15 -4
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.0.277 (2026-05-15)
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.0.276 (2026-05-15)
6
+
7
+ ### 🚀 Features
8
+
9
+ - **popup:** add sync property to PopupElement and related components ([5b644a14fb](https://github.com/RueDeRennes/mosaik/commit/5b644a14fb))
10
+
1
11
  ## 0.0.275 (2026-05-15)
2
12
 
3
13
  ### 🩹 Fixes
package/index.mjs CHANGED
@@ -95116,6 +95116,7 @@ var PV;
95116
95116
  flip: !0,
95117
95117
  shift: !0,
95118
95118
  trapFocus: !1,
95119
+ sync: "none",
95119
95120
  enter: mw,
95120
95121
  exit: hw,
95121
95122
  elevation: "regular"
@@ -95142,15 +95143,14 @@ function FV(e) {
95142
95143
  .flipFallbackPlacements="${e.placements}"
95143
95144
  .distance="${e.distance}"
95144
95145
  .skidding="${e.skidding}"
95146
+ .elevation="${e.elevation}"
95147
+ .sync="${e.sync}"
95145
95148
  .flip="${e.flip}"
95146
95149
  .shift="${e.shift}"
95147
95150
  .enter="${e.enter}"
95148
95151
  .exit="${e.exit}"
95149
95152
  @mouseenter="${() => e.onPopupMouseEnter()}"
95150
95153
  @mouseleave="${() => e.onPopupMouseLeave()}">
95151
- <mosaik-elevation part="elevation"
95152
- .weight="${e.elevation}"
95153
- @connected="${(t) => t.target.attach(e)}"></mosaik-elevation>
95154
95154
  <div part="body">
95155
95155
  <div part="header">
95156
95156
  <slot name="header"></slot>
@@ -95541,6 +95541,7 @@ var zV = function(e, t, n, r) {
95541
95541
  _shift;
95542
95542
  _trapFocus;
95543
95543
  _hoverTimeout;
95544
+ _sync;
95544
95545
  _blurSubscription;
95545
95546
  _focusSubscription;
95546
95547
  _clickSubscription;
@@ -95551,7 +95552,7 @@ var zV = function(e, t, n, r) {
95551
95552
  _anchorReady;
95552
95553
  _previousActiveElement;
95553
95554
  constructor() {
95554
- super(), this._placement = PV.DEFAULTS.placement, this._placements = PV.DEFAULTS.placements, this._distance = PV.DEFAULTS.distance, this._skidding = PV.DEFAULTS.skidding, this._trigger = PV.DEFAULTS.trigger, this._showDelay = PV.DEFAULTS.showDelay, this._hideDelay = PV.DEFAULTS.hideDelay, this._staysOpen = PV.DEFAULTS.staysOpen, this._closeOnScroll = PV.DEFAULTS.closeOnScroll, this._interactive = PV.DEFAULTS.interactive, this._flip = PV.DEFAULTS.flip, this._shift = PV.DEFAULTS.shift, this._trapFocus = PV.DEFAULTS.trapFocus, this._floatingElement = null, this._hoverTimeout = null, this._blurSubscription = null, this._focusSubscription = null, this._clickSubscription = null, this._mouseoverSubscription = null, this._mouseoutSubscription = null, this._scrollSubscription = null, this._slottedControl = null, this._anchorReady = !1, this._previousActiveElement = null, Object.assign(this, { enter: PV.DEFAULTS.enter }), Object.assign(this, { exit: PV.DEFAULTS.exit }), Object.assign(this, { elevation: PV.DEFAULTS.elevation }), this._projectionController = new $w(this, {
95555
+ super(), this._placement = PV.DEFAULTS.placement, this._placements = PV.DEFAULTS.placements, this._distance = PV.DEFAULTS.distance, this._skidding = PV.DEFAULTS.skidding, this._trigger = PV.DEFAULTS.trigger, this._showDelay = PV.DEFAULTS.showDelay, this._hideDelay = PV.DEFAULTS.hideDelay, this._staysOpen = PV.DEFAULTS.staysOpen, this._closeOnScroll = PV.DEFAULTS.closeOnScroll, this._interactive = PV.DEFAULTS.interactive, this._flip = PV.DEFAULTS.flip, this._shift = PV.DEFAULTS.shift, this._trapFocus = PV.DEFAULTS.trapFocus, this._sync = PV.DEFAULTS.sync, this._floatingElement = null, this._hoverTimeout = null, this._blurSubscription = null, this._focusSubscription = null, this._clickSubscription = null, this._mouseoverSubscription = null, this._mouseoutSubscription = null, this._scrollSubscription = null, this._slottedControl = null, this._anchorReady = !1, this._previousActiveElement = null, Object.assign(this, { enter: PV.DEFAULTS.enter }), Object.assign(this, { exit: PV.DEFAULTS.exit }), Object.assign(this, { elevation: PV.DEFAULTS.elevation }), this._projectionController = new $w(this, {
95555
95556
  slotName: "content",
95556
95557
  targetSelector: "[part=\"projection\"]"
95557
95558
  }), this._clickOutsideController = new sC(this, {
@@ -95655,6 +95656,12 @@ var zV = function(e, t, n, r) {
95655
95656
  set trapFocus(e) {
95656
95657
  this._trapFocus !== e && (this._trapFocus = e, this.requestUpdate("trapFocus"));
95657
95658
  }
95659
+ get sync() {
95660
+ return this._sync;
95661
+ }
95662
+ set sync(e) {
95663
+ this._sync !== e && (this._sync = e, this.requestUpdate("sync"));
95664
+ }
95658
95665
  async open() {
95659
95666
  this.isOpen || this.disabled || (this._previousActiveElement = document.activeElement, await super.open(), this._trapFocus && (await this.updateComplete, this._focusTrapController.activate()), this._closeOnScroll && (this._scrollSubscription = D(window, "scroll", () => void this.close(), {
95660
95667
  passive: !0,
@@ -95855,6 +95862,10 @@ zV([
95855
95862
  BV("design:type", Boolean),
95856
95863
  BV("design:paramtypes", [Boolean])
95857
95864
  ], VV.prototype, "trapFocus", null), zV([
95865
+ A({ type: Aw }),
95866
+ BV("design:type", String),
95867
+ BV("design:paramtypes", [String])
95868
+ ], VV.prototype, "sync", null), zV([
95858
95869
  L("isOpen", { waitUntilFirstUpdate: !0 }),
95859
95870
  BV("design:type", Function),
95860
95871
  BV("design:paramtypes", []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.0.275",
3
+ "version": "0.0.277",
4
4
  "description": "Mosaik elements for Svelte.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -15,8 +15,8 @@
15
15
  "vite": "*"
16
16
  },
17
17
  "dependencies": {
18
- "@breadstone/mosaik-elements": "^0.0.275",
19
- "@breadstone/mosaik-elements-foundation": "^0.0.275"
18
+ "@breadstone/mosaik-elements": "^0.0.277",
19
+ "@breadstone/mosaik-elements-foundation": "^0.0.277"
20
20
  },
21
21
  "exports": {
22
22
  ".": {