codexly-ui 0.8.1 → 0.8.3
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 +52 -19
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +19 -9
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -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<"
|
|
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<"
|
|
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<"
|
|
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<"
|
|
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>;
|
|
@@ -1782,6 +1782,9 @@ declare class ClxAppLayoutComponent implements OnInit, OnDestroy {
|
|
|
1782
1782
|
readonly collapsed: _angular_core.WritableSignal<boolean>;
|
|
1783
1783
|
readonly _hovered: _angular_core.WritableSignal<boolean>;
|
|
1784
1784
|
private readonly _isMobile;
|
|
1785
|
+
/** True only for the duration of an explicit toggle/hover transition — see _sidebarCls(). */
|
|
1786
|
+
protected readonly _animating: _angular_core.WritableSignal<boolean>;
|
|
1787
|
+
private _animatingTimer;
|
|
1785
1788
|
readonly collapsedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1786
1789
|
readonly expandedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1787
1790
|
constructor();
|
|
@@ -1792,6 +1795,9 @@ declare class ClxAppLayoutComponent implements OnInit, OnDestroy {
|
|
|
1792
1795
|
private _mqlListener;
|
|
1793
1796
|
ngOnInit(): void;
|
|
1794
1797
|
ngOnDestroy(): void;
|
|
1798
|
+
/** Arms the width/transform transition for one toggle's duration, then switches it back off
|
|
1799
|
+
* so a later window resize reflow doesn't get caught by a live CSS transition on `width`. */
|
|
1800
|
+
private _withTransition;
|
|
1795
1801
|
_toggleCollapsed(): void;
|
|
1796
1802
|
_onSidebarEnter(): void;
|
|
1797
1803
|
_onSidebarLeave(): void;
|
|
@@ -1896,7 +1902,7 @@ declare class ClxMenuComponent implements AfterViewInit {
|
|
|
1896
1902
|
readonly style: _angular_core.InputSignal<ClxNavZoneStyle | undefined>;
|
|
1897
1903
|
protected readonly _resolved: _angular_core.Signal<{
|
|
1898
1904
|
color: codexly_ui.ClxColorInput;
|
|
1899
|
-
size: "
|
|
1905
|
+
size: "xs" | "sm" | "md";
|
|
1900
1906
|
weight: codexly_ui.ClxFontWeight;
|
|
1901
1907
|
}>;
|
|
1902
1908
|
protected readonly _color: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
@@ -1976,10 +1982,14 @@ declare class ClxPageHeaderComponent {
|
|
|
1976
1982
|
private readonly _titleSlot;
|
|
1977
1983
|
protected readonly _hasCustomTitle: _angular_core.Signal<boolean>;
|
|
1978
1984
|
protected readonly _color: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
1979
|
-
|
|
1980
|
-
|
|
1985
|
+
/** Title classes resolved from the theme — also usable by consumers projecting a custom
|
|
1986
|
+
* [clxPageHeaderTitle] block, via a template reference: `<clx-page-header #ph="clxPageHeader">`
|
|
1987
|
+
* then `[class]="ph.titleClass()"` on their own <h1>. */
|
|
1988
|
+
readonly titleClass: _angular_core.Signal<string>;
|
|
1989
|
+
/** Subtitle classes resolved from the theme — same usage as titleClass. */
|
|
1990
|
+
readonly subtitleClass: _angular_core.Signal<string>;
|
|
1981
1991
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxPageHeaderComponent, never>;
|
|
1982
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageHeaderComponent, "clx-page-header",
|
|
1992
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageHeaderComponent, "clx-page-header", ["clxPageHeader"], { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "showBack": { "alias": "showBack"; "required": false; "isSignal": true; }; }, { "back": "back"; }, ["_titleSlot"], ["[clxPageHeaderTitle]", "*"], true, never>;
|
|
1983
1993
|
}
|
|
1984
1994
|
|
|
1985
1995
|
/** Optional replacement for the auto-generated `<h1>` — project this when the title needs
|
|
@@ -2584,7 +2594,7 @@ declare class ClxFabComponent {
|
|
|
2584
2594
|
protected readonly _position: _angular_core.Signal<ClxFabPosition>;
|
|
2585
2595
|
protected readonly _triggerClass: _angular_core.Signal<string>;
|
|
2586
2596
|
/** Los botones de la pila de accesos van un paso más pequeños que el trigger. */
|
|
2587
|
-
protected readonly _itemSize: _angular_core.Signal<"
|
|
2597
|
+
protected readonly _itemSize: _angular_core.Signal<"xxs" | "xs" | "sm">;
|
|
2588
2598
|
private readonly _sso;
|
|
2589
2599
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
2590
2600
|
readonly _positions: ConnectedPosition[];
|