codexly-ui 0.6.7 → 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 +57 -142
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +7 -21
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -124,7 +124,7 @@ declare class ClxButtonComponent {
|
|
|
124
124
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
125
125
|
readonly block: _angular_core.InputSignal<boolean>;
|
|
126
126
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
127
|
-
readonly iconPosition: _angular_core.InputSignal<"
|
|
127
|
+
readonly iconPosition: _angular_core.InputSignal<"left" | "right">;
|
|
128
128
|
readonly iconOnly: _angular_core.InputSignal<boolean>;
|
|
129
129
|
readonly badge: _angular_core.InputSignal<string | number | undefined>;
|
|
130
130
|
readonly badgeColor: _angular_core.InputSignal<ClxColorInput>;
|
|
@@ -2229,7 +2229,7 @@ declare class ClxTreeComponent {
|
|
|
2229
2229
|
icon: "xs" | "sm" | "md";
|
|
2230
2230
|
indent: string;
|
|
2231
2231
|
}>;
|
|
2232
|
-
protected readonly _indentPx: _angular_core.Signal<
|
|
2232
|
+
protected readonly _indentPx: _angular_core.Signal<16 | 20 | 24>;
|
|
2233
2233
|
protected readonly _rootClass: _angular_core.Signal<string>;
|
|
2234
2234
|
protected _isExpanded(id: string | number): boolean;
|
|
2235
2235
|
protected _isSelected(id: string | number): boolean;
|
|
@@ -2414,6 +2414,8 @@ 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
2420
|
interface ClxFabPosition {
|
|
2419
2421
|
/** Distance from the right edge of the viewport, in pixels. */
|
|
@@ -2429,17 +2431,11 @@ declare class ClxFabComponent {
|
|
|
2429
2431
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
2430
2432
|
readonly shadow: _angular_core.InputSignal<ClxCardShadow>;
|
|
2431
2433
|
readonly triggerLabel: _angular_core.InputSignal<string>;
|
|
2432
|
-
/**
|
|
2433
|
-
readonly position: _angular_core.InputSignal<ClxFabPosition
|
|
2434
|
-
/** Initial corner used only when the user hasn't dragged/saved a position yet. */
|
|
2435
|
-
readonly defaultPosition: _angular_core.InputSignal<ClxFabPosition>;
|
|
2434
|
+
/** Fixed offset from the bottom-right corner of the viewport. */
|
|
2435
|
+
readonly position: _angular_core.InputSignal<ClxFabPosition>;
|
|
2436
2436
|
readonly itemClick: _angular_core.OutputEmitterRef<ClxFabItem>;
|
|
2437
|
-
/** Emitted once, after a drag ends, with the new position to persist. */
|
|
2438
|
-
readonly positionChange: _angular_core.OutputEmitterRef<ClxFabPosition>;
|
|
2439
2437
|
private readonly _themeSvc;
|
|
2440
|
-
private readonly _document;
|
|
2441
2438
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
2442
|
-
private readonly _draggedPosition;
|
|
2443
2439
|
protected readonly _position: _angular_core.Signal<ClxFabPosition>;
|
|
2444
2440
|
protected readonly _triggerClass: _angular_core.Signal<string>;
|
|
2445
2441
|
/** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
|
|
@@ -2448,22 +2444,12 @@ declare class ClxFabComponent {
|
|
|
2448
2444
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
2449
2445
|
readonly _positions: ConnectedPosition[];
|
|
2450
2446
|
protected readonly _isOpen: _angular_core.WritableSignal<boolean>;
|
|
2451
|
-
private _dragging;
|
|
2452
|
-
private _dragMoved;
|
|
2453
|
-
private _dragStartX;
|
|
2454
|
-
private _dragStartY;
|
|
2455
|
-
private _dragStartRight;
|
|
2456
|
-
private _dragStartBottom;
|
|
2457
|
-
protected _onPointerDown(event: PointerEvent): void;
|
|
2458
|
-
private _onPointerMove;
|
|
2459
|
-
private _onPointerUp;
|
|
2460
|
-
protected _onTriggerClick(): void;
|
|
2461
2447
|
protected _toggle(): void;
|
|
2462
2448
|
protected _close(): void;
|
|
2463
2449
|
protected _onKeydown(event: KeyboardEvent): void;
|
|
2464
2450
|
protected _onItemClick(item: ClxFabItem): void;
|
|
2465
2451
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxFabComponent, never>;
|
|
2466
|
-
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>;
|
|
2467
2453
|
}
|
|
2468
2454
|
|
|
2469
2455
|
interface ClxTableColumn<T = any> {
|