@memberjunction/ng-ui-components 6.2.0-edge.3 → 6.2.0-edge.5
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/README.md +1 -1
- package/dist/lib/accordion/accordion.component.d.ts +14 -4
- package/dist/lib/accordion/accordion.component.d.ts.map +1 -1
- package/dist/lib/accordion/accordion.component.js +96 -46
- package/dist/lib/accordion/accordion.component.js.map +1 -1
- package/dist/lib/accordion/accordion.scss +54 -5
- package/dist/lib/button/button.directive.d.ts +27 -15
- package/dist/lib/button/button.directive.d.ts.map +1 -1
- package/dist/lib/button/button.directive.js +34 -19
- package/dist/lib/button/button.directive.js.map +1 -1
- package/dist/lib/button/button.scss +35 -0
- package/dist/lib/dialog/dialog.scss +4 -1
- package/dist/lib/dropdown/dropdown.component.d.ts +22 -0
- package/dist/lib/dropdown/dropdown.component.d.ts.map +1 -1
- package/dist/lib/dropdown/dropdown.component.js +43 -6
- package/dist/lib/dropdown/dropdown.component.js.map +1 -1
- package/dist/lib/menu/menu.component.d.ts +64 -0
- package/dist/lib/menu/menu.component.d.ts.map +1 -0
- package/dist/lib/menu/menu.component.js +149 -0
- package/dist/lib/menu/menu.component.js.map +1 -0
- package/dist/lib/slide-panel/slide-panel.component.js +2 -2
- package/dist/public-api.d.ts +1 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +1 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/cdk/menu";
|
|
4
|
+
/**
|
|
5
|
+
* `[mjMenuTriggerFor]`: opens an `mj-menu` from the element it sits on, usually a `mjButton`. Built on the CDK
|
|
6
|
+
* menu: the trigger carries `aria-haspopup`, `aria-expanded` and `aria-controls`, a click or the arrow keys open the
|
|
7
|
+
* menu, Escape and a click outside close it, and focus returns to the trigger.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```html
|
|
11
|
+
* <button mjButton Variant="icon" AriaLabel="Move to" [mjMenuTriggerFor]="moveMenu">
|
|
12
|
+
* <i class="fa-solid fa-ellipsis-vertical"></i>
|
|
13
|
+
* </button>
|
|
14
|
+
* <ng-template #moveMenu>
|
|
15
|
+
* <mj-menu AriaLabel="Move to">
|
|
16
|
+
* <mj-menu-item Icon="fa-solid fa-expand" (Triggered)="Move('stage')">Stage</mj-menu-item>
|
|
17
|
+
* <mj-menu-item Icon="fa-regular fa-window-restore" (Triggered)="Move('pip')">Picture-in-picture</mj-menu-item>
|
|
18
|
+
* <mj-menu-divider></mj-menu-divider>
|
|
19
|
+
* <mj-menu-item Icon="fa-solid fa-eye-slash" (Triggered)="Move('hidden')">Hide</mj-menu-item>
|
|
20
|
+
* </mj-menu>
|
|
21
|
+
* </ng-template>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class MJMenuTriggerDirective {
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJMenuTriggerDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MJMenuTriggerDirective, "[mjMenuTriggerFor]", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "mjMenuTriggerFor"; }; outputs: { "cdkMenuOpened": "MenuOpened"; "cdkMenuClosed": "MenuClosed"; }; }]>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* `mj-menu`: a menu panel, placed in an `ng-template` that a `[mjMenuTriggerFor]` opens. The arrow keys, Home, End
|
|
30
|
+
* and typing a label move between its items. Name it with `AriaLabel` (or `AriaLabelledBy`): a menu announces its
|
|
31
|
+
* name when it opens, and an unnamed one warns in dev mode.
|
|
32
|
+
*/
|
|
33
|
+
export declare class MJMenuComponent implements AfterViewInit {
|
|
34
|
+
private readonly host;
|
|
35
|
+
/** The menu's name, when no visible label names it. */
|
|
36
|
+
AriaLabel: string | null;
|
|
37
|
+
/** The id of a visible element that names the menu. */
|
|
38
|
+
AriaLabelledBy: string | null;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJMenuComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJMenuComponent, "mj-menu", never, { "AriaLabel": { "alias": "AriaLabel"; "required": false; }; "AriaLabelledBy": { "alias": "AriaLabelledBy"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: {}; }]>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* `mj-menu-item`: one action in an `mj-menu`. `Triggered` fires on a click, Enter or Space, and then the menu
|
|
45
|
+
* closes. A `Disabled` item stays focusable, so it is announced, but cannot be triggered.
|
|
46
|
+
*
|
|
47
|
+
* An item with `[mjMenuTriggerFor]` opens a submenu instead: a click, Enter, Space or ArrowRight opens it,
|
|
48
|
+
* ArrowLeft or Escape closes it, and an arrow after the label shows that it has one.
|
|
49
|
+
*/
|
|
50
|
+
export declare class MJMenuItemComponent {
|
|
51
|
+
private readonly item;
|
|
52
|
+
/** A Font Awesome class list for the icon before the label, e.g. `fa-solid fa-expand`. */
|
|
53
|
+
Icon: string | null;
|
|
54
|
+
/** Whether the item opens a submenu: it also carries `[mjMenuTriggerFor]`, and shows an arrow after its label. */
|
|
55
|
+
get HasSubmenu(): boolean;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJMenuItemComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJMenuItemComponent, "mj-menu-item", never, { "Icon": { "alias": "Icon"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkMenuItem; inputs: { "cdkMenuItemDisabled": "Disabled"; }; outputs: { "cdkMenuItemTriggered": "Triggered"; }; }]>;
|
|
58
|
+
}
|
|
59
|
+
/** `mj-menu-divider`: a line between groups of items in an `mj-menu`. */
|
|
60
|
+
export declare class MJMenuDividerComponent {
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJMenuDividerComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJMenuDividerComponent, "mj-menu-divider", never, {}, {}, never, never, true, never>;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=menu.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.component.d.ts","sourceRoot":"","sources":["../../../src/lib/menu/menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4E,MAAM,eAAe,CAAC;;;AAIxH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAWa,sBAAsB;yCAAtB,sBAAsB;2CAAtB,sBAAsB;CAAG;AAEtC;;;;GAIG;AACH,qBA6Ba,eAAgB,YAAW,aAAa;IACnD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA+C;IAEpE,uDAAuD;IAC9C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEzC,uDAAuD;IAC9C,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEvC,eAAe,IAAI,IAAI;yCATnB,eAAe;2CAAf,eAAe;CAY3B;AAED;;;;;;GAMG;AACH,qBAwEa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAuC;IAE5D,0FAA0F;IACjF,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEpC,kHAAkH;IAClH,IAAW,UAAU,IAAI,OAAO,CAE/B;yCATU,mBAAmB;2CAAnB,mBAAmB;CAU/B;AAED,yEAAyE;AACzE,qBAiBa,sBAAsB;yCAAtB,sBAAsB;2CAAtB,sBAAsB;CAAG"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Directive, ElementRef, Input, inject } from '@angular/core';
|
|
2
|
+
import { CdkMenu, CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';
|
|
3
|
+
import { WarnIfUnnamed } from '../a11y/unnamed-control-guard';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/cdk/menu";
|
|
6
|
+
const _c0 = ["*"];
|
|
7
|
+
function MJMenuItemComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵdomElement(0, "i", 3);
|
|
9
|
+
} if (rf & 2) {
|
|
10
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
11
|
+
i0.ɵɵclassMap(ctx_r0.Icon);
|
|
12
|
+
} }
|
|
13
|
+
function MJMenuItemComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵdomElement(0, "i", 2);
|
|
15
|
+
} }
|
|
16
|
+
/**
|
|
17
|
+
* `[mjMenuTriggerFor]`: opens an `mj-menu` from the element it sits on, usually a `mjButton`. Built on the CDK
|
|
18
|
+
* menu: the trigger carries `aria-haspopup`, `aria-expanded` and `aria-controls`, a click or the arrow keys open the
|
|
19
|
+
* menu, Escape and a click outside close it, and focus returns to the trigger.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```html
|
|
23
|
+
* <button mjButton Variant="icon" AriaLabel="Move to" [mjMenuTriggerFor]="moveMenu">
|
|
24
|
+
* <i class="fa-solid fa-ellipsis-vertical"></i>
|
|
25
|
+
* </button>
|
|
26
|
+
* <ng-template #moveMenu>
|
|
27
|
+
* <mj-menu AriaLabel="Move to">
|
|
28
|
+
* <mj-menu-item Icon="fa-solid fa-expand" (Triggered)="Move('stage')">Stage</mj-menu-item>
|
|
29
|
+
* <mj-menu-item Icon="fa-regular fa-window-restore" (Triggered)="Move('pip')">Picture-in-picture</mj-menu-item>
|
|
30
|
+
* <mj-menu-divider></mj-menu-divider>
|
|
31
|
+
* <mj-menu-item Icon="fa-solid fa-eye-slash" (Triggered)="Move('hidden')">Hide</mj-menu-item>
|
|
32
|
+
* </mj-menu>
|
|
33
|
+
* </ng-template>
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export class MJMenuTriggerDirective {
|
|
37
|
+
static ɵfac = function MJMenuTriggerDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJMenuTriggerDirective)(); };
|
|
38
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MJMenuTriggerDirective, selectors: [["", "mjMenuTriggerFor", ""]], features: [i0.ɵɵHostDirectivesFeature([{ directive: i1.CdkMenuTrigger, inputs: ["cdkMenuTriggerFor", "mjMenuTriggerFor"], outputs: ["cdkMenuOpened", "MenuOpened", "cdkMenuClosed", "MenuClosed"] }])] });
|
|
39
|
+
}
|
|
40
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJMenuTriggerDirective, [{
|
|
41
|
+
type: Directive,
|
|
42
|
+
args: [{
|
|
43
|
+
selector: '[mjMenuTriggerFor]',
|
|
44
|
+
standalone: true,
|
|
45
|
+
hostDirectives: [
|
|
46
|
+
{
|
|
47
|
+
directive: CdkMenuTrigger,
|
|
48
|
+
inputs: ['cdkMenuTriggerFor: mjMenuTriggerFor'],
|
|
49
|
+
outputs: ['cdkMenuOpened: MenuOpened', 'cdkMenuClosed: MenuClosed'],
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
}]
|
|
53
|
+
}], null, null); })();
|
|
54
|
+
/**
|
|
55
|
+
* `mj-menu`: a menu panel, placed in an `ng-template` that a `[mjMenuTriggerFor]` opens. The arrow keys, Home, End
|
|
56
|
+
* and typing a label move between its items. Name it with `AriaLabel` (or `AriaLabelledBy`): a menu announces its
|
|
57
|
+
* name when it opens, and an unnamed one warns in dev mode.
|
|
58
|
+
*/
|
|
59
|
+
export class MJMenuComponent {
|
|
60
|
+
host = inject(ElementRef);
|
|
61
|
+
/** The menu's name, when no visible label names it. */
|
|
62
|
+
AriaLabel = null;
|
|
63
|
+
/** The id of a visible element that names the menu. */
|
|
64
|
+
AriaLabelledBy = null;
|
|
65
|
+
ngAfterViewInit() {
|
|
66
|
+
WarnIfUnnamed(this.host.nativeElement, 'mj-menu');
|
|
67
|
+
}
|
|
68
|
+
static ɵfac = function MJMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJMenuComponent)(); };
|
|
69
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJMenuComponent, selectors: [["mj-menu"]], hostAttrs: [1, "mj-menu"], hostVars: 2, hostBindings: function MJMenuComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
70
|
+
i0.ɵɵattribute("aria-label", ctx.AriaLabel || null)("aria-labelledby", ctx.AriaLabelledBy || null);
|
|
71
|
+
} }, inputs: { AriaLabel: "AriaLabel", AriaLabelledBy: "AriaLabelledBy" }, features: [i0.ɵɵHostDirectivesFeature([i1.CdkMenu])], ngContentSelectors: _c0, decls: 1, vars: 0, template: function MJMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
i0.ɵɵprojectionDef();
|
|
73
|
+
i0.ɵɵprojection(0);
|
|
74
|
+
} }, styles: ["[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n min-width: 180px;\n max-width: 320px;\n box-sizing: border-box;\n padding: 4px 0;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n box-shadow: var(--mj-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));\n outline: none;\n }"], changeDetection: 0 });
|
|
75
|
+
}
|
|
76
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJMenuComponent, [{
|
|
77
|
+
type: Component,
|
|
78
|
+
args: [{ selector: 'mj-menu', standalone: true, hostDirectives: [CdkMenu], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
79
|
+
class: 'mj-menu',
|
|
80
|
+
'[attr.aria-label]': 'AriaLabel || null',
|
|
81
|
+
'[attr.aria-labelledby]': 'AriaLabelledBy || null',
|
|
82
|
+
}, template: '<ng-content></ng-content>', styles: ["\n :host {\n display: flex;\n flex-direction: column;\n min-width: 180px;\n max-width: 320px;\n box-sizing: border-box;\n padding: 4px 0;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n box-shadow: var(--mj-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n "] }]
|
|
83
|
+
}], null, { AriaLabel: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], AriaLabelledBy: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}] }); })();
|
|
88
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJMenuComponent, { className: "MJMenuComponent", filePath: "lib/menu/menu.component.ts", lineNumber: 72 }); })();
|
|
89
|
+
/**
|
|
90
|
+
* `mj-menu-item`: one action in an `mj-menu`. `Triggered` fires on a click, Enter or Space, and then the menu
|
|
91
|
+
* closes. A `Disabled` item stays focusable, so it is announced, but cannot be triggered.
|
|
92
|
+
*
|
|
93
|
+
* An item with `[mjMenuTriggerFor]` opens a submenu instead: a click, Enter, Space or ArrowRight opens it,
|
|
94
|
+
* ArrowLeft or Escape closes it, and an arrow after the label shows that it has one.
|
|
95
|
+
*/
|
|
96
|
+
export class MJMenuItemComponent {
|
|
97
|
+
item = inject(CdkMenuItem, { self: true });
|
|
98
|
+
/** A Font Awesome class list for the icon before the label, e.g. `fa-solid fa-expand`. */
|
|
99
|
+
Icon = null;
|
|
100
|
+
/** Whether the item opens a submenu: it also carries `[mjMenuTriggerFor]`, and shows an arrow after its label. */
|
|
101
|
+
get HasSubmenu() {
|
|
102
|
+
return this.item.hasMenu;
|
|
103
|
+
}
|
|
104
|
+
static ɵfac = function MJMenuItemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJMenuItemComponent)(); };
|
|
105
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJMenuItemComponent, selectors: [["mj-menu-item"]], hostAttrs: [1, "mj-menu-item"], inputs: { Icon: "Icon" }, features: [i0.ɵɵHostDirectivesFeature([{ directive: i1.CdkMenuItem, inputs: ["cdkMenuItemDisabled", "Disabled"], outputs: ["cdkMenuItemTriggered", "Triggered"] }])], ngContentSelectors: _c0, decls: 4, vars: 2, consts: [["aria-hidden", "true", 1, "mj-menu-item-icon", 3, "class"], [1, "mj-menu-item-label"], ["aria-hidden", "true", 1, "mj-menu-item-submenu", "fa-solid", "fa-chevron-right"], ["aria-hidden", "true", 1, "mj-menu-item-icon"]], template: function MJMenuItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
106
|
+
i0.ɵɵprojectionDef();
|
|
107
|
+
i0.ɵɵconditionalCreate(0, MJMenuItemComponent_Conditional_0_Template, 1, 2, "i", 0);
|
|
108
|
+
i0.ɵɵdomElementStart(1, "span", 1);
|
|
109
|
+
i0.ɵɵprojection(2);
|
|
110
|
+
i0.ɵɵdomElementEnd();
|
|
111
|
+
i0.ɵɵconditionalCreate(3, MJMenuItemComponent_Conditional_3_Template, 1, 0, "i", 2);
|
|
112
|
+
} if (rf & 2) {
|
|
113
|
+
i0.ɵɵconditional(ctx.Icon ? 0 : -1);
|
|
114
|
+
i0.ɵɵadvance(3);
|
|
115
|
+
i0.ɵɵconditional(ctx.HasSubmenu ? 3 : -1);
|
|
116
|
+
} }, styles: ["[_nghost-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 36px;\n padding: 8px 12px;\n box-sizing: border-box;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n cursor: pointer;\n user-select: none;\n outline: none;\n transition: background var(--mj-transition-fast);\n }\n [_nghost-%COMP%]:hover, \n [_nghost-%COMP%]:focus {\n background: var(--mj-bg-surface-hover);\n }\n [_nghost-%COMP%]:focus-visible {\n box-shadow: inset 0 0 0 2px var(--mj-border-focus);\n }\n [aria-disabled='true'][_nghost-%COMP%] {\n color: var(--mj-text-disabled);\n cursor: default;\n }\n [aria-disabled='true'][_nghost-%COMP%]:hover {\n background: transparent;\n }\n .mj-menu-item-icon[_ngcontent-%COMP%] {\n width: 16px;\n flex-shrink: 0;\n text-align: center;\n color: var(--mj-text-secondary);\n }\n [aria-disabled='true'][_nghost-%COMP%] .mj-menu-item-icon[_ngcontent-%COMP%] {\n color: var(--mj-text-disabled);\n }\n .mj-menu-item-label[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n }\n .mj-menu-item-submenu[_ngcontent-%COMP%] {\n flex-shrink: 0;\n font-size: 0.75em;\n color: var(--mj-text-secondary);\n }"], changeDetection: 0 });
|
|
117
|
+
}
|
|
118
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJMenuItemComponent, [{
|
|
119
|
+
type: Component,
|
|
120
|
+
args: [{ selector: 'mj-menu-item', standalone: true, hostDirectives: [
|
|
121
|
+
{
|
|
122
|
+
directive: CdkMenuItem,
|
|
123
|
+
inputs: ['cdkMenuItemDisabled: Disabled'],
|
|
124
|
+
outputs: ['cdkMenuItemTriggered: Triggered'],
|
|
125
|
+
},
|
|
126
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mj-menu-item' }, template: `
|
|
127
|
+
@if (Icon) {
|
|
128
|
+
<i class="mj-menu-item-icon" [class]="Icon" aria-hidden="true"></i>
|
|
129
|
+
}
|
|
130
|
+
<span class="mj-menu-item-label"><ng-content></ng-content></span>
|
|
131
|
+
@if (HasSubmenu) {
|
|
132
|
+
<i class="mj-menu-item-submenu fa-solid fa-chevron-right" aria-hidden="true"></i>
|
|
133
|
+
}
|
|
134
|
+
`, styles: ["\n :host {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 36px;\n padding: 8px 12px;\n box-sizing: border-box;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n cursor: pointer;\n user-select: none;\n outline: none;\n transition: background var(--mj-transition-fast);\n }\n :host(:hover),\n :host(:focus) {\n background: var(--mj-bg-surface-hover);\n }\n :host(:focus-visible) {\n box-shadow: inset 0 0 0 2px var(--mj-border-focus);\n }\n :host([aria-disabled='true']) {\n color: var(--mj-text-disabled);\n cursor: default;\n }\n :host([aria-disabled='true']:hover) {\n background: transparent;\n }\n .mj-menu-item-icon {\n width: 16px;\n flex-shrink: 0;\n text-align: center;\n color: var(--mj-text-secondary);\n }\n :host([aria-disabled='true']) .mj-menu-item-icon {\n color: var(--mj-text-disabled);\n }\n .mj-menu-item-label {\n flex: 1;\n min-width: 0;\n }\n .mj-menu-item-submenu {\n flex-shrink: 0;\n font-size: 0.75em;\n color: var(--mj-text-secondary);\n }\n "] }]
|
|
135
|
+
}], null, { Icon: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}] }); })();
|
|
138
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJMenuItemComponent, { className: "MJMenuItemComponent", filePath: "lib/menu/menu.component.ts", lineNumber: 165 }); })();
|
|
139
|
+
/** `mj-menu-divider`: a line between groups of items in an `mj-menu`. */
|
|
140
|
+
export class MJMenuDividerComponent {
|
|
141
|
+
static ɵfac = function MJMenuDividerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJMenuDividerComponent)(); };
|
|
142
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJMenuDividerComponent, selectors: [["mj-menu-divider"]], hostAttrs: ["role", "separator", 1, "mj-menu-divider"], decls: 0, vars: 0, template: function MJMenuDividerComponent_Template(rf, ctx) { }, styles: ["[_nghost-%COMP%] {\n display: block;\n height: 1px;\n margin: 4px 0;\n background: var(--mj-border-default);\n }"], changeDetection: 0 });
|
|
143
|
+
}
|
|
144
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJMenuDividerComponent, [{
|
|
145
|
+
type: Component,
|
|
146
|
+
args: [{ selector: 'mj-menu-divider', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: { role: 'separator', class: 'mj-menu-divider' }, template: '', styles: ["\n :host {\n display: block;\n height: 1px;\n margin: 4px 0;\n background: var(--mj-border-default);\n }\n "] }]
|
|
147
|
+
}], null, null); })();
|
|
148
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJMenuDividerComponent, { className: "MJMenuDividerComponent", filePath: "lib/menu/menu.component.ts", lineNumber: 195 }); })();
|
|
149
|
+
//# sourceMappingURL=menu.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.component.js","sourceRoot":"","sources":["../../../src/lib/menu/menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,uBAAuB,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;;;;IAwGxD,0BAAmE;;;IAAtC,0BAAc;;;IAI3C,0BAAiF;;AA1GvF;;;;;;;;;;;;;;;;;;;GAmBG;AAYH,MAAM,OAAO,sBAAsB;gHAAtB,sBAAsB;6DAAtB,sBAAsB;;iFAAtB,sBAAsB;cAXlC,SAAS;eAAC;gBACT,QAAQ,EAAE,oBAAoB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,cAAc,EAAE;oBACd;wBACE,SAAS,EAAE,cAAc;wBACzB,MAAM,EAAE,CAAC,qCAAqC,CAAC;wBAC/C,OAAO,EAAE,CAAC,2BAA2B,EAAE,2BAA2B,CAAC;qBACpE;iBACF;aACF;;AAGD;;;;GAIG;AA8BH,MAAM,OAAO,eAAe;IACT,IAAI,GAAG,MAAM,CAA0B,UAAU,CAAC,CAAC;IAEpE,uDAAuD;IAC9C,SAAS,GAAkB,IAAI,CAAC;IAEzC,uDAAuD;IAC9C,cAAc,GAAkB,IAAI,CAAC;IAEvC,eAAe;QACpB,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;IACpD,CAAC;yGAXU,eAAe;6DAAf,eAAe;0DAAF,IAAI,2CAAC,IAAI;;;YAnBtB,kBAAyB;;;iFAmBzB,eAAe;cA7B3B,SAAS;2BACE,SAAS,cACP,IAAI,kBACA,CAAC,OAAO,CAAC,mBACR,uBAAuB,CAAC,MAAM,QACzC;oBACJ,KAAK,EAAE,SAAS;oBAChB,mBAAmB,EAAE,mBAAmB;oBACxC,wBAAwB,EAAE,wBAAwB;iBACnD,YACS,2BAA2B;;kBAuBpC,KAAK;;kBAGL,KAAK;;kFAPK,eAAe;AAc5B;;;;;;GAMG;AAyEH,MAAM,OAAO,mBAAmB;IACb,IAAI,GAAG,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;IAE5D,0FAA0F;IACjF,IAAI,GAAkB,IAAI,CAAC;IAEpC,kHAAkH;IAClH,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;IAC3B,CAAC;6GATU,mBAAmB;6DAAnB,mBAAmB;;YA3D5B,mFAAY;YAGZ,kCAAiC;YAAA,kBAAyB;YAAA,oBAAO;YACjE,mFAAkB;;YAJlB,mCAEC;YAED,eAEC;YAFD,yCAEC;;;iFAqDQ,mBAAmB;cAxE/B,SAAS;2BACE,cAAc,cACZ,IAAI,kBACA;oBACd;wBACE,SAAS,EAAE,WAAW;wBACtB,MAAM,EAAE,CAAC,+BAA+B,CAAC;wBACzC,OAAO,EAAE,CAAC,iCAAiC,CAAC;qBAC7C;iBACF,mBACgB,uBAAuB,CAAC,MAAM,QACzC,EAAE,KAAK,EAAE,cAAc,EAAE,YACrB;;;;;;;;GAQT;;kBAwDA,KAAK;;kFAJK,mBAAmB;AAYhC,yEAAyE;AAkBzE,MAAM,OAAO,sBAAsB;gHAAtB,sBAAsB;6DAAtB,sBAAsB;;iFAAtB,sBAAsB;cAjBlC,SAAS;2BACE,iBAAiB,cACf,IAAI,mBACC,uBAAuB,CAAC,MAAM,QACzC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB,EAAE,YAC3C,EAAE;;kFAYD,sBAAsB","sourcesContent":["import { AfterViewInit, ChangeDetectionStrategy, Component, Directive, ElementRef, Input, inject } from '@angular/core';\nimport { CdkMenu, CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';\nimport { WarnIfUnnamed } from '../a11y/unnamed-control-guard';\n\n/**\n * `[mjMenuTriggerFor]`: opens an `mj-menu` from the element it sits on, usually a `mjButton`. Built on the CDK\n * menu: the trigger carries `aria-haspopup`, `aria-expanded` and `aria-controls`, a click or the arrow keys open the\n * menu, Escape and a click outside close it, and focus returns to the trigger.\n *\n * @example\n * ```html\n * <button mjButton Variant=\"icon\" AriaLabel=\"Move to\" [mjMenuTriggerFor]=\"moveMenu\">\n * <i class=\"fa-solid fa-ellipsis-vertical\"></i>\n * </button>\n * <ng-template #moveMenu>\n * <mj-menu AriaLabel=\"Move to\">\n * <mj-menu-item Icon=\"fa-solid fa-expand\" (Triggered)=\"Move('stage')\">Stage</mj-menu-item>\n * <mj-menu-item Icon=\"fa-regular fa-window-restore\" (Triggered)=\"Move('pip')\">Picture-in-picture</mj-menu-item>\n * <mj-menu-divider></mj-menu-divider>\n * <mj-menu-item Icon=\"fa-solid fa-eye-slash\" (Triggered)=\"Move('hidden')\">Hide</mj-menu-item>\n * </mj-menu>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: '[mjMenuTriggerFor]',\n standalone: true,\n hostDirectives: [\n {\n directive: CdkMenuTrigger,\n inputs: ['cdkMenuTriggerFor: mjMenuTriggerFor'],\n outputs: ['cdkMenuOpened: MenuOpened', 'cdkMenuClosed: MenuClosed'],\n },\n ],\n})\nexport class MJMenuTriggerDirective {}\n\n/**\n * `mj-menu`: a menu panel, placed in an `ng-template` that a `[mjMenuTriggerFor]` opens. The arrow keys, Home, End\n * and typing a label move between its items. Name it with `AriaLabel` (or `AriaLabelledBy`): a menu announces its\n * name when it opens, and an unnamed one warns in dev mode.\n */\n@Component({\n selector: 'mj-menu',\n standalone: true,\n hostDirectives: [CdkMenu],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'mj-menu',\n '[attr.aria-label]': 'AriaLabel || null',\n '[attr.aria-labelledby]': 'AriaLabelledBy || null',\n },\n template: '<ng-content></ng-content>',\n styles: [\n `\n :host {\n display: flex;\n flex-direction: column;\n min-width: 180px;\n max-width: 320px;\n box-sizing: border-box;\n padding: 4px 0;\n background: var(--mj-bg-surface-elevated);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n box-shadow: var(--mj-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n `,\n ],\n})\nexport class MJMenuComponent implements AfterViewInit {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The menu's name, when no visible label names it. */\n @Input() AriaLabel: string | null = null;\n\n /** The id of a visible element that names the menu. */\n @Input() AriaLabelledBy: string | null = null;\n\n public ngAfterViewInit(): void {\n WarnIfUnnamed(this.host.nativeElement, 'mj-menu');\n }\n}\n\n/**\n * `mj-menu-item`: one action in an `mj-menu`. `Triggered` fires on a click, Enter or Space, and then the menu\n * closes. A `Disabled` item stays focusable, so it is announced, but cannot be triggered.\n *\n * An item with `[mjMenuTriggerFor]` opens a submenu instead: a click, Enter, Space or ArrowRight opens it,\n * ArrowLeft or Escape closes it, and an arrow after the label shows that it has one.\n */\n@Component({\n selector: 'mj-menu-item',\n standalone: true,\n hostDirectives: [\n {\n directive: CdkMenuItem,\n inputs: ['cdkMenuItemDisabled: Disabled'],\n outputs: ['cdkMenuItemTriggered: Triggered'],\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mj-menu-item' },\n template: `\n @if (Icon) {\n <i class=\"mj-menu-item-icon\" [class]=\"Icon\" aria-hidden=\"true\"></i>\n }\n <span class=\"mj-menu-item-label\"><ng-content></ng-content></span>\n @if (HasSubmenu) {\n <i class=\"mj-menu-item-submenu fa-solid fa-chevron-right\" aria-hidden=\"true\"></i>\n }\n `,\n styles: [\n `\n :host {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 36px;\n padding: 8px 12px;\n box-sizing: border-box;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n cursor: pointer;\n user-select: none;\n outline: none;\n transition: background var(--mj-transition-fast);\n }\n :host(:hover),\n :host(:focus) {\n background: var(--mj-bg-surface-hover);\n }\n :host(:focus-visible) {\n box-shadow: inset 0 0 0 2px var(--mj-border-focus);\n }\n :host([aria-disabled='true']) {\n color: var(--mj-text-disabled);\n cursor: default;\n }\n :host([aria-disabled='true']:hover) {\n background: transparent;\n }\n .mj-menu-item-icon {\n width: 16px;\n flex-shrink: 0;\n text-align: center;\n color: var(--mj-text-secondary);\n }\n :host([aria-disabled='true']) .mj-menu-item-icon {\n color: var(--mj-text-disabled);\n }\n .mj-menu-item-label {\n flex: 1;\n min-width: 0;\n }\n .mj-menu-item-submenu {\n flex-shrink: 0;\n font-size: 0.75em;\n color: var(--mj-text-secondary);\n }\n `,\n ],\n})\nexport class MJMenuItemComponent {\n private readonly item = inject(CdkMenuItem, { self: true });\n\n /** A Font Awesome class list for the icon before the label, e.g. `fa-solid fa-expand`. */\n @Input() Icon: string | null = null;\n\n /** Whether the item opens a submenu: it also carries `[mjMenuTriggerFor]`, and shows an arrow after its label. */\n public get HasSubmenu(): boolean {\n return this.item.hasMenu;\n }\n}\n\n/** `mj-menu-divider`: a line between groups of items in an `mj-menu`. */\n@Component({\n selector: 'mj-menu-divider',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { role: 'separator', class: 'mj-menu-divider' },\n template: '',\n styles: [\n `\n :host {\n display: block;\n height: 1px;\n margin: 4px 0;\n background: var(--mj-border-default);\n }\n `,\n ],\n})\nexport class MJMenuDividerComponent {}\n"]}
|
|
@@ -223,11 +223,11 @@ export class MjSlidePanelComponent {
|
|
|
223
223
|
i0.ɵɵconditional(ctx.Mode === "slide" ? 1 : -1);
|
|
224
224
|
i0.ɵɵadvance();
|
|
225
225
|
i0.ɵɵconditional(ctx.Mode === "dialog" ? 2 : -1);
|
|
226
|
-
} }, styles: ["\n\n\n\n.sp-backdrop[_ngcontent-%COMP%] {\n position: fixed;\n inset: 0;\n background: transparent;\n z-index: 1000;\n transition: background 0.3s ease;\n pointer-events: none;\n}\n\n\n\n\n\n\n.sp-backdrop.sp-open[_ngcontent-%COMP%] {\n background: var(--mj-bg-overlay);\n pointer-events: auto;\n}\n\n.sp-dialog-backdrop.sp-open[_ngcontent-%COMP%] {\n background: var(--mj-bg-overlay);\n}\n\n\n\n\n\n.sp-panel[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n right: 0;\n height: 100vh;\n background: var(--mj-bg-surface);\n box-shadow: var(--mj-shadow-lg);\n z-index:
|
|
226
|
+
} }, styles: ["\n\n\n\n.sp-backdrop[_ngcontent-%COMP%] {\n position: fixed;\n inset: 0;\n background: transparent;\n \n\n\n z-index: var(--mj-z-drawer, 1000);\n transition: background 0.3s ease;\n pointer-events: none;\n}\n\n\n\n\n\n\n.sp-backdrop.sp-open[_ngcontent-%COMP%] {\n background: var(--mj-bg-overlay);\n pointer-events: auto;\n}\n\n.sp-dialog-backdrop.sp-open[_ngcontent-%COMP%] {\n background: var(--mj-bg-overlay);\n}\n\n\n\n\n\n.sp-panel[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n right: 0;\n height: 100vh;\n background: var(--mj-bg-surface);\n box-shadow: var(--mj-shadow-lg);\n z-index: calc(var(--mj-z-drawer, 1000) + 1);\n display: flex;\n flex-direction: column;\n transform: translateX(100%);\n transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);\n min-width: 400px;\n max-width: 92vw;\n}\n\n.sp-panel.sp-open[_ngcontent-%COMP%] {\n \n\n\n\n\n transform: none;\n}\n\n\n\n\n\n.sp-dialog[_ngcontent-%COMP%] {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(0.95);\n max-height: 85vh;\n background: var(--mj-bg-surface);\n border-radius: 16px;\n box-shadow: var(--mj-shadow-lg);\n z-index: calc(var(--mj-z-drawer, 1000) + 1);\n display: flex;\n flex-direction: column;\n opacity: 0;\n transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);\n min-width: 360px;\n max-width: 95vw;\n}\n\n.sp-dialog.sp-open[_ngcontent-%COMP%] {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n}\n\n\n\n\n\n.sp-resize-handle[_ngcontent-%COMP%] {\n position: absolute;\n left: -4px;\n top: 0;\n width: 8px;\n height: 100%;\n cursor: col-resize;\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.sp-resize-handle[_ngcontent-%COMP%]:hover .sp-resize-grip[_ngcontent-%COMP%], \n.sp-resize-handle[_ngcontent-%COMP%]:active .sp-resize-grip[_ngcontent-%COMP%] {\n opacity: 1;\n background: var(--mj-brand-primary);\n}\n\n.sp-resize-grip[_ngcontent-%COMP%] {\n width: 3px;\n height: 40px;\n background: var(--mj-border-strong);\n border-radius: 3px;\n opacity: 0;\n transition: opacity 0.2s ease, background 0.2s ease;\n}\n\n.sp-resize-handle[_ngcontent-%COMP%]:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 4%, transparent);\n}\n\n\n\n\n\n.sp-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 24px;\n border-bottom: 1px solid var(--mj-border-default);\n flex-shrink: 0;\n}\n\n.sp-title[_ngcontent-%COMP%] {\n font-size: 18px;\n font-weight: 700;\n color: var(--mj-text-primary);\n margin: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex: 1;\n}\n\n.sp-close-btn[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 36px;\n height: 36px;\n background: none;\n border: none;\n border-radius: 8px;\n color: var(--mj-text-secondary);\n cursor: pointer;\n transition: all 0.15s ease;\n font-size: 16px;\n flex-shrink: 0;\n}\n\n.sp-close-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-primary);\n}\n\n\n\n\n\n.sp-body[_ngcontent-%COMP%] {\n flex: 1;\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.sp-dialog-body[_ngcontent-%COMP%] {\n padding: 0;\n}\n\n\n\n\n\n@media (max-width: 768px) {\n .sp-panel[_ngcontent-%COMP%] {\n width: 100% !important;\n min-width: unset;\n }\n\n .sp-resize-handle[_ngcontent-%COMP%] {\n display: none;\n }\n\n .sp-dialog[_ngcontent-%COMP%] {\n width: 95vw !important;\n max-height: 90vh;\n }\n}"], changeDetection: 0 });
|
|
227
227
|
}
|
|
228
228
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MjSlidePanelComponent, [{
|
|
229
229
|
type: Component,
|
|
230
|
-
args: [{ standalone: true, selector: 'mj-slide-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- Backdrop overlay -->\n<div class=\"sp-backdrop\"\n [class.sp-open]=\"IsVisible\"\n [class.sp-dialog-backdrop]=\"Mode === 'dialog'\"\n (click)=\"OnBackdropClick()\">\n</div>\n\n<!-- Panel (slide-in from right) -->\n@if (Mode === 'slide') {\n <div\n class=\"sp-panel\"\n [class.sp-open]=\"IsVisible\"\n [style.width.px]=\"WidthPx\"\n [style.max-width]=\"(MaxWidthRatio * 100) + 'vw'\">\n <!-- Resize handle -->\n @if (Resizable) {\n <div class=\"sp-resize-handle\" (mousedown)=\"OnResizeStart($event)\">\n <div class=\"sp-resize-grip\"></div>\n </div>\n }\n <!-- Header (if Title provided) -->\n @if (Title) {\n <div class=\"sp-header\">\n <h2 class=\"sp-title\">{{Title}}</h2>\n <button class=\"sp-close-btn\" (click)=\"OnClose()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n }\n <!-- Content projection -->\n <div class=\"sp-body\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n\n<!-- Dialog (centered modal) -->\n@if (Mode === 'dialog') {\n <div\n class=\"sp-dialog\"\n [class.sp-open]=\"IsVisible\"\n [style.width.px]=\"WidthPx\">\n <!-- Header (if Title provided) -->\n @if (Title) {\n <div class=\"sp-header\">\n <h2 class=\"sp-title\">{{Title}}</h2>\n <button class=\"sp-close-btn\" (click)=\"OnClose()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n }\n <!-- Content projection -->\n <div class=\"sp-body sp-dialog-body\">\n <ng-content select=\"[dialog-content]\"></ng-content>\n </div>\n </div>\n}\n", styles: ["/* ================================================================= */\n/* BACKDROP */\n/* ================================================================= */\n\n.sp-backdrop {\n position: fixed;\n inset: 0;\n background: transparent;\n z-index: 1000;\n transition: background 0.3s ease;\n pointer-events: none;\n}\n\n/* State class is sp-open, NEVER `visible`: explorer-app ships a global\n `.visible { visibility: visible !important }` utility, and a state class\n named `visible` accidentally matches it \u2014 forcing the panel to punch\n through ancestors hidden with visibility:hidden (e.g. the shell's\n region-hidden main area). */\n.sp-backdrop.sp-open {\n background: var(--mj-bg-overlay);\n pointer-events: auto;\n}\n\n.sp-dialog-backdrop.sp-open {\n background: var(--mj-bg-overlay);\n}\n\n/* ================================================================= */\n/* SLIDE PANEL */\n/* ================================================================= */\n\n.sp-panel {\n position: fixed;\n top: 0;\n right: 0;\n height: 100vh;\n background: var(--mj-bg-surface);\n box-shadow: var(--mj-shadow-lg);\n z-index:
|
|
230
|
+
args: [{ standalone: true, selector: 'mj-slide-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- Backdrop overlay -->\n<div class=\"sp-backdrop\"\n [class.sp-open]=\"IsVisible\"\n [class.sp-dialog-backdrop]=\"Mode === 'dialog'\"\n (click)=\"OnBackdropClick()\">\n</div>\n\n<!-- Panel (slide-in from right) -->\n@if (Mode === 'slide') {\n <div\n class=\"sp-panel\"\n [class.sp-open]=\"IsVisible\"\n [style.width.px]=\"WidthPx\"\n [style.max-width]=\"(MaxWidthRatio * 100) + 'vw'\">\n <!-- Resize handle -->\n @if (Resizable) {\n <div class=\"sp-resize-handle\" (mousedown)=\"OnResizeStart($event)\">\n <div class=\"sp-resize-grip\"></div>\n </div>\n }\n <!-- Header (if Title provided) -->\n @if (Title) {\n <div class=\"sp-header\">\n <h2 class=\"sp-title\">{{Title}}</h2>\n <button class=\"sp-close-btn\" (click)=\"OnClose()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n }\n <!-- Content projection -->\n <div class=\"sp-body\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n\n<!-- Dialog (centered modal) -->\n@if (Mode === 'dialog') {\n <div\n class=\"sp-dialog\"\n [class.sp-open]=\"IsVisible\"\n [style.width.px]=\"WidthPx\">\n <!-- Header (if Title provided) -->\n @if (Title) {\n <div class=\"sp-header\">\n <h2 class=\"sp-title\">{{Title}}</h2>\n <button class=\"sp-close-btn\" (click)=\"OnClose()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n }\n <!-- Content projection -->\n <div class=\"sp-body sp-dialog-body\">\n <ng-content select=\"[dialog-content]\"></ng-content>\n </div>\n </div>\n}\n", styles: ["/* ================================================================= */\n/* BACKDROP */\n/* ================================================================= */\n\n.sp-backdrop {\n position: fixed;\n inset: 0;\n background: transparent;\n /* The drawer rung of the shared scale; mj-dialog sits above it (--mj-z-dialog).\n The fallback mirrors _tokens.scss for hosts that load this component without\n the token sheet; without it the panel would lose its stacking entirely. */\n z-index: var(--mj-z-drawer, 1000);\n transition: background 0.3s ease;\n pointer-events: none;\n}\n\n/* State class is sp-open, NEVER `visible`: explorer-app ships a global\n `.visible { visibility: visible !important }` utility, and a state class\n named `visible` accidentally matches it \u2014 forcing the panel to punch\n through ancestors hidden with visibility:hidden (e.g. the shell's\n region-hidden main area). */\n.sp-backdrop.sp-open {\n background: var(--mj-bg-overlay);\n pointer-events: auto;\n}\n\n.sp-dialog-backdrop.sp-open {\n background: var(--mj-bg-overlay);\n}\n\n/* ================================================================= */\n/* SLIDE PANEL */\n/* ================================================================= */\n\n.sp-panel {\n position: fixed;\n top: 0;\n right: 0;\n height: 100vh;\n background: var(--mj-bg-surface);\n box-shadow: var(--mj-shadow-lg);\n z-index: calc(var(--mj-z-drawer, 1000) + 1);\n display: flex;\n flex-direction: column;\n transform: translateX(100%);\n transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);\n min-width: 400px;\n max-width: 92vw;\n}\n\n.sp-panel.sp-open {\n /* `none` (not translateX(0)) on purpose: a non-none transform makes this panel\n the containing block for position:fixed DESCENDANTS (dropdown panels, popovers\n that position via getBoundingClientRect viewport math), displacing them\n offscreen. `none` interpolates as the identity matrix, so the slide-in\n animation is unaffected while open-state descendants get the real viewport. */\n transform: none;\n}\n\n/* ================================================================= */\n/* DIALOG (centered modal) */\n/* ================================================================= */\n\n.sp-dialog {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(0.95);\n max-height: 85vh;\n background: var(--mj-bg-surface);\n border-radius: 16px;\n box-shadow: var(--mj-shadow-lg);\n z-index: calc(var(--mj-z-drawer, 1000) + 1);\n display: flex;\n flex-direction: column;\n opacity: 0;\n transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);\n min-width: 360px;\n max-width: 95vw;\n}\n\n.sp-dialog.sp-open {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n}\n\n/* ================================================================= */\n/* RESIZE HANDLE */\n/* ================================================================= */\n\n.sp-resize-handle {\n position: absolute;\n left: -4px;\n top: 0;\n width: 8px;\n height: 100%;\n cursor: col-resize;\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.sp-resize-handle:hover .sp-resize-grip,\n.sp-resize-handle:active .sp-resize-grip {\n opacity: 1;\n background: var(--mj-brand-primary);\n}\n\n.sp-resize-grip {\n width: 3px;\n height: 40px;\n background: var(--mj-border-strong);\n border-radius: 3px;\n opacity: 0;\n transition: opacity 0.2s ease, background 0.2s ease;\n}\n\n.sp-resize-handle:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 4%, transparent);\n}\n\n/* ================================================================= */\n/* HEADER */\n/* ================================================================= */\n\n.sp-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 24px;\n border-bottom: 1px solid var(--mj-border-default);\n flex-shrink: 0;\n}\n\n.sp-title {\n font-size: 18px;\n font-weight: 700;\n color: var(--mj-text-primary);\n margin: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex: 1;\n}\n\n.sp-close-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 36px;\n height: 36px;\n background: none;\n border: none;\n border-radius: 8px;\n color: var(--mj-text-secondary);\n cursor: pointer;\n transition: all 0.15s ease;\n font-size: 16px;\n flex-shrink: 0;\n}\n\n.sp-close-btn:hover {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-primary);\n}\n\n/* ================================================================= */\n/* BODY */\n/* ================================================================= */\n\n.sp-body {\n flex: 1;\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.sp-dialog-body {\n padding: 0;\n}\n\n/* ================================================================= */\n/* RESPONSIVE */\n/* ================================================================= */\n\n@media (max-width: 768px) {\n .sp-panel {\n width: 100% !important;\n min-width: unset;\n }\n\n .sp-resize-handle {\n display: none;\n }\n\n .sp-dialog {\n width: 95vw !important;\n max-height: 90vh;\n }\n}\n"] }]
|
|
231
231
|
}], () => [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }], { Mode: [{
|
|
232
232
|
type: Input
|
|
233
233
|
}], Title: [{
|
package/dist/public-api.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './lib/page-body/page-body.component';
|
|
|
28
28
|
export * from './lib/stat-badge/stat-badge.component';
|
|
29
29
|
export * from './lib/refresh-button/refresh-button.component';
|
|
30
30
|
export * from './lib/filter-popover/filter-popover.component';
|
|
31
|
+
export * from './lib/menu/menu.component';
|
|
31
32
|
export * from './lib/page-search/page-search.component';
|
|
32
33
|
export * from './lib/filter-chip/filter-chip.component';
|
|
33
34
|
export * from './lib/filter-field/filter-field.component';
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAGA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAGA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -30,6 +30,7 @@ export * from './lib/page-body/page-body.component';
|
|
|
30
30
|
export * from './lib/stat-badge/stat-badge.component';
|
|
31
31
|
export * from './lib/refresh-button/refresh-button.component';
|
|
32
32
|
export * from './lib/filter-popover/filter-popover.component';
|
|
33
|
+
export * from './lib/menu/menu.component';
|
|
33
34
|
export * from './lib/page-search/page-search.component';
|
|
34
35
|
export * from './lib/filter-chip/filter-chip.component';
|
|
35
36
|
export * from './lib/filter-field/filter-field.component';
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,+DAA+D;AAE/D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC","sourcesContent":["// @memberjunction/ng-ui-components\n// Reusable standalone Angular UI components for MemberJunction\n\nexport * from './lib/a11y/named-control.base';\nexport * from './lib/a11y/unnamed-control-guard';\nexport * from './lib/button/button.directive';\nexport * from './lib/clickable/clickable.directive';\nexport * from './lib/dialog/dialog.component';\nexport * from './lib/dialog/dialog.service';\nexport * from './lib/confirm-dialog/confirm-dialog.component';\nexport * from './lib/confirm-dialog/confirm-dialog.service';\nexport * from './lib/dropdown/dropdown.component';\nexport * from './lib/switch/switch.component';\nexport * from './lib/numeric-input/numeric-input.component';\nexport * from './lib/progress-bar/progress-bar.component';\nexport * from './lib/calendar/calendar-utils';\nexport * from './lib/datepicker/datepicker.component';\nexport * from './lib/splitter/splitter.component';\nexport * from './lib/accordion/accordion.component';\nexport * from './lib/alert/alert.component';\nexport * from './lib/window/window.component';\nexport * from './lib/slide-panel/slide-panel.component';\nexport * from './lib/bottom-sheet/bottom-sheet.component';\nexport * from './lib/combobox/combobox.component';\nexport * from './lib/icon-picker/icon-picker.component';\nexport * from './lib/icon-picker/font-awesome-icons';\nexport * from './lib/icon-picker/icon-catalogue.service';\nexport * from './lib/page-header/page-header.component';\nexport * from './lib/page-layout/page-layout.component';\nexport * from './lib/page-body/page-body.component';\nexport * from './lib/stat-badge/stat-badge.component';\nexport * from './lib/refresh-button/refresh-button.component';\nexport * from './lib/filter-popover/filter-popover.component';\nexport * from './lib/page-search/page-search.component';\nexport * from './lib/filter-chip/filter-chip.component';\nexport * from './lib/filter-field/filter-field.component';\nexport * from './lib/filter-panel/filter-panel.component';\nexport * from './lib/tab-nav/tab-nav.component';\nexport * from './lib/tabs/tab-list.directive';\nexport * from './lib/tabs/tab-chrome-guard';\nexport * from './lib/workspace-tabs/workspace-tabs.types';\nexport * from './lib/workspace-tabs/workspace-tab-store';\nexport * from './lib/workspace-tabs/workspace-tab-strip.component';\nexport * from './lib/workspace-tabs/workspace-card.component';\nexport * from './lib/workspace-tabs/workspace-tip.directive';\nexport * from './lib/view-toggle/view-toggle.component';\nexport * from './lib/left-nav/left-nav.component';\nexport * from './lib/left-nav/left-nav-content.component';\nexport * from './lib/page-header-interior/page-header-interior.component';\nexport * from './lib/page-body-interior/page-body-interior.component';\nexport * from './lib/empty-state/empty-state.component';\nexport * from './lib/card-grid/card-grid.component';\n"]}
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,+DAA+D;AAE/D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC","sourcesContent":["// @memberjunction/ng-ui-components\n// Reusable standalone Angular UI components for MemberJunction\n\nexport * from './lib/a11y/named-control.base';\nexport * from './lib/a11y/unnamed-control-guard';\nexport * from './lib/button/button.directive';\nexport * from './lib/clickable/clickable.directive';\nexport * from './lib/dialog/dialog.component';\nexport * from './lib/dialog/dialog.service';\nexport * from './lib/confirm-dialog/confirm-dialog.component';\nexport * from './lib/confirm-dialog/confirm-dialog.service';\nexport * from './lib/dropdown/dropdown.component';\nexport * from './lib/switch/switch.component';\nexport * from './lib/numeric-input/numeric-input.component';\nexport * from './lib/progress-bar/progress-bar.component';\nexport * from './lib/calendar/calendar-utils';\nexport * from './lib/datepicker/datepicker.component';\nexport * from './lib/splitter/splitter.component';\nexport * from './lib/accordion/accordion.component';\nexport * from './lib/alert/alert.component';\nexport * from './lib/window/window.component';\nexport * from './lib/slide-panel/slide-panel.component';\nexport * from './lib/bottom-sheet/bottom-sheet.component';\nexport * from './lib/combobox/combobox.component';\nexport * from './lib/icon-picker/icon-picker.component';\nexport * from './lib/icon-picker/font-awesome-icons';\nexport * from './lib/icon-picker/icon-catalogue.service';\nexport * from './lib/page-header/page-header.component';\nexport * from './lib/page-layout/page-layout.component';\nexport * from './lib/page-body/page-body.component';\nexport * from './lib/stat-badge/stat-badge.component';\nexport * from './lib/refresh-button/refresh-button.component';\nexport * from './lib/filter-popover/filter-popover.component';\nexport * from './lib/menu/menu.component';\nexport * from './lib/page-search/page-search.component';\nexport * from './lib/filter-chip/filter-chip.component';\nexport * from './lib/filter-field/filter-field.component';\nexport * from './lib/filter-panel/filter-panel.component';\nexport * from './lib/tab-nav/tab-nav.component';\nexport * from './lib/tabs/tab-list.directive';\nexport * from './lib/tabs/tab-chrome-guard';\nexport * from './lib/workspace-tabs/workspace-tabs.types';\nexport * from './lib/workspace-tabs/workspace-tab-store';\nexport * from './lib/workspace-tabs/workspace-tab-strip.component';\nexport * from './lib/workspace-tabs/workspace-card.component';\nexport * from './lib/workspace-tabs/workspace-tip.directive';\nexport * from './lib/view-toggle/view-toggle.component';\nexport * from './lib/left-nav/left-nav.component';\nexport * from './lib/left-nav/left-nav-content.component';\nexport * from './lib/page-header-interior/page-header-interior.component';\nexport * from './lib/page-body-interior/page-body-interior.component';\nexport * from './lib/empty-state/empty-state.component';\nexport * from './lib/card-grid/card-grid.component';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-ui-components",
|
|
3
|
-
"version": "6.2.0-edge.
|
|
3
|
+
"version": "6.2.0-edge.5",
|
|
4
4
|
"description": "MemberJunction: Angular UI Components - reusable standalone components replacing Kendo UI dependencies.",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@angular/compiler": "21.2.22",
|
|
18
18
|
"@angular/compiler-cli": "21.2.22",
|
|
19
|
-
"@memberjunction/ng-test-utils": "6.2.0-edge.
|
|
19
|
+
"@memberjunction/ng-test-utils": "6.2.0-edge.5",
|
|
20
20
|
"vitest": "^4.0.18"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|