Skip to content

Commit

Permalink
fix: avoid duplicate classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Dec 6, 2024
1 parent c4fbb62 commit b19733f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-berries-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@utrecht/web-component-library-stencil": patch
---

Use correct names for custom element classes, avoid duplicates.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Component, h } from '@stencil/core';
styleUrl: 'data-list-actions.scss',
shadow: true,
})
export class DataListValue {
export class DataListActions {
render() {
return (
<dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Component, h } from '@stencil/core';
styleUrl: 'data-list-key.scss',
shadow: true,
})
export class DataListValue {
export class DataListKey {
render() {
return (
<dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Component, h } from '@stencil/core';
styleUrl: 'logo-button.scss',
shadow: true,
})
export class DigidButton {
export class LogoButton {
render() {
return (
<div class="utrecht-logo-button">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Component, h, Prop } from '@stencil/core';
styleUrl: 'number-badge.scss',
shadow: true,
})
export class BadgeCounter {
export class NumberBadge {
@Prop() value: number;
@Prop() max: number;
@Prop() locale: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Component, h } from '@stencil/core';
styleUrl: 'page-content.scss',
shadow: true,
})
export class Page {
export class PageContent {
render() {
return (
<div class="utrecht-page-content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Component, h } from '@stencil/core';
styleUrl: 'surface.scss',
shadow: true,
})
export class Code {
export class Surface {
render() {
return (
<div class="utrecht-surface">
Expand Down

0 comments on commit b19733f

Please sign in to comment.