@agorapulse/ui-components 18.0.32 → 18.0.34
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/agorapulse-ui-components-18.0.34.tgz +0 -0
- package/esm2022/nav-selector/nav-selector-leaf/nav-selector-leaf.component.mjs +3 -3
- package/esm2022/nav-selector/nav-selector-popover/nav-selector-popover-item.component.mjs +24 -6
- package/esm2022/nav-selector/nav-selector.mjs +1 -1
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs +25 -8
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs.map +1 -1
- package/nav-selector/nav-selector-popover/nav-selector-popover-item.component.d.ts +3 -1
- package/nav-selector/nav-selector.d.ts +6 -2
- package/package.json +7 -7
- package/agorapulse-ui-components-18.0.32.tgz +0 -0
|
@@ -4,9 +4,11 @@ import * as i1 from "@agorapulse/ui-components/directives";
|
|
|
4
4
|
export declare class NavSelectorPopoverItemComponent {
|
|
5
5
|
selected: import("@angular/core").InputSignal<boolean>;
|
|
6
6
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
locked: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
id: import("@angular/core").InputSignal<string | null>;
|
|
7
9
|
name: import("@angular/core").InputSignal<string>;
|
|
8
10
|
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
9
11
|
readonly baseButtonDirective: BaseButtonDirective;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavSelectorPopoverItemComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorPopoverItemComponent, "ap-nav-selector-popover-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BaseButtonDirective; inputs: {}; outputs: {}; }]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavSelectorPopoverItemComponent, "ap-nav-selector-popover-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "locked": { "alias": "locked"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.BaseButtonDirective; inputs: {}; outputs: {}; }]>;
|
|
12
14
|
}
|
|
@@ -41,6 +41,8 @@ export type NavSelectorBaseNode = {
|
|
|
41
41
|
* Represent an action that can be performed on a leaf
|
|
42
42
|
*/
|
|
43
43
|
export type NavSelectorLeafAction = {
|
|
44
|
+
/** Unique identifier of the action, used for click tracking */
|
|
45
|
+
id: string | null;
|
|
44
46
|
/** Action label to display */
|
|
45
47
|
label: string;
|
|
46
48
|
/** Technical name of the action, used to identify the action */
|
|
@@ -48,7 +50,7 @@ export type NavSelectorLeafAction = {
|
|
|
48
50
|
/** Optional icon to display on the action */
|
|
49
51
|
icon: string | null;
|
|
50
52
|
/** Optional Status */
|
|
51
|
-
status: 'disabled' | null;
|
|
53
|
+
status: 'disabled' | 'locked' | null;
|
|
52
54
|
};
|
|
53
55
|
/**
|
|
54
56
|
* Represent final entry of the nav selector
|
|
@@ -124,6 +126,8 @@ export type NodeAccessibility = {
|
|
|
124
126
|
ariaLevel: number;
|
|
125
127
|
};
|
|
126
128
|
export type InternalNavSelectorLeafAction = {
|
|
129
|
+
/** Unique identifier of the action, used for click tracking */
|
|
130
|
+
id: string | null;
|
|
127
131
|
/** Action label to display */
|
|
128
132
|
label: string;
|
|
129
133
|
/** Technical name of the action, used to identify the action */
|
|
@@ -131,7 +135,7 @@ export type InternalNavSelectorLeafAction = {
|
|
|
131
135
|
/** Optional icon to display on the action */
|
|
132
136
|
icon: string | null;
|
|
133
137
|
/** Optional Status */
|
|
134
|
-
status: 'disabled' | null;
|
|
138
|
+
status: 'disabled' | 'locked' | null;
|
|
135
139
|
};
|
|
136
140
|
/**
|
|
137
141
|
* Represent a node
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agorapulse/ui-components",
|
|
3
3
|
"description": "Agorapulse UI Components Library",
|
|
4
|
-
"version": "18.0.
|
|
4
|
+
"version": "18.0.34",
|
|
5
5
|
"author": "Benoit Hediard",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -67,18 +67,18 @@
|
|
|
67
67
|
"esm": "./esm2022/button/agorapulse-ui-components-button.mjs",
|
|
68
68
|
"default": "./fesm2022/agorapulse-ui-components-button.mjs"
|
|
69
69
|
},
|
|
70
|
-
"./checkbox": {
|
|
71
|
-
"types": "./checkbox/index.d.ts",
|
|
72
|
-
"esm2022": "./esm2022/checkbox/agorapulse-ui-components-checkbox.mjs",
|
|
73
|
-
"esm": "./esm2022/checkbox/agorapulse-ui-components-checkbox.mjs",
|
|
74
|
-
"default": "./fesm2022/agorapulse-ui-components-checkbox.mjs"
|
|
75
|
-
},
|
|
76
70
|
"./close-button": {
|
|
77
71
|
"types": "./close-button/index.d.ts",
|
|
78
72
|
"esm2022": "./esm2022/close-button/agorapulse-ui-components-close-button.mjs",
|
|
79
73
|
"esm": "./esm2022/close-button/agorapulse-ui-components-close-button.mjs",
|
|
80
74
|
"default": "./fesm2022/agorapulse-ui-components-close-button.mjs"
|
|
81
75
|
},
|
|
76
|
+
"./checkbox": {
|
|
77
|
+
"types": "./checkbox/index.d.ts",
|
|
78
|
+
"esm2022": "./esm2022/checkbox/agorapulse-ui-components-checkbox.mjs",
|
|
79
|
+
"esm": "./esm2022/checkbox/agorapulse-ui-components-checkbox.mjs",
|
|
80
|
+
"default": "./fesm2022/agorapulse-ui-components-checkbox.mjs"
|
|
81
|
+
},
|
|
82
82
|
"./confirm-modal": {
|
|
83
83
|
"types": "./confirm-modal/index.d.ts",
|
|
84
84
|
"esm2022": "./esm2022/confirm-modal/agorapulse-ui-components-confirm-modal.mjs",
|
|
Binary file
|