rename
This commit is contained in:
@@ -3,28 +3,27 @@ import './input-user-group.element';
|
||||
import type { UmbInputPickerUserGroupElement } from './input-user-group.element';
|
||||
|
||||
const meta: Meta<UmbInputPickerUserGroupElement> = {
|
||||
title: 'Components/Inputs/User Group',
|
||||
component: 'umb-input-user-group',
|
||||
argTypes: {
|
||||
modalType: {
|
||||
control: 'inline-radio',
|
||||
options: ['dialog', 'sidebar'],
|
||||
defaultValue: 'sidebar',
|
||||
description: 'The type of modal to use when selecting user groups',
|
||||
},
|
||||
modalSize:{
|
||||
control: 'select',
|
||||
options: ['small', 'medium', 'large', 'full'],
|
||||
defaultValue: 'small',
|
||||
description: 'The size of the modal to use when selecting user groups, only applicable to sidebar not dialog',
|
||||
}
|
||||
}
|
||||
title: 'Components/Inputs/User Group',
|
||||
component: 'umb-user-group-input',
|
||||
argTypes: {
|
||||
modalType: {
|
||||
control: 'inline-radio',
|
||||
options: ['dialog', 'sidebar'],
|
||||
defaultValue: 'sidebar',
|
||||
description: 'The type of modal to use when selecting user groups',
|
||||
},
|
||||
modalSize: {
|
||||
control: 'select',
|
||||
options: ['small', 'medium', 'large', 'full'],
|
||||
defaultValue: 'small',
|
||||
description: 'The size of the modal to use when selecting user groups, only applicable to sidebar not dialog',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<UmbInputPickerUserGroupElement>;
|
||||
|
||||
|
||||
export const Overview: Story = {
|
||||
args: {
|
||||
}
|
||||
};
|
||||
args: {},
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@ import { expect, fixture, html } from '@open-wc/testing';
|
||||
// describe('UmbPickerLayoutUserGroupElement', () => {
|
||||
// let element: UmbPickerUserGroupElement;
|
||||
// beforeEach(async () => {
|
||||
// element = await fixture(html`<umb-input-user-group></umb-input-user-group>`);
|
||||
// element = await fixture(html`<umb-user-group-input></umb-user-group-input>`);
|
||||
// });
|
||||
|
||||
// it('is defined with its own instance', () => {
|
||||
|
||||
Reference in New Issue
Block a user