@xui/navigation-menu 2.2.6 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/xui-navigation-menu.mjs +6 -6
- package/package.json +16 -16
|
@@ -32,10 +32,10 @@ class XuiNavigationMenuItem {
|
|
|
32
32
|
...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
|
|
33
33
|
hasPanel = computed(() => this.content() != null, /* @ts-ignore */
|
|
34
34
|
...(ngDevMode ? [{ debugName: "hasPanel" }] : /* istanbul ignore next */ []));
|
|
35
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
36
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
35
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiNavigationMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.4", type: XuiNavigationMenuItem, isStandalone: true, selector: "xui-navigation-menu-item", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "trigger", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "hidden" }, queries: [{ propertyName: "content", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiNavigationMenuItem, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: 'xui-navigation-menu-item',
|
|
@@ -106,8 +106,8 @@ class XuiNavigationMenu {
|
|
|
106
106
|
...(ngDevMode ? [{ debugName: "viewportClass" }] : /* istanbul ignore next */ []));
|
|
107
107
|
panelClass = computed(() => xui('border-border bg-surface-overlay shadow-overlay rounded-lg border p-3'), /* @ts-ignore */
|
|
108
108
|
...(ngDevMode ? [{ debugName: "panelClass" }] : /* istanbul ignore next */ []));
|
|
109
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
110
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
109
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiNavigationMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: XuiNavigationMenu, isStandalone: true, selector: "xui-navigation-menu", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClass()" } }, queries: [{ propertyName: "items", predicate: XuiNavigationMenuItem, isSignal: true }], ngImport: i0, template: `
|
|
111
111
|
<nav [class]="navClass()" (mouseleave)="active.set(null)" (focusout)="onFocusOut($event)">
|
|
112
112
|
<ul class="flex items-center gap-1">
|
|
113
113
|
@for (item of items(); track item.value()) {
|
|
@@ -151,7 +151,7 @@ class XuiNavigationMenu {
|
|
|
151
151
|
<ng-content />
|
|
152
152
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "directive", type: XuiIcon, selector: "ng-icon[xui]", inputs: ["class", "size", "color", "label"], exportAs: ["xuiIcon"] }], viewProviders: [provideIcons({ matExpandMoreRound })], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
153
153
|
}
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiNavigationMenu, decorators: [{
|
|
155
155
|
type: Component,
|
|
156
156
|
args: [{
|
|
157
157
|
selector: 'xui-navigation-menu',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xui/navigation-menu",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Modern Angular 22 UI Library based on TailwindCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -20,7 +20,20 @@
|
|
|
20
20
|
"Rikarin"
|
|
21
21
|
],
|
|
22
22
|
"sideEffects": false,
|
|
23
|
-
"
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@angular/common": "22",
|
|
25
|
+
"@angular/core": "22",
|
|
26
|
+
"@ng-icons/core": "35",
|
|
27
|
+
"@ng-icons/material-icons": "35",
|
|
28
|
+
"@xui/core": "2.3.0",
|
|
29
|
+
"@xui/icon": "2.3.0",
|
|
30
|
+
"clsx": "^2.1.1"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"module": "fesm2022/xui-navigation-menu.mjs",
|
|
36
|
+
"typings": "types/xui-navigation-menu.d.ts",
|
|
24
37
|
"exports": {
|
|
25
38
|
"./package.json": {
|
|
26
39
|
"default": "./package.json"
|
|
@@ -30,21 +43,8 @@
|
|
|
30
43
|
"default": "./fesm2022/xui-navigation-menu.mjs"
|
|
31
44
|
}
|
|
32
45
|
},
|
|
33
|
-
"
|
|
34
|
-
"typings": "types/xui-navigation-menu.d.ts",
|
|
46
|
+
"type": "module",
|
|
35
47
|
"dependencies": {
|
|
36
48
|
"tslib": "^2.3.0"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"@angular/common": "22",
|
|
40
|
-
"@angular/core": "22",
|
|
41
|
-
"@ng-icons/core": "34",
|
|
42
|
-
"@ng-icons/material-icons": "34",
|
|
43
|
-
"@xui/core": "2.2.6",
|
|
44
|
-
"@xui/icon": "2.2.6",
|
|
45
|
-
"clsx": "^2.1.1"
|
|
46
|
-
},
|
|
47
|
-
"publishConfig": {
|
|
48
|
-
"access": "public"
|
|
49
49
|
}
|
|
50
50
|
}
|