@italia/pagination 1.0.0-alpha.7 → 1.0.0-alpha.9

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.
@@ -525,7 +525,7 @@
525
525
  "type": {
526
526
  "text": "Meta<PaginationProps>"
527
527
  },
528
- "default": "{ title: 'Componenti/Pagination', tags: ['a11y-ok', 'web-component', 'new'], decorators: [ (story, context) => { if (context.parameters.overrideMetaWrapper) return story(); return html` <div style=\"padding-block: 2rem;margin:auto;display:flex;\"> <!-- START COMPONENT --> ${story()} <!-- END COMPONENT --> </div> `; }, ], parameters: { layout: 'fullscreen', docs: { source: { excludeDecorators: true }, }, a11y: { config: { rules: [ { id: 'list', enabled: false, }, { id: 'listitem', enabled: false, }, ], }, }, }, args: { value: '1', total: '5', align: 'center', disableResponsive: false, simpleMode: false, visiblePages: 5, itAriaLabel: 'Paginazione', }, argTypes: { value: { control: 'text', description: 'Pagina corrente selezionata', table: { defaultValue: { summary: '1' } }, }, total: { control: false, description: 'Numero totale di pagine, se non specificato viene calcolato in base agli elementi `it-pagination-item` presenti. Utile per indicare un numero di pagine diverso rispetto agli elementi effettivamente presenti (es. con caricamento dinamico) e in modalità simple-mode', table: { defaultValue: { summary: undefined } }, }, align: { control: 'select', description: 'Allineamento della paginazione', options: PAGINATION_ALIGNMENTS, table: { defaultValue: { summary: 'start' } }, }, disableResponsive: { name: 'disable-responsive', control: 'boolean', description: 'Disabilita responsive mode (nasconde pagine non correnti su mobile)', table: { defaultValue: { summary: 'false' } }, }, simpleMode: { name: 'simple-mode', control: false, description: \"Abilita simple mode (mostra solo pagina corrente / totale, ottimizzato per mobile). Vai alla storia dedicata per l'esempio.\", table: { defaultValue: { summary: 'false' } }, }, visiblePages: { name: 'visible-pages', control: 'number', description: \"Numero di pagine visibili quando il totale (total) supera questo valore. Verranno mostrati i puntini '...' per indicare la presenza di ulteriori pagine.\", table: { defaultValue: { summary: '5' } }, }, itAriaLabel: { name: 'it-aria-label', control: 'text', description: \"Imposta l'attributo `aria-label` per il componente, utile per migliorare l'accessibilità.\", table: { defaultValue: { summary: 'Paginazione' } }, }, }, }"
528
+ "default": "{ title: 'Componenti/Pagination', tags: ['a11y-ok', 'web-component'], decorators: [ (story, context) => { if (context.parameters.overrideMetaWrapper) return story(); return html` <div style=\"padding-block: 2rem;margin:auto;display:flex;\"> <!-- START COMPONENT --> ${story()} <!-- END COMPONENT --> </div> `; }, ], parameters: { layout: 'fullscreen', docs: { source: { excludeDecorators: true }, }, a11y: { config: { rules: [ { id: 'list', enabled: false, }, { id: 'listitem', enabled: false, }, ], }, }, }, args: { value: '1', total: '5', align: 'center', disableResponsive: false, simpleMode: false, visiblePages: 5, itAriaLabel: 'Paginazione', }, argTypes: { value: { control: 'text', description: 'Pagina corrente selezionata', table: { defaultValue: { summary: '1' } }, }, total: { control: false, description: 'Numero totale di pagine, se non specificato viene calcolato in base agli elementi `it-pagination-item` presenti. Utile per indicare un numero di pagine diverso rispetto agli elementi effettivamente presenti (es. con caricamento dinamico) e in modalità simple-mode', table: { defaultValue: { summary: undefined } }, }, align: { control: 'select', description: 'Allineamento della paginazione', options: PAGINATION_ALIGNMENTS, table: { defaultValue: { summary: 'start' } }, }, disableResponsive: { name: 'disable-responsive', control: 'boolean', description: 'Disabilita responsive mode (nasconde pagine non correnti su mobile)', table: { defaultValue: { summary: 'false' } }, }, simpleMode: { name: 'simple-mode', control: false, description: \"Abilita simple mode (mostra solo pagina corrente / totale, ottimizzato per mobile). Vai alla storia dedicata per l'esempio.\", table: { defaultValue: { summary: 'false' } }, }, visiblePages: { name: 'visible-pages', control: 'number', description: \"Numero di pagine visibili quando il totale (total) supera questo valore. Verranno mostrati i puntini '...' per indicare la presenza di ulteriori pagine.\", table: { defaultValue: { summary: '5' } }, }, itAriaLabel: { name: 'it-aria-label', control: 'text', description: \"Imposta l'attributo `aria-label` per il componente, utile per migliorare l'accessibilità.\", table: { defaultValue: { summary: 'Paginazione' } }, }, }, }"
529
529
  },
530
530
  {
531
531
  "kind": "variable",
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-D0nptRho.js';
3
+ import '../index-vdI7-FAF.js';
4
4
  import 'lit/directive.js';
5
5
  import 'lit';
6
6
  import 'lit/decorators.js';
@@ -1,4 +1,4 @@
1
- import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-D0nptRho.js';
1
+ import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-vdI7-FAF.js';
2
2
  import { css, html } from 'lit';
3
3
  import { property, customElement } from 'lit/decorators.js';
4
4
  import 'lit/directive.js';
@@ -1,4 +1,4 @@
1
- import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-D0nptRho.js';
1
+ import { B as BaseComponent, _ as __decorate, a as __metadata } from '../index-vdI7-FAF.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-alpha.7",
4
+ "version": "1.0.0-alpha.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -35,9 +35,9 @@
35
35
  "custom-elements.json"
36
36
  ],
37
37
  "dependencies": {
38
- "bootstrap-italia": "github:italia/bootstrap-italia#8c67506065fb844becbec9cc74f2d11de7101404",
38
+ "bootstrap-italia": "3.0.0-alpha.9",
39
39
  "lit": "^3.2.1",
40
- "@italia/globals": "^1.0.0-alpha.7"
40
+ "@italia/globals": "^1.0.0-alpha.9"
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-alpha.7",
55
+ "@italia/icon": "^1.0.0-alpha.9",
56
56
  "@italia/test-config": "^0.0.0",
57
57
  "@italia/typescript-config": "^0.0.0"
58
58
  },