From 10963eea19945db4b6e4db5bc188de0b68921fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20M=C3=B8ller=20Jensen?= <26099018+JesmoDev@users.noreply.github.com> Date: Mon, 15 May 2023 17:26:38 +1200 Subject: [PATCH] rename --- .../input-user-group.stories.ts | 41 +++++++++---------- .../input-user-group/input-user-group.test.ts | 2 +- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.stories.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.stories.ts index 9cacc00a54..ba4ced36d1 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.stories.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.stories.ts @@ -3,28 +3,27 @@ import './input-user-group.element'; import type { UmbInputPickerUserGroupElement } from './input-user-group.element'; const meta: Meta = { - 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; - + export const Overview: Story = { - args: { - } -}; \ No newline at end of file + args: {}, +}; diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.test.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.test.ts index d4cf1c0e7e..365a8e50ec 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.test.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/components/input-user-group/input-user-group.test.ts @@ -6,7 +6,7 @@ import { expect, fixture, html } from '@open-wc/testing'; // describe('UmbPickerLayoutUserGroupElement', () => { // let element: UmbPickerUserGroupElement; // beforeEach(async () => { -// element = await fixture(html``); +// element = await fixture(html``); // }); // it('is defined with its own instance', () => {