temp remove modal story
This commit is contained in:
@@ -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({});
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user