Skip to content

Commit

Permalink
refactor: move web component implementations into one directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Sep 18, 2023
1 parent dab7626 commit e84f75e
Show file tree
Hide file tree
Showing 106 changed files with 43 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-article',
styleUrl: 'index.scss',
styleUrl: 'article.scss',
shadow: true,
})
export class Article {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-backdrop',
styleUrl: 'index.scss',
styleUrl: 'backdrop.scss',
shadow: true,
})
export class Backdrop {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h, Prop } from '@stencil/core';

@Component({
tag: 'utrecht-badge-counter',
styleUrl: 'index.scss',
styleUrl: 'badge-counter.scss',
shadow: true,
})
export class BadgeCounter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-badge-data',
styleUrl: 'index.scss',
styleUrl: 'badge-data.scss',
shadow: true,
})
export class BadgeData {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h, Prop } from '@stencil/core';

@Component({
tag: 'utrecht-badge-status',
styleUrl: 'index.scss',
styleUrl: 'badge-status.scss',
shadow: true,
})
export class BadgeStatus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-breadcrumb',
styleUrl: 'index.scss',
styleUrl: 'breadcrumb.scss',
shadow: true,
})
export class Breadcrumb {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-button',
styleUrl: 'index.scss',
styleUrl: 'button.scss',
shadow: true,
})
export class Button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-checkbox',
styleUrl: 'index.scss',
styleUrl: 'checkbox.scss',
shadow: true,
})
export class Checkbox {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h, Host, Prop } from '@stencil/core';

@Component({
tag: 'utrecht-color-sample',
styleUrl: 'index.scss',
styleUrl: 'color-sample.scss',
shadow: true,
})
export class ColorSample {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-contact-card-template',
styleUrl: 'index.scss',
styleUrl: 'contact-card-template.scss',
shadow: true,
})
export class ContactCardTemplate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-custom-checkbox',
styleUrl: 'index.scss',
styleUrl: 'custom-checkbox.scss',
shadow: true,
})
export class CustomCheckbox {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h, Prop } from '@stencil/core';

@Component({
tag: 'utrecht-digid-button',
styleUrl: 'index.scss',
styleUrl: 'digid-button.scss',
shadow: true,
})
export class DigidButton {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-digid-logo',
styleUrl: 'index.scss',
styleUrl: 'digid-logo.scss',
shadow: true,
})
export class DigidLogo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-document',
styleUrl: 'index.scss',
styleUrl: 'document.scss',
shadow: true,
})
export class Document {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-eherkenning-logo',
styleUrl: 'index.scss',
styleUrl: 'eherkenning-logo.scss',
shadow: true,
})
export class EherkenningLogo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-eidas-logo',
styleUrl: 'index.scss',
styleUrl: 'eidas-logo.scss',
shadow: true,
})
export class EidasLogo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-form-field-checkbox',
styleUrl: 'index.scss',
styleUrl: 'form-field-checkbox.scss',
shadow: true,
})
export class FormFieldCheckbox {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-form-field-description',
styleUrl: 'index.scss',
styleUrl: 'form-field-description.scss',
shadow: true,
})
export class FormFieldDescription {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-form-field-textarea',
styleUrl: 'index.scss',
styleUrl: 'form-field-textarea.scss',
shadow: true,
})
export class FormFieldTextarea {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-form-field-textbox',
styleUrl: 'index.scss',
styleUrl: 'form-field-textbox.scss',
shadow: true,
})
export class FormFieldTextbox {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-form-toggle',
styleUrl: 'index.scss',
styleUrl: 'form-toggle.scss',
shadow: true,
})
export class FormToggle {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-heading-1',
styleUrl: 'index.scss',
styleUrl: 'heading-1.scss',
shadow: true,
})
export class Heading1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-heading-2',
styleUrl: 'index.scss',
styleUrl: 'heading-2.scss',
shadow: true,
})
export class Heading2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-heading-3',
styleUrl: 'index.scss',
styleUrl: 'heading-3.scss',
shadow: true,
})
export class Heading3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-heading-4',
styleUrl: 'index.scss',
styleUrl: 'heading-4.scss',
shadow: true,
})
export class Heading4 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-heading-5',
styleUrl: 'index.scss',
styleUrl: 'heading-5.scss',
shadow: true,
})
export class Heading5 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-heading-6',
styleUrl: 'index.scss',
styleUrl: 'heading-6.scss',
shadow: true,
})
export class Heading6 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h, Prop } from '@stencil/core';

@Component({
tag: 'utrecht-heading',
styleUrl: 'index.scss',
styleUrl: 'heading.scss',
shadow: true,
})
export class Heading {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-html-content',
styleUrl: 'index.scss',
styleUrl: 'html-content.scss',
shadow: false,
})
export class HTMLContent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-env jest */
import { Icon } from './index.stencil';
import { Icon } from './icon';

describe('Icon', () => {
it('builds', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h, Host } from '@stencil/core';

@Component({
tag: 'utrecht-icon',
styleUrl: './index.scss',
styleUrl: './icon.scss',
shadow: true,
})
export class Icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-logo-button',
styleUrl: 'index.scss',
styleUrl: 'logo-button.scss',
shadow: true,
})
export class DigidButton {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-logo',
styleUrl: 'index.scss',
styleUrl: 'logo.scss',
shadow: true,
})
export class Logo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-map-marker',
styleUrl: './index.scss',
styleUrl: './map-marker.scss',
shadow: true,
})
export class MapMarker {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-page-content',
styleUrl: 'index.scss',
styleUrl: 'page-content.scss',
shadow: true,
})
export class Page {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-page-footer',
styleUrl: 'index.scss',
styleUrl: 'page-footer.scss',
shadow: true,
})
export class PageFooter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-page-header',
styleUrl: 'index.scss',
styleUrl: 'page-header.scss',
shadow: true,
})
export class PageHeader {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-page',
styleUrl: 'index.scss',
styleUrl: 'page.scss',
shadow: true,
})
export class Page {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-pagination',
styleUrl: 'index.scss',
styleUrl: 'pagination.scss',
shadow: true,
})
export class Pagination {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-paragraph',
styleUrl: 'index.scss',
styleUrl: 'paragraph.scss',
shadow: true,
})
export class Paragraph {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, h } from '@stencil/core';

@Component({
tag: 'utrecht-separator',
styleUrl: 'index.scss',
styleUrl: 'separator.scss',
shadow: true,
})
export class Separator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-sidenav',
styleUrl: 'index.scss',
styleUrl: 'sidenav.scss',
shadow: true,
})
export class Sidenav {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import clsx from 'clsx';

@Component({
tag: 'utrecht-textbox',
styleUrl: 'index.scss',
styleUrl: 'textbox.scss',
shadow: true,
})
export class Textbox {
Expand Down

0 comments on commit e84f75e

Please sign in to comment.