@acorex/components 18.11.1 → 18.12.1
Sign up to get free protection for your applications and to get access to all the features.
- package/button/lib/button-item-list.component.d.ts +13 -9
- package/button/lib/button-item.component.d.ts +12 -12
- package/button-group/index.d.ts +1 -0
- package/button-group/lib/button-group-item.component.d.ts +77 -0
- package/button-group/lib/button-group.component.d.ts +1 -1
- package/button-group/lib/button-group.module.d.ts +4 -2
- package/esm2022/button/lib/button-item-list.component.mjs +24 -15
- package/esm2022/button/lib/button-item.component.mjs +37 -26
- package/esm2022/button-group/index.mjs +2 -1
- package/esm2022/button-group/lib/button-group-item.component.mjs +141 -0
- package/esm2022/button-group/lib/button-group.component.mjs +6 -5
- package/esm2022/button-group/lib/button-group.module.mjs +6 -4
- package/esm2022/menu/lib/context-menu.component.mjs +2 -2
- package/esm2022/menu/lib/menu-item.component.mjs +57 -52
- package/esm2022/menu/lib/menu.component.mjs +2 -2
- package/fesm2022/acorex-components-button-group.mjs +148 -10
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +55 -36
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +60 -55
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/menu/lib/menu-item.component.d.ts +6 -5
- package/package.json +31 -31
@@ -23,19 +23,20 @@ export declare class AXMenuItemComponent extends NXComponent {
|
|
23
23
|
data: import("@angular/core").InputSignal<any>;
|
24
24
|
disabled: import("@angular/core").InputSignal<boolean>;
|
25
25
|
color: import("@angular/core").InputSignal<AXStyleColorType>;
|
26
|
+
isActive: import("@angular/core").InputSignal<boolean>;
|
26
27
|
constructor();
|
27
28
|
private closeExcept;
|
28
29
|
private observeMutations;
|
29
30
|
private getText;
|
30
31
|
/**
|
31
|
-
|
32
|
-
|
32
|
+
* Manually detect all `ax-menu-item` elements and check if this menu item has sub-items.
|
33
|
+
*/
|
33
34
|
private detectSubItems;
|
34
35
|
open(): void;
|
35
36
|
close(): void;
|
36
37
|
/**
|
37
|
-
|
38
|
-
|
38
|
+
* Calculate the position of the submenu to avoid it going out of the viewport.
|
39
|
+
*/
|
39
40
|
private calculatePosition;
|
40
41
|
private handleClick;
|
41
42
|
private handleMouseEnter;
|
@@ -56,5 +57,5 @@ export declare class AXMenuItemComponent extends NXComponent {
|
|
56
57
|
/** @ignore */
|
57
58
|
get __hostClass(): string[];
|
58
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuItemComponent, never>;
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuItemComponent, "ax-menu-item", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["ax-prefix", "ax-text", "ax-suffix", "ax-menu-item,ax-title,ng-container"], false, never>;
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuItemComponent, "ax-menu-item", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["ax-prefix", "ax-text", "ax-suffix", "ax-menu-item,ax-title,ng-container"], false, never>;
|
60
61
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.
|
3
|
+
"version": "18.12.1",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.2.0",
|
6
6
|
"@angular/core": ">=18.2.0",
|
@@ -32,12 +32,6 @@
|
|
32
32
|
"esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
|
33
33
|
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
34
34
|
},
|
35
|
-
"./alert": {
|
36
|
-
"types": "./alert/index.d.ts",
|
37
|
-
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
38
|
-
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
39
|
-
"default": "./fesm2022/acorex-components-alert.mjs"
|
40
|
-
},
|
41
35
|
"./avatar": {
|
42
36
|
"types": "./avatar/index.d.ts",
|
43
37
|
"esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
|
@@ -62,6 +56,12 @@
|
|
62
56
|
"esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
|
63
57
|
"default": "./fesm2022/acorex-components-bottom-navigation.mjs"
|
64
58
|
},
|
59
|
+
"./alert": {
|
60
|
+
"types": "./alert/index.d.ts",
|
61
|
+
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
62
|
+
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
63
|
+
"default": "./fesm2022/acorex-components-alert.mjs"
|
64
|
+
},
|
65
65
|
"./breadcrumbs": {
|
66
66
|
"types": "./breadcrumbs/index.d.ts",
|
67
67
|
"esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
@@ -284,36 +284,36 @@
|
|
284
284
|
"esm": "./esm2022/number-box/acorex-components-number-box.mjs",
|
285
285
|
"default": "./fesm2022/acorex-components-number-box.mjs"
|
286
286
|
},
|
287
|
-
"./otp": {
|
288
|
-
"types": "./otp/index.d.ts",
|
289
|
-
"esm2022": "./esm2022/otp/acorex-components-otp.mjs",
|
290
|
-
"esm": "./esm2022/otp/acorex-components-otp.mjs",
|
291
|
-
"default": "./fesm2022/acorex-components-otp.mjs"
|
292
|
-
},
|
293
287
|
"./page": {
|
294
288
|
"types": "./page/index.d.ts",
|
295
289
|
"esm2022": "./esm2022/page/acorex-components-page.mjs",
|
296
290
|
"esm": "./esm2022/page/acorex-components-page.mjs",
|
297
291
|
"default": "./fesm2022/acorex-components-page.mjs"
|
298
292
|
},
|
293
|
+
"./otp": {
|
294
|
+
"types": "./otp/index.d.ts",
|
295
|
+
"esm2022": "./esm2022/otp/acorex-components-otp.mjs",
|
296
|
+
"esm": "./esm2022/otp/acorex-components-otp.mjs",
|
297
|
+
"default": "./fesm2022/acorex-components-otp.mjs"
|
298
|
+
},
|
299
299
|
"./paint": {
|
300
300
|
"types": "./paint/index.d.ts",
|
301
301
|
"esm2022": "./esm2022/paint/acorex-components-paint.mjs",
|
302
302
|
"esm": "./esm2022/paint/acorex-components-paint.mjs",
|
303
303
|
"default": "./fesm2022/acorex-components-paint.mjs"
|
304
304
|
},
|
305
|
-
"./password-box": {
|
306
|
-
"types": "./password-box/index.d.ts",
|
307
|
-
"esm2022": "./esm2022/password-box/acorex-components-password-box.mjs",
|
308
|
-
"esm": "./esm2022/password-box/acorex-components-password-box.mjs",
|
309
|
-
"default": "./fesm2022/acorex-components-password-box.mjs"
|
310
|
-
},
|
311
305
|
"./phone-box": {
|
312
306
|
"types": "./phone-box/index.d.ts",
|
313
307
|
"esm2022": "./esm2022/phone-box/acorex-components-phone-box.mjs",
|
314
308
|
"esm": "./esm2022/phone-box/acorex-components-phone-box.mjs",
|
315
309
|
"default": "./fesm2022/acorex-components-phone-box.mjs"
|
316
310
|
},
|
311
|
+
"./password-box": {
|
312
|
+
"types": "./password-box/index.d.ts",
|
313
|
+
"esm2022": "./esm2022/password-box/acorex-components-password-box.mjs",
|
314
|
+
"esm": "./esm2022/password-box/acorex-components-password-box.mjs",
|
315
|
+
"default": "./fesm2022/acorex-components-password-box.mjs"
|
316
|
+
},
|
317
317
|
"./picker": {
|
318
318
|
"types": "./picker/index.d.ts",
|
319
319
|
"esm2022": "./esm2022/picker/acorex-components-picker.mjs",
|
@@ -392,6 +392,12 @@
|
|
392
392
|
"esm": "./esm2022/search-box/acorex-components-search-box.mjs",
|
393
393
|
"default": "./fesm2022/acorex-components-search-box.mjs"
|
394
394
|
},
|
395
|
+
"./select-box": {
|
396
|
+
"types": "./select-box/index.d.ts",
|
397
|
+
"esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
|
398
|
+
"esm": "./esm2022/select-box/acorex-components-select-box.mjs",
|
399
|
+
"default": "./fesm2022/acorex-components-select-box.mjs"
|
400
|
+
},
|
395
401
|
"./selection-list": {
|
396
402
|
"types": "./selection-list/index.d.ts",
|
397
403
|
"esm2022": "./esm2022/selection-list/acorex-components-selection-list.mjs",
|
@@ -410,12 +416,6 @@
|
|
410
416
|
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
411
417
|
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
412
418
|
},
|
413
|
-
"./select-box": {
|
414
|
-
"types": "./select-box/index.d.ts",
|
415
|
-
"esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
|
416
|
-
"esm": "./esm2022/select-box/acorex-components-select-box.mjs",
|
417
|
-
"default": "./fesm2022/acorex-components-select-box.mjs"
|
418
|
-
},
|
419
419
|
"./slider": {
|
420
420
|
"types": "./slider/index.d.ts",
|
421
421
|
"esm2022": "./esm2022/slider/acorex-components-slider.mjs",
|
@@ -464,18 +464,18 @@
|
|
464
464
|
"esm": "./esm2022/time-line/acorex-components-time-line.mjs",
|
465
465
|
"default": "./fesm2022/acorex-components-time-line.mjs"
|
466
466
|
},
|
467
|
-
"./tooltip": {
|
468
|
-
"types": "./tooltip/index.d.ts",
|
469
|
-
"esm2022": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
470
|
-
"esm": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
471
|
-
"default": "./fesm2022/acorex-components-tooltip.mjs"
|
472
|
-
},
|
473
467
|
"./toast": {
|
474
468
|
"types": "./toast/index.d.ts",
|
475
469
|
"esm2022": "./esm2022/toast/acorex-components-toast.mjs",
|
476
470
|
"esm": "./esm2022/toast/acorex-components-toast.mjs",
|
477
471
|
"default": "./fesm2022/acorex-components-toast.mjs"
|
478
472
|
},
|
473
|
+
"./tooltip": {
|
474
|
+
"types": "./tooltip/index.d.ts",
|
475
|
+
"esm2022": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
476
|
+
"esm": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
477
|
+
"default": "./fesm2022/acorex-components-tooltip.mjs"
|
478
|
+
},
|
479
479
|
"./uploader": {
|
480
480
|
"types": "./uploader/index.d.ts",
|
481
481
|
"esm2022": "./esm2022/uploader/acorex-components-uploader.mjs",
|