codexly-ui 0.10.78 → 0.10.80
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 +23 -8
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +12 -2
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -245,6 +245,9 @@ declare class ClxCardComponent {
|
|
|
245
245
|
readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
|
|
246
246
|
readonly hover: _angular_core.InputSignal<boolean>;
|
|
247
247
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
248
|
+
/** Set to false to drop the card's border entirely (e.g. a shadow-only card matching a
|
|
249
|
+
* product-cart-style layout) regardless of variant/color. */
|
|
250
|
+
readonly border: _angular_core.InputSignal<boolean>;
|
|
248
251
|
/** Auto-generated header icon (Material Symbols name) — shown in a rounded primary-subtle
|
|
249
252
|
* square next to headerTitle. Ignored when a manual [clxCardHeader] block is projected. */
|
|
250
253
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
@@ -269,7 +272,7 @@ declare class ClxCardComponent {
|
|
|
269
272
|
protected readonly _footerClass: _angular_core.Signal<string>;
|
|
270
273
|
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
271
274
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCardComponent, never>;
|
|
272
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCardComponent, "clx-card", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "headerTitle": { "alias": "headerTitle"; "required": false; "isSignal": true; }; "headerSubtitle": { "alias": "headerSubtitle"; "required": false; "isSignal": true; }; }, {}, ["_headerSlot", "_headerActionsSlot", "_bodySlot", "_footerSlot"], ["[clxCardHeader]", "[clxCardHeaderActions]", "[clxCardBody]", "*", "[clxCardFooter]"], true, never>;
|
|
275
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCardComponent, "clx-card", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "headerTitle": { "alias": "headerTitle"; "required": false; "isSignal": true; }; "headerSubtitle": { "alias": "headerSubtitle"; "required": false; "isSignal": true; }; }, {}, ["_headerSlot", "_headerActionsSlot", "_bodySlot", "_footerSlot"], ["[clxCardHeader]", "[clxCardHeaderActions]", "[clxCardBody]", "*", "[clxCardFooter]"], true, never>;
|
|
273
276
|
}
|
|
274
277
|
|
|
275
278
|
declare class ClxCardHeaderDirective {
|
|
@@ -2979,6 +2982,13 @@ declare class ClxProductDetailComponent {
|
|
|
2979
2982
|
readonly product: _angular_core.InputSignal<ClxProductDetailData | null>;
|
|
2980
2983
|
readonly initialVariationId: _angular_core.InputSignal<string | null>;
|
|
2981
2984
|
readonly clxColor: _angular_core.InputSignal<ClxColorInput>;
|
|
2985
|
+
/** Optional override for just the two CTA buttons (Comprar ahora / Agrega al carrito) — some
|
|
2986
|
+
* brand colors (e.g. a saturated yellow) read fine as small accents (badges, tags, selected
|
|
2987
|
+
* spec chips) via clxColor but look garish filling a large solid button; this lets a host swap
|
|
2988
|
+
* only the CTAs to a calmer color without losing the accent everywhere else. Falls back to
|
|
2989
|
+
* clxColor() when not set, so existing consumers are unaffected. */
|
|
2990
|
+
readonly actionColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2991
|
+
protected readonly _actionColor: _angular_core.Signal<ClxColorInput>;
|
|
2982
2992
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
2983
2993
|
readonly currency: _angular_core.InputSignal<string>;
|
|
2984
2994
|
/** Hides the tabs (Características/Especificaciones/Descripción) and the Reviews section —
|
|
@@ -3056,7 +3066,7 @@ declare class ClxProductDetailComponent {
|
|
|
3056
3066
|
specsLeft<T>(specs: T[]): T[];
|
|
3057
3067
|
specsRight<T>(specs: T[]): T[];
|
|
3058
3068
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductDetailComponent, never>;
|
|
3059
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductDetailComponent, "clx-product-detail", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "initialVariationId": { "alias": "initialVariationId"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "buyNow": "buyNow"; "wishlist": "wishlist"; "variationChange": "variationChange"; }, never, never, true, never>;
|
|
3069
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductDetailComponent, "clx-product-detail", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "initialVariationId": { "alias": "initialVariationId"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "actionColor": { "alias": "actionColor"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "buyNow": "buyNow"; "wishlist": "wishlist"; "variationChange": "variationChange"; }, never, never, true, never>;
|
|
3060
3070
|
}
|
|
3061
3071
|
|
|
3062
3072
|
interface ClxProductQuickViewData {
|