@memberjunction/ng-ui-components 6.2.0-edge.2 → 6.2.0-edge.4
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/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/icon-picker/font-awesome-icons.d.ts +130 -0
- package/dist/lib/icon-picker/font-awesome-icons.d.ts.map +1 -0
- package/dist/lib/icon-picker/font-awesome-icons.js +256 -0
- package/dist/lib/icon-picker/font-awesome-icons.js.map +1 -0
- package/dist/lib/icon-picker/icon-catalogue.service.d.ts +71 -0
- package/dist/lib/icon-picker/icon-catalogue.service.d.ts.map +1 -0
- package/dist/lib/icon-picker/icon-catalogue.service.js +153 -0
- package/dist/lib/icon-picker/icon-catalogue.service.js.map +1 -0
- package/dist/lib/icon-picker/icon-picker.component.d.ts +117 -0
- package/dist/lib/icon-picker/icon-picker.component.d.ts.map +1 -0
- package/dist/lib/icon-picker/icon-picker.component.js +362 -0
- package/dist/lib/icon-picker/icon-picker.component.js.map +1 -0
- 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/public-api.d.ts +4 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +4 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +2 -2
|
@@ -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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B,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"]}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -19,12 +19,16 @@ export * from './lib/window/window.component';
|
|
|
19
19
|
export * from './lib/slide-panel/slide-panel.component';
|
|
20
20
|
export * from './lib/bottom-sheet/bottom-sheet.component';
|
|
21
21
|
export * from './lib/combobox/combobox.component';
|
|
22
|
+
export * from './lib/icon-picker/icon-picker.component';
|
|
23
|
+
export * from './lib/icon-picker/font-awesome-icons';
|
|
24
|
+
export * from './lib/icon-picker/icon-catalogue.service';
|
|
22
25
|
export * from './lib/page-header/page-header.component';
|
|
23
26
|
export * from './lib/page-layout/page-layout.component';
|
|
24
27
|
export * from './lib/page-body/page-body.component';
|
|
25
28
|
export * from './lib/stat-badge/stat-badge.component';
|
|
26
29
|
export * from './lib/refresh-button/refresh-button.component';
|
|
27
30
|
export * from './lib/filter-popover/filter-popover.component';
|
|
31
|
+
export * from './lib/menu/menu.component';
|
|
28
32
|
export * from './lib/page-search/page-search.component';
|
|
29
33
|
export * from './lib/filter-chip/filter-chip.component';
|
|
30
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,cAA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c,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -21,12 +21,16 @@ export * from './lib/window/window.component';
|
|
|
21
21
|
export * from './lib/slide-panel/slide-panel.component';
|
|
22
22
|
export * from './lib/bottom-sheet/bottom-sheet.component';
|
|
23
23
|
export * from './lib/combobox/combobox.component';
|
|
24
|
+
export * from './lib/icon-picker/icon-picker.component';
|
|
25
|
+
export * from './lib/icon-picker/font-awesome-icons';
|
|
26
|
+
export * from './lib/icon-picker/icon-catalogue.service';
|
|
24
27
|
export * from './lib/page-header/page-header.component';
|
|
25
28
|
export * from './lib/page-layout/page-layout.component';
|
|
26
29
|
export * from './lib/page-body/page-body.component';
|
|
27
30
|
export * from './lib/stat-badge/stat-badge.component';
|
|
28
31
|
export * from './lib/refresh-button/refresh-button.component';
|
|
29
32
|
export * from './lib/filter-popover/filter-popover.component';
|
|
33
|
+
export * from './lib/menu/menu.component';
|
|
30
34
|
export * from './lib/page-search/page-search.component';
|
|
31
35
|
export * from './lib/filter-chip/filter-chip.component';
|
|
32
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,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/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;A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junction/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.4",
|
|
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.4",
|
|
20
20
|
"vitest": "^4.0.18"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|