@breadstone/mosaik-elements-angular 0.0.136 → 0.0.137

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,10 @@
1
+ ## 0.0.137 (2025-09-05)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **build:** add environment variable sanitization to build summary ([b2f1e0830e](https://github.com/RueDeRennes/mosaik/commit/b2f1e0830e))
6
+ - **dropzone:** enhance DropZone component with new styles and states ([0d6349f9ce](https://github.com/RueDeRennes/mosaik/commit/0d6349f9ce))
7
+
1
8
  ## 0.0.136 (2025-09-04)
2
9
 
3
10
  ### 🚀 Features
@@ -22248,7 +22248,7 @@ const DROP_ZONE_DEFAULT_PROPS = new InjectionToken('MOSAIK_DROP_ZONE_DEFAULT_PRO
22248
22248
  /**
22249
22249
  * @public
22250
22250
  *
22251
- *
22251
+ * @slot - The default slot for content displayed inside the drop zone.
22252
22252
  */
22253
22253
  let DropZoneComponent = class DropZoneComponent {
22254
22254
  _element;
@@ -22271,14 +22271,14 @@ let DropZoneComponent = class DropZoneComponent {
22271
22271
  this._element.on('changed', (e) => this.onEmit(this._changed, e));
22272
22272
  applyDefaults(this._element, inject(DROP_ZONE_DEFAULT_PROPS, { optional: true }) ?? {});
22273
22273
  }
22274
- get isDragging() {
22274
+ get state() {
22275
22275
  // @ts-ignore - temporary fix for the type error
22276
- return this._element.isDragging;
22276
+ return this._element.state;
22277
22277
  }
22278
- set isDragging(value) {
22278
+ set state(value) {
22279
22279
  this._zone.runOutsideAngular(() => {
22280
22280
  // @ts-ignore - temporary fix for the type error
22281
- this._element.isDragging = value;
22281
+ this._element.state = value;
22282
22282
  });
22283
22283
  }
22284
22284
  get themeName() {
@@ -22365,12 +22365,12 @@ let DropZoneComponent = class DropZoneComponent {
22365
22365
  }
22366
22366
  }
22367
22367
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DropZoneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22368
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: DropZoneComponent, isStandalone: true, selector: "mosaik-drop-zone", inputs: { isDragging: "isDragging", themeName: "themeName", disabled: "disabled", appearance: "appearance", variant: "variant", dir: "dir", lang: "lang" }, outputs: { dataTransferred: "dataTransferred", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
22368
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: DropZoneComponent, isStandalone: true, selector: "mosaik-drop-zone", inputs: { state: "state", themeName: "themeName", disabled: "disabled", appearance: "appearance", variant: "variant", dir: "dir", lang: "lang" }, outputs: { dataTransferred: "dataTransferred", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
22369
22369
  };
22370
22370
  DropZoneComponent = __decorate$2e([
22371
22371
  ProxyCmp({
22372
22372
  defineCustomElementFn: () => customElements.define('mosaik-drop-zone', DropZoneElement),
22373
- inputs: ['isDragging', 'themeName', 'disabled', 'appearance', 'variant', 'dir', 'lang'],
22373
+ inputs: ['state', 'themeName', 'disabled', 'appearance', 'variant', 'dir', 'lang'],
22374
22374
  methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
22375
22375
  }),
22376
22376
  __metadata$2e("design:paramtypes", [])
@@ -22382,10 +22382,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
22382
22382
  standalone: true,
22383
22383
  changeDetection: ChangeDetectionStrategy.OnPush,
22384
22384
  template: '<ng-content></ng-content>',
22385
- inputs: ['isDragging', 'themeName', 'disabled', 'appearance', 'variant', 'dir', 'lang'],
22385
+ inputs: ['state', 'themeName', 'disabled', 'appearance', 'variant', 'dir', 'lang'],
22386
22386
  outputs: ['dataTransferred', 'connected', 'disconnected', 'changed']
22387
22387
  }]
22388
- }], ctorParameters: () => [], propDecorators: { isDragging: [{
22388
+ }], ctorParameters: () => [], propDecorators: { state: [{
22389
22389
  type: Input
22390
22390
  }], themeName: [{
22391
22391
  type: Input
@@ -26213,7 +26213,7 @@ const FILE_PICKER_DEFAULT_PROPS = new InjectionToken('MOSAIK_FILE_PICKER_DEFAULT
26213
26213
  /**
26214
26214
  * @public
26215
26215
  *
26216
- *
26216
+ * @slot - The default slot for custom trigger content (e.g., a button or icon).
26217
26217
  */
26218
26218
  let FilePickerComponent = class FilePickerComponent {
26219
26219
  _element;
@@ -26406,7 +26406,8 @@ const FILE_UPLOAD_ITEM_DEFAULT_PROPS = new InjectionToken('MOSAIK_FILE_UPLOAD_IT
26406
26406
  /**
26407
26407
  * @public
26408
26408
  *
26409
- *
26409
+ * @slot label - The slot for custom label content (e.g., file name or description).
26410
+ * @slot actions - The slot for custom action content (e.g., remove or retry buttons).
26410
26411
  */
26411
26412
  let FileUploadItemComponent = class FileUploadItemComponent {
26412
26413
  _element;
@@ -26579,7 +26580,7 @@ const FILE_UPLOAD_DEFAULT_PROPS = new InjectionToken('MOSAIK_FILE_UPLOAD_DEFAULT
26579
26580
  /**
26580
26581
  * @public
26581
26582
  *
26582
- *
26583
+ * @slot - The default slot for custom UI, such as buttons, instructions, or drop zones.
26583
26584
  */
26584
26585
  let FileUploadComponent = class FileUploadComponent {
26585
26586
  _element;