codexly-ui 0.13.1 → 0.13.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codexly-ui",
3
- "version": "0.13.1",
3
+ "version": "0.13.3",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -227,10 +227,20 @@ declare class ClxAvatarComponent {
227
227
  readonly shape: _angular_core.InputSignal<ClxShape>;
228
228
  readonly alt: _angular_core.InputSignal<string>;
229
229
  protected readonly _color: _angular_core.Signal<ClxColorInput>;
230
+ /** Set by (error) on the <img> when src() fails to load (404, expired/broken URL, CORS, wrong
231
+ * host, ...) — without this, _contentType() would keep returning 'image' forever since it only
232
+ * checks whether src() is truthy, never whether it actually loaded, and the browser renders the
233
+ * alt() text raw inside the small circular avatar container ("Avatar" clipped into "Avata").
234
+ * Reset by the effect below whenever src() itself changes, so a later successful URL (e.g. after
235
+ * uploading a new profile photo) gets a fresh chance to load instead of staying stuck on the
236
+ * fallback from a previous broken one. */
237
+ private readonly _imgFailed;
238
+ private readonly _resetImgFailedOnSrcChange;
230
239
  protected readonly _contentType: _angular_core.Signal<ClxAvatarContentType>;
240
+ protected _onImgError(): void;
231
241
  protected readonly _initials: _angular_core.Signal<string>;
232
242
  protected readonly _iconSize: _angular_core.Signal<ClxSize>;
233
- protected readonly _shapeClass: _angular_core.Signal<"rounded-xl" | "rounded-full">;
243
+ protected readonly _shapeClass: _angular_core.Signal<"rounded-full" | "rounded-xl">;
234
244
  protected readonly _colorClass: _angular_core.Signal<string>;
235
245
  protected readonly _textClass: _angular_core.Signal<string>;
236
246
  protected readonly _hostClass: _angular_core.Signal<string>;
@@ -2099,23 +2109,6 @@ declare class ClxWizardComponent implements AfterContentInit {
2099
2109
  readonly prevLabel: _angular_core.InputSignal<string>;
2100
2110
  readonly nextLabel: _angular_core.InputSignal<string>;
2101
2111
  readonly finishLabel: _angular_core.InputSignal<string>;
2102
- /** Which step to land on when the wizard first renders — for restoring an in-progress flow (e.g.
2103
- * a saved draft, or state re-hydrated after an external redirect) rather than always starting
2104
- * fresh at step 0. Applied once, in ngAfterContentInit, and clamped to a valid index; deliberately
2105
- * bypasses the `linear` guard that goTo()/next() enforce for user-driven navigation — that guard
2106
- * exists to stop a customer from skipping ahead of steps they haven't filled in yet, which doesn't
2107
- * apply here: the caller is asserting those earlier steps are ALREADY valid (e.g. their own
2108
- * signals were just re-prefilled from a backend order), not trying to skip past them. Consumers
2109
- * are responsible for that guarantee — this input trusts it rather than re-validating each
2110
- * skipped step, since isValid() reflects the CURRENT signal state, which the caller controls. */
2111
- readonly initialStep: _angular_core.InputSignal<number | undefined>;
2112
- /** Hides the built-in "Finalizar" button on the LAST step only (every other step's own "Siguiente"
2113
- * button is unaffected) — for a caller that needs its own custom action there instead (e.g. a
2114
- * payment gateway's own branded button rendered inside that step's own projected content, which
2115
- * must trigger the exact same submit logic the wizard's own (finish) output would have, so the
2116
- * step's own isValid still gates whether that custom button is meaningful to show/enable — this
2117
- * input only removes the wizard's OWN redundant generic button, nothing about validation). */
2118
- readonly hideFinishButton: _angular_core.InputSignal<boolean>;
2119
2112
  readonly stepChange: _angular_core.OutputEmitterRef<number>;
2120
2113
  readonly finish: _angular_core.OutputEmitterRef<void>;
2121
2114
  private readonly _destroyRef;
@@ -2123,7 +2116,6 @@ declare class ClxWizardComponent implements AfterContentInit {
2123
2116
  protected _steps: ClxStepComponent[];
2124
2117
  protected readonly _currentIndex: _angular_core.WritableSignal<number>;
2125
2118
  ngAfterContentInit(): void;
2126
- private _applyInitialStep;
2127
2119
  private _syncActiveAttrs;
2128
2120
  protected readonly _lastIndex: _angular_core.Signal<number>;
2129
2121
  protected readonly _currentStepValid: _angular_core.Signal<boolean>;
@@ -2142,7 +2134,7 @@ declare class ClxWizardComponent implements AfterContentInit {
2142
2134
  protected readonly _rootClass: _angular_core.Signal<string>;
2143
2135
  protected _circleClass(i: number): string;
2144
2136
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWizardComponent, never>;
2145
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxWizardComponent, "clx-wizard", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "activeTextColor": { "alias": "activeTextColor"; "required": false; "isSignal": true; }; "underlineColor": { "alias": "underlineColor"; "required": false; "isSignal": true; }; "stepColor": { "alias": "stepColor"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "finishLabel": { "alias": "finishLabel"; "required": false; "isSignal": true; }; "initialStep": { "alias": "initialStep"; "required": false; "isSignal": true; }; "hideFinishButton": { "alias": "hideFinishButton"; "required": false; "isSignal": true; }; }, { "stepChange": "stepChange"; "finish": "finish"; }, ["_stepQuery"], ["*", "[clx-wizard-footer-start]"], true, never>;
2137
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxWizardComponent, "clx-wizard", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "activeTextColor": { "alias": "activeTextColor"; "required": false; "isSignal": true; }; "underlineColor": { "alias": "underlineColor"; "required": false; "isSignal": true; }; "stepColor": { "alias": "stepColor"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "finishLabel": { "alias": "finishLabel"; "required": false; "isSignal": true; }; }, { "stepChange": "stepChange"; "finish": "finish"; }, ["_stepQuery"], ["*", "[clx-wizard-footer-start]"], true, never>;
2146
2138
  }
2147
2139
 
2148
2140
  declare class ClxAppLayoutComponent implements OnInit, OnDestroy {