From e5c7d26015728e99097be2b8e8d960401658fc80 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Sat, 7 Oct 2023 09:08:36 +0300 Subject: [PATCH] Add VByLine under the feature flag --- .../components/VMediaInfo/VByLine/VByLine.vue | 210 ++++++++++++++++++ .../VByLine/meta/VByLine.stories.mdx | 78 +++++++ 2 files changed, 288 insertions(+) create mode 100644 frontend/src/components/VMediaInfo/VByLine/VByLine.vue create mode 100644 frontend/src/components/VMediaInfo/VByLine/meta/VByLine.stories.mdx diff --git a/frontend/src/components/VMediaInfo/VByLine/VByLine.vue b/frontend/src/components/VMediaInfo/VByLine/VByLine.vue new file mode 100644 index 00000000000..a1a4c73e529 --- /dev/null +++ b/frontend/src/components/VMediaInfo/VByLine/VByLine.vue @@ -0,0 +1,210 @@ + + + + + diff --git a/frontend/src/components/VMediaInfo/VByLine/meta/VByLine.stories.mdx b/frontend/src/components/VMediaInfo/VByLine/meta/VByLine.stories.mdx new file mode 100644 index 00000000000..58ffa5f7613 --- /dev/null +++ b/frontend/src/components/VMediaInfo/VByLine/meta/VByLine.stories.mdx @@ -0,0 +1,78 @@ +import { + ArgsTable, + Canvas, + Description, + Meta, + Story, +} from "@storybook/addon-docs" +import { supportedMediaTypes } from "~/constants/media" +import { useProviderStore } from "~/stores/provider" + +import VByLine from "~/components/VMediaInfo/VByLine/VByLine.vue" + +export const Template = (args) => ({ + template: `
`, + components: { VByLine }, + setup() { + const providerStore = useProviderStore() + providerStore.getProviders().then(/** */) + return { args } + }, +}) + + + +# VByLine + + + + + + + + {Template.bind({})} + + + +## Long titles use scrolling + + + + {Template.bind({})} + +