codexly-ui 0.10.9 → 0.10.11

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.9",
3
+ "version": "0.10.11",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -116,10 +116,10 @@ declare class ClxButtonComponent {
116
116
  private readonly _themeSvc;
117
117
  readonly variant: _angular_core.InputSignal<ClxButtonVariant>;
118
118
  readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
119
- readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | "xxs" | "xs" | undefined>;
119
+ readonly size: _angular_core.InputSignal<"xxs" | "xs" | "sm" | "md" | "lg" | undefined>;
120
120
  readonly shape: _angular_core.InputSignal<ClxShape | undefined>;
121
121
  protected readonly _color: _angular_core.Signal<ClxColorInput>;
122
- protected readonly _size: _angular_core.Signal<"sm" | "md" | "lg" | "xxs" | "xs">;
122
+ protected readonly _size: _angular_core.Signal<"xxs" | "xs" | "sm" | "md" | "lg">;
123
123
  protected readonly _shape: _angular_core.Signal<ClxShape>;
124
124
  readonly loading: _angular_core.InputSignal<boolean>;
125
125
  readonly disabled: _angular_core.InputSignal<boolean>;
@@ -169,11 +169,11 @@ declare class ClxBadgeComponent {
169
169
  private readonly _themeSvc;
170
170
  readonly variant: _angular_core.InputSignal<ClxBadgeVariant>;
171
171
  readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
172
- readonly size: _angular_core.InputSignal<"sm" | "md" | "xs" | undefined>;
172
+ readonly size: _angular_core.InputSignal<"xs" | "sm" | "md" | undefined>;
173
173
  readonly shape: _angular_core.InputSignal<ClxShape | undefined>;
174
174
  readonly positioned: _angular_core.InputSignal<boolean>;
175
175
  protected readonly _color: _angular_core.Signal<ClxColorInput>;
176
- protected readonly _size: _angular_core.Signal<"sm" | "md" | "xs">;
176
+ protected readonly _size: _angular_core.Signal<"xs" | "sm" | "md">;
177
177
  protected readonly _shape: _angular_core.Signal<ClxShape>;
178
178
  protected readonly _hostClass: _angular_core.Signal<string>;
179
179
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxBadgeComponent, never>;
@@ -407,7 +407,7 @@ declare class ClxProgressBarComponent {
407
407
  readonly variant: _angular_core.InputSignal<ClxProgressBarVariant>;
408
408
  readonly label: _angular_core.InputSignal<string>;
409
409
  readonly showValue: _angular_core.InputSignal<boolean>;
410
- readonly valueFormat: _angular_core.InputSignal<"value" | "percent" | "fraction">;
410
+ readonly valueFormat: _angular_core.InputSignal<"percent" | "fraction" | "value">;
411
411
  protected readonly _pct: _angular_core.Signal<number>;
412
412
  protected readonly _pbSize: _angular_core.Signal<ClxProgressBarSize>;
413
413
  protected readonly _trackH: _angular_core.Signal<string>;
@@ -1889,7 +1889,7 @@ declare class ClxMenuComponent implements AfterViewInit {
1889
1889
  readonly style: _angular_core.InputSignal<ClxNavZoneStyle | undefined>;
1890
1890
  protected readonly _resolved: _angular_core.Signal<{
1891
1891
  color: codexly_ui.ClxColorInput;
1892
- size: "sm" | "md" | "xs";
1892
+ size: "xs" | "sm" | "md";
1893
1893
  weight: codexly_ui.ClxFontWeight;
1894
1894
  }>;
1895
1895
  protected readonly _color: _angular_core.Signal<codexly_ui.ClxColorInput>;
@@ -2604,7 +2604,7 @@ declare class ClxFabComponent {
2604
2604
  protected readonly _position: _angular_core.Signal<ClxFabPosition>;
2605
2605
  protected readonly _triggerClass: _angular_core.Signal<string>;
2606
2606
  /** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
2607
- protected readonly _itemSize: _angular_core.Signal<"sm" | "xxs" | "xs">;
2607
+ protected readonly _itemSize: _angular_core.Signal<"xxs" | "xs" | "sm">;
2608
2608
  private readonly _sso;
2609
2609
  readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
2610
2610
  readonly _positions: ConnectedPosition[];
@@ -3113,6 +3113,57 @@ declare class ClxCartSummaryDrawer {
3113
3113
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartSummaryDrawer, "clx-cart-summary-drawer", never, {}, {}, never, never, true, never>;
3114
3114
  }
3115
3115
 
3116
+ /** Storefront search bar — same color/size/CVA conventions as ClxInputComponent, but styled as
3117
+ * one continuous pill (input fused with a solid search button) rather than a bordered field with
3118
+ * a detached button, matching how e-commerce header search boxes are typically laid out. */
3119
+ declare class ClxSearchComponent implements ControlValueAccessor {
3120
+ private readonly _themeSvc;
3121
+ readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
3122
+ protected readonly _color: _angular_core.Signal<ClxColorInput>;
3123
+ readonly size: _angular_core.InputSignal<ClxInputSize | undefined>;
3124
+ protected readonly _size: _angular_core.Signal<ClxInputSize>;
3125
+ readonly placeholder: _angular_core.InputSignal<string>;
3126
+ readonly buttonLabel: _angular_core.InputSignal<string>;
3127
+ /** Initial value for standalone use (without FormControl) */
3128
+ readonly value: _angular_core.InputSignal<string>;
3129
+ /** Disabled state for standalone use (without FormControl) */
3130
+ readonly disabled: _angular_core.InputSignal<boolean>;
3131
+ readonly search: _angular_core.OutputEmitterRef<string>;
3132
+ protected readonly _inputId: string;
3133
+ readonly _value: _angular_core.WritableSignal<string>;
3134
+ private readonly _cvaDisabled;
3135
+ private _cvaConnected;
3136
+ private readonly _cardDisabled;
3137
+ protected readonly _disabled: _angular_core.Signal<boolean>;
3138
+ private readonly _valueEffect;
3139
+ private _onChange;
3140
+ private _onTouched;
3141
+ protected readonly _sizeConfig: _angular_core.Signal<{
3142
+ input: string;
3143
+ label: string;
3144
+ hint: string;
3145
+ iconSize: "xs" | "sm" | "md";
3146
+ iconLeft: string;
3147
+ iconRight: string;
3148
+ padLeft: string;
3149
+ padRight: string;
3150
+ padDefaultL: string;
3151
+ padDefaultR: string;
3152
+ }>;
3153
+ protected readonly _buttonSize: _angular_core.Signal<"xs" | "sm" | "md" | "lg">;
3154
+ protected readonly _wrapperClass: _angular_core.Signal<string>;
3155
+ protected readonly _inputClass: _angular_core.Signal<string>;
3156
+ writeValue(val: string): void;
3157
+ registerOnChange(fn: (v: string) => void): void;
3158
+ registerOnTouched(fn: () => void): void;
3159
+ setDisabledState(disabled: boolean): void;
3160
+ protected _handleInput(event: Event): void;
3161
+ protected _handleBlur(): void;
3162
+ protected _handleSubmit(): void;
3163
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxSearchComponent, never>;
3164
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxSearchComponent, "clx-search", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "search": "search"; }, never, never, true, never>;
3165
+ }
3166
+
3116
3167
  declare const CLX_TEXT_LABEL = "text-clx-text-label";
3117
3168
  declare const CLX_TEXT_HINT = "text-clx-text-subtle";
3118
3169
  declare const CLX_TEXT_DISABLED = "text-clx-text-subtle";
@@ -3385,5 +3436,5 @@ declare class ClxToastService {
3385
3436
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ClxToastService>;
3386
3437
  }
3387
3438
 
3388
- 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, ClxModalComponent, ClxModalService, ClxNativeOverlayService, ClxNavGroupComponent, ClxNumberComponent, ClxPageEmptyComponent, ClxPageHeaderComponent, ClxPageHeaderTitleDirective, ClxPageNotFoundComponent, ClxPageServerErrorComponent, ClxPageUnauthorizedComponent, ClxPaginationComponent, ClxProductComponent, ClxProductDetailComponent, ClxProfileComponent, ClxProgressBarComponent, ClxRadioComponent, ClxRadioGroupComponent, ClxRatingComponent, ClxSelectComponent, ClxSkeletonComponent, ClxSliderComponent, 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 };
3439
+ 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, ClxModalComponent, ClxModalService, ClxNativeOverlayService, ClxNavGroupComponent, ClxNumberComponent, ClxPageEmptyComponent, ClxPageHeaderComponent, ClxPageHeaderTitleDirective, ClxPageNotFoundComponent, ClxPageServerErrorComponent, ClxPageUnauthorizedComponent, ClxPaginationComponent, ClxProductComponent, ClxProductDetailComponent, ClxProfileComponent, ClxProgressBarComponent, ClxRadioComponent, ClxRadioGroupComponent, ClxRatingComponent, ClxSearchComponent, ClxSelectComponent, ClxSkeletonComponent, ClxSliderComponent, 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 };
3389
3440
  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, 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, ClxPageChangeEvent, ClxPageHeaderTextSize, ClxPageHeaderZoneStyle, ClxPageSizeChangeEvent, ClxPaginationSize, ClxProduct, ClxProductDescription, ClxProductDetailData, ClxProductLayout, ClxProductSize, ClxProductSpec, ClxProfileMenuItem, ClxProgressBarSize, ClxProgressBarVariant, ClxRadioVariant, ClxResolvedCardTitleZoneStyle, ClxResolvedListItemLabelZoneStyle, ClxResolvedNavZoneStyle, ClxResolvedPageHeaderZoneStyle, ClxResolvedTimelineTitleZoneStyle, ClxReview, ClxRippleItem, ClxSelectOption, ClxSelectSize, ClxShade, ClxShape, ClxSize, ClxSkeletonVariant, ClxSliderSize, 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 };