@breadstone/mosaik-elements-angular 0.0.217 → 0.0.220

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,15 @@
1
+ ## 0.0.220 (2026-01-15)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **Sandbox.json): update theme import paths for consistency in SCSS usage fix(package.json:** increment release version to 0.0.219 ([57dce3aace](https://github.com/RueDeRennes/mosaik/commit/57dce3aace))
6
+
7
+ ## 0.0.218 (2026-01-15)
8
+
9
+ ### 🚀 Features
10
+
11
+ - **meter:** enhance MeterRing and MeterBar components with new styles and properties ([026b313a58](https://github.com/RueDeRennes/mosaik/commit/026b313a58))
12
+
1
13
  ## 0.0.217 (2026-01-09)
2
14
 
3
15
  ### 🚀 Features
@@ -3205,14 +3205,14 @@ let BadgeComponent = class BadgeComponent {
3205
3205
  this._element.overlap = value;
3206
3206
  });
3207
3207
  }
3208
- get standalone() {
3208
+ get attached() {
3209
3209
  // @ts-ignore - temporary fix for the type error
3210
- return this._element.standalone;
3210
+ return this._element.attached;
3211
3211
  }
3212
- set standalone(value) {
3212
+ set attached(value) {
3213
3213
  this._zone.runOutsideAngular(() => {
3214
3214
  // @ts-ignore - temporary fix for the type error
3215
- this._element.standalone = value;
3215
+ this._element.attached = value;
3216
3216
  });
3217
3217
  }
3218
3218
  get position() {
@@ -3326,12 +3326,12 @@ let BadgeComponent = class BadgeComponent {
3326
3326
  }
3327
3327
  }
3328
3328
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3329
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BadgeComponent, isStandalone: true, selector: "mosaik-badge", inputs: { icon: "icon", overlap: "overlap", standalone: "standalone", position: "position", themeName: "themeName", appearance: "appearance", variant: "variant", size: "size", disabled: "disabled", label: "label", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3329
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BadgeComponent, isStandalone: true, selector: "mosaik-badge", inputs: { icon: "icon", overlap: "overlap", attached: "attached", position: "position", themeName: "themeName", appearance: "appearance", variant: "variant", size: "size", disabled: "disabled", label: "label", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3330
3330
  };
3331
3331
  BadgeComponent = __decorate$3O([
3332
3332
  ProxyCmp({
3333
3333
  defineCustomElementFn: () => customElements.define('mosaik-badge', BadgeElement),
3334
- inputs: ['icon', 'overlap', 'standalone', 'position', 'themeName', 'appearance', 'variant', 'size', 'disabled', 'label', 'dir', 'lang'],
3334
+ inputs: ['icon', 'overlap', 'attached', 'position', 'themeName', 'appearance', 'variant', 'size', 'disabled', 'label', 'dir', 'lang'],
3335
3335
  methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
3336
3336
  }),
3337
3337
  __metadata$3O("design:paramtypes", [])
@@ -3343,14 +3343,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
3343
3343
  standalone: true,
3344
3344
  changeDetection: ChangeDetectionStrategy.OnPush,
3345
3345
  template: '<ng-content></ng-content>',
3346
- inputs: ['icon', 'overlap', 'standalone', 'position', 'themeName', 'appearance', 'variant', 'size', 'disabled', 'label', 'dir', 'lang'],
3346
+ inputs: ['icon', 'overlap', 'attached', 'position', 'themeName', 'appearance', 'variant', 'size', 'disabled', 'label', 'dir', 'lang'],
3347
3347
  outputs: ['connected', 'disconnected', 'changed']
3348
3348
  }]
3349
3349
  }], ctorParameters: () => [], propDecorators: { icon: [{
3350
3350
  type: Input
3351
3351
  }], overlap: [{
3352
3352
  type: Input
3353
- }], standalone: [{
3353
+ }], attached: [{
3354
3354
  type: Input
3355
3355
  }], position: [{
3356
3356
  type: Input
@@ -12469,7 +12469,6 @@ const CHECKBOX_DEFAULT_PROPS = new InjectionToken('MOSAIK_CHECKBOX_DEFAULT_PROPS
12469
12469
  *
12470
12470
  * @slot checkmark - The checkmark slot.
12471
12471
  * @slot label - The label slot.
12472
- * @slot hint - The hint slot.
12473
12472
  */
12474
12473
  let CheckboxComponent = class CheckboxComponent {
12475
12474
  _element;
@@ -35323,6 +35322,26 @@ let MeterBarComponent = class MeterBarComponent {
35323
35322
  this._element.on('changed', (e) => this.onEmit(this._changed, e));
35324
35323
  applyDefaults(this._element, inject(METER_BAR_DEFAULT_PROPS, { optional: true }) ?? {});
35325
35324
  }
35325
+ get percent() {
35326
+ // @ts-ignore - temporary fix for the type error
35327
+ return this._element.percent;
35328
+ }
35329
+ set percent(value) {
35330
+ this._zone.runOutsideAngular(() => {
35331
+ // @ts-ignore - temporary fix for the type error
35332
+ this._element.percent = value;
35333
+ });
35334
+ }
35335
+ get segments() {
35336
+ // @ts-ignore - temporary fix for the type error
35337
+ return this._element.segments;
35338
+ }
35339
+ set segments(value) {
35340
+ this._zone.runOutsideAngular(() => {
35341
+ // @ts-ignore - temporary fix for the type error
35342
+ this._element.segments = value;
35343
+ });
35344
+ }
35326
35345
  get thickness() {
35327
35346
  // @ts-ignore - temporary fix for the type error
35328
35347
  return this._element.thickness;
@@ -35373,6 +35392,16 @@ let MeterBarComponent = class MeterBarComponent {
35373
35392
  this._element.range = value;
35374
35393
  });
35375
35394
  }
35395
+ get scale() {
35396
+ // @ts-ignore - temporary fix for the type error
35397
+ return this._element.scale;
35398
+ }
35399
+ set scale(value) {
35400
+ this._zone.runOutsideAngular(() => {
35401
+ // @ts-ignore - temporary fix for the type error
35402
+ this._element.scale = value;
35403
+ });
35404
+ }
35376
35405
  get themeName() {
35377
35406
  // @ts-ignore - temporary fix for the type error
35378
35407
  return this._element.themeName;
@@ -35497,12 +35526,12 @@ let MeterBarComponent = class MeterBarComponent {
35497
35526
  }
35498
35527
  }
35499
35528
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MeterBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35500
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: MeterBarComponent, isStandalone: true, selector: "mosaik-meter-bar", inputs: { thickness: "thickness", high: "high", low: "low", optimum: "optimum", range: "range", themeName: "themeName", variant: "variant", orientation: "orientation", disabled: "disabled", label: "label", min: "min", max: "max", value: "value", dir: "dir", lang: "lang" }, outputs: { valueChanged: "valueChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
35529
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: MeterBarComponent, isStandalone: true, selector: "mosaik-meter-bar", inputs: { percent: "percent", segments: "segments", thickness: "thickness", high: "high", low: "low", optimum: "optimum", range: "range", scale: "scale", themeName: "themeName", variant: "variant", orientation: "orientation", disabled: "disabled", label: "label", min: "min", max: "max", value: "value", dir: "dir", lang: "lang" }, outputs: { valueChanged: "valueChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
35501
35530
  };
35502
35531
  MeterBarComponent = __decorate$1F([
35503
35532
  ProxyCmp({
35504
35533
  defineCustomElementFn: () => customElements.define('mosaik-meter-bar', MeterBarElement),
35505
- inputs: ['thickness', 'high', 'low', 'optimum', 'range', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35534
+ inputs: ['percent', 'segments', 'thickness', 'high', 'low', 'optimum', 'range', 'scale', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35506
35535
  methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
35507
35536
  }),
35508
35537
  __metadata$1F("design:paramtypes", [])
@@ -35514,10 +35543,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
35514
35543
  standalone: true,
35515
35544
  changeDetection: ChangeDetectionStrategy.OnPush,
35516
35545
  template: '<ng-content></ng-content>',
35517
- inputs: ['thickness', 'high', 'low', 'optimum', 'range', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35546
+ inputs: ['percent', 'segments', 'thickness', 'high', 'low', 'optimum', 'range', 'scale', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35518
35547
  outputs: ['valueChanged', 'connected', 'disconnected', 'changed']
35519
35548
  }]
35520
- }], ctorParameters: () => [], propDecorators: { thickness: [{
35549
+ }], ctorParameters: () => [], propDecorators: { percent: [{
35550
+ type: Input
35551
+ }], segments: [{
35552
+ type: Input
35553
+ }], thickness: [{
35521
35554
  type: Input
35522
35555
  }], high: [{
35523
35556
  type: Input
@@ -35527,6 +35560,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
35527
35560
  type: Input
35528
35561
  }], range: [{
35529
35562
  type: Input
35563
+ }], scale: [{
35564
+ type: Input
35530
35565
  }], themeName: [{
35531
35566
  type: Input
35532
35567
  }], variant: [{
@@ -35589,7 +35624,8 @@ const METER_RING_DEFAULT_PROPS = new InjectionToken('MOSAIK_METER_RING_DEFAULT_P
35589
35624
  /**
35590
35625
  * @public
35591
35626
  *
35592
- *
35627
+ * @slot label - Text label content area for meter description or value display
35628
+ * @slot hint - Secondary text content area for additional meter information or status
35593
35629
  */
35594
35630
  let MeterRingComponent = class MeterRingComponent {
35595
35631
  _element;
@@ -35612,6 +35648,26 @@ let MeterRingComponent = class MeterRingComponent {
35612
35648
  this._element.on('changed', (e) => this.onEmit(this._changed, e));
35613
35649
  applyDefaults(this._element, inject(METER_RING_DEFAULT_PROPS, { optional: true }) ?? {});
35614
35650
  }
35651
+ get segments() {
35652
+ // @ts-ignore - temporary fix for the type error
35653
+ return this._element.segments;
35654
+ }
35655
+ set segments(value) {
35656
+ this._zone.runOutsideAngular(() => {
35657
+ // @ts-ignore - temporary fix for the type error
35658
+ this._element.segments = value;
35659
+ });
35660
+ }
35661
+ get effectiveRadius() {
35662
+ // @ts-ignore - temporary fix for the type error
35663
+ return this._element.effectiveRadius;
35664
+ }
35665
+ set effectiveRadius(value) {
35666
+ this._zone.runOutsideAngular(() => {
35667
+ // @ts-ignore - temporary fix for the type error
35668
+ this._element.effectiveRadius = value;
35669
+ });
35670
+ }
35615
35671
  get radius() {
35616
35672
  // @ts-ignore - temporary fix for the type error
35617
35673
  return this._element.radius;
@@ -35672,6 +35728,16 @@ let MeterRingComponent = class MeterRingComponent {
35672
35728
  this._element.range = value;
35673
35729
  });
35674
35730
  }
35731
+ get scale() {
35732
+ // @ts-ignore - temporary fix for the type error
35733
+ return this._element.scale;
35734
+ }
35735
+ set scale(value) {
35736
+ this._zone.runOutsideAngular(() => {
35737
+ // @ts-ignore - temporary fix for the type error
35738
+ this._element.scale = value;
35739
+ });
35740
+ }
35675
35741
  get themeName() {
35676
35742
  // @ts-ignore - temporary fix for the type error
35677
35743
  return this._element.themeName;
@@ -35796,12 +35862,12 @@ let MeterRingComponent = class MeterRingComponent {
35796
35862
  }
35797
35863
  }
35798
35864
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MeterRingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35799
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: MeterRingComponent, isStandalone: true, selector: "mosaik-meter-ring", inputs: { radius: "radius", thickness: "thickness", high: "high", low: "low", optimum: "optimum", range: "range", themeName: "themeName", variant: "variant", orientation: "orientation", disabled: "disabled", label: "label", min: "min", max: "max", value: "value", dir: "dir", lang: "lang" }, outputs: { valueChanged: "valueChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
35865
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: MeterRingComponent, isStandalone: true, selector: "mosaik-meter-ring", inputs: { segments: "segments", effectiveRadius: "effectiveRadius", radius: "radius", thickness: "thickness", high: "high", low: "low", optimum: "optimum", range: "range", scale: "scale", themeName: "themeName", variant: "variant", orientation: "orientation", disabled: "disabled", label: "label", min: "min", max: "max", value: "value", dir: "dir", lang: "lang" }, outputs: { valueChanged: "valueChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
35800
35866
  };
35801
35867
  MeterRingComponent = __decorate$1E([
35802
35868
  ProxyCmp({
35803
35869
  defineCustomElementFn: () => customElements.define('mosaik-meter-ring', MeterRingElement),
35804
- inputs: ['radius', 'thickness', 'high', 'low', 'optimum', 'range', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35870
+ inputs: ['segments', 'effectiveRadius', 'radius', 'thickness', 'high', 'low', 'optimum', 'range', 'scale', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35805
35871
  methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
35806
35872
  }),
35807
35873
  __metadata$1E("design:paramtypes", [])
@@ -35813,10 +35879,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
35813
35879
  standalone: true,
35814
35880
  changeDetection: ChangeDetectionStrategy.OnPush,
35815
35881
  template: '<ng-content></ng-content>',
35816
- inputs: ['radius', 'thickness', 'high', 'low', 'optimum', 'range', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35882
+ inputs: ['segments', 'effectiveRadius', 'radius', 'thickness', 'high', 'low', 'optimum', 'range', 'scale', 'themeName', 'variant', 'orientation', 'disabled', 'label', 'min', 'max', 'value', 'dir', 'lang'],
35817
35883
  outputs: ['valueChanged', 'connected', 'disconnected', 'changed']
35818
35884
  }]
35819
- }], ctorParameters: () => [], propDecorators: { radius: [{
35885
+ }], ctorParameters: () => [], propDecorators: { segments: [{
35886
+ type: Input
35887
+ }], effectiveRadius: [{
35888
+ type: Input
35889
+ }], radius: [{
35820
35890
  type: Input
35821
35891
  }], thickness: [{
35822
35892
  type: Input
@@ -35828,6 +35898,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
35828
35898
  type: Input
35829
35899
  }], range: [{
35830
35900
  type: Input
35901
+ }], scale: [{
35902
+ type: Input
35831
35903
  }], themeName: [{
35832
35904
  type: Input
35833
35905
  }], variant: [{
@@ -41519,7 +41591,6 @@ const RADIO_DEFAULT_PROPS = new InjectionToken('MOSAIK_RADIO_DEFAULT_PROPS');
41519
41591
  *
41520
41592
  * @slot checkmark - The checkmark slot.
41521
41593
  * @slot label - The label slot.
41522
- * @slot hint - The hint slot.
41523
41594
  */
41524
41595
  let RadioComponent = class RadioComponent {
41525
41596
  _element;
@@ -51181,7 +51252,8 @@ const SUMMARY_DEFAULT_PROPS = new InjectionToken('MOSAIK_SUMMARY_DEFAULT_PROPS')
51181
51252
  * @slot - The default slot.
51182
51253
  * @slot prefix - The prefix slot.
51183
51254
  * @slot suffix - The suffix slot.
51184
- * @slot text - The text slot.
51255
+ * @slot header - The header slot.
51256
+ * @slot content - The content slot.
51185
51257
  */
51186
51258
  let SummaryComponent = class SummaryComponent {
51187
51259
  _element;