@italia/accordion 0.1.0-alpha.2 → 1.0.0-alpha.4

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.
@@ -1,4 +1,3 @@
1
1
  export { ItAccordion } from './it-accordion.js';
2
2
  export { ItAccordionItem } from './it-accordion-item.js';
3
- export { ItCollapse } from './it-collapse.js';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC"}
package/dist/src/index.js CHANGED
@@ -1,11 +1,9 @@
1
1
  export { ItAccordion } from './it-accordion.js';
2
2
  export { ItAccordionItem } from './it-accordion-item.js';
3
- export { ItCollapse } from './it-collapse.js';
4
- import '../form-control-ddGGHusp.js';
3
+ import '../accordion-DrJ-1sEg.js';
4
+ import 'lit';
5
5
  import 'lit/directive.js';
6
6
  import 'lit/decorators.js';
7
- import 'lit';
8
- import '../accordion-Du1RVx-L.js';
9
7
  import 'lit/static-html.js';
10
8
  import 'lit/directives/when.js';
11
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,13 +1,15 @@
1
- import { ItCollapse } from './it-collapse.js';
2
- export declare class ItAccordionItem extends ItCollapse {
1
+ import { ItCollapseBase } from '@italia/collapse';
2
+ export declare class ItAccordionItem extends ItCollapseBase {
3
3
  static styles: import("lit").CSSResultGroup;
4
4
  as: string;
5
5
  leftIcon: boolean;
6
6
  backgroundActive: boolean;
7
7
  backgroundHover: boolean;
8
+ protected isAccordion: boolean;
8
9
  setParentBackground(backgroundActive: boolean, backgroundHover: boolean): void;
9
10
  setParentLeftIcon(leftIcon: boolean): void;
10
11
  protected renderDefaultTrigger(): import("lit").TemplateResult<1>;
12
+ protected isValidTag(tag: string): boolean;
11
13
  protected updateBackgroundStyles(): void;
12
14
  }
13
15
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"it-accordion-item.d.ts","sourceRoot":"","sources":["../../src/it-accordion-item.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,qBACa,eAAgB,SAAQ,UAAU;IAG7C,MAAM,CAAC,MAAM,+BAAU;IAGd,EAAE,EAAE,MAAM,CAAQ;IAG3B,QAAQ,UAAS;IAGjB,gBAAgB,UAAS;IAGzB,eAAe,UAAS;IAEjB,mBAAmB,CAAC,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO;IAKvE,iBAAiB,CAAC,QAAQ,EAAE,OAAO;cAIvB,oBAAoB;cA0CpB,sBAAsB;CAgC1C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,eAAe,CAAC;KACtC;CACF"}
1
+ {"version":3,"file":"it-accordion-item.d.ts","sourceRoot":"","sources":["../../src/it-accordion-item.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,qBACa,eAAgB,SAAQ,cAAc;IAGjD,MAAM,CAAC,MAAM,+BAAU;IAGd,EAAE,EAAE,MAAM,CAAQ;IAG3B,QAAQ,UAAS;IAGjB,gBAAgB,UAAS;IAGzB,eAAe,UAAS;IAExB,UAAmB,WAAW,EAAE,OAAO,CAAQ;IAExC,mBAAmB,CAAC,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO;IAKvE,iBAAiB,CAAC,QAAQ,EAAE,OAAO;cAIvB,oBAAoB;cA2CpB,UAAU,CAAC,GAAG,EAAE,MAAM;cAKtB,sBAAsB;CAgC1C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,eAAe,CAAC;KACtC;CACF"}