codexly-ui 0.11.7 → 0.11.8
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 +42 -26
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +27 -10
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -1167,7 +1167,7 @@ declare class ClxSwitchComponent implements ControlValueAccessor {
|
|
|
1167
1167
|
readonly track: "w-9 h-5";
|
|
1168
1168
|
readonly thumb: "w-4 h-4";
|
|
1169
1169
|
readonly translate: "translate-x-4";
|
|
1170
|
-
readonly label: "text-
|
|
1170
|
+
readonly label: "text-sm";
|
|
1171
1171
|
} | {
|
|
1172
1172
|
readonly track: "w-12 h-6";
|
|
1173
1173
|
readonly thumb: "w-5 h-5";
|
|
@@ -2054,8 +2054,14 @@ interface ClxNotificationTheme {
|
|
|
2054
2054
|
severityColors?: ClxNotificationSeverityColors;
|
|
2055
2055
|
/** Unread-row accent (left rail + title dot) — falls back to primaryColor when unset. */
|
|
2056
2056
|
unreadColor?: ClxColorInput;
|
|
2057
|
+
/** clx-tabs (Todas/Sin leer/...) + "Marcar todo leído" link accent — falls back to
|
|
2058
|
+
* primaryColor when unset. Independent from the bell button's own color. */
|
|
2059
|
+
tabsColor?: ClxColorInput;
|
|
2057
2060
|
/** Row density. Falls back to 'md'. */
|
|
2058
2061
|
size?: ClxNotificationSize;
|
|
2062
|
+
/** Whether the panel wrapper shows its outer border at all — falls back to true. Same field
|
|
2063
|
+
* name/semantics as ClxCardTheme's border, ClxTableTheme.bordered, etc. */
|
|
2064
|
+
border?: boolean;
|
|
2059
2065
|
/** Panel wrapper border color — falls back to listBorderColor, then primaryColor, when unset. */
|
|
2060
2066
|
borderColor?: ClxColorInput;
|
|
2061
2067
|
/** Panel wrapper border-radius override — falls back to the app-wide borderRadius when unset. */
|
|
@@ -2484,28 +2490,38 @@ interface ClxNotificationGroup {
|
|
|
2484
2490
|
declare class ClxNotificationComponent {
|
|
2485
2491
|
private readonly _themeSvc;
|
|
2486
2492
|
readonly items: _angular_core.InputSignal<ClxNotificationItem[]>;
|
|
2487
|
-
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2488
2493
|
/** Optional third tab that filters items by ClxNotificationItem.category — e.g.
|
|
2489
2494
|
* `{ id: 'orders', label: 'Órdenes' }`. Omit for just Todas/Sin leer. */
|
|
2490
2495
|
readonly categoryTab: _angular_core.InputSignal<{
|
|
2491
2496
|
id: string;
|
|
2492
2497
|
label: string;
|
|
2493
2498
|
} | undefined>;
|
|
2494
|
-
readonly
|
|
2495
|
-
readonly
|
|
2496
|
-
readonly
|
|
2499
|
+
readonly buttonColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2500
|
+
readonly buttonVariant: _angular_core.InputSignal<ClxButtonVariant>;
|
|
2501
|
+
readonly buttonSize: _angular_core.InputSignal<"xxs" | "xs" | "sm" | "md" | "lg">;
|
|
2502
|
+
readonly buttonIcon: _angular_core.InputSignal<string>;
|
|
2497
2503
|
/** Unread-count badge color — falls back to the theme's notification.unreadColor (then
|
|
2498
|
-
* primaryColor) when unset
|
|
2499
|
-
* library (instance input > theme block > primaryColor). */
|
|
2504
|
+
* primaryColor) when unset. */
|
|
2500
2505
|
readonly badgeColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2506
|
+
/** clx-tabs (Todas/Sin leer/...) + "Marcar todo leído" link accent — falls back to the theme's
|
|
2507
|
+
* notification.tabsColor (then primaryColor) when unset. */
|
|
2508
|
+
readonly tabsColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2509
|
+
/** Whether the floating panel shows its outer border — falls back to the theme's
|
|
2510
|
+
* notification.border (then true) when unset. */
|
|
2511
|
+
readonly border: _angular_core.InputSignal<boolean | undefined>;
|
|
2512
|
+
/** Panel wrapper border color — falls back to the theme's notification.borderColor when unset. */
|
|
2513
|
+
readonly borderColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2501
2514
|
readonly itemClick: _angular_core.OutputEmitterRef<ClxNotificationItem>;
|
|
2502
2515
|
readonly markRead: _angular_core.OutputEmitterRef<string>;
|
|
2503
2516
|
readonly markAllRead: _angular_core.OutputEmitterRef<void>;
|
|
2504
2517
|
readonly delete: _angular_core.OutputEmitterRef<string>;
|
|
2505
2518
|
readonly deleteAllRead: _angular_core.OutputEmitterRef<void>;
|
|
2506
2519
|
protected readonly _style: _angular_core.Signal<codexly_ui.ClxResolvedNotificationStyle>;
|
|
2507
|
-
protected readonly
|
|
2520
|
+
protected readonly _buttonColor: _angular_core.Signal<ClxColorInput>;
|
|
2508
2521
|
protected readonly _badgeColor: _angular_core.Signal<ClxColorInput>;
|
|
2522
|
+
protected readonly _tabsColor: _angular_core.Signal<ClxColorInput>;
|
|
2523
|
+
protected readonly _border: _angular_core.Signal<boolean>;
|
|
2524
|
+
protected readonly _borderColor: _angular_core.Signal<ClxColorInput>;
|
|
2509
2525
|
private readonly _sso;
|
|
2510
2526
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
2511
2527
|
readonly _positions: ConnectedPosition[];
|
|
@@ -2518,7 +2534,6 @@ declare class ClxNotificationComponent {
|
|
|
2518
2534
|
private readonly _visibleItems;
|
|
2519
2535
|
protected readonly _groups: _angular_core.Signal<ClxNotificationGroup[]>;
|
|
2520
2536
|
protected readonly _groupLabelClass: _angular_core.Signal<string>;
|
|
2521
|
-
protected readonly _linkClass: _angular_core.Signal<string>;
|
|
2522
2537
|
protected readonly _unreadRailClass: _angular_core.Signal<string>;
|
|
2523
2538
|
protected readonly _unreadDotClass: _angular_core.Signal<string>;
|
|
2524
2539
|
protected readonly _detailClass: _angular_core.Signal<string>;
|
|
@@ -2533,7 +2548,7 @@ declare class ClxNotificationComponent {
|
|
|
2533
2548
|
private _dayLabel;
|
|
2534
2549
|
protected _timeOf(iso: string): string;
|
|
2535
2550
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxNotificationComponent, never>;
|
|
2536
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxNotificationComponent, "clx-notification", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "
|
|
2551
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxNotificationComponent, "clx-notification", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "categoryTab": { "alias": "categoryTab"; "required": false; "isSignal": true; }; "buttonColor": { "alias": "buttonColor"; "required": false; "isSignal": true; }; "buttonVariant": { "alias": "buttonVariant"; "required": false; "isSignal": true; }; "buttonSize": { "alias": "buttonSize"; "required": false; "isSignal": true; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; "isSignal": true; }; "badgeColor": { "alias": "badgeColor"; "required": false; "isSignal": true; }; "tabsColor": { "alias": "tabsColor"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; "markRead": "markRead"; "markAllRead": "markAllRead"; "delete": "delete"; "deleteAllRead": "deleteAllRead"; }, never, never, true, never>;
|
|
2537
2552
|
}
|
|
2538
2553
|
|
|
2539
2554
|
declare class ClxAlertComponent implements OnInit, OnDestroy {
|
|
@@ -3829,7 +3844,9 @@ interface ClxResolvedPaginationStyle {
|
|
|
3829
3844
|
interface ClxResolvedNotificationStyle {
|
|
3830
3845
|
severityColors: Required<ClxNotificationSeverityColors>;
|
|
3831
3846
|
unreadColor: ClxColorInput;
|
|
3847
|
+
tabsColor: ClxColorInput;
|
|
3832
3848
|
size: ClxNotificationSize;
|
|
3849
|
+
border: boolean;
|
|
3833
3850
|
borderColor: ClxColorInput;
|
|
3834
3851
|
radius: ClxThemeConfig['borderRadius'];
|
|
3835
3852
|
titleWeight: ClxFontWeight;
|