import './workspace-view-data-type-info.element';

import { Meta, Story } from '@storybook/web-components';
import { html } from 'lit-html';

//import { data } from '../../../../../core/mocks/data/data-type.data';
//import { UmbDataTypeContext } from '../../data-type.context';

import type { UmbWorkspaceViewDataTypeInfoElement } from './workspace-view-data-type-info.element';

export default {
	title: 'Workspaces/Data Type/Views/Info',
	component: 'umb-workspace-view-data-type-info',
	id: 'umb-workspace-view-data-type-info',
	decorators: [
		(story) => {
			return html`TODO: make use of mocked workspace context??`;
			/*html` <umb-context-provider key="umbDataTypeContext" .value=${new UmbWorkspaceDataTypeContext(data[0])}>
				${story()}
			</umb-context-provider>`,*/
		}
	],
} as Meta;

export const AAAOverview: Story<UmbWorkspaceViewDataTypeInfoElement> = () =>
	html` <umb-workspace-view-data-type-info></umb-workspace-view-data-type-info>`;
AAAOverview.storyName = 'Overview';
