codexly-ui 0.8.2 → 0.9.0
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 +238 -192
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +14 -21
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -553,30 +553,17 @@ declare class ClxTooltipDirective {
|
|
|
553
553
|
readonly clxTooltipSize: _angular_core.InputSignal<ClxTooltipSize>;
|
|
554
554
|
readonly clxTooltipDelay: _angular_core.InputSignal<number>;
|
|
555
555
|
private readonly _el;
|
|
556
|
-
private readonly
|
|
557
|
-
private readonly _appRef;
|
|
558
|
-
private readonly _injector;
|
|
559
|
-
private readonly _animate;
|
|
556
|
+
private readonly _tooltip;
|
|
560
557
|
private readonly _platformId;
|
|
561
558
|
private readonly _destroyRef;
|
|
562
|
-
private _ref;
|
|
563
|
-
private _pendingRef;
|
|
564
559
|
private _showTimer;
|
|
565
560
|
private _hideTimer;
|
|
566
|
-
private _tooltipId;
|
|
567
561
|
private _abort;
|
|
568
|
-
private _destroyed;
|
|
569
562
|
constructor();
|
|
570
563
|
private _scheduleShow;
|
|
571
564
|
private _scheduleHide;
|
|
572
565
|
private _show;
|
|
573
566
|
private _hide;
|
|
574
|
-
/** Synchronous teardown, no fade — used on touchend so the bubble can't linger over UI the tap opens. */
|
|
575
|
-
private _hideImmediate;
|
|
576
|
-
private _resolvePosition;
|
|
577
|
-
private _placeAt;
|
|
578
|
-
private _destroyBubble;
|
|
579
|
-
private _forceDestroyBubble;
|
|
580
567
|
private _clearShow;
|
|
581
568
|
private _clearHide;
|
|
582
569
|
private _clearTimers;
|
|
@@ -1782,6 +1769,9 @@ declare class ClxAppLayoutComponent implements OnInit, OnDestroy {
|
|
|
1782
1769
|
readonly collapsed: _angular_core.WritableSignal<boolean>;
|
|
1783
1770
|
readonly _hovered: _angular_core.WritableSignal<boolean>;
|
|
1784
1771
|
private readonly _isMobile;
|
|
1772
|
+
/** True only for the duration of an explicit toggle/hover transition — see _sidebarCls(). */
|
|
1773
|
+
protected readonly _animating: _angular_core.WritableSignal<boolean>;
|
|
1774
|
+
private _animatingTimer;
|
|
1785
1775
|
readonly collapsedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1786
1776
|
readonly expandedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1787
1777
|
constructor();
|
|
@@ -1792,6 +1782,9 @@ declare class ClxAppLayoutComponent implements OnInit, OnDestroy {
|
|
|
1792
1782
|
private _mqlListener;
|
|
1793
1783
|
ngOnInit(): void;
|
|
1794
1784
|
ngOnDestroy(): void;
|
|
1785
|
+
/** Arms the width/transform transition for one toggle's duration, then switches it back off
|
|
1786
|
+
* so a later window resize reflow doesn't get caught by a live CSS transition on `width`. */
|
|
1787
|
+
private _withTransition;
|
|
1795
1788
|
_toggleCollapsed(): void;
|
|
1796
1789
|
_onSidebarEnter(): void;
|
|
1797
1790
|
_onSidebarLeave(): void;
|
|
@@ -1963,12 +1956,12 @@ declare class ClxNavGroupComponent {
|
|
|
1963
1956
|
* hand-rolled `<h1 class="text-2xl font-semibold">` + `<p>` pattern repeated across every page.
|
|
1964
1957
|
*
|
|
1965
1958
|
* For detail pages whose title needs inline content (a status badge, a monospace order
|
|
1966
|
-
* number) that a plain `
|
|
1967
|
-
* block instead of using the `
|
|
1959
|
+
* number) that a plain `headerTitle` string can't express, project a `[clxPageHeaderTitle]`
|
|
1960
|
+
* block instead of using the `headerTitle`/`subtitle` inputs.
|
|
1968
1961
|
*/
|
|
1969
1962
|
declare class ClxPageHeaderComponent {
|
|
1970
1963
|
private readonly _themeSvc;
|
|
1971
|
-
readonly
|
|
1964
|
+
readonly headerTitle: _angular_core.InputSignal<string>;
|
|
1972
1965
|
readonly subtitle: _angular_core.InputSignal<string | undefined>;
|
|
1973
1966
|
/** Set to show the back button — `[showBack]="true" (back)="goBack()"`. */
|
|
1974
1967
|
readonly showBack: _angular_core.InputSignal<boolean>;
|
|
@@ -1983,14 +1976,14 @@ declare class ClxPageHeaderComponent {
|
|
|
1983
1976
|
/** Subtitle classes resolved from the theme — same usage as titleClass. */
|
|
1984
1977
|
readonly subtitleClass: _angular_core.Signal<string>;
|
|
1985
1978
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxPageHeaderComponent, never>;
|
|
1986
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageHeaderComponent, "clx-page-header", ["clxPageHeader"], { "
|
|
1979
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageHeaderComponent, "clx-page-header", ["clxPageHeader"], { "headerTitle": { "alias": "headerTitle"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "showBack": { "alias": "showBack"; "required": false; "isSignal": true; }; }, { "back": "back"; }, ["_titleSlot"], ["[clxPageHeaderTitle]", "*"], true, never>;
|
|
1987
1980
|
}
|
|
1988
1981
|
|
|
1989
1982
|
/** Optional replacement for the auto-generated `<h1>` — project this when the title needs
|
|
1990
1983
|
* inline content next to it (a status badge, a monospace order number, extra spans) that a
|
|
1991
|
-
* plain `
|
|
1992
|
-
* this is present; ClxPageHeaderComponent's own text-2xl/font-weight/truncate
|
|
1993
|
-
* NOT applied automatically to projected content — style the projected `<h1>` yourself. */
|
|
1984
|
+
* plain `headerTitle` string input can't express. The `headerTitle`/`subtitle` inputs are
|
|
1985
|
+
* ignored when this is present; ClxPageHeaderComponent's own text-2xl/font-weight/truncate
|
|
1986
|
+
* styling is NOT applied automatically to projected content — style the projected `<h1>` yourself. */
|
|
1994
1987
|
declare class ClxPageHeaderTitleDirective {
|
|
1995
1988
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxPageHeaderTitleDirective, never>;
|
|
1996
1989
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ClxPageHeaderTitleDirective, "[clxPageHeaderTitle]", never, {}, {}, never, never, true, never>;
|