codexly-ui 0.10.83 → 0.10.85
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 +13 -6
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +11 -1
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -2511,12 +2511,22 @@ interface ClxFilterChangeEvent {
|
|
|
2511
2511
|
all: ClxFilterValues;
|
|
2512
2512
|
}
|
|
2513
2513
|
|
|
2514
|
+
/** clx-button's own size input excludes 'xl' — mirrored here so applyButtonSize can't be set to a
|
|
2515
|
+
* value the button would silently reject. */
|
|
2516
|
+
type ClxButtonSize = Extract<ClxSize, 'xxs' | 'xs' | 'sm' | 'md' | 'lg'>;
|
|
2514
2517
|
declare class ClxFilterPanelComponent {
|
|
2515
2518
|
private readonly _themeSvc;
|
|
2516
2519
|
readonly fields: _angular_core.InputSignal<ClxFilterField[]>;
|
|
2517
2520
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2518
2521
|
readonly showApply: _angular_core.InputSignal<boolean>;
|
|
2522
|
+
/** Overrides for just the "Aplicar filtros" button — falls back to color()/theme primary and
|
|
2523
|
+
* size 'sm' when unset, same pattern as clx-product-detail's actionColor/wishlistColor. Lets a
|
|
2524
|
+
* host keep a saturated brand color on checkboxes/slider (small accents) while giving the CTA
|
|
2525
|
+
* button its own color and a bigger size if the sidebar's width calls for it. */
|
|
2526
|
+
readonly applyButtonColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2527
|
+
readonly applyButtonSize: _angular_core.InputSignal<ClxButtonSize>;
|
|
2519
2528
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
2529
|
+
protected readonly _applyButtonColor: _angular_core.Signal<ClxColorInput>;
|
|
2520
2530
|
readonly values: _angular_core.ModelSignal<ClxFilterValues>;
|
|
2521
2531
|
readonly filterChange: _angular_core.OutputEmitterRef<ClxFilterChangeEvent>;
|
|
2522
2532
|
readonly applyChange: _angular_core.OutputEmitterRef<ClxFilterValues>;
|
|
@@ -2540,7 +2550,7 @@ declare class ClxFilterPanelComponent {
|
|
|
2540
2550
|
protected _badgeCls(): string;
|
|
2541
2551
|
protected _fieldBadgeCls(): string;
|
|
2542
2552
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxFilterPanelComponent, never>;
|
|
2543
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxFilterPanelComponent, "clx-filter-panel", never, { "fields": { "alias": "fields"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showApply": { "alias": "showApply"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; }, { "values": "valuesChange"; "filterChange": "filterChange"; "applyChange": "applyChange"; }, never, never, true, never>;
|
|
2553
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxFilterPanelComponent, "clx-filter-panel", never, { "fields": { "alias": "fields"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showApply": { "alias": "showApply"; "required": false; "isSignal": true; }; "applyButtonColor": { "alias": "applyButtonColor"; "required": false; "isSignal": true; }; "applyButtonSize": { "alias": "applyButtonSize"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; }, { "values": "valuesChange"; "filterChange": "filterChange"; "applyChange": "applyChange"; }, never, never, true, never>;
|
|
2544
2554
|
}
|
|
2545
2555
|
|
|
2546
2556
|
declare class ClxCarouselDirective {
|