@breadstone/mosaik-elements-angular 0.0.237 → 0.0.238

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.0.238 (2026-04-29)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **breadcrumb:** enhance breadcrumb and item components with new properties and slots ([2aa158afd2](https://github.com/RueDeRennes/mosaik/commit/2aa158afd2))
6
+
1
7
  ## 0.0.237 (2026-04-28)
2
8
 
3
9
  ### 🚀 Features
@@ -21668,7 +21668,7 @@ const BREADCRUMB_ITEM_DEFAULT_PROPS = new InjectionToken('MOSAIK_BREADCRUMB_ITEM
21668
21668
  /**
21669
21669
  * @public
21670
21670
  *
21671
- * @slot - The content of the breadcrumb item, typically text or an icon.
21671
+ * @slot label - The label content when using the anchor behavior.
21672
21672
  * @slot style - Custom styles injection slot for shadow DOM styling escape hatch
21673
21673
  */
21674
21674
  let BreadcrumbItemComponent = class BreadcrumbItemComponent {
@@ -21697,12 +21697,60 @@ let BreadcrumbItemComponent = class BreadcrumbItemComponent {
21697
21697
  * @public
21698
21698
  */
21699
21699
  isActive = input(...(ngDevMode ? [undefined, { debugName: "isActive" }] : /* istanbul ignore next */ []));
21700
+ /**
21701
+ * Signal input for the `underline` property.
21702
+ *
21703
+ * @public
21704
+ */
21705
+ underline = input(...(ngDevMode ? [undefined, { debugName: "underline" }] : /* istanbul ignore next */ []));
21706
+ /**
21707
+ * Signal input for the `download` property.
21708
+ *
21709
+ * @public
21710
+ */
21711
+ download = input(...(ngDevMode ? [undefined, { debugName: "download" }] : /* istanbul ignore next */ []));
21712
+ /**
21713
+ * Signal input for the `href` property.
21714
+ *
21715
+ * @public
21716
+ */
21717
+ href = input(...(ngDevMode ? [undefined, { debugName: "href" }] : /* istanbul ignore next */ []));
21718
+ /**
21719
+ * Signal input for the `rel` property.
21720
+ *
21721
+ * @public
21722
+ */
21723
+ rel = input(...(ngDevMode ? [undefined, { debugName: "rel" }] : /* istanbul ignore next */ []));
21724
+ /**
21725
+ * Signal input for the `target` property.
21726
+ *
21727
+ * @public
21728
+ */
21729
+ target = input(...(ngDevMode ? [undefined, { debugName: "target" }] : /* istanbul ignore next */ []));
21700
21730
  /**
21701
21731
  * Signal input for the `themeName` property.
21702
21732
  *
21703
21733
  * @public
21704
21734
  */
21705
21735
  themeName = input(...(ngDevMode ? [undefined, { debugName: "themeName" }] : /* istanbul ignore next */ []));
21736
+ /**
21737
+ * Signal input for the `variant` property.
21738
+ *
21739
+ * @public
21740
+ */
21741
+ variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
21742
+ /**
21743
+ * Signal input for the `disabled` property.
21744
+ *
21745
+ * @public
21746
+ */
21747
+ disabled = input(...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
21748
+ /**
21749
+ * Signal input for the `label` property.
21750
+ *
21751
+ * @public
21752
+ */
21753
+ label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
21706
21754
  /**
21707
21755
  * Signal input for the `dir` property.
21708
21756
  *
@@ -21728,10 +21776,42 @@ let BreadcrumbItemComponent = class BreadcrumbItemComponent {
21728
21776
  if (isActiveValue !== undefined) {
21729
21777
  this._element.isActive = isActiveValue;
21730
21778
  }
21779
+ const underlineValue = this.underline();
21780
+ if (underlineValue !== undefined) {
21781
+ this._element.underline = underlineValue;
21782
+ }
21783
+ const downloadValue = this.download();
21784
+ if (downloadValue !== undefined) {
21785
+ this._element.download = downloadValue;
21786
+ }
21787
+ const hrefValue = this.href();
21788
+ if (hrefValue !== undefined) {
21789
+ this._element.href = hrefValue;
21790
+ }
21791
+ const relValue = this.rel();
21792
+ if (relValue !== undefined) {
21793
+ this._element.rel = relValue;
21794
+ }
21795
+ const targetValue = this.target();
21796
+ if (targetValue !== undefined) {
21797
+ this._element.target = targetValue;
21798
+ }
21731
21799
  const themeNameValue = this.themeName();
21732
21800
  if (themeNameValue !== undefined) {
21733
21801
  this._element.themeName = themeNameValue;
21734
21802
  }
21803
+ const variantValue = this.variant();
21804
+ if (variantValue !== undefined) {
21805
+ this._element.variant = variantValue;
21806
+ }
21807
+ const disabledValue = this.disabled();
21808
+ if (disabledValue !== undefined) {
21809
+ this._element.disabled = disabledValue;
21810
+ }
21811
+ const labelValue = this.label();
21812
+ if (labelValue !== undefined) {
21813
+ this._element.label = labelValue;
21814
+ }
21735
21815
  const dirValue = this.dir();
21736
21816
  if (dirValue !== undefined) {
21737
21817
  this._element.dir = dirValue;
@@ -21788,13 +21868,13 @@ let BreadcrumbItemComponent = class BreadcrumbItemComponent {
21788
21868
  this._element[property] = value;
21789
21869
  }
21790
21870
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: BreadcrumbItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21791
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: BreadcrumbItemComponent, isStandalone: true, selector: "mosaik-breadcrumb-item", inputs: { isActive: { classPropertyName: "isActive", publicName: "isActive", isSignal: true, isRequired: false, transformFunction: null }, themeName: { classPropertyName: "themeName", publicName: "themeName", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
21871
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.10", type: BreadcrumbItemComponent, isStandalone: true, selector: "mosaik-breadcrumb-item", inputs: { isActive: { classPropertyName: "isActive", publicName: "isActive", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null }, download: { classPropertyName: "download", publicName: "download", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, rel: { classPropertyName: "rel", publicName: "rel", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, themeName: { classPropertyName: "themeName", publicName: "themeName", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
21792
21872
  };
21793
21873
  BreadcrumbItemComponent = __decorate$3Y([
21794
21874
  ProxyCmp({
21795
21875
  defineCustomElementFn: () => customElements.define('mosaik-breadcrumb-item', BreadcrumbItemElement),
21796
- inputs: ['isActive', 'themeName', 'dir', 'lang'],
21797
- methods: ['firstItem', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
21876
+ inputs: ['isActive', 'underline', 'download', 'href', 'rel', 'target', 'themeName', 'variant', 'disabled', 'label', 'dir', 'lang'],
21877
+ methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
21798
21878
  }),
21799
21879
  __metadata$3Y("design:paramtypes", [])
21800
21880
  ], BreadcrumbItemComponent);
@@ -21806,7 +21886,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
21806
21886
  changeDetection: ChangeDetectionStrategy.OnPush,
21807
21887
  template: '<ng-content></ng-content>'
21808
21888
  }]
21809
- }], ctorParameters: () => [], propDecorators: { isActive: [{ type: i0.Input, args: [{ isSignal: true, alias: "isActive", required: false }] }], themeName: [{ type: i0.Input, args: [{ isSignal: true, alias: "themeName", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], lang: [{ type: i0.Input, args: [{ isSignal: true, alias: "lang", required: false }] }], connected: [{ type: i0.Output, args: ["connected"] }], disconnected: [{ type: i0.Output, args: ["disconnected"] }], changed: [{ type: i0.Output, args: ["changed"] }] } });
21889
+ }], ctorParameters: () => [], propDecorators: { isActive: [{ type: i0.Input, args: [{ isSignal: true, alias: "isActive", required: false }] }], underline: [{ type: i0.Input, args: [{ isSignal: true, alias: "underline", required: false }] }], download: [{ type: i0.Input, args: [{ isSignal: true, alias: "download", required: false }] }], href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }], rel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rel", required: false }] }], target: [{ type: i0.Input, args: [{ isSignal: true, alias: "target", required: false }] }], themeName: [{ type: i0.Input, args: [{ isSignal: true, alias: "themeName", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], lang: [{ type: i0.Input, args: [{ isSignal: true, alias: "lang", required: false }] }], connected: [{ type: i0.Output, args: ["connected"] }], disconnected: [{ type: i0.Output, args: ["disconnected"] }], changed: [{ type: i0.Output, args: ["changed"] }] } });
21810
21890
  /**
21811
21891
  * @public
21812
21892
  */
@@ -21841,6 +21921,7 @@ const BREADCRUMB_DEFAULT_PROPS = new InjectionToken('MOSAIK_BREADCRUMB_DEFAULT_P
21841
21921
  * @public
21842
21922
  *
21843
21923
  * @slot - The default slot.
21924
+ * @slot item-${i} - The item-${i} slot.
21844
21925
  * @slot style - Custom styles injection slot for shadow DOM styling escape hatch
21845
21926
  */
21846
21927
  let BreadcrumbComponent = class BreadcrumbComponent {
@@ -21966,7 +22047,7 @@ BreadcrumbComponent = __decorate$3X([
21966
22047
  ProxyCmp({
21967
22048
  defineCustomElementFn: () => customElements.define('mosaik-breadcrumb', BreadcrumbElement),
21968
22049
  inputs: ['wrap', 'themeName', 'dir', 'lang'],
21969
- methods: ['onSlotChange', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
22050
+ methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
21970
22051
  }),
21971
22052
  __metadata$3X("design:paramtypes", [])
21972
22053
  ], BreadcrumbComponent);