codexly-ui 0.10.90 → 0.10.92

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codexly-ui",
3
- "version": "0.10.90",
3
+ "version": "0.10.92",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -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<"xs" | "sm" | "md" | "lg" | "xxs" | undefined>;
122
+ readonly size: _angular_core.InputSignal<"xxs" | "xs" | "sm" | "md" | "lg" | undefined>;
123
123
  protected readonly _color: _angular_core.Signal<ClxColorInput>;
124
- protected readonly _size: _angular_core.Signal<"xs" | "sm" | "md" | "lg" | "xxs">;
124
+ protected readonly _size: _angular_core.Signal<"xxs" | "xs" | "sm" | "md" | "lg">;
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>;
@@ -138,10 +138,10 @@ declare class ClxButtonComponent {
138
138
  * unusual background shade (bright yellow) where the variant's own resolved text color (white)
139
139
  * reads poorly and a themed text tone is needed instead. */
140
140
  readonly textColor: _angular_core.InputSignal<ClxColorInput | undefined>;
141
- readonly size: _angular_core.InputSignal<"xs" | "sm" | "md" | "lg" | "xxs" | undefined>;
141
+ readonly size: _angular_core.InputSignal<"xxs" | "xs" | "sm" | "md" | "lg" | undefined>;
142
142
  readonly shape: _angular_core.InputSignal<ClxShape | undefined>;
143
143
  protected readonly _color: _angular_core.Signal<ClxColorInput>;
144
- protected readonly _size: _angular_core.Signal<"xs" | "sm" | "md" | "lg" | "xxs">;
144
+ protected readonly _size: _angular_core.Signal<"xxs" | "xs" | "sm" | "md" | "lg">;
145
145
  protected readonly _shape: _angular_core.Signal<ClxShape>;
146
146
  readonly loading: _angular_core.InputSignal<boolean>;
147
147
  readonly disabled: _angular_core.InputSignal<boolean>;
@@ -436,7 +436,7 @@ declare class ClxProgressBarComponent {
436
436
  readonly variant: _angular_core.InputSignal<ClxProgressBarVariant>;
437
437
  readonly label: _angular_core.InputSignal<string>;
438
438
  readonly showValue: _angular_core.InputSignal<boolean>;
439
- readonly valueFormat: _angular_core.InputSignal<"value" | "percent" | "fraction">;
439
+ readonly valueFormat: _angular_core.InputSignal<"percent" | "fraction" | "value">;
440
440
  protected readonly _pct: _angular_core.Signal<number>;
441
441
  protected readonly _pbSize: _angular_core.Signal<ClxProgressBarSize>;
442
442
  protected readonly _trackH: _angular_core.Signal<string>;
@@ -1701,7 +1701,7 @@ declare class ClxEditorComponent implements AfterViewInit, OnDestroy, ControlVal
1701
1701
  protected readonly _color: _angular_core.Signal<ClxColorInput>;
1702
1702
  readonly size: _angular_core.InputSignal<ClxEditorSize | undefined>;
1703
1703
  protected readonly _editorSize: _angular_core.Signal<ClxEditorSize>;
1704
- readonly status: _angular_core.InputSignal<"default" | "error" | "success">;
1704
+ readonly status: _angular_core.InputSignal<"error" | "default" | "success">;
1705
1705
  readonly statusMessage: _angular_core.InputSignal<string>;
1706
1706
  readonly hint: _angular_core.InputSignal<string>;
1707
1707
  readonly disabled: _angular_core.InputSignal<boolean>;
@@ -1919,6 +1919,24 @@ interface ClxListItemLabelZoneStyle {
1919
1919
  interface ClxTimelineTitleZoneStyle {
1920
1920
  weight?: ClxFontWeight;
1921
1921
  }
1922
+ interface ClxFormControlsTheme {
1923
+ input?: ClxColorInput;
1924
+ textarea?: ClxColorInput;
1925
+ select?: ClxColorInput;
1926
+ number?: ClxColorInput;
1927
+ checkbox?: ClxColorInput;
1928
+ switch?: ClxColorInput;
1929
+ radio?: ClxColorInput;
1930
+ slider?: ClxColorInput;
1931
+ datepicker?: ClxColorInput;
1932
+ dateRangePicker?: ClxColorInput;
1933
+ timepicker?: ClxColorInput;
1934
+ colorpicker?: ClxColorInput;
1935
+ editor?: ClxColorInput;
1936
+ upload?: ClxColorInput;
1937
+ otp?: ClxColorInput;
1938
+ wizard?: ClxColorInput;
1939
+ }
1922
1940
  interface ClxThemeConfig {
1923
1941
  /** Default accent color for all components (buttons, inputs, checkboxes…) */
1924
1942
  primaryColor: ClxColorInput;
@@ -1950,6 +1968,8 @@ interface ClxThemeConfig {
1950
1968
  listItemLabel?: ClxListItemLabelZoneStyle;
1951
1969
  /** ClxTimelineItemComponent event title weight override — falls back to 600 when unset */
1952
1970
  timelineTitle?: ClxTimelineTitleZoneStyle;
1971
+ /** Per-form-control accent color overrides — each falls back to primaryColor when unset */
1972
+ formControls?: ClxFormControlsTheme;
1953
1973
  /** Default border-radius style applied to all components */
1954
1974
  borderRadius: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
1955
1975
  /** Default size for all form/interactive components */
@@ -2712,7 +2732,7 @@ declare class ClxFabComponent {
2712
2732
  protected readonly _position: _angular_core.Signal<ClxFabPosition>;
2713
2733
  protected readonly _triggerClass: _angular_core.Signal<string>;
2714
2734
  /** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
2715
- protected readonly _itemSize: _angular_core.Signal<"xs" | "sm" | "xxs">;
2735
+ protected readonly _itemSize: _angular_core.Signal<"xxs" | "xs" | "sm">;
2716
2736
  private readonly _sso;
2717
2737
  readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
2718
2738
  readonly _positions: ConnectedPosition[];
@@ -3298,10 +3318,14 @@ declare class ClxCartComponent {
3298
3318
  readonly items: _angular_core.InputSignal<ClxCartItem[]>;
3299
3319
  readonly loading: _angular_core.InputSignal<boolean>;
3300
3320
  readonly color: _angular_core.InputSignal<ClxColorInput>;
3321
+ /** Overrides only the quantity stepper's color, independent of `color` — same override pattern
3322
+ * as clx-product-detail's per-element color inputs. Falls back to `color()` when unset. */
3323
+ readonly quantityColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3301
3324
  /** Hide the coupon block entirely when the host app has no coupon backend to back it —
3302
3325
  * showing a code input that always fails would read as broken, not "not built yet". */
3303
3326
  readonly showCoupon: _angular_core.InputSignal<boolean>;
3304
3327
  readonly coupon: _angular_core.ModelSignal<ClxCouponResult | null>;
3328
+ protected readonly _quantityColor: _angular_core.Signal<ClxColorInput>;
3305
3329
  readonly onRemove: _angular_core.OutputEmitterRef<ClxCartItem>;
3306
3330
  readonly onQuantityChange: _angular_core.OutputEmitterRef<{
3307
3331
  item: ClxCartItem;
@@ -3322,7 +3346,7 @@ declare class ClxCartComponent {
3322
3346
  applyCoupon(): void;
3323
3347
  removeCoupon(): void;
3324
3348
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
3325
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartComponent, "clx-cart", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showCoupon": { "alias": "showCoupon"; "required": false; "isSignal": true; }; "coupon": { "alias": "coupon"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
3349
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartComponent, "clx-cart", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "quantityColor": { "alias": "quantityColor"; "required": false; "isSignal": true; }; "showCoupon": { "alias": "showCoupon"; "required": false; "isSignal": true; }; "coupon": { "alias": "coupon"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
3326
3350
  }
3327
3351
 
3328
3352
  interface ClxCartSummaryData {
@@ -3528,6 +3552,11 @@ declare class ClxThemeService {
3528
3552
  /** Resolved style for clx-menu-item — falls back to primaryColor/sm/500 */
3529
3553
  readonly sidebarItemStyle: _angular_core.Signal<ClxResolvedNavZoneStyle>;
3530
3554
  private _resolveNavZoneStyle;
3555
+ /** Resolved accent color for a single form control zone (see ClxFormControlsTheme) — falls
3556
+ * back to primaryColor when that control has no override of its own. Every form component
3557
+ * (clx-input, clx-select, clx-checkbox, ...) calls this instead of reading primaryColor
3558
+ * directly, so each can be pinned to a different accent independently. */
3559
+ formControlColor(key: keyof ClxFormControlsTheme): ClxColorInput;
3531
3560
  /** Resolved style for ClxPageHeaderComponent's title — falls back to the default
3532
3561
  * text-clx-text-label color (no override) / 2xl / 600 */
3533
3562
  readonly pageHeaderTitleStyle: _angular_core.Signal<ClxResolvedPageHeaderZoneStyle>;
@@ -3669,4 +3698,4 @@ declare class ClxToastService {
3669
3698
  }
3670
3699
 
3671
3700
  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, ClxAlertService, ClxAnimateDirective, ClxAnimateGroupDirective, ClxAnimateService, ClxAppLayoutComponent, ClxAvatarComponent, ClxBadgeComponent, ClxBrandComponent, ClxButtonComponent, ClxButtonGroupComponent, ClxCardBodyDirective, ClxCardComponent, ClxCardFooterDirective, ClxCardHeaderActionsDirective, ClxCardHeaderDirective, ClxCarouselComponent, ClxCarouselDirective, ClxCartComponent, ClxCartSummaryDrawer, ClxCellDirective, ClxCheckboxComponent, ClxColorPickerComponent, ClxColumnDefDirective, ClxDateRangePickerComponent, ClxDatepickerComponent, ClxDrawerComponent, ClxDrawerService, ClxEditorComponent, ClxEditorLinkModalComponent, ClxFabComponent, ClxFilterPanelComponent, ClxHeaderCellDirective, ClxIconComponent, ClxInputComponent, ClxListComponent, ClxListItemComponent, ClxMenuComponent, ClxMenuItemComponent, ClxMenuItemTrailingDirective, ClxModalComponent, ClxModalService, ClxNativeOverlayService, ClxNavGroupComponent, ClxNumberComponent, ClxOtpComponent, ClxPageEmptyComponent, ClxPageHeaderComponent, ClxPageHeaderTitleDirective, ClxPageNotFoundComponent, ClxPageServerErrorComponent, ClxPageUnauthorizedComponent, ClxPaginationComponent, ClxProductComponent, ClxProductDetailComponent, ClxProductQuickViewComponent, ClxProfileComponent, ClxProgressBarComponent, ClxRadioComponent, ClxRadioGroupComponent, ClxRatingComponent, ClxSearchComponent, ClxSelectComponent, ClxSkeletonComponent, ClxSliderComponent, ClxSocialIconComponent, ClxSpinnerComponent, ClxStatCardComponent, ClxStepComponent, ClxStepperComponent, ClxSwitchComponent, ClxTabDirective, ClxTableComponent, ClxTabsComponent, ClxTagComponent, ClxTextareaComponent, ClxThemeService, ClxTimelineComponent, ClxTimelineItemComponent, ClxTimepickerComponent, ClxToastComponent, ClxToastContainerComponent, ClxToastService, ClxTooltipComponent, ClxTooltipDirective, ClxTreeComponent, ClxUploadComponent, ClxWishlistComponent, ClxWizardComponent, TIMEPICKER_SIZE_MAP, parseColorInput, provideCodexlyTheme, resolveColor, resolveContainerRadius, resolveRadius };
3672
- export type { ClxAlertButtonOptions, ClxAlertOptions, ClxAlertResult, ClxAlertType, ClxAnimateAttentionSeeker, ClxAnimateBackEntrance, ClxAnimateBackExit, ClxAnimateBouncingEntrance, ClxAnimateBouncingExit, ClxAnimateConfig, ClxAnimateDefaults, ClxAnimateEvent, ClxAnimateFadingEntrance, ClxAnimateFadingExit, ClxAnimateFlipper, ClxAnimateLightspeed, ClxAnimateName, ClxAnimateRotatingEntrance, ClxAnimateRotatingExit, ClxAnimateSlidingEntrance, ClxAnimateSlidingExit, ClxAnimateSpecial, ClxAnimateTrigger, ClxAnimateZoomingEntrance, ClxAnimateZoomingExit, ClxAvatarContentType, ClxBadgeVariant, ClxButtonColor, ClxButtonGroupShape, ClxButtonVariant, ClxCardPadding, ClxCardShadow, ClxCardTitleZoneStyle, ClxCardVariant, ClxCarouselAspectRatio, ClxCarouselConfig, ClxCartItem, ClxCartSummaryData, ClxCellContext, ClxCheckboxVariant, 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, ClxInputSize, ClxInputStatus, ClxInputType, ClxListItem, ClxListItemLabelZoneStyle, ClxListSize, ClxListVariant, ClxModalButtonOptions, ClxModalConfig, ClxModalRef, ClxModalSize, ClxNavZoneStyle, ClxNumberSize, ClxNumberVariant, ClxOtpSize, ClxPageChangeEvent, ClxPageHeaderTextSize, ClxPageHeaderZoneStyle, ClxPageSizeChangeEvent, ClxPaginationSize, ClxProduct, ClxProductDescription, ClxProductDetailData, ClxProductLayout, ClxProductQuickViewData, ClxProductQuickViewResult, ClxProductSize, ClxProductSpec, ClxProfileMenuItem, ClxProgressBarSize, ClxProgressBarVariant, ClxRadioVariant, ClxResolvedCardTitleZoneStyle, ClxResolvedListItemLabelZoneStyle, ClxResolvedNavZoneStyle, ClxResolvedPageHeaderZoneStyle, ClxResolvedTimelineTitleZoneStyle, ClxReview, ClxRippleItem, ClxSelectOption, ClxSelectSize, ClxShade, ClxShape, ClxSize, ClxSkeletonVariant, ClxSliderSize, ClxSocialPlatform, ClxSpecOption, ClxSpecType, ClxSpinnerColor, ClxSpinnerVariant, ClxStatMetric, ClxStepperOrientation, ClxStepperSize, ClxStepperStatus, ClxStepperStep, ClxTabItem, ClxTableColumn, ClxTablePageEvent, ClxTableSelectionEvent, ClxTableSort, ClxTableSortEvent, 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, ClxWishlistItem, ClxWishlistPageChangeEvent, ClxWizardColor, ClxWizardOrientation, ClxWizardStepStatus, NativeOverlayRef, SparkPoint };
3701
+ export type { ClxAlertButtonOptions, ClxAlertOptions, ClxAlertResult, ClxAlertType, ClxAnimateAttentionSeeker, ClxAnimateBackEntrance, ClxAnimateBackExit, ClxAnimateBouncingEntrance, ClxAnimateBouncingExit, ClxAnimateConfig, ClxAnimateDefaults, ClxAnimateEvent, ClxAnimateFadingEntrance, ClxAnimateFadingExit, ClxAnimateFlipper, ClxAnimateLightspeed, ClxAnimateName, ClxAnimateRotatingEntrance, ClxAnimateRotatingExit, ClxAnimateSlidingEntrance, ClxAnimateSlidingExit, ClxAnimateSpecial, ClxAnimateTrigger, ClxAnimateZoomingEntrance, ClxAnimateZoomingExit, ClxAvatarContentType, ClxBadgeVariant, ClxButtonColor, ClxButtonGroupShape, ClxButtonVariant, ClxCardPadding, ClxCardShadow, ClxCardTitleZoneStyle, ClxCardVariant, ClxCarouselAspectRatio, ClxCarouselConfig, ClxCartItem, ClxCartSummaryData, ClxCellContext, ClxCheckboxVariant, 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, ClxNumberSize, ClxNumberVariant, ClxOtpSize, ClxPageChangeEvent, ClxPageHeaderTextSize, ClxPageHeaderZoneStyle, ClxPageSizeChangeEvent, ClxPaginationSize, ClxProduct, ClxProductDescription, ClxProductDetailData, ClxProductLayout, ClxProductQuickViewData, ClxProductQuickViewResult, ClxProductSize, ClxProductSpec, ClxProfileMenuItem, ClxProgressBarSize, ClxProgressBarVariant, ClxRadioVariant, ClxResolvedCardTitleZoneStyle, ClxResolvedListItemLabelZoneStyle, ClxResolvedNavZoneStyle, ClxResolvedPageHeaderZoneStyle, ClxResolvedTimelineTitleZoneStyle, ClxReview, ClxRippleItem, ClxSelectOption, ClxSelectSize, ClxShade, ClxShape, ClxSize, ClxSkeletonVariant, ClxSliderSize, ClxSocialPlatform, ClxSpecOption, ClxSpecType, ClxSpinnerColor, ClxSpinnerVariant, ClxStatMetric, ClxStepperOrientation, ClxStepperSize, ClxStepperStatus, ClxStepperStep, ClxTabItem, ClxTableColumn, ClxTablePageEvent, ClxTableSelectionEvent, ClxTableSort, ClxTableSortEvent, 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, ClxWishlistItem, ClxWishlistPageChangeEvent, ClxWizardColor, ClxWizardOrientation, ClxWizardStepStatus, NativeOverlayRef, SparkPoint };