design-angular-kit 20.2.0 → 20.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/README.md +1 -26
- package/fesm2022/design-angular-kit.mjs +410 -344
- package/fesm2022/design-angular-kit.mjs.map +1 -1
- package/index.d.ts +38 -2
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -258,6 +258,7 @@ declare class ItAlertComponent extends ItAbstractComponent implements AfterViewI
|
|
|
258
258
|
closedEvent: EventEmitter<Event>;
|
|
259
259
|
private alert?;
|
|
260
260
|
private alertElement?;
|
|
261
|
+
private headingEl?;
|
|
261
262
|
ngAfterViewInit(): void;
|
|
262
263
|
/**
|
|
263
264
|
* Close an alert by removing it from the DOM.
|
|
@@ -640,13 +641,20 @@ declare class ItCardComponent extends ItAbstractComponent {
|
|
|
640
641
|
* @default ''
|
|
641
642
|
*/
|
|
642
643
|
bodyClass: string;
|
|
644
|
+
/**
|
|
645
|
+
* Remove the default padding applied by Bootstrap Italia to the card.
|
|
646
|
+
* Useful for cards with minimal content (e.g. title + image only) where the
|
|
647
|
+
* default padding-bottom makes the content appear off-center.
|
|
648
|
+
* @default false
|
|
649
|
+
*/
|
|
650
|
+
noPadding?: boolean;
|
|
643
651
|
/**
|
|
644
652
|
* Shadow type
|
|
645
653
|
* @default 'sm'
|
|
646
654
|
*/
|
|
647
655
|
shadow: 'sm' | 'lg' | 'normal' | 'none';
|
|
648
656
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItCardComponent, never>;
|
|
649
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItCardComponent, "it-card", never, { "inline": { "alias": "inline"; "required": false; }; "mini": { "alias": "mini"; "required": false; }; "border": { "alias": "border"; "required": false; }; "banner": { "alias": "banner"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; "hasImage": { "alias": "hasImage"; "required": false; }; "borderTop": { "alias": "borderTop"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; }, {}, never, ["[beforeBody]", "*"], true, never>;
|
|
657
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCardComponent, "it-card", never, { "inline": { "alias": "inline"; "required": false; }; "mini": { "alias": "mini"; "required": false; }; "border": { "alias": "border"; "required": false; }; "banner": { "alias": "banner"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; "hasImage": { "alias": "hasImage"; "required": false; }; "borderTop": { "alias": "borderTop"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; "noPadding": { "alias": "noPadding"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; }, {}, never, ["[beforeBody]", "*"], true, never>;
|
|
650
658
|
static ngAcceptInputType_inline: BooleanInput;
|
|
651
659
|
static ngAcceptInputType_mini: BooleanInput;
|
|
652
660
|
static ngAcceptInputType_border: BooleanInput;
|
|
@@ -657,6 +665,7 @@ declare class ItCardComponent extends ItAbstractComponent {
|
|
|
657
665
|
static ngAcceptInputType_fullHeight: BooleanInput;
|
|
658
666
|
static ngAcceptInputType_hasImage: BooleanInput;
|
|
659
667
|
static ngAcceptInputType_borderTop: BooleanInput;
|
|
668
|
+
static ngAcceptInputType_noPadding: BooleanInput;
|
|
660
669
|
}
|
|
661
670
|
|
|
662
671
|
/**
|
|
@@ -2522,6 +2531,7 @@ declare class ItAutocompleteComponent extends ItAbstractFormComponent<string | n
|
|
|
2522
2531
|
private _interval;
|
|
2523
2532
|
private _inputEl;
|
|
2524
2533
|
ngOnInit(): void;
|
|
2534
|
+
writeValue(value: string | null | undefined): void;
|
|
2525
2535
|
clear(): void;
|
|
2526
2536
|
_findInput(): void;
|
|
2527
2537
|
private _setAndCheck;
|
|
@@ -3374,6 +3384,8 @@ declare class ItHeaderComponent implements AfterViewInit, OnChanges {
|
|
|
3374
3384
|
megamenu?: boolean;
|
|
3375
3385
|
expand?: boolean;
|
|
3376
3386
|
private stickyHeader?;
|
|
3387
|
+
private readonly router;
|
|
3388
|
+
private readonly cdr;
|
|
3377
3389
|
constructor();
|
|
3378
3390
|
ngAfterViewInit(): void;
|
|
3379
3391
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -3539,10 +3551,30 @@ interface NavscrollItemActive {
|
|
|
3539
3551
|
*/
|
|
3540
3552
|
declare class ItNavscrollComponent implements OnInit {
|
|
3541
3553
|
#private;
|
|
3554
|
+
static _nextId: number;
|
|
3555
|
+
readonly accordionId: string;
|
|
3542
3556
|
/**
|
|
3543
3557
|
* Header of the Navscroll
|
|
3544
3558
|
*/
|
|
3545
3559
|
header: string;
|
|
3560
|
+
/**
|
|
3561
|
+
* Render the header as a collapsible accordion toggle,
|
|
3562
|
+
* allowing users to show/hide the navigation links.
|
|
3563
|
+
* @default false
|
|
3564
|
+
*/
|
|
3565
|
+
headerAsAccordion?: boolean;
|
|
3566
|
+
/**
|
|
3567
|
+
* Hide the navigation bar when in mobile mode (viewport < 992px).
|
|
3568
|
+
* Mandatory when navscroll is used in a mobile context or in combination with a sticky header.
|
|
3569
|
+
* @default false
|
|
3570
|
+
*/
|
|
3571
|
+
hideNavigationOnMobile?: boolean;
|
|
3572
|
+
/**
|
|
3573
|
+
* Whether the accordion starts expanded.
|
|
3574
|
+
* Only applies when headerAsAccordion is true.
|
|
3575
|
+
* @default true
|
|
3576
|
+
*/
|
|
3577
|
+
accordionExpanded: boolean;
|
|
3546
3578
|
/**
|
|
3547
3579
|
* A list of links
|
|
3548
3580
|
*/
|
|
@@ -3572,10 +3604,14 @@ declare class ItNavscrollComponent implements OnInit {
|
|
|
3572
3604
|
readonly selectedTitle: rxjs.Observable<string>;
|
|
3573
3605
|
readonly progressBarValue: rxjs.Observable<number>;
|
|
3574
3606
|
readonly isMobile: rxjs.Observable<boolean>;
|
|
3607
|
+
readonly isNotMobile: rxjs.Observable<boolean>;
|
|
3575
3608
|
constructor();
|
|
3576
3609
|
ngOnInit(): void;
|
|
3577
3610
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollComponent, never>;
|
|
3578
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollComponent, "it-navscroll", never, { "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "pageSectionsTemplate": { "alias": "pageSectionsTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
3611
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollComponent, "it-navscroll", never, { "header": { "alias": "header"; "required": false; }; "headerAsAccordion": { "alias": "headerAsAccordion"; "required": false; }; "hideNavigationOnMobile": { "alias": "hideNavigationOnMobile"; "required": false; }; "accordionExpanded": { "alias": "accordionExpanded"; "required": false; }; "items": { "alias": "items"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "pageSectionsTemplate": { "alias": "pageSectionsTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
3612
|
+
static ngAcceptInputType_headerAsAccordion: BooleanInput;
|
|
3613
|
+
static ngAcceptInputType_hideNavigationOnMobile: BooleanInput;
|
|
3614
|
+
static ngAcceptInputType_accordionExpanded: BooleanInput;
|
|
3579
3615
|
}
|
|
3580
3616
|
|
|
3581
3617
|
declare class ItErrorPageComponent {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "design-angular-kit",
|
|
3
3
|
"description": "Un toolkit Angular conforme alle linee guida di design per i servizi web della PA",
|
|
4
|
-
"version": "20.
|
|
4
|
+
"version": "20.3.0",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"angular",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"tslib": "^2.6.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@angular/animations": "^20.
|
|
52
|
-
"@angular/common": "^20.
|
|
53
|
-
"@angular/core": "^20.
|
|
54
|
-
"@angular/platform-browser": "^20.
|
|
55
|
-
"@angular/router": "^20.
|
|
51
|
+
"@angular/animations": "^20.3.16",
|
|
52
|
+
"@angular/common": "^20.3.16",
|
|
53
|
+
"@angular/core": "^20.3.16",
|
|
54
|
+
"@angular/platform-browser": "^20.3.16",
|
|
55
|
+
"@angular/router": "^20.3.16",
|
|
56
56
|
"@ngx-translate/core": "^16.0.4",
|
|
57
57
|
"@ngx-translate/http-loader": "^16.0.1",
|
|
58
|
-
"bootstrap-italia": "^2.
|
|
58
|
+
"bootstrap-italia": "^2.17.4"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
61
|
"overrides": {
|