@italia/pagination 1.0.0-beta.2 → 1.0.0-beta.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.
@@ -43,6 +43,16 @@
43
43
  "static": true,
44
44
  "default": "{ ...BaseComponent.shadowRootOptions, delegatesFocus: true }"
45
45
  },
46
+ {
47
+ "kind": "field",
48
+ "name": "elRole",
49
+ "type": {
50
+ "text": "string"
51
+ },
52
+ "default": "'listitem'",
53
+ "attribute": "role",
54
+ "reflects": true
55
+ },
46
56
  {
47
57
  "kind": "field",
48
58
  "name": "page",
@@ -106,6 +116,14 @@
106
116
  }
107
117
  ],
108
118
  "attributes": [
119
+ {
120
+ "name": "role",
121
+ "type": {
122
+ "text": "string"
123
+ },
124
+ "default": "'listitem'",
125
+ "fieldName": "elRole"
126
+ },
109
127
  {
110
128
  "name": "page",
111
129
  "type": {
package/dist/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { ItPagination } from './it-pagination.js';
2
2
  export { ItPaginationItem } from './it-pagination-item.js';
3
- import '../index-YeLXF4Kn.js';
3
+ import '../index-CscMJYW9.js';
4
4
  import 'lit/directive.js';
5
5
  import 'lit';
6
6
  import 'lit/decorators.js';
@@ -9,6 +9,7 @@ export declare class ItPaginationItem extends BaseComponent {
9
9
  serializable?: boolean;
10
10
  slotAssignment?: SlotAssignmentMode;
11
11
  };
12
+ elRole: string;
12
13
  page: string;
13
14
  current: boolean;
14
15
  disabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"it-pagination-item.d.ts","sourceRoot":"","sources":["../../src/it-pagination-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,qBACa,gBAAiB,SAAQ,aAAa;IACjD,MAAM,CAAC,MAAM,0BAAU;IAEvB,MAAM,CAAC,iBAAiB;;;;;;;MAAgE;IAGxF,IAAI,SAAM;IAGV,OAAO,UAAS;IAGhB,QAAQ,UAAS;IAER,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC;IAS1E,OAAO,CAAC,qBAAqB;IA0B7B,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,WAAW;IAmBV,MAAM;CAUhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,gBAAgB,CAAC;KACxC;CACF"}
1
+ {"version":3,"file":"it-pagination-item.d.ts","sourceRoot":"","sources":["../../src/it-pagination-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,qBACa,gBAAiB,SAAQ,aAAa;IACjD,MAAM,CAAC,MAAM,0BAAU;IAEvB,MAAM,CAAC,iBAAiB;;;;;;;MAAgE;IAE1B,MAAM,SAAc;IAGlF,IAAI,SAAM;IAGV,OAAO,UAAS;IAGhB,QAAQ,UAAS;IAER,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC;IAS1E,OAAO,CAAC,qBAAqB;IA0B7B,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,WAAW;IAmBV,MAAM;CAUhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,gBAAgB,CAAC;KACxC;CACF"}
@@ -1,4 +1,4 @@
1
- import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-YeLXF4Kn.js';
1
+ import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-CscMJYW9.js';
2
2
  import { css, html } from 'lit';
3
3
  import { property, customElement } from 'lit/decorators.js';
4
4
  import 'lit/directive.js';
@@ -390,6 +390,7 @@ progress {
390
390
  let ItPaginationItem = class ItPaginationItem extends BaseComponent {
391
391
  constructor() {
392
392
  super(...arguments);
393
+ this.elRole = 'listitem';
393
394
  this.page = '';
394
395
  this.current = false;
395
396
  this.disabled = false;
@@ -450,7 +451,7 @@ let ItPaginationItem = class ItPaginationItem extends BaseComponent {
450
451
  // La classe 'page-item' va sul contenitore LI per Bootstrap
451
452
  const liClasses = this.composeClass('page-item', this.current && 'active', this.disabled && 'disabled');
452
453
  return html `
453
- <li class="${liClasses}">
454
+ <li class="${liClasses}" role="presentation">
454
455
  <slot @slotchange="${this.handleSlotChange}"></slot>
455
456
  </li>
456
457
  `;
@@ -458,6 +459,10 @@ let ItPaginationItem = class ItPaginationItem extends BaseComponent {
458
459
  };
459
460
  ItPaginationItem.styles = styles;
460
461
  ItPaginationItem.shadowRootOptions = { ...BaseComponent.shadowRootOptions, delegatesFocus: true };
462
+ __decorate([
463
+ property({ type: String, reflect: true, attribute: 'role' }),
464
+ __metadata("design:type", Object)
465
+ ], ItPaginationItem.prototype, "elRole", void 0);
461
466
  __decorate([
462
467
  property({ type: String, reflect: true }),
463
468
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"it-pagination-item.js","sources":["../../../src/it-pagination-item.ts"],"sourcesContent":["import { BaseComponent } from '@italia/globals';\nimport { html } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport styles from './pagination-item.scss';\n\n@customElement('it-pagination-item')\nexport class ItPaginationItem extends BaseComponent {\n static styles = styles;\n\n static shadowRootOptions = { ...BaseComponent.shadowRootOptions, delegatesFocus: true };\n\n @property({ type: String, reflect: true })\n page = '';\n\n @property({ type: Boolean, reflect: true })\n current = false;\n\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n override updated(changedProperties: Map<string | number | symbol, unknown>) {\n super.updated?.(changedProperties);\n\n // When current or disabled state changes, update the slotted elements\n if (changedProperties.has('current') || changedProperties.has('disabled')) {\n this.updateSlottedElements();\n }\n }\n\n private updateSlottedElements() {\n const slot = this.shadowRoot?.querySelector('slot') as HTMLSlotElement;\n if (!slot) return;\n\n const assignedElements = slot.assignedElements();\n assignedElements.forEach((element) => {\n // Gestione accessibilità per l'elemento interno (es. <a> o <button>)\n if (this.current) {\n element.setAttribute('aria-current', 'page');\n } else {\n element.removeAttribute('aria-current');\n }\n\n if (this.disabled) {\n element.setAttribute('aria-disabled', 'true');\n element.setAttribute('tabindex', '-1');\n } else {\n element.removeAttribute('aria-disabled');\n element.removeAttribute('tabindex');\n }\n element.classList.add('page-link');\n element.removeEventListener('click', this.handleClick);\n element.addEventListener('click', this.handleClick.bind(this));\n });\n }\n\n private handleSlotChange() {\n // Initial setup when slot content changes\n this.updateSlottedElements();\n }\n\n private handleClick(e: any) {\n // Se disabilitato o già attivo, ignoriamo il click\n if (this.disabled || this.current) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n // Emettiamo un evento \"interno\" che il padre (ItPagination) ascolterà.\n // Usiamo bubbles: true per risalire il DOM fino al padre.\n this.dispatchEvent(\n new CustomEvent('it-item-click', {\n detail: { page: this.page },\n bubbles: true,\n composed: true,\n }),\n );\n }\n\n override render() {\n // La classe 'page-item' va sul contenitore LI per Bootstrap\n const liClasses = this.composeClass('page-item', this.current && 'active', this.disabled && 'disabled');\n\n return html`\n <li class=\"${liClasses}\">\n <slot @slotchange=\"${this.handleSlotChange}\"></slot>\n </li>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'it-pagination-item': ItPaginationItem;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAA,gBAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,CAAA;AAGV,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;AAC3B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAGhB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;AAC1B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAZN,gBAAgB,GAAA,UAAA,CAAA;IAD5B,aAAa,CAAC,oBAAoB;AACtB,CAAA,EAAA,gBAAgB,CAmF5B;;;;"}
1
+ {"version":3,"file":"it-pagination-item.js","sources":["../../../src/it-pagination-item.ts"],"sourcesContent":["import { BaseComponent } from '@italia/globals';\nimport { html } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport styles from './pagination-item.scss';\n\n@customElement('it-pagination-item')\nexport class ItPaginationItem extends BaseComponent {\n static styles = styles;\n\n static shadowRootOptions = { ...BaseComponent.shadowRootOptions, delegatesFocus: true };\n\n @property({ type: String, reflect: true, attribute: 'role' }) elRole = 'listitem';\n\n @property({ type: String, reflect: true })\n page = '';\n\n @property({ type: Boolean, reflect: true })\n current = false;\n\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n override updated(changedProperties: Map<string | number | symbol, unknown>) {\n super.updated?.(changedProperties);\n\n // When current or disabled state changes, update the slotted elements\n if (changedProperties.has('current') || changedProperties.has('disabled')) {\n this.updateSlottedElements();\n }\n }\n\n private updateSlottedElements() {\n const slot = this.shadowRoot?.querySelector('slot') as HTMLSlotElement;\n if (!slot) return;\n\n const assignedElements = slot.assignedElements();\n assignedElements.forEach((element) => {\n // Gestione accessibilità per l'elemento interno (es. <a> o <button>)\n if (this.current) {\n element.setAttribute('aria-current', 'page');\n } else {\n element.removeAttribute('aria-current');\n }\n\n if (this.disabled) {\n element.setAttribute('aria-disabled', 'true');\n element.setAttribute('tabindex', '-1');\n } else {\n element.removeAttribute('aria-disabled');\n element.removeAttribute('tabindex');\n }\n element.classList.add('page-link');\n element.removeEventListener('click', this.handleClick);\n element.addEventListener('click', this.handleClick.bind(this));\n });\n }\n\n private handleSlotChange() {\n // Initial setup when slot content changes\n this.updateSlottedElements();\n }\n\n private handleClick(e: any) {\n // Se disabilitato o già attivo, ignoriamo il click\n if (this.disabled || this.current) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n // Emettiamo un evento \"interno\" che il padre (ItPagination) ascolterà.\n // Usiamo bubbles: true per risalire il DOM fino al padre.\n this.dispatchEvent(\n new CustomEvent('it-item-click', {\n detail: { page: this.page },\n bubbles: true,\n composed: true,\n }),\n );\n }\n\n override render() {\n // La classe 'page-item' va sul contenitore LI per Bootstrap\n const liClasses = this.composeClass('page-item', this.current && 'active', this.disabled && 'disabled');\n\n return html`\n <li class=\"${liClasses}\" role=\"presentation\">\n <slot @slotchange=\"${this.handleSlotChange}\"></slot>\n </li>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'it-pagination-item': ItPaginationItem;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,MAAA,CAAA;AAGlF,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;AAChC,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,CAAA;AAGV,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;AAC3B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAGhB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;AAC1B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAdN,gBAAgB,GAAA,UAAA,CAAA;IAD5B,aAAa,CAAC,oBAAoB;AACtB,CAAA,EAAA,gBAAgB,CAqF5B;;;;"}
@@ -1,4 +1,4 @@
1
- import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-YeLXF4Kn.js';
1
+ import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-CscMJYW9.js';
2
2
  import { css, html } from 'lit';
3
3
  import { when } from 'lit/directives/when.js';
4
4
  import { queryAssignedElements, property, customElement } from 'lit/decorators.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@italia/pagination",
3
3
  "description": "Web component it-pagination del Design system .italia",
4
- "version": "1.0.0-beta.2",
4
+ "version": "1.0.0-beta.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "bootstrap-italia": "3.0.0-beta.5",
39
39
  "lit": "^3.2.1",
40
- "@italia/globals": "^1.0.0-beta.2"
40
+ "@italia/globals": "^1.0.0-beta.4"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@custom-elements-manifest/analyzer": "^0.10.3",
@@ -52,7 +52,7 @@
52
52
  "sass": "^1.89.0",
53
53
  "tslib": "^2.6.3",
54
54
  "typescript": "^5.5.3",
55
- "@italia/icon": "^1.0.0-beta.2",
55
+ "@italia/icon": "^1.0.0-beta.4",
56
56
  "@italia/test-config": "^1.0.0-beta.2",
57
57
  "@italia/typescript-config": "^1.0.0-beta.1"
58
58
  },