codexly-ui 0.14.2 → 0.14.4
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 +80 -19
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +25 -13
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<"sm" | "md" | "lg" | "xxs" | "xs" | undefined>;
|
|
123
123
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
124
|
-
protected readonly _size: _angular_core.Signal<"
|
|
124
|
+
protected readonly _size: _angular_core.Signal<"sm" | "md" | "lg" | "xxs" | "xs">;
|
|
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<"sm" | "md" | "lg" | "xxs" | "xs" | 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<"sm" | "md" | "lg" | "xxs" | "xs">;
|
|
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<"sm" | "md" | "xs" | 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<"sm" | "md" | "xs">;
|
|
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>;
|
|
@@ -290,7 +290,7 @@ declare class ClxCardComponent {
|
|
|
290
290
|
* product-cart-style layout) regardless of variant/color. */
|
|
291
291
|
readonly border: _angular_core.InputSignal<boolean>;
|
|
292
292
|
/** Per-instance border-radius override — falls back to the theme's global borderRadius when unset. */
|
|
293
|
-
readonly radius: _angular_core.InputSignal<"sm" | "md" | "lg" | "
|
|
293
|
+
readonly radius: _angular_core.InputSignal<"sm" | "md" | "lg" | "none" | "xl" | "full" | undefined>;
|
|
294
294
|
/** Auto-generated header icon (Material Symbols name) — shown in a rounded primary-subtle
|
|
295
295
|
* square next to headerTitle. Ignored when a manual [clxCardHeader] block is projected. */
|
|
296
296
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
@@ -505,7 +505,7 @@ declare class ClxProgressBarComponent {
|
|
|
505
505
|
readonly variant: _angular_core.InputSignal<ClxProgressBarVariant>;
|
|
506
506
|
readonly label: _angular_core.InputSignal<string>;
|
|
507
507
|
readonly showValue: _angular_core.InputSignal<boolean>;
|
|
508
|
-
readonly valueFormat: _angular_core.InputSignal<"
|
|
508
|
+
readonly valueFormat: _angular_core.InputSignal<"value" | "percent" | "fraction">;
|
|
509
509
|
protected readonly _pct: _angular_core.Signal<number>;
|
|
510
510
|
protected readonly _pbSize: _angular_core.Signal<ClxProgressBarSize>;
|
|
511
511
|
protected readonly _trackH: _angular_core.Signal<string>;
|
|
@@ -1057,6 +1057,12 @@ declare class ClxNumberComponent implements ControlValueAccessor {
|
|
|
1057
1057
|
/** Disabled state for standalone use (without FormControl) */
|
|
1058
1058
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1059
1059
|
readonly _value: _angular_core.WritableSignal<number>;
|
|
1060
|
+
/** What the native input actually shows while the user is typing — kept separate from _value so
|
|
1061
|
+
* a trailing "." or "," (valid mid-edit, not yet a complete number) isn't stomped by re-rendering
|
|
1062
|
+
* the parsed numeric value on every keystroke; see _handleInput's own comment. Resynced from
|
|
1063
|
+
* _value only on programmatic changes (writeValue, the value() input, +/-, blur), never while the
|
|
1064
|
+
* user is actively typing a valid partial number. */
|
|
1065
|
+
readonly _displayText: _angular_core.WritableSignal<string>;
|
|
1060
1066
|
private readonly _cvaDisabled;
|
|
1061
1067
|
private readonly _cardDisabled;
|
|
1062
1068
|
private _cvaConnected;
|
|
@@ -1090,6 +1096,12 @@ declare class ClxNumberComponent implements ControlValueAccessor {
|
|
|
1090
1096
|
registerOnChange(fn: (v: number) => void): void;
|
|
1091
1097
|
registerOnTouched(fn: () => void): void;
|
|
1092
1098
|
setDisabledState(disabled: boolean): void;
|
|
1099
|
+
/** Allows only digits, a single decimal separator (. or ,) and a leading minus — anything else
|
|
1100
|
+
* typed (letters, a second dot, a stray minus mid-string) is dropped. This is the type="text"
|
|
1101
|
+
* replacement for the browser's own type="number" filtering, needed because the native one keys
|
|
1102
|
+
* off the BROWSER's locale for which decimal separator it accepts and silently rejects the other,
|
|
1103
|
+
* blocking that key outright for users whose input doesn't match. */
|
|
1104
|
+
private _sanitizeTyped;
|
|
1093
1105
|
protected _handleInput(event: Event): void;
|
|
1094
1106
|
protected _handleBlur(): void;
|
|
1095
1107
|
/** Number of decimal places implied by step() (e.g. 0.1 -> 1, 0.01 -> 2, 1 -> 0) — used to round
|
|
@@ -1938,7 +1950,7 @@ declare class ClxEditorComponent implements AfterViewInit, OnDestroy, ControlVal
|
|
|
1938
1950
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
1939
1951
|
readonly size: _angular_core.InputSignal<ClxEditorSize | undefined>;
|
|
1940
1952
|
protected readonly _editorSize: _angular_core.Signal<ClxEditorSize>;
|
|
1941
|
-
readonly status: _angular_core.InputSignal<"
|
|
1953
|
+
readonly status: _angular_core.InputSignal<"default" | "success" | "error">;
|
|
1942
1954
|
readonly statusMessage: _angular_core.InputSignal<string>;
|
|
1943
1955
|
readonly hint: _angular_core.InputSignal<string>;
|
|
1944
1956
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -2419,7 +2431,7 @@ declare class ClxMenuComponent implements AfterViewInit {
|
|
|
2419
2431
|
readonly style: _angular_core.InputSignal<ClxNavZoneStyle | undefined>;
|
|
2420
2432
|
protected readonly _resolved: _angular_core.Signal<{
|
|
2421
2433
|
color: codexly_ui.ClxColorInput;
|
|
2422
|
-
size: "
|
|
2434
|
+
size: "sm" | "md" | "xs";
|
|
2423
2435
|
weight: codexly_ui.ClxFontWeight;
|
|
2424
2436
|
}>;
|
|
2425
2437
|
protected readonly _color: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
@@ -2773,7 +2785,7 @@ declare class ClxNotificationComponent {
|
|
|
2773
2785
|
} | undefined>;
|
|
2774
2786
|
readonly buttonColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2775
2787
|
readonly buttonVariant: _angular_core.InputSignal<ClxButtonVariant>;
|
|
2776
|
-
readonly buttonSize: _angular_core.InputSignal<"
|
|
2788
|
+
readonly buttonSize: _angular_core.InputSignal<"sm" | "md" | "lg" | "xxs" | "xs">;
|
|
2777
2789
|
readonly buttonIcon: _angular_core.InputSignal<string>;
|
|
2778
2790
|
/** Unread-count badge color — falls back to the theme's notification.unreadColor (then
|
|
2779
2791
|
* primaryColor) when unset. */
|
|
@@ -3325,7 +3337,7 @@ declare class ClxFabComponent {
|
|
|
3325
3337
|
protected readonly _position: _angular_core.Signal<ClxFabPosition>;
|
|
3326
3338
|
protected readonly _triggerClass: _angular_core.Signal<string>;
|
|
3327
3339
|
/** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
|
|
3328
|
-
protected readonly _itemSize: _angular_core.Signal<"
|
|
3340
|
+
protected readonly _itemSize: _angular_core.Signal<"sm" | "xxs" | "xs">;
|
|
3329
3341
|
private readonly _sso;
|
|
3330
3342
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
3331
3343
|
readonly _positions: ConnectedPosition[];
|
|
@@ -4173,7 +4185,7 @@ declare class ClxSearchComponent implements ControlValueAccessor {
|
|
|
4173
4185
|
padDefaultL: string;
|
|
4174
4186
|
padDefaultR: string;
|
|
4175
4187
|
}>;
|
|
4176
|
-
protected readonly _buttonSize: _angular_core.Signal<"
|
|
4188
|
+
protected readonly _buttonSize: _angular_core.Signal<"sm" | "md" | "lg" | "xs">;
|
|
4177
4189
|
protected readonly _wrapperClass: _angular_core.Signal<string>;
|
|
4178
4190
|
protected readonly _inputClass: _angular_core.Signal<string>;
|
|
4179
4191
|
writeValue(val: string): void;
|