codexly-ui 0.6.8 → 0.6.9
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 +65 -188
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +7 -32
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -2414,9 +2414,9 @@ interface ClxFabItem {
|
|
|
2414
2414
|
key: string;
|
|
2415
2415
|
label: string;
|
|
2416
2416
|
icon: string;
|
|
2417
|
+
/** Per-item color override; falls back to the FAB's own color (or the active theme's) when absent. */
|
|
2418
|
+
color?: ClxColorInput;
|
|
2417
2419
|
}
|
|
2418
|
-
/** Direction the shortcut stack expands toward, relative to the trigger button. */
|
|
2419
|
-
type ClxFabDirection = 'up' | 'down' | 'left' | 'right';
|
|
2420
2420
|
interface ClxFabPosition {
|
|
2421
2421
|
/** Distance from the right edge of the viewport, in pixels. */
|
|
2422
2422
|
right: number;
|
|
@@ -2431,50 +2431,25 @@ declare class ClxFabComponent {
|
|
|
2431
2431
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
2432
2432
|
readonly shadow: _angular_core.InputSignal<ClxCardShadow>;
|
|
2433
2433
|
readonly triggerLabel: _angular_core.InputSignal<string>;
|
|
2434
|
-
/**
|
|
2435
|
-
readonly position: _angular_core.InputSignal<ClxFabPosition
|
|
2436
|
-
/** Initial corner used only when the user hasn't dragged/saved a position yet. */
|
|
2437
|
-
readonly defaultPosition: _angular_core.InputSignal<ClxFabPosition>;
|
|
2438
|
-
/** Direction the shortcut stack expands toward. */
|
|
2439
|
-
readonly expandDirection: _angular_core.InputSignal<ClxFabDirection>;
|
|
2434
|
+
/** Fixed offset from the bottom-right corner of the viewport. */
|
|
2435
|
+
readonly position: _angular_core.InputSignal<ClxFabPosition>;
|
|
2440
2436
|
readonly itemClick: _angular_core.OutputEmitterRef<ClxFabItem>;
|
|
2441
|
-
/** Emitted once, after a drag ends, with the new position to persist. */
|
|
2442
|
-
readonly positionChange: _angular_core.OutputEmitterRef<ClxFabPosition>;
|
|
2443
2437
|
private readonly _themeSvc;
|
|
2444
|
-
private readonly _document;
|
|
2445
2438
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
2446
|
-
private readonly _draggedPosition;
|
|
2447
2439
|
protected readonly _position: _angular_core.Signal<ClxFabPosition>;
|
|
2448
2440
|
protected readonly _triggerClass: _angular_core.Signal<string>;
|
|
2449
2441
|
/** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
|
|
2450
2442
|
protected readonly _itemSize: _angular_core.Signal<"xxs" | "xs" | "sm">;
|
|
2451
2443
|
private readonly _sso;
|
|
2452
2444
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
2453
|
-
|
|
2454
|
-
protected readonly _positions: _angular_core.Signal<ConnectedPosition[]>;
|
|
2455
|
-
private static readonly STACK_CLASS_BY_DIRECTION;
|
|
2456
|
-
protected readonly _stackClass: _angular_core.Signal<string>;
|
|
2457
|
-
private static readonly ITEM_CLASS_BY_DIRECTION;
|
|
2458
|
-
protected readonly _itemClass: _angular_core.Signal<string>;
|
|
2459
|
-
private static readonly ANIMATION_BY_DIRECTION;
|
|
2460
|
-
protected readonly _itemAnimation: _angular_core.Signal<ClxAnimateName>;
|
|
2445
|
+
readonly _positions: ConnectedPosition[];
|
|
2461
2446
|
protected readonly _isOpen: _angular_core.WritableSignal<boolean>;
|
|
2462
|
-
private _dragging;
|
|
2463
|
-
private _dragMoved;
|
|
2464
|
-
private _dragStartX;
|
|
2465
|
-
private _dragStartY;
|
|
2466
|
-
private _dragStartRight;
|
|
2467
|
-
private _dragStartBottom;
|
|
2468
|
-
protected _onPointerDown(event: PointerEvent): void;
|
|
2469
|
-
private _onPointerMove;
|
|
2470
|
-
private _onPointerUp;
|
|
2471
|
-
protected _onTriggerClick(): void;
|
|
2472
2447
|
protected _toggle(): void;
|
|
2473
2448
|
protected _close(): void;
|
|
2474
2449
|
protected _onKeydown(event: KeyboardEvent): void;
|
|
2475
2450
|
protected _onItemClick(item: ClxFabItem): void;
|
|
2476
2451
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxFabComponent, never>;
|
|
2477
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxFabComponent, "clx-fab", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "triggerLabel": { "alias": "triggerLabel"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; };
|
|
2452
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxFabComponent, "clx-fab", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "triggerLabel": { "alias": "triggerLabel"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
2478
2453
|
}
|
|
2479
2454
|
|
|
2480
2455
|
interface ClxTableColumn<T = any> {
|
|
@@ -3220,4 +3195,4 @@ declare class ClxToastService {
|
|
|
3220
3195
|
}
|
|
3221
3196
|
|
|
3222
3197
|
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, 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, ClxNavGroupComponent, ClxNumberComponent, ClxPageEmptyComponent, 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 };
|
|
3223
|
-
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, 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,
|
|
3198
|
+
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, 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, ClxInputSize, ClxInputStatus, ClxInputType, ClxListItem, ClxListSize, ClxListVariant, ClxModalButtonOptions, ClxModalConfig, ClxModalRef, ClxModalSize, ClxNumberSize, ClxNumberVariant, ClxPageChangeEvent, ClxPageSizeChangeEvent, ClxPaginationSize, ClxProduct, ClxProductDescription, ClxProductDetailData, ClxProductLayout, ClxProductSize, ClxProductSpec, ClxProfileMenuItem, ClxProgressBarSize, ClxProgressBarVariant, ClxRadioVariant, 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, 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, SparkPoint };
|