build(#10336): avoid intrinsic component names

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-03-21 13:12:30 +09:00
parent 49f8bb4974
commit 5ced8aef27
112 changed files with 668 additions and 668 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;