codexly-ui 0.19.7 → 0.19.9
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 +31 -7
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +29 -13
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -123,9 +123,9 @@ declare class ClxSocialIconComponent {
|
|
|
123
123
|
readonly platform: _angular_core.InputSignal<ClxSocialPlatform>;
|
|
124
124
|
readonly variant: _angular_core.InputSignal<ClxButtonVariant>;
|
|
125
125
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
126
|
-
readonly size: _angular_core.InputSignal<"
|
|
126
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | "xxs" | "xs" | undefined>;
|
|
127
127
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
128
|
-
protected readonly _size: _angular_core.Signal<"
|
|
128
|
+
protected readonly _size: _angular_core.Signal<"sm" | "md" | "lg" | "xxs" | "xs">;
|
|
129
129
|
protected readonly _markup: _angular_core.Signal<SafeHtml>;
|
|
130
130
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
131
131
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxSocialIconComponent, never>;
|
|
@@ -148,11 +148,11 @@ declare class ClxButtonComponent {
|
|
|
148
148
|
* unusual background shade (bright yellow) where the variant's own resolved text color (white)
|
|
149
149
|
* reads poorly and a themed text tone is needed instead. */
|
|
150
150
|
readonly textColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
151
|
-
readonly size: _angular_core.InputSignal<"
|
|
151
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | "xxs" | "xs" | undefined>;
|
|
152
152
|
readonly shape: _angular_core.InputSignal<ClxShape | undefined>;
|
|
153
153
|
private readonly _tableActionsColor;
|
|
154
154
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
155
|
-
protected readonly _size: _angular_core.Signal<"
|
|
155
|
+
protected readonly _size: _angular_core.Signal<"sm" | "md" | "lg" | "xxs" | "xs">;
|
|
156
156
|
protected readonly _shape: _angular_core.Signal<ClxShape>;
|
|
157
157
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
158
158
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -208,11 +208,11 @@ declare class ClxBadgeComponent {
|
|
|
208
208
|
private readonly _themeSvc;
|
|
209
209
|
readonly variant: _angular_core.InputSignal<ClxBadgeVariant>;
|
|
210
210
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
211
|
-
readonly size: _angular_core.InputSignal<"
|
|
211
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "xs" | undefined>;
|
|
212
212
|
readonly shape: _angular_core.InputSignal<ClxShape | undefined>;
|
|
213
213
|
readonly positioned: _angular_core.InputSignal<boolean>;
|
|
214
214
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
215
|
-
protected readonly _size: _angular_core.Signal<"
|
|
215
|
+
protected readonly _size: _angular_core.Signal<"sm" | "md" | "xs">;
|
|
216
216
|
protected readonly _shape: _angular_core.Signal<ClxShape>;
|
|
217
217
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
218
218
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxBadgeComponent, never>;
|
|
@@ -294,7 +294,7 @@ declare class ClxCardComponent {
|
|
|
294
294
|
* product-cart-style layout) regardless of variant/color. */
|
|
295
295
|
readonly border: _angular_core.InputSignal<boolean>;
|
|
296
296
|
/** Per-instance border-radius override — falls back to the theme's global borderRadius when unset. */
|
|
297
|
-
readonly radius: _angular_core.InputSignal<"
|
|
297
|
+
readonly radius: _angular_core.InputSignal<"none" | "sm" | "md" | "lg" | "xl" | "full" | undefined>;
|
|
298
298
|
/** Auto-generated header icon (Material Symbols name) — shown in a rounded primary-subtle
|
|
299
299
|
* square next to headerTitle. Ignored when a manual [clxCardHeader] block is projected. */
|
|
300
300
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
@@ -304,6 +304,11 @@ declare class ClxCardComponent {
|
|
|
304
304
|
/** Optional secondary line under headerTitle. */
|
|
305
305
|
readonly headerSubtitle: _angular_core.InputSignal<string | undefined>;
|
|
306
306
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
307
|
+
/** Header icon badge: explicit [color] → theme cardIconColor → primaryColor (same fallback chain
|
|
308
|
+
* as clx-collapse / the form controls). */
|
|
309
|
+
private readonly _iconColor;
|
|
310
|
+
protected readonly _iconWrapCls: _angular_core.Signal<string>;
|
|
311
|
+
protected readonly _iconCls: _angular_core.Signal<string>;
|
|
307
312
|
protected readonly _titleClass: _angular_core.Signal<string>;
|
|
308
313
|
private readonly _headerSlot;
|
|
309
314
|
private readonly _headerActionsSlot;
|
|
@@ -314,7 +319,7 @@ declare class ClxCardComponent {
|
|
|
314
319
|
protected readonly _hasBody: _angular_core.Signal<boolean>;
|
|
315
320
|
protected readonly _hasFooter: _angular_core.Signal<boolean>;
|
|
316
321
|
/** Blocks interaction only — applied to body/footer so the header (e.g. an enable/disable switch) stays clickable. */
|
|
317
|
-
protected readonly _disabledInteractionCls: _angular_core.Signal<"
|
|
322
|
+
protected readonly _disabledInteractionCls: _angular_core.Signal<"pointer-events-none" | "">;
|
|
318
323
|
protected readonly _bodyClass: _angular_core.Signal<string>;
|
|
319
324
|
protected readonly _footerClass: _angular_core.Signal<string>;
|
|
320
325
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
@@ -369,6 +374,8 @@ declare class ClxCollapseComponent {
|
|
|
369
374
|
readonly dividerThickness: _angular_core.InputSignal<number>;
|
|
370
375
|
/** Two-way bindable: [(expanded)]="..." */
|
|
371
376
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
377
|
+
/** Explicit [color] → theme collapseColor → primaryColor (same fallback chain as clx-input's
|
|
378
|
+
* formControls.input). */
|
|
372
379
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
373
380
|
protected readonly _size: _angular_core.Signal<ClxCollapseSize>;
|
|
374
381
|
protected readonly _sizeConfig: _angular_core.Signal<{
|
|
@@ -2410,6 +2417,9 @@ interface ClxThemeConfig {
|
|
|
2410
2417
|
timelineTitle?: ClxTimelineTitleZoneStyle;
|
|
2411
2418
|
/** Per-form-control accent color overrides — each falls back to primaryColor when unset */
|
|
2412
2419
|
formControls?: ClxFormControlsTheme;
|
|
2420
|
+
/** ClxCollapseComponent accent (header icon + hover tint) when no [color] is passed — falls
|
|
2421
|
+
* back to primaryColor when unset, same as each formControls entry. */
|
|
2422
|
+
collapseColor?: ClxColorInput;
|
|
2413
2423
|
/** ClxTableComponent global style override — see ClxTableTheme for per-field fallbacks */
|
|
2414
2424
|
table?: ClxTableTheme;
|
|
2415
2425
|
/** ClxTabsComponent global style override — see ClxTabsTheme for per-field fallbacks */
|
|
@@ -2422,6 +2432,9 @@ interface ClxThemeConfig {
|
|
|
2422
2432
|
notification?: ClxNotificationTheme;
|
|
2423
2433
|
/** ClxCardComponent border color (outlined/elevated variants) — falls back to primaryColor when unset */
|
|
2424
2434
|
cardBorderColor?: ClxColorInput;
|
|
2435
|
+
/** ClxCardComponent header icon (the [icon] badge) when no [color] is passed — falls back to
|
|
2436
|
+
* primaryColor when unset. */
|
|
2437
|
+
cardIconColor?: ClxColorInput;
|
|
2425
2438
|
/** ClxListComponent divider/border color — falls back to primaryColor when unset */
|
|
2426
2439
|
listBorderColor?: ClxColorInput;
|
|
2427
2440
|
/** Scrollbar thumb color (--clx-scroll/--clx-scroll-light CSS vars) — falls back to
|
|
@@ -2453,7 +2466,7 @@ declare class ClxMenuComponent implements AfterViewInit {
|
|
|
2453
2466
|
readonly style: _angular_core.InputSignal<ClxNavZoneStyle | undefined>;
|
|
2454
2467
|
protected readonly _resolved: _angular_core.Signal<{
|
|
2455
2468
|
color: codexly_ui.ClxColorInput;
|
|
2456
|
-
size: "
|
|
2469
|
+
size: "sm" | "md" | "xs";
|
|
2457
2470
|
weight: codexly_ui.ClxFontWeight;
|
|
2458
2471
|
}>;
|
|
2459
2472
|
protected readonly _color: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
@@ -2587,6 +2600,8 @@ declare class ClxProfileComponent {
|
|
|
2587
2600
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2588
2601
|
readonly menuItems: _angular_core.InputSignal<ClxProfileMenuItem[]>;
|
|
2589
2602
|
readonly signOutLabel: _angular_core.InputSignal<string>;
|
|
2603
|
+
/** Small line under the sign-out item — e.g. the app version. Hidden when empty. */
|
|
2604
|
+
readonly footerText: _angular_core.InputSignal<string>;
|
|
2590
2605
|
readonly menuAction: _angular_core.OutputEmitterRef<string>;
|
|
2591
2606
|
readonly signOut: _angular_core.OutputEmitterRef<void>;
|
|
2592
2607
|
private readonly _themeSvc;
|
|
@@ -2609,7 +2624,7 @@ declare class ClxProfileComponent {
|
|
|
2609
2624
|
protected _onAction(action: string): void;
|
|
2610
2625
|
protected _onSignOut(): void;
|
|
2611
2626
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProfileComponent, never>;
|
|
2612
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProfileComponent, "clx-profile", never, { "firstName": { "alias": "firstName"; "required": false; "isSignal": true; }; "lastName": { "alias": "lastName"; "required": false; "isSignal": true; }; "username": { "alias": "username"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "avatarSrc": { "alias": "avatarSrc"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "signOutLabel": { "alias": "signOutLabel"; "required": false; "isSignal": true; }; }, { "menuAction": "menuAction"; "signOut": "signOut"; }, never, never, true, never>;
|
|
2627
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProfileComponent, "clx-profile", never, { "firstName": { "alias": "firstName"; "required": false; "isSignal": true; }; "lastName": { "alias": "lastName"; "required": false; "isSignal": true; }; "username": { "alias": "username"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "avatarSrc": { "alias": "avatarSrc"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "signOutLabel": { "alias": "signOutLabel"; "required": false; "isSignal": true; }; "footerText": { "alias": "footerText"; "required": false; "isSignal": true; }; }, { "menuAction": "menuAction"; "signOut": "signOut"; }, never, never, true, never>;
|
|
2613
2628
|
}
|
|
2614
2629
|
|
|
2615
2630
|
type ClxAnimateAttentionSeeker = 'bounce' | 'flash' | 'pulse' | 'rubberBand' | 'shakeX' | 'shakeY' | 'headShake' | 'swing' | 'tada' | 'wobble' | 'jello' | 'heartBeat';
|
|
@@ -2807,7 +2822,7 @@ declare class ClxNotificationComponent {
|
|
|
2807
2822
|
} | undefined>;
|
|
2808
2823
|
readonly buttonColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2809
2824
|
readonly buttonVariant: _angular_core.InputSignal<ClxButtonVariant>;
|
|
2810
|
-
readonly buttonSize: _angular_core.InputSignal<"
|
|
2825
|
+
readonly buttonSize: _angular_core.InputSignal<"sm" | "md" | "lg" | "xxs" | "xs">;
|
|
2811
2826
|
readonly buttonIcon: _angular_core.InputSignal<string>;
|
|
2812
2827
|
/** Unread-count badge color — falls back to the theme's notification.unreadColor (then
|
|
2813
2828
|
* primaryColor) when unset. */
|
|
@@ -3366,7 +3381,7 @@ declare class ClxFabComponent {
|
|
|
3366
3381
|
protected readonly _position: _angular_core.Signal<ClxFabPosition>;
|
|
3367
3382
|
protected readonly _triggerClass: _angular_core.Signal<string>;
|
|
3368
3383
|
/** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
|
|
3369
|
-
protected readonly _itemSize: _angular_core.Signal<"
|
|
3384
|
+
protected readonly _itemSize: _angular_core.Signal<"sm" | "xxs" | "xs">;
|
|
3370
3385
|
private readonly _sso;
|
|
3371
3386
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
3372
3387
|
readonly _positions: ConnectedPosition[];
|
|
@@ -4351,7 +4366,7 @@ declare class ClxSearchComponent implements ControlValueAccessor {
|
|
|
4351
4366
|
padDefaultL: string;
|
|
4352
4367
|
padDefaultR: string;
|
|
4353
4368
|
}>;
|
|
4354
|
-
protected readonly _buttonSize: _angular_core.Signal<"
|
|
4369
|
+
protected readonly _buttonSize: _angular_core.Signal<"sm" | "md" | "lg" | "xs">;
|
|
4355
4370
|
protected readonly _wrapperClass: _angular_core.Signal<string>;
|
|
4356
4371
|
protected readonly _inputClass: _angular_core.Signal<string>;
|
|
4357
4372
|
writeValue(val: string): void;
|
|
@@ -4577,6 +4592,7 @@ declare class ClxThemeService {
|
|
|
4577
4592
|
/** Resolved border color for ClxCardComponent (outlined/elevated variants) — falls back to
|
|
4578
4593
|
* primaryColor when unset. Per-instance `[color]` input on clx-card still takes precedence. */
|
|
4579
4594
|
readonly cardBorderColor: _angular_core.Signal<ClxColorInput>;
|
|
4595
|
+
readonly cardIconColor: _angular_core.Signal<ClxColorInput>;
|
|
4580
4596
|
/** Resolved divider/border color for ClxListComponent — falls back to primaryColor when unset.
|
|
4581
4597
|
* Per-instance `[color]` input on clx-list still takes precedence. */
|
|
4582
4598
|
readonly listBorderColor: _angular_core.Signal<ClxColorInput>;
|