codexly-ui 0.0.43 → 0.0.45
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.
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* ── Safelist: all color shades for dynamic class binding ── */
|
|
2
|
+
@source inline("{bg,hover:bg,ring,hover:ring,focus:ring,focus-within:ring,hover:border,border,focus:border,focus-within:border,text}-{red,orange,amber,yellow,lime,green,emerald,teal,cyan,sky,blue,indigo,violet,purple,fuchsia,pink,rose,slate,gray,zinc,neutral,stone}-{50,100,200,300,400,500,600,700,800,900,950}{/10,/20,/25,/50,/75,}");
|
|
3
|
+
@source inline("{bg,hover:bg,focus:ring,focus-within:ring,border,focus:border,focus-within:border,hover:border}-{white,black,transparent}");
|
|
4
|
+
@source inline("text-{black,white}");
|
|
5
|
+
@source inline("focus:ring-2 focus-within:ring-2 ring-2");
|
package/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -11631,9 +11631,9 @@ class ClxProfileComponent {
|
|
|
11631
11631
|
@if (menuItems().length) {
|
|
11632
11632
|
<div class="p-1.5">
|
|
11633
11633
|
@for (item of menuItems(); track item.action) {
|
|
11634
|
-
<button clx-button variant="ghost" color="
|
|
11634
|
+
<button clx-button variant="ghost" [color]="color()" [block]="true" [icon]="item.icon"
|
|
11635
|
+
class="justify-start rounded-xl!"
|
|
11635
11636
|
(click)="_onAction(item.action)">
|
|
11636
|
-
<span clx-icon [name]="item.icon" size="sm"></span>
|
|
11637
11637
|
{{ item.label }}
|
|
11638
11638
|
</button>
|
|
11639
11639
|
}
|
|
@@ -11643,23 +11643,23 @@ class ClxProfileComponent {
|
|
|
11643
11643
|
|
|
11644
11644
|
<!-- Sign out -->
|
|
11645
11645
|
<div class="p-1.5">
|
|
11646
|
-
<button clx-button variant="ghost" color="red"
|
|
11646
|
+
<button clx-button variant="ghost" color="red" [block]="true" icon="logout"
|
|
11647
|
+
class="justify-start rounded-xl!"
|
|
11647
11648
|
(click)="_onSignOut()">
|
|
11648
|
-
<span clx-icon name="logout" size="sm"></span>
|
|
11649
11649
|
{{ signOutLabel() }}
|
|
11650
11650
|
</button>
|
|
11651
11651
|
</div>
|
|
11652
11652
|
|
|
11653
11653
|
</div>
|
|
11654
11654
|
</ng-template>
|
|
11655
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i1$1.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "directive", type: i1$1.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "component", type: ClxAvatarComponent, selector: "clx-avatar", inputs: ["src", "initials", "iconName", "color", "size", "shape", "alt"] }, { kind: "component", type:
|
|
11655
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i1$1.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "directive", type: i1$1.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "component", type: ClxAvatarComponent, selector: "clx-avatar", inputs: ["src", "initials", "iconName", "color", "size", "shape", "alt"] }, { kind: "component", type: ClxButtonComponent, selector: "button[clx-button], a[clx-button]", inputs: ["variant", "color", "size", "shape", "loading", "disabled", "block", "icon", "iconPosition", "iconOnly", "badge", "badgeColor"] }, { kind: "component", type: ClxBadgeComponent, selector: "span[clx-badge]", inputs: ["variant", "color", "size", "shape", "positioned"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11656
11656
|
}
|
|
11657
11657
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClxProfileComponent, decorators: [{
|
|
11658
11658
|
type: Component,
|
|
11659
11659
|
args: [{
|
|
11660
11660
|
selector: 'clx-profile',
|
|
11661
11661
|
standalone: true,
|
|
11662
|
-
imports: [OverlayModule, ClxAvatarComponent,
|
|
11662
|
+
imports: [OverlayModule, ClxAvatarComponent, ClxButtonComponent, ClxBadgeComponent],
|
|
11663
11663
|
template: `
|
|
11664
11664
|
<!-- ── Trigger ─────────────────────────────────────────────────────────── -->
|
|
11665
11665
|
<button
|
|
@@ -11712,9 +11712,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
11712
11712
|
@if (menuItems().length) {
|
|
11713
11713
|
<div class="p-1.5">
|
|
11714
11714
|
@for (item of menuItems(); track item.action) {
|
|
11715
|
-
<button clx-button variant="ghost" color="
|
|
11715
|
+
<button clx-button variant="ghost" [color]="color()" [block]="true" [icon]="item.icon"
|
|
11716
|
+
class="justify-start rounded-xl!"
|
|
11716
11717
|
(click)="_onAction(item.action)">
|
|
11717
|
-
<span clx-icon [name]="item.icon" size="sm"></span>
|
|
11718
11718
|
{{ item.label }}
|
|
11719
11719
|
</button>
|
|
11720
11720
|
}
|
|
@@ -11724,9 +11724,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
11724
11724
|
|
|
11725
11725
|
<!-- Sign out -->
|
|
11726
11726
|
<div class="p-1.5">
|
|
11727
|
-
<button clx-button variant="ghost" color="red"
|
|
11727
|
+
<button clx-button variant="ghost" color="red" [block]="true" icon="logout"
|
|
11728
|
+
class="justify-start rounded-xl!"
|
|
11728
11729
|
(click)="_onSignOut()">
|
|
11729
|
-
<span clx-icon name="logout" size="sm"></span>
|
|
11730
11730
|
{{ signOutLabel() }}
|
|
11731
11731
|
</button>
|
|
11732
11732
|
</div>
|