@breadstone/mosaik-elements-svelte 0.1.11 → 0.1.12

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.1.12 (2026-06-14)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **success-state:** add iconSize property to SuccessStateElement and related components ([15e6640e72](https://github.com/RueDeRennes/mosaik/commit/15e6640e72))
6
+
1
7
  ## 0.1.11 (2026-06-13)
2
8
 
3
9
  This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
package/index.mjs CHANGED
@@ -72880,7 +72880,7 @@ HI([
72880
72880
  UI("design:type", Object),
72881
72881
  UI("design:paramtypes", [Object])
72882
72882
  ], WI.prototype, "iconSize", null), HI([
72883
- A({ type: String }),
72883
+ P({ type: String }),
72884
72884
  UI("design:type", String),
72885
72885
  UI("design:paramtypes", [String])
72886
72886
  ], WI.prototype, "header", null), WI = HI([H({
@@ -225905,7 +225905,7 @@ q7([
225905
225905
  J7("design:type", String),
225906
225906
  J7("design:paramtypes", [String])
225907
225907
  ], Y7.prototype, "icon", null), q7([
225908
- A({ type: String }),
225908
+ P({ type: String }),
225909
225909
  J7("design:type", String),
225910
225910
  J7("design:paramtypes", [String])
225911
225911
  ], Y7.prototype, "header", null), Y7 = q7([H({
@@ -225923,7 +225923,7 @@ q7([
225923
225923
  function CEe(e) {
225924
225924
  return V`
225925
225925
  <mosaik-icon part="icon"
225926
- .size="${G.Giant}"
225926
+ .size="${e.iconSize ?? G.Giant}"
225927
225927
  .data="${e.icon.trim().length > 0 ? e.icon : X.errorCircle}"
225928
225928
  .variant="${ib.Danger}"></mosaik-icon>
225929
225929
  <div part="root">
@@ -226423,10 +226423,11 @@ var X7 = function(e, t, n, r) {
226423
226423
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
226424
226424
  }, Q7 = class extends F(Y(LI)) {
226425
226425
  _icon;
226426
+ _iconSize;
226426
226427
  _header;
226427
226428
  _code;
226428
226429
  constructor() {
226429
- super(), this._icon = "", this._header = "", this._code = "";
226430
+ super(), this._icon = "", this._iconSize = null, this._header = "", this._code = "";
226430
226431
  }
226431
226432
  static get is() {
226432
226433
  return "mosaik-error-state";
@@ -226437,6 +226438,12 @@ var X7 = function(e, t, n, r) {
226437
226438
  set icon(e) {
226438
226439
  this._icon !== e && (this._icon = e);
226439
226440
  }
226441
+ get iconSize() {
226442
+ return this._iconSize;
226443
+ }
226444
+ set iconSize(e) {
226445
+ this._iconSize !== e && (this._iconSize = e, this.requestUpdate("iconSize"));
226446
+ }
226440
226447
  get header() {
226441
226448
  return this._header;
226442
226449
  }
@@ -226455,11 +226462,15 @@ X7([
226455
226462
  Z7("design:type", String),
226456
226463
  Z7("design:paramtypes", [String])
226457
226464
  ], Q7.prototype, "icon", null), X7([
226465
+ A({ type: G }),
226466
+ Z7("design:type", Object),
226467
+ Z7("design:paramtypes", [Object])
226468
+ ], Q7.prototype, "iconSize", null), X7([
226458
226469
  P({ type: String }),
226459
226470
  Z7("design:type", String),
226460
226471
  Z7("design:paramtypes", [String])
226461
226472
  ], Q7.prototype, "header", null), X7([
226462
- A({ type: String }),
226473
+ P({ type: String }),
226463
226474
  Z7("design:type", String),
226464
226475
  Z7("design:paramtypes", [String])
226465
226476
  ], Q7.prototype, "code", null), Q7 = X7([H({
@@ -226969,9 +226980,10 @@ var $7 = function(e, t, n, r) {
226969
226980
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
226970
226981
  }, t9 = class extends F(Y(LI)) {
226971
226982
  _icon;
226983
+ _iconSize;
226972
226984
  _header;
226973
226985
  constructor() {
226974
- super(), this._icon = "", this._header = "";
226986
+ super(), this._icon = "", this._iconSize = null, this._header = "";
226975
226987
  }
226976
226988
  static get is() {
226977
226989
  return "mosaik-success-state";
@@ -226982,6 +226994,12 @@ var $7 = function(e, t, n, r) {
226982
226994
  set icon(e) {
226983
226995
  this._icon !== e && (this._icon = e);
226984
226996
  }
226997
+ get iconSize() {
226998
+ return this._iconSize;
226999
+ }
227000
+ set iconSize(e) {
227001
+ this._iconSize !== e && (this._iconSize = e, this.requestUpdate("iconSize"));
227002
+ }
226985
227003
  get header() {
226986
227004
  return this._header;
226987
227005
  }
@@ -226994,6 +227012,10 @@ $7([
226994
227012
  e9("design:type", String),
226995
227013
  e9("design:paramtypes", [String])
226996
227014
  ], t9.prototype, "icon", null), $7([
227015
+ A({ type: G }),
227016
+ e9("design:type", Object),
227017
+ e9("design:paramtypes", [Object])
227018
+ ], t9.prototype, "iconSize", null), $7([
226997
227019
  P({ type: String }),
226998
227020
  e9("design:type", String),
226999
227021
  e9("design:paramtypes", [String])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
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.11",
15
- "@breadstone/mosaik-elements-foundation": "0.1.11",
14
+ "@breadstone/mosaik-elements": "0.1.12",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.12",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {