codexly-ui 0.10.87 → 0.10.88

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.
@@ -700,8 +700,10 @@ class ClxSocialIconComponent {
700
700
  size = input(undefined, ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
701
701
  _color = computed(() => this.color() ?? this._themeSvc.config().primaryColor, ...(ngDevMode ? [{ debugName: "_color" }] : /* istanbul ignore next */ []));
702
702
  _size = computed(() => this.size() ?? this._themeSvc.config().defaultSize, ...(ngDevMode ? [{ debugName: "_size" }] : /* istanbul ignore next */ []));
703
- _viewBox = computed(() => SOCIAL_ICON_DEFS[this.platform()].viewBox, ...(ngDevMode ? [{ debugName: "_viewBox" }] : /* istanbul ignore next */ []));
704
- _markup = computed(() => this._sanitizer.bypassSecurityTrustHtml(SOCIAL_ICON_DEFS[this.platform()].markup), ...(ngDevMode ? [{ debugName: "_markup" }] : /* istanbul ignore next */ []));
703
+ _markup = computed(() => {
704
+ const def = SOCIAL_ICON_DEFS[this.platform()];
705
+ return this._sanitizer.bypassSecurityTrustHtml(`<svg viewBox="${def.viewBox}" class="w-full h-full">${def.markup}</svg>`);
706
+ }, ...(ngDevMode ? [{ debugName: "_markup" }] : /* istanbul ignore next */ []));
705
707
  _hostClass = computed(() => {
706
708
  const { color, shade } = parseColorInput(this._color());
707
709
  const base = resolveColor(this._color());
@@ -721,14 +723,14 @@ class ClxSocialIconComponent {
721
723
  return `inline-flex items-center justify-center rounded-xl transition-colors duration-200 cursor-pointer ${sizeClass} ${cls}`;
722
724
  }, ...(ngDevMode ? [{ debugName: "_hostClass" }] : /* istanbul ignore next */ []));
723
725
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClxSocialIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
724
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: ClxSocialIconComponent, isStandalone: true, selector: "a[clx-social-icon], button[clx-social-icon]", inputs: { platform: { classPropertyName: "platform", publicName: "platform", isSignal: true, isRequired: true, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_hostClass()", "attr.aria-label": "platform()" } }, ngImport: i0, template: `<svg [attr.viewBox]="_viewBox()" [innerHTML]="_markup()" class="w-full h-full"></svg>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
726
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: ClxSocialIconComponent, isStandalone: true, selector: "a[clx-social-icon], button[clx-social-icon]", inputs: { platform: { classPropertyName: "platform", publicName: "platform", isSignal: true, isRequired: true, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_hostClass()", "attr.aria-label": "platform()" } }, ngImport: i0, template: `<span class="w-full h-full [&>svg]:w-full [&>svg]:h-full" [innerHTML]="_markup()"></span>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
725
727
  }
726
728
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClxSocialIconComponent, decorators: [{
727
729
  type: Component,
728
730
  args: [{
729
731
  selector: 'a[clx-social-icon], button[clx-social-icon]',
730
732
  standalone: true,
731
- template: `<svg [attr.viewBox]="_viewBox()" [innerHTML]="_markup()" class="w-full h-full"></svg>`,
733
+ template: `<span class="w-full h-full [&>svg]:w-full [&>svg]:h-full" [innerHTML]="_markup()"></span>`,
732
734
  encapsulation: ViewEncapsulation.None,
733
735
  changeDetection: ChangeDetectionStrategy.OnPush,
734
736
  host: {