rename fab-card to fab-card-printing

This commit is contained in:
Alexandr Andreyev 2025-08-15 10:09:43 +03:00
parent c1eba46fb7
commit d9122be951
2 changed files with 15 additions and 10 deletions

View File

@ -9,34 +9,39 @@
<script type="module" src="/src/fab-card.ts"></script> <script type="module" src="/src/fab-card.ts"></script>
</head> </head>
<body> <body>
<h2>Card Printings</h2>
<div class="cards-list"> <div class="cards-list">
<fab-card <fab-card-printing
setId="ROS152" setId="ROS152"
name="Arcane Cussing" name="Arcane Cussing"
color="Red" color="Red"
rarity="C" rarity="C"
></fab-card> ></fab-card-printing>
<fab-card <fab-card-printing
setId="ROS153" setId="ROS153"
name="Arcane Cussing" name="Arcane Cussing"
color="Yellow" color="Yellow"
foiling="R" foiling="R"
rarity="C" rarity="C"
></fab-card> ></fab-card-printing>
<fab-card <fab-card-printing
setId="ROS154" setId="ROS154"
name="Arcane Cussing" name="Arcane Cussing"
color="Blue" color="Blue"
foiling="C" foiling="C"
rarity="C" rarity="C"
></fab-card> ></fab-card-printing>
<fab-card <fab-card-printing
setId="HNT076" setId="HNT076"
name="Art of the Dragon: Scale" name="Art of the Dragon: Scale"
comment="Longer name" comment="Longer name"
color="Red" color="Red"
rarity="R" rarity="R"
></fab-card> ></fab-card-printing>
</div>
<h2>Cards Unique Visually</h2>
<div class="cards-list">
</div> </div>
</body> </body>
</html> </html>

View File

@ -47,8 +47,8 @@ export class FabRaritySymbol extends LitElement {
`; `;
} }
@customElement('fab-card') @customElement('fab-card-printing')
export class FabCard extends LitElement { export class FabCardPrinting extends LitElement {
@property({ type: String }) @property({ type: String })
setId = ''; setId = '';
@property({ type: String }) @property({ type: String })