@italia/card 1.0.0-alpha.6

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.
@@ -0,0 +1,2 @@
1
+ export { ItCard } from './it-card.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { ItCard } from './it-card.js';
2
+ import 'lit/directive.js';
3
+ import 'lit';
4
+ import 'lit/decorators.js';
5
+ import 'lit/static-html.js';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,33 @@
1
+ import { BaseComponent } from '@italia/globals';
2
+ import { PropertyValues } from 'lit';
3
+ import { CardShadow, type CardBorderColor, type CardImageRatio, type CardVariant, type CardHeadingLevel } from './types.js';
4
+ export declare class ItCard extends BaseComponent {
5
+ static styles: import("lit").CSSResultGroup;
6
+ fullHeight: boolean;
7
+ variant: CardVariant;
8
+ borderTop?: CardBorderColor;
9
+ ratio?: CardImageRatio;
10
+ shadow: CardShadow;
11
+ border?: '0';
12
+ headingLevel: CardHeadingLevel;
13
+ _titleElements: HTMLElement[];
14
+ _subtitleElements: HTMLElement[];
15
+ _signatureElements: HTMLElement[];
16
+ _textElements: HTMLElement[];
17
+ _bodyElements: HTMLElement[];
18
+ _imageElements: HTMLElement[];
19
+ _footerElements: HTMLElement[];
20
+ _actionsElements: HTMLElement[];
21
+ private handleSlotChange;
22
+ protected updated(_changedProperties: PropertyValues): void;
23
+ protected getHeadingLevel(): CardHeadingLevel;
24
+ protected getRatio(): CardImageRatio;
25
+ protected getImageTemplate(): import("lit").TemplateResult<1>;
26
+ render(): import("lit").TemplateResult<1>;
27
+ }
28
+ declare global {
29
+ interface HTMLElementTagNameMap {
30
+ 'it-card': ItCard;
31
+ }
32
+ }
33
+ //# sourceMappingURL=it-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"it-card.d.ts","sourceRoot":"","sources":["../../src/it-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAG3C,OAAO,EAML,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACtB,MAAM,YAAY,CAAC;AAGpB,qBACa,MAAO,SAAQ,aAAa;IACvC,MAAM,CAAC,MAAM,+BAAU;IAGvB,UAAU,UAAS;IAGnB,OAAO,EAAE,WAAW,CAAa;IAGjC,SAAS,CAAC,EAAE,eAAe,CAAC;IAG5B,KAAK,CAAC,EAAE,cAAc,CAAC;IAGvB,MAAM,EAAE,UAAU,CAAQ;IAG1B,MAAM,CAAC,EAAE,GAAG,CAAC;IAGb,YAAY,EAAE,gBAAgB,CAAQ;IAGtC,cAAc,EAAG,WAAW,EAAE,CAAC;IAG/B,iBAAiB,EAAG,WAAW,EAAE,CAAC;IAGlC,kBAAkB,EAAG,WAAW,EAAE,CAAC;IAGnC,aAAa,EAAG,WAAW,EAAE,CAAC;IAG9B,aAAa,EAAG,WAAW,EAAE,CAAC;IAG9B,cAAc,EAAG,WAAW,EAAE,CAAC;IAG/B,eAAe,EAAG,WAAW,EAAE,CAAC;IAGhC,gBAAgB,EAAG,WAAW,EAAE,CAAC;IAEjC,OAAO,CAAC,gBAAgB;cAIL,OAAO,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IAgCpE,SAAS,CAAC,eAAe,IAAI,gBAAgB;IAO7C,SAAS,CAAC,QAAQ,IAAI,cAAc;IAQpC,SAAS,CAAC,gBAAgB;IA4BjB,MAAM;CA2JhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}