codexly-ui 0.12.47 → 0.13.1
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/fesm2022/codexly-ui.mjs +29 -4
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +32 -14
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -119,9 +119,9 @@ declare class ClxSocialIconComponent {
|
|
|
119
119
|
readonly platform: _angular_core.InputSignal<ClxSocialPlatform>;
|
|
120
120
|
readonly variant: _angular_core.InputSignal<ClxButtonVariant>;
|
|
121
121
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
122
|
-
readonly size: _angular_core.InputSignal<"
|
|
122
|
+
readonly size: _angular_core.InputSignal<"xxs" | "xs" | "sm" | "md" | "lg" | undefined>;
|
|
123
123
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
124
|
-
protected readonly _size: _angular_core.Signal<"
|
|
124
|
+
protected readonly _size: _angular_core.Signal<"xxs" | "xs" | "sm" | "md" | "lg">;
|
|
125
125
|
protected readonly _markup: _angular_core.Signal<SafeHtml>;
|
|
126
126
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
127
127
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxSocialIconComponent, never>;
|
|
@@ -144,11 +144,11 @@ declare class ClxButtonComponent {
|
|
|
144
144
|
* unusual background shade (bright yellow) where the variant's own resolved text color (white)
|
|
145
145
|
* reads poorly and a themed text tone is needed instead. */
|
|
146
146
|
readonly textColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
147
|
-
readonly size: _angular_core.InputSignal<"
|
|
147
|
+
readonly size: _angular_core.InputSignal<"xxs" | "xs" | "sm" | "md" | "lg" | undefined>;
|
|
148
148
|
readonly shape: _angular_core.InputSignal<ClxShape | undefined>;
|
|
149
149
|
private readonly _tableActionsColor;
|
|
150
150
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
151
|
-
protected readonly _size: _angular_core.Signal<"
|
|
151
|
+
protected readonly _size: _angular_core.Signal<"xxs" | "xs" | "sm" | "md" | "lg">;
|
|
152
152
|
protected readonly _shape: _angular_core.Signal<ClxShape>;
|
|
153
153
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
154
154
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -204,11 +204,11 @@ declare class ClxBadgeComponent {
|
|
|
204
204
|
private readonly _themeSvc;
|
|
205
205
|
readonly variant: _angular_core.InputSignal<ClxBadgeVariant>;
|
|
206
206
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
207
|
-
readonly size: _angular_core.InputSignal<"
|
|
207
|
+
readonly size: _angular_core.InputSignal<"xs" | "sm" | "md" | undefined>;
|
|
208
208
|
readonly shape: _angular_core.InputSignal<ClxShape | undefined>;
|
|
209
209
|
readonly positioned: _angular_core.InputSignal<boolean>;
|
|
210
210
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
211
|
-
protected readonly _size: _angular_core.Signal<"
|
|
211
|
+
protected readonly _size: _angular_core.Signal<"xs" | "sm" | "md">;
|
|
212
212
|
protected readonly _shape: _angular_core.Signal<ClxShape>;
|
|
213
213
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
214
214
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxBadgeComponent, never>;
|
|
@@ -280,7 +280,7 @@ declare class ClxCardComponent {
|
|
|
280
280
|
* product-cart-style layout) regardless of variant/color. */
|
|
281
281
|
readonly border: _angular_core.InputSignal<boolean>;
|
|
282
282
|
/** Per-instance border-radius override — falls back to the theme's global borderRadius when unset. */
|
|
283
|
-
readonly radius: _angular_core.InputSignal<"sm" | "md" | "lg" | "
|
|
283
|
+
readonly radius: _angular_core.InputSignal<"sm" | "md" | "lg" | "xl" | "none" | "full" | undefined>;
|
|
284
284
|
/** Auto-generated header icon (Material Symbols name) — shown in a rounded primary-subtle
|
|
285
285
|
* square next to headerTitle. Ignored when a manual [clxCardHeader] block is projected. */
|
|
286
286
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
@@ -495,7 +495,7 @@ declare class ClxProgressBarComponent {
|
|
|
495
495
|
readonly variant: _angular_core.InputSignal<ClxProgressBarVariant>;
|
|
496
496
|
readonly label: _angular_core.InputSignal<string>;
|
|
497
497
|
readonly showValue: _angular_core.InputSignal<boolean>;
|
|
498
|
-
readonly valueFormat: _angular_core.InputSignal<"
|
|
498
|
+
readonly valueFormat: _angular_core.InputSignal<"percent" | "fraction" | "value">;
|
|
499
499
|
protected readonly _pct: _angular_core.Signal<number>;
|
|
500
500
|
protected readonly _pbSize: _angular_core.Signal<ClxProgressBarSize>;
|
|
501
501
|
protected readonly _trackH: _angular_core.Signal<string>;
|
|
@@ -1923,7 +1923,7 @@ declare class ClxEditorComponent implements AfterViewInit, OnDestroy, ControlVal
|
|
|
1923
1923
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
1924
1924
|
readonly size: _angular_core.InputSignal<ClxEditorSize | undefined>;
|
|
1925
1925
|
protected readonly _editorSize: _angular_core.Signal<ClxEditorSize>;
|
|
1926
|
-
readonly status: _angular_core.InputSignal<"
|
|
1926
|
+
readonly status: _angular_core.InputSignal<"success" | "error" | "default">;
|
|
1927
1927
|
readonly statusMessage: _angular_core.InputSignal<string>;
|
|
1928
1928
|
readonly hint: _angular_core.InputSignal<string>;
|
|
1929
1929
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -2099,6 +2099,23 @@ declare class ClxWizardComponent implements AfterContentInit {
|
|
|
2099
2099
|
readonly prevLabel: _angular_core.InputSignal<string>;
|
|
2100
2100
|
readonly nextLabel: _angular_core.InputSignal<string>;
|
|
2101
2101
|
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>;
|
|
2102
2119
|
readonly stepChange: _angular_core.OutputEmitterRef<number>;
|
|
2103
2120
|
readonly finish: _angular_core.OutputEmitterRef<void>;
|
|
2104
2121
|
private readonly _destroyRef;
|
|
@@ -2106,6 +2123,7 @@ declare class ClxWizardComponent implements AfterContentInit {
|
|
|
2106
2123
|
protected _steps: ClxStepComponent[];
|
|
2107
2124
|
protected readonly _currentIndex: _angular_core.WritableSignal<number>;
|
|
2108
2125
|
ngAfterContentInit(): void;
|
|
2126
|
+
private _applyInitialStep;
|
|
2109
2127
|
private _syncActiveAttrs;
|
|
2110
2128
|
protected readonly _lastIndex: _angular_core.Signal<number>;
|
|
2111
2129
|
protected readonly _currentStepValid: _angular_core.Signal<boolean>;
|
|
@@ -2124,7 +2142,7 @@ declare class ClxWizardComponent implements AfterContentInit {
|
|
|
2124
2142
|
protected readonly _rootClass: _angular_core.Signal<string>;
|
|
2125
2143
|
protected _circleClass(i: number): string;
|
|
2126
2144
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWizardComponent, never>;
|
|
2127
|
-
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>;
|
|
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>;
|
|
2128
2146
|
}
|
|
2129
2147
|
|
|
2130
2148
|
declare class ClxAppLayoutComponent implements OnInit, OnDestroy {
|
|
@@ -2404,7 +2422,7 @@ declare class ClxMenuComponent implements AfterViewInit {
|
|
|
2404
2422
|
readonly style: _angular_core.InputSignal<ClxNavZoneStyle | undefined>;
|
|
2405
2423
|
protected readonly _resolved: _angular_core.Signal<{
|
|
2406
2424
|
color: codexly_ui.ClxColorInput;
|
|
2407
|
-
size: "
|
|
2425
|
+
size: "xs" | "sm" | "md";
|
|
2408
2426
|
weight: codexly_ui.ClxFontWeight;
|
|
2409
2427
|
}>;
|
|
2410
2428
|
protected readonly _color: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
@@ -2758,7 +2776,7 @@ declare class ClxNotificationComponent {
|
|
|
2758
2776
|
} | undefined>;
|
|
2759
2777
|
readonly buttonColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2760
2778
|
readonly buttonVariant: _angular_core.InputSignal<ClxButtonVariant>;
|
|
2761
|
-
readonly buttonSize: _angular_core.InputSignal<"
|
|
2779
|
+
readonly buttonSize: _angular_core.InputSignal<"xxs" | "xs" | "sm" | "md" | "lg">;
|
|
2762
2780
|
readonly buttonIcon: _angular_core.InputSignal<string>;
|
|
2763
2781
|
/** Unread-count badge color — falls back to the theme's notification.unreadColor (then
|
|
2764
2782
|
* primaryColor) when unset. */
|
|
@@ -3310,7 +3328,7 @@ declare class ClxFabComponent {
|
|
|
3310
3328
|
protected readonly _position: _angular_core.Signal<ClxFabPosition>;
|
|
3311
3329
|
protected readonly _triggerClass: _angular_core.Signal<string>;
|
|
3312
3330
|
/** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
|
|
3313
|
-
protected readonly _itemSize: _angular_core.Signal<"
|
|
3331
|
+
protected readonly _itemSize: _angular_core.Signal<"xxs" | "xs" | "sm">;
|
|
3314
3332
|
private readonly _sso;
|
|
3315
3333
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
3316
3334
|
readonly _positions: ConnectedPosition[];
|
|
@@ -4158,7 +4176,7 @@ declare class ClxSearchComponent implements ControlValueAccessor {
|
|
|
4158
4176
|
padDefaultL: string;
|
|
4159
4177
|
padDefaultR: string;
|
|
4160
4178
|
}>;
|
|
4161
|
-
protected readonly _buttonSize: _angular_core.Signal<"
|
|
4179
|
+
protected readonly _buttonSize: _angular_core.Signal<"xs" | "sm" | "md" | "lg">;
|
|
4162
4180
|
protected readonly _wrapperClass: _angular_core.Signal<string>;
|
|
4163
4181
|
protected readonly _inputClass: _angular_core.Signal<string>;
|
|
4164
4182
|
writeValue(val: string): void;
|