@italia/breadcrumbs 1.0.0-alpha.18 → 1.0.0-alpha.19

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.
@@ -34,6 +34,16 @@
34
34
  "description": "Breadcrumb item component representing a single item in the breadcrumb trail.\n- Wraps slotted content (typically an anchor or text)\n- Adds a separator after the item\n- Supports progressive enhancement: links work even without JavaScript",
35
35
  "name": "ItBreadcrumbItem",
36
36
  "members": [
37
+ {
38
+ "kind": "field",
39
+ "name": "elRole",
40
+ "type": {
41
+ "text": "string"
42
+ },
43
+ "default": "'listitem'",
44
+ "attribute": "role",
45
+ "reflects": true
46
+ },
37
47
  {
38
48
  "kind": "field",
39
49
  "name": "current",
@@ -84,6 +94,16 @@
84
94
  "privacy": "private"
85
95
  }
86
96
  ],
97
+ "attributes": [
98
+ {
99
+ "name": "role",
100
+ "type": {
101
+ "text": "string"
102
+ },
103
+ "default": "'listitem'",
104
+ "fieldName": "elRole"
105
+ }
106
+ ],
87
107
  "superclass": {
88
108
  "name": "BaseComponent",
89
109
  "package": "@italia/globals"
package/dist/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { ItBreadcrumb } from './it-breadcrumbs.js';
2
- export { I as ItBreadcrumbItem } from '../it-breadcrumb-item-CGvI85W4.js';
2
+ export { I as ItBreadcrumbItem } from '../it-breadcrumb-item-pa9MOsVr.js';
3
3
  import 'lit';
4
4
  import 'lit/decorators.js';
5
5
  import 'lit/directive.js';
@@ -8,11 +8,13 @@ import { BaseComponent } from '@italia/globals';
8
8
  */
9
9
  export declare class ItBreadcrumbItem extends BaseComponent {
10
10
  static styles: import("lit").CSSResultGroup;
11
+ elRole: string;
11
12
  private current;
12
13
  setCurrent(value: boolean): void;
13
14
  private separator;
14
15
  setSeparator(value: string): void;
15
16
  private _getSeparatorClasses;
17
+ updated(changedProps: Map<string, any>): void;
16
18
  render(): import("lit").TemplateResult<1>;
17
19
  }
18
20
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"it-breadcrumb-item.d.ts","sourceRoot":"","sources":["../../src/it-breadcrumb-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD;;;;;;GAMG;AACH,qBACa,gBAAiB,SAAQ,aAAa;IACjD,MAAM,CAAC,MAAM,+BAAU;IAEd,OAAO,CAAC,OAAO,CAAS;IAE1B,UAAU,CAAC,KAAK,EAAE,OAAO;IAIvB,OAAO,CAAC,SAAS,CAAO;IAE1B,YAAY,CAAC,KAAK,EAAE,MAAM;IAIjC,OAAO,CAAC,oBAAoB;IAoBnB,MAAM;CAgBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,gBAAgB,CAAC;KACxC;CACF"}
1
+ {"version":3,"file":"it-breadcrumb-item.d.ts","sourceRoot":"","sources":["../../src/it-breadcrumb-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD;;;;;;GAMG;AACH,qBACa,gBAAiB,SAAQ,aAAa;IACjD,MAAM,CAAC,MAAM,+BAAU;IAEuC,MAAM,SAAc;IAEzE,OAAO,CAAC,OAAO,CAAS;IAE1B,UAAU,CAAC,KAAK,EAAE,OAAO;IAIvB,OAAO,CAAC,SAAS,CAAO;IAE1B,YAAY,CAAC,KAAK,EAAE,MAAM;IAIjC,OAAO,CAAC,oBAAoB;IAoB5B,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;IAU7B,MAAM;CAgBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,gBAAgB,CAAC;KACxC;CACF"}
@@ -1,4 +1,4 @@
1
- export { I as ItBreadcrumbItem } from '../it-breadcrumb-item-CGvI85W4.js';
1
+ export { I as ItBreadcrumbItem } from '../it-breadcrumb-item-pa9MOsVr.js';
2
2
  import 'lit';
3
3
  import 'lit/decorators.js';
4
4
  import 'lit/directive.js';
@@ -1,4 +1,4 @@
1
- import { _ as __decorate, a as __metadata, B as BaseComponent, I as ItBreadcrumbItem } from '../it-breadcrumb-item-CGvI85W4.js';
1
+ import { _ as __decorate, a as __metadata, B as BaseComponent, I as ItBreadcrumbItem } from '../it-breadcrumb-item-pa9MOsVr.js';
2
2
  import { css, html } from 'lit';
3
3
  import { property, customElement } from 'lit/decorators.js';
4
4
  import 'lit/directive.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@italia/breadcrumbs",
3
3
  "description": "Web component it-breadcrumbs del Design system .italia",
4
- "version": "1.0.0-alpha.18",
4
+ "version": "1.0.0-alpha.19",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "bootstrap-italia": "3.0.0-beta.1",
39
39
  "lit": "^3.3.0",
40
- "@italia/globals": "^1.0.0-alpha.18"
40
+ "@italia/globals": "^1.0.0-alpha.19"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@custom-elements-manifest/analyzer": "^0.10.3",
@@ -53,7 +53,7 @@
53
53
  "typescript": "^5.5.3",
54
54
  "@italia/test-config": "^0.0.0",
55
55
  "@italia/typescript-config": "^0.0.0",
56
- "@italia/icon": "^1.0.0-alpha.18"
56
+ "@italia/icon": "^1.0.0-alpha.19"
57
57
  },
58
58
  "customElements": "custom-elements.json",
59
59
  "scripts": {