codexly-ui 0.19.8 → 0.20.0
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 +216 -28
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +50 -1
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -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;
|
|
@@ -2427,6 +2432,9 @@ interface ClxThemeConfig {
|
|
|
2427
2432
|
notification?: ClxNotificationTheme;
|
|
2428
2433
|
/** ClxCardComponent border color (outlined/elevated variants) — falls back to primaryColor when unset */
|
|
2429
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;
|
|
2430
2438
|
/** ClxListComponent divider/border color — falls back to primaryColor when unset */
|
|
2431
2439
|
listBorderColor?: ClxColorInput;
|
|
2432
2440
|
/** Scrollbar thumb color (--clx-scroll/--clx-scroll-light CSS vars) — falls back to
|
|
@@ -3553,6 +3561,46 @@ declare class ClxPageServerErrorComponent {
|
|
|
3553
3561
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageServerErrorComponent, "clx-page-server-error", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "retryLabel": { "alias": "retryLabel"; "required": false; "isSignal": true; }; "backLabel": { "alias": "backLabel"; "required": false; "isSignal": true; }; "errorId": { "alias": "errorId"; "required": false; "isSignal": true; }; }, { "retry": "retry"; "back": "back"; }, never, never, true, never>;
|
|
3554
3562
|
}
|
|
3555
3563
|
|
|
3564
|
+
/** Full-page "we're under maintenance" state (503). Same layout as clx-page-server-error, in the
|
|
3565
|
+
* brand yellow. No buttons: the host app removes it by itself when the service is back. */
|
|
3566
|
+
declare class ClxPageMaintenanceComponent {
|
|
3567
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
3568
|
+
readonly description: _angular_core.InputSignal<string>;
|
|
3569
|
+
/** Estimated end (ISO string or Date). Empty → no "Volvemos a las…" pill. */
|
|
3570
|
+
readonly until: _angular_core.InputSignal<string | Date | null>;
|
|
3571
|
+
readonly liveLabel: _angular_core.InputSignal<string>;
|
|
3572
|
+
readonly showCode: _angular_core.InputSignal<boolean>;
|
|
3573
|
+
protected readonly untilLabel: _angular_core.Signal<string>;
|
|
3574
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxPageMaintenanceComponent, never>;
|
|
3575
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageMaintenanceComponent, "clx-page-maintenance", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "until": { "alias": "until"; "required": false; "isSignal": true; }; "liveLabel": { "alias": "liveLabel"; "required": false; "isSignal": true; }; "showCode": { "alias": "showCode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
/** Non-blocking announcement of a scheduled maintenance window:
|
|
3579
|
+
* "Mantenimiento programado hoy de 11:00 p. m. a 11:30 p. m. · <message>". The window is formatted
|
|
3580
|
+
* from startsAt/endsAt (hoy / mañana / day name). `checkoutBlocked` switches the copy to "las
|
|
3581
|
+
* compras están pausadas" for the store. Emits `dismissed` when closed (the host decides for how long). */
|
|
3582
|
+
declare class ClxMaintenanceBannerComponent {
|
|
3583
|
+
readonly startsAt: _angular_core.InputSignal<string | Date>;
|
|
3584
|
+
readonly endsAt: _angular_core.InputSignal<string | Date>;
|
|
3585
|
+
/** Extra text from Sistema → Mantenimiento. */
|
|
3586
|
+
readonly message: _angular_core.InputSignal<string | null>;
|
|
3587
|
+
/** The store already stopped taking purchases. */
|
|
3588
|
+
readonly checkoutBlocked: _angular_core.InputSignal<boolean>;
|
|
3589
|
+
readonly dismissible: _angular_core.InputSignal<boolean>;
|
|
3590
|
+
readonly dismissed: _angular_core.OutputEmitterRef<void>;
|
|
3591
|
+
protected readonly heading: _angular_core.Signal<string>;
|
|
3592
|
+
protected readonly detail: _angular_core.Signal<string | null>;
|
|
3593
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxMaintenanceBannerComponent, never>;
|
|
3594
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxMaintenanceBannerComponent, "clx-maintenance-banner", never, { "startsAt": { "alias": "startsAt"; "required": true; "isSignal": true; }; "endsAt": { "alias": "endsAt"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "checkoutBlocked": { "alias": "checkoutBlocked"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; }, never, never, true, never>;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
/** Time formatting shared by clx-page-maintenance and clx-maintenance-banner (es-CO, 12 h). */
|
|
3598
|
+
/** "11:30 p. m." — empty string when there is no valid date. */
|
|
3599
|
+
declare function formatClxTime(value: string | Date | null | undefined): string;
|
|
3600
|
+
/** "hoy de 11:00 p. m. a 11:30 p. m." · "mañana de …" · "el jueves, 23 oct de …" ·
|
|
3601
|
+
* spanning midnight: "hoy de 11:00 p. m. a mañana 1:00 a. m.". */
|
|
3602
|
+
declare function formatClxWindow(start: string | Date, end: string | Date, now?: Date): string;
|
|
3603
|
+
|
|
3556
3604
|
declare class ClxPageEmptyComponent {
|
|
3557
3605
|
private readonly _themeSvc;
|
|
3558
3606
|
readonly icon: _angular_core.InputSignal<string>;
|
|
@@ -4584,6 +4632,7 @@ declare class ClxThemeService {
|
|
|
4584
4632
|
/** Resolved border color for ClxCardComponent (outlined/elevated variants) — falls back to
|
|
4585
4633
|
* primaryColor when unset. Per-instance `[color]` input on clx-card still takes precedence. */
|
|
4586
4634
|
readonly cardBorderColor: _angular_core.Signal<ClxColorInput>;
|
|
4635
|
+
readonly cardIconColor: _angular_core.Signal<ClxColorInput>;
|
|
4587
4636
|
/** Resolved divider/border color for ClxListComponent — falls back to primaryColor when unset.
|
|
4588
4637
|
* Per-instance `[color]` input on clx-list still takes precedence. */
|
|
4589
4638
|
readonly listBorderColor: _angular_core.Signal<ClxColorInput>;
|
|
@@ -4723,5 +4772,5 @@ declare class ClxToastService {
|
|
|
4723
4772
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ClxToastService>;
|
|
4724
4773
|
}
|
|
4725
4774
|
|
|
4726
|
-
export { CLX_ADDON_BORDER, CLX_ADDON_TEXT, CLX_ALERT_OPTIONS, CLX_ALERT_RESOLVE, CLX_BG_ADDON, CLX_BG_DISABLED, CLX_BG_ICON_WRAP, CLX_BG_SECTION, CLX_BG_SURFACE, CLX_BORDER_DEFAULT, CLX_BORDER_DISABLED, CLX_BORDER_MEDIUM, CLX_COLOR_HEX, CLX_COLOR_HEX_100, CLX_COLOR_MAP, CLX_FONT_CATALOG, CLX_MODAL_ANIM_CONFIG, CLX_MODAL_DATA, CLX_MODAL_REF, CLX_OPTION_DISABLED, CLX_PLACEHOLDER, CLX_RADIO_GROUP, CLX_RADIUS_MAP, CLX_TEXT_BODY, CLX_TEXT_DISABLED, CLX_TEXT_HEADING, CLX_TEXT_HINT, CLX_TEXT_IDLE, CLX_TEXT_INPUT, CLX_TEXT_LABEL, CLX_TEXT_OPTION, CLX_TEXT_SUBTITLE, CLX_TEXT_TITLE, CLX_THEME_CONFIG, CLX_THEME_DEFAULTS, CLX_TOAST_DEFAULTS, ClxAlertComponent, ClxAlertListComponent, ClxAlertService, ClxAnimateDirective, ClxAnimateGroupDirective, ClxAnimateService, ClxAppLayoutComponent, ClxAvatarComponent, ClxBadgeComponent, ClxBrandComponent, ClxButtonComponent, ClxButtonGroupComponent, ClxCardBodyDirective, ClxCardComponent, ClxCardExpiryInputComponent, ClxCardFooterDirective, ClxCardHeaderActionsDirective, ClxCardHeaderDirective, ClxCardNumberInputComponent, ClxCardValidators, ClxCarouselComponent, ClxCarouselDirective, ClxCartComponent, ClxCartSummaryDrawer, ClxCellDirective, ClxCheckboxComponent, ClxCollapseComponent, ClxColorPickerComponent, ClxColumnDefDirective, ClxDateRangePickerComponent, ClxDatepickerComponent, ClxDrawerComponent, ClxDrawerService, ClxEditorComponent, ClxEditorImageModalComponent, ClxEditorLinkModalComponent, ClxFabComponent, ClxFilterPanelComponent, ClxHeaderCellDirective, ClxIconComponent, ClxInputComponent, ClxListComponent, ClxListItemComponent, ClxMenuComponent, ClxMenuItemComponent, ClxMenuItemTrailingDirective, ClxModalComponent, ClxModalService, ClxNativeOverlayService, ClxNavGroupComponent, ClxNotificationComponent, ClxNumberComponent, ClxOtpComponent, ClxPageEmptyComponent, ClxPageHeaderComponent, ClxPageHeaderTitleDirective, ClxPageNotFoundComponent, ClxPageServerErrorComponent, ClxPageUnauthorizedComponent, ClxPaginationComponent, ClxProductComponent, ClxProductDetailComponent, ClxProductQuickViewComponent, ClxProfileComponent, ClxProgressBarComponent, ClxRadioComponent, ClxRadioGroupComponent, ClxRankedListComponent, ClxRatingComponent, ClxSearchComponent, ClxSelectComponent, ClxSkeletonComponent, ClxSliderComponent, ClxSocialIconComponent, ClxSpinnerComponent, ClxStatCardComponent, ClxStepComponent, ClxStepperComponent, ClxSwitchComponent, ClxTabDirective, ClxTableActionsComponent, ClxTableComponent, ClxTableProductCellComponent, ClxTableProgressCellComponent, ClxTableStatusCellComponent, ClxTabsComponent, ClxTagComponent, ClxTextareaComponent, ClxThemeService, ClxTimelineComponent, ClxTimelineItemComponent, ClxTimepickerComponent, ClxToastComponent, ClxToastContainerComponent, ClxToastService, ClxTooltipComponent, ClxTooltipDirective, ClxTreeComponent, ClxUploadComponent, ClxWidgetCardComponent, ClxWishlistComponent, ClxWizardComponent, TIMEPICKER_SIZE_MAP, detectClxCardBrand, isClxCardExpired, parseColorInput, provideCodexlyTheme, resolveColor, resolveContainerRadius, resolveRadius };
|
|
4775
|
+
export { CLX_ADDON_BORDER, CLX_ADDON_TEXT, CLX_ALERT_OPTIONS, CLX_ALERT_RESOLVE, CLX_BG_ADDON, CLX_BG_DISABLED, CLX_BG_ICON_WRAP, CLX_BG_SECTION, CLX_BG_SURFACE, CLX_BORDER_DEFAULT, CLX_BORDER_DISABLED, CLX_BORDER_MEDIUM, CLX_COLOR_HEX, CLX_COLOR_HEX_100, CLX_COLOR_MAP, CLX_FONT_CATALOG, CLX_MODAL_ANIM_CONFIG, CLX_MODAL_DATA, CLX_MODAL_REF, CLX_OPTION_DISABLED, CLX_PLACEHOLDER, CLX_RADIO_GROUP, CLX_RADIUS_MAP, CLX_TEXT_BODY, CLX_TEXT_DISABLED, CLX_TEXT_HEADING, CLX_TEXT_HINT, CLX_TEXT_IDLE, CLX_TEXT_INPUT, CLX_TEXT_LABEL, CLX_TEXT_OPTION, CLX_TEXT_SUBTITLE, CLX_TEXT_TITLE, CLX_THEME_CONFIG, CLX_THEME_DEFAULTS, CLX_TOAST_DEFAULTS, ClxAlertComponent, ClxAlertListComponent, ClxAlertService, ClxAnimateDirective, ClxAnimateGroupDirective, ClxAnimateService, ClxAppLayoutComponent, ClxAvatarComponent, ClxBadgeComponent, ClxBrandComponent, ClxButtonComponent, ClxButtonGroupComponent, ClxCardBodyDirective, ClxCardComponent, ClxCardExpiryInputComponent, ClxCardFooterDirective, ClxCardHeaderActionsDirective, ClxCardHeaderDirective, ClxCardNumberInputComponent, ClxCardValidators, ClxCarouselComponent, ClxCarouselDirective, ClxCartComponent, ClxCartSummaryDrawer, ClxCellDirective, ClxCheckboxComponent, ClxCollapseComponent, ClxColorPickerComponent, ClxColumnDefDirective, ClxDateRangePickerComponent, ClxDatepickerComponent, ClxDrawerComponent, ClxDrawerService, ClxEditorComponent, ClxEditorImageModalComponent, ClxEditorLinkModalComponent, ClxFabComponent, ClxFilterPanelComponent, ClxHeaderCellDirective, ClxIconComponent, ClxInputComponent, ClxListComponent, ClxListItemComponent, ClxMaintenanceBannerComponent, ClxMenuComponent, ClxMenuItemComponent, ClxMenuItemTrailingDirective, ClxModalComponent, ClxModalService, ClxNativeOverlayService, ClxNavGroupComponent, ClxNotificationComponent, ClxNumberComponent, ClxOtpComponent, ClxPageEmptyComponent, ClxPageHeaderComponent, ClxPageHeaderTitleDirective, ClxPageMaintenanceComponent, ClxPageNotFoundComponent, ClxPageServerErrorComponent, ClxPageUnauthorizedComponent, ClxPaginationComponent, ClxProductComponent, ClxProductDetailComponent, ClxProductQuickViewComponent, ClxProfileComponent, ClxProgressBarComponent, ClxRadioComponent, ClxRadioGroupComponent, ClxRankedListComponent, ClxRatingComponent, ClxSearchComponent, ClxSelectComponent, ClxSkeletonComponent, ClxSliderComponent, ClxSocialIconComponent, ClxSpinnerComponent, ClxStatCardComponent, ClxStepComponent, ClxStepperComponent, ClxSwitchComponent, ClxTabDirective, ClxTableActionsComponent, ClxTableComponent, ClxTableProductCellComponent, ClxTableProgressCellComponent, ClxTableStatusCellComponent, ClxTabsComponent, ClxTagComponent, ClxTextareaComponent, ClxThemeService, ClxTimelineComponent, ClxTimelineItemComponent, ClxTimepickerComponent, ClxToastComponent, ClxToastContainerComponent, ClxToastService, ClxTooltipComponent, ClxTooltipDirective, ClxTreeComponent, ClxUploadComponent, ClxWidgetCardComponent, ClxWishlistComponent, ClxWizardComponent, TIMEPICKER_SIZE_MAP, detectClxCardBrand, formatClxTime, formatClxWindow, isClxCardExpired, parseColorInput, provideCodexlyTheme, resolveColor, resolveContainerRadius, resolveRadius };
|
|
4727
4776
|
export type { ClxAlertButtonOptions, ClxAlertListItem, ClxAlertOptions, ClxAlertResult, ClxAlertSeverity, ClxAlertType, ClxAnimateAttentionSeeker, ClxAnimateBackEntrance, ClxAnimateBackExit, ClxAnimateBouncingEntrance, ClxAnimateBouncingExit, ClxAnimateConfig, ClxAnimateDefaults, ClxAnimateEvent, ClxAnimateFadingEntrance, ClxAnimateFadingExit, ClxAnimateFlipper, ClxAnimateLightspeed, ClxAnimateName, ClxAnimateRotatingEntrance, ClxAnimateRotatingExit, ClxAnimateSlidingEntrance, ClxAnimateSlidingExit, ClxAnimateSpecial, ClxAnimateTrigger, ClxAnimateZoomingEntrance, ClxAnimateZoomingExit, ClxAvatarContentType, ClxBadgeVariant, ClxBrandSize, ClxButtonColor, ClxButtonGroupShape, ClxButtonVariant, ClxCardBrand, ClxCardPadding, ClxCardShadow, ClxCardTitleZoneStyle, ClxCardVariant, ClxCarouselAspectRatio, ClxCarouselConfig, ClxCartItem, ClxCartSummaryData, ClxCellContext, ClxCheckboxVariant, ClxCollapseDivider, ClxCollapseSize, ClxColor, ClxColorInput, ClxColorPickerFormat, ClxColorPickerSize, ClxColorResolved, ClxColorTokens, ClxCouponResult, ClxDateRange, ClxDateRangePickerSize, ClxDateRangePickerStatus, ClxDatepickerSize, ClxDatepickerStatus, ClxDrawerButtonOptions, ClxDrawerConfig, ClxDrawerPosition, ClxDrawerRef, ClxDrawerSize, ClxEditorSize, ClxEditorTool, ClxEditorToolbarGroup, ClxExistingFile, ClxFabItem, ClxFabPosition, ClxFilterChangeEvent, ClxFilterField, ClxFilterFieldType, ClxFilterOption, ClxFilterValue, ClxFilterValues, ClxFontFamily, ClxFontOption, ClxFontWeight, ClxFormControlsTheme, ClxInputSize, ClxInputStatus, ClxInputType, ClxListItem, ClxListItemLabelZoneStyle, ClxListSize, ClxListVariant, ClxModalButtonOptions, ClxModalConfig, ClxModalRef, ClxModalSize, ClxNavZoneStyle, ClxNotificationItem, ClxNotificationSeverity, ClxNotificationSeverityColors, ClxNotificationSize, ClxNotificationTheme, ClxNumberSize, ClxNumberVariant, ClxOtpSize, ClxPageChangeEvent, ClxPageHeaderTextSize, ClxPageHeaderZoneStyle, ClxPageSizeChangeEvent, ClxPaginationSize, ClxPaginationTheme, ClxProduct, ClxProductDescription, ClxProductDetailData, ClxProductLayout, ClxProductQuickViewData, ClxProductQuickViewResult, ClxProductSize, ClxProductSpec, ClxProfileMenuItem, ClxProgressBarSegment, ClxProgressBarSize, ClxProgressBarVariant, ClxRadioVariant, ClxRankedListItem, ClxResolvedCardTitleZoneStyle, ClxResolvedListItemLabelZoneStyle, ClxResolvedNavZoneStyle, ClxResolvedNotificationStyle, ClxResolvedPageHeaderZoneStyle, ClxResolvedPaginationStyle, ClxResolvedTableStyle, ClxResolvedTabsStyle, ClxResolvedTimelineTitleZoneStyle, ClxResolvedWizardStyle, ClxReview, ClxRippleItem, ClxSelectOption, ClxSelectSize, ClxShade, ClxShape, ClxSize, ClxSkeletonVariant, ClxSliderSize, ClxSocialPlatform, ClxSpecOption, ClxSpecType, ClxSpinnerColor, ClxSpinnerVariant, ClxStatMetric, ClxStepperOrientation, ClxStepperSize, ClxStepperStatus, ClxStepperStep, ClxTabItem, ClxTableColumn, ClxTablePageEvent, ClxTableSelectionEvent, ClxTableShadow, ClxTableSort, ClxTableSortEvent, ClxTableTheme, ClxTabsTheme, ClxTagShape, ClxTagSize, ClxTagVariant, ClxTextareaResize, ClxTextareaSize, ClxTextareaStatus, ClxThemeConfig, ClxThemeMode, ClxTimelineLineStyle, ClxTimelineMode, ClxTimelineSize, ClxTimelineTitleZoneStyle, ClxTimepickerSize, ClxTimepickerStatus, ClxToastAction, ClxToastEntry, ClxToastOptions, ClxToastPosition, ClxToastType, ClxTooltipPosition, ClxTooltipSize, ClxTreeExpandEvent, ClxTreeNode, ClxTreeSelectEvent, ClxTreeSize, ClxTreeVariant, ClxTrendDirection, ClxUploadError, ClxUploadItemAction, ClxUploadItemActionResolver, ClxUploadPreviewItem, ClxUploadSize, ClxVariation, ClxWidgetCardState, ClxWidgetMenuAction, ClxWishlistItem, ClxWishlistPageChangeEvent, ClxWizardColor, ClxWizardOrientation, ClxWizardStepStatus, ClxWizardTheme, NativeOverlayRef, SparkPoint };
|