Questa pagina è generata dai pacchetti Magma, documentati solo in inglese.
<!-- INCORRECT --><mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10</mds-price-table-features-cell></mds-price-table-features-row>
<!-- CORRECT --><mds-price-table-features> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10</mds-price-table-features-cell> </mds-price-table-features-row></mds-price-table-features><!-- INCORRECT - none of these is rendered --><mds-price-table-list> <mds-text typography="h5" tag="h4">Piano Base</mds-text> <mds-text typography="h2" tag="h4">49 EUR</mds-text> <mds-button variant="dark">Inizia</mds-button></mds-price-table-list>
<!-- CORRECT --><mds-price-table-list> <mds-text typography="h5" tag="h4" slot="header">Piano Base</mds-text> <mds-text typography="h2" tag="h4" slot="price">49 EUR</mds-text> <mds-button slot="action" variant="dark">Inizia</mds-button></mds-price-table-list><!-- INCORRECT --><mds-price-table-list-item supported="false">Export report</mds-price-table-list-item>
<!-- CORRECT --><mds-price-table-list-item>Export report</mds-price-table-list-item><!-- INCORRECT (not a valid type value) --><mds-price-table-features-cell type="check"></mds-price-table-features-cell><mds-price-table-features-cell type="icon"></mds-price-table-features-cell>
<!-- CORRECT --><mds-price-table-features-cell type="supported"></mds-price-table-features-cell><!-- INCORRECT --><mds-price-table> <div class="piano"> <h3>Piano Base</h3> <p>49 EUR/mese</p> </div></mds-price-table>
<!-- CORRECT --><mds-price-table> <mds-price-table-list> <mds-text typography="h5" tag="h4" slot="header">Piano Base</mds-text> <mds-text typography="h2" tag="h4" slot="price">49 EUR/mese</mds-text> <mds-button slot="action" variant="dark">Inizia</mds-button> </mds-price-table-list></mds-price-table><!-- INCORRECT - slotted text is silently ignored --><mds-price-table-features-cell type="supported">Si</mds-price-table-features-cell><mds-price-table-features-cell type="unsupported">No</mds-price-table-features-cell>
<!-- CORRECT - leave icon cells empty or use text/custom for values --><mds-price-table-features-cell type="supported"></mds-price-table-features-cell><mds-price-table-features-cell type="text">Non disponibile</mds-price-table-features-cell>/* INCORRECT */mds-price-table-features-cell >>> .icon { fill: red;}mds-price-table-features-cell::part(cell-wrapper) { padding: 1rem;}
/* CORRECT */mds-price-table-features-cell::part(icon) { fill: rgb(var(--magma-success-fg));}