temp remove modal story

This commit is contained in:
Mads Rasmussen
2023-03-09 20:27:11 +01:00
parent e63058a049
commit 95dfb7d67a
2 changed files with 8 additions and 2 deletions

View File

@@ -7,13 +7,16 @@ export default {
argTypes: {
modalLayout: {
control: 'select',
options: ['Confirm', 'Content Picker', 'Property Editor UI Picker', 'Icon Picker'],
//options: ['Confirm', 'Content Picker', 'Property Editor UI Picker', 'Icon Picker'],
},
},
} as Meta;
const Template: Story = (props) => {
return html` <story-modal-context-example .modalLayout=${props.modalLayout}></story-modal-context-example> `;
return html`
Under construction
<!--<story-modal-context-example .modalLayout=${props.modalLayout}></story-modal-context-example>-->
`;
};
export const Overview = Template.bind({});

View File

@@ -21,6 +21,8 @@ export class StoryModalContextExampleElement extends UmbLitElement {
}
private _open() {
// TODO: use the extension registry to get all modals
/*
switch (this.modalLayout) {
case 'Content Picker':
this._modalContext?.documentPicker();
@@ -38,6 +40,7 @@ export class StoryModalContextExampleElement extends UmbLitElement {
});
break;
}
*/
}
render() {