align naming of element

This commit is contained in:
Mads Rasmussen
2023-09-27 10:03:37 +02:00
parent df9bb4a1bb
commit a5dd991f4c
2 changed files with 7 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
import { UmbInputListBaseElement } from '../input-list-base/input-list-base.js';
import { UmbTextStyles } from "@umbraco-cms/backoffice/style";
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
import { css, html, nothing, customElement, state } from '@umbraco-cms/backoffice/external/lit';
import { UMB_SECTION_PICKER_MODAL } from '@umbraco-cms/backoffice/modal';
import { ManifestSection, umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
@customElement('umb-input-section')
export class UmbInputPickerSectionElement extends UmbInputListBaseElement {
export class UmbInputSectionElement extends UmbInputListBaseElement {
@state()
private _sections: Array<ManifestSection> = [];
@@ -47,7 +47,7 @@ export class UmbInputPickerSectionElement extends UmbInputListBaseElement {
label="remove"
color="danger"></uui-button>
</div>
`
`,
)}
</div>
`;
@@ -85,6 +85,6 @@ export class UmbInputPickerSectionElement extends UmbInputListBaseElement {
declare global {
interface HTMLElementTagNameMap {
'umb-input-section': UmbInputPickerSectionElement;
'umb-input-section': UmbInputSectionElement;
}
}

View File

@@ -1,8 +1,8 @@
import { Meta, StoryObj } from '@storybook/web-components';
import './input-section.element.js';
import type { UmbInputPickerSectionElement } from './input-section.element.js';
import type { UmbInputSectionElement } from './input-section.element.js';
const meta: Meta<UmbInputPickerSectionElement> = {
const meta: Meta<UmbInputSectionElement> = {
title: 'Components/Inputs/Section',
component: 'umb-input-section',
argTypes: {
@@ -22,7 +22,7 @@ const meta: Meta<UmbInputPickerSectionElement> = {
};
export default meta;
type Story = StoryObj<UmbInputPickerSectionElement>;
type Story = StoryObj<UmbInputSectionElement>;
export const Overview: Story = {
args: {