build(#10336): avoid intrinsic component names
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import link from './link.vue';
|
||||
import link_ from './link.vue';
|
||||
const meta = {
|
||||
title: 'components/form/link',
|
||||
component: link,
|
||||
} satisfies Meta<typeof link>;
|
||||
component: link_,
|
||||
} satisfies Meta<typeof link_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
link,
|
||||
link_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<link v-bind="$props" />',
|
||||
template: '<link_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
} satisfies StoryObj<typeof link>;
|
||||
} satisfies StoryObj<typeof link_>;
|
||||
export default meta;
|
||||
|
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import section from './section.vue';
|
||||
import section_ from './section.vue';
|
||||
const meta = {
|
||||
title: 'components/form/section',
|
||||
component: section,
|
||||
} satisfies Meta<typeof section>;
|
||||
component: section_,
|
||||
} satisfies Meta<typeof section_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
section,
|
||||
section_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<section v-bind="$props" />',
|
||||
template: '<section_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
} satisfies StoryObj<typeof section>;
|
||||
} satisfies StoryObj<typeof section_>;
|
||||
export default meta;
|
||||
|
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import slot from './slot.vue';
|
||||
import slot_ from './slot.vue';
|
||||
const meta = {
|
||||
title: 'components/form/slot',
|
||||
component: slot,
|
||||
} satisfies Meta<typeof slot>;
|
||||
component: slot_,
|
||||
} satisfies Meta<typeof slot_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
slot,
|
||||
slot_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<slot v-bind="$props" />',
|
||||
template: '<slot_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
} satisfies StoryObj<typeof slot>;
|
||||
} satisfies StoryObj<typeof slot_>;
|
||||
export default meta;
|
||||
|
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import split from './split.vue';
|
||||
import split_ from './split.vue';
|
||||
const meta = {
|
||||
title: 'components/form/split',
|
||||
component: split,
|
||||
} satisfies Meta<typeof split>;
|
||||
component: split_,
|
||||
} satisfies Meta<typeof split_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
split,
|
||||
split_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<split v-bind="$props" />',
|
||||
template: '<split_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
} satisfies StoryObj<typeof split>;
|
||||
} satisfies StoryObj<typeof split_>;
|
||||
export default meta;
|
||||
|
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import suspense from './suspense.vue';
|
||||
import suspense_ from './suspense.vue';
|
||||
const meta = {
|
||||
title: 'components/form/suspense',
|
||||
component: suspense,
|
||||
} satisfies Meta<typeof suspense>;
|
||||
component: suspense_,
|
||||
} satisfies Meta<typeof suspense_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
suspense,
|
||||
suspense_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<suspense v-bind="$props" />',
|
||||
template: '<suspense_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
} satisfies StoryObj<typeof suspense>;
|
||||
} satisfies StoryObj<typeof suspense_>;
|
||||
export default meta;
|
||||
|
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import page from './page.vue';
|
||||
import page_ from './page.vue';
|
||||
const meta = {
|
||||
title: 'components/page/page',
|
||||
component: page,
|
||||
} satisfies Meta<typeof page>;
|
||||
component: page_,
|
||||
} satisfies Meta<typeof page_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
page,
|
||||
page_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<page v-bind="$props" />',
|
||||
template: '<page_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
} satisfies StoryObj<typeof page>;
|
||||
} satisfies StoryObj<typeof page_>;
|
||||
export default meta;
|
||||
|
Reference in New Issue
Block a user