Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid duplicate classes #2659

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading