Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
refactor: generate stories for base components (#4734)
Bogdan Chadkine27628cfd99f
diff --git a/packages/sdk-cli/src/generate-stories.ts b/packages/sdk-cli/src/generate-stories.tsindex 5c4da4140d..a75232020c 100644--- a/packages/sdk-cli/src/generate-stories.ts+++ b/packages/sdk-cli/src/generate-stories.ts@@ -12,6 +12,7 @@ import {WsComponentMeta,} from "@webstudio-is/sdk";import {+ coreMetas,generateCss,generateWebstudioComponent,getIndexesWithinAncestors,@@ -19,6 +20,7 @@ import {} from "@webstudio-is/react-sdk";import { renderTemplate, type TemplateMeta } from "@webstudio-is/template";+const WS_NAMESPACE = "ws";const BASE_NAMESPACE = "@webstudio-is/sdk-components-react";const generateComponentImports = ({@@ -53,6 +55,9 @@ const generateComponentImports = ({let componentImports = "";for (const [namespace, componentsSet] of namespaces.entries()) {+ if (namespace === WS_NAMESPACE) {+ continue;+ }const specifiers = Array.from(componentsSet).map(([shortName, component]) =>@@ -135,7 +140,9 @@ export const generateStories = async () => {const usedMetas = new Map<string, WsComponentMeta>();for (const namespace of namespaces) {let namespaceMetas;- if (namespace === packageJson.name) {+ if (namespace === WS_NAMESPACE) {+ namespaceMetas = new Map(Object.entries(coreMetas));+ } else if (namespace === packageJson.name) {namespaceMetas = metas;} else {const metasUrl = import.meta.resolve(@@ -145,7 +152,7 @@ export const generateStories = async () => {namespaceMetas = new Map(Object.entries(await import(metasUrl)));}for (let [name, meta] of namespaceMetas) {- if (namespace !== BASE_NAMESPACE) {+ if (namespace !== BASE_NAMESPACE && namespace !== WS_NAMESPACE) {name = `${namespace}:${name}`;meta = namespaceMeta(meta as WsComponentMeta,diff --git a/packages/sdk-components-react/package.json b/packages/sdk-components-react/package.jsonindex 103dc7a940..cce5efe2d4 100644--- a/packages/sdk-components-react/package.json+++ b/packages/sdk-components-react/package.json@@ -42,6 +42,7 @@"scripts": {"build": "vite build --config ../../vite.sdk-components.config.ts","build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.test.{ts,tsx} !./src/*.ws.ts !./src/*.ws.ts !./src/*.template.tsx' && prettier --write \"**/*.props.ts\"",+ "build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"","dts": "tsc --project tsconfig.dts.json","test": "vitest run","typecheck": "tsc"@@ -66,6 +67,7 @@"@types/react": "^18.2.70","@types/react-dom": "^18.2.25","@webstudio-is/generate-arg-types": "workspace:*",+ "@webstudio-is/sdk-cli": "workspace:*","@webstudio-is/template": "workspace:*","@webstudio-is/tsconfig": "workspace:*","react": "18.3.0-canary-14898b6a9-20240318",diff --git a/packages/sdk-components-react/src/__generated__/blockquote.stories.tsx b/packages/sdk-components-react/src/__generated__/blockquote.stories.tsxnew file mode 100644index 0000000000..18b270ae49--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/blockquote.stories.tsx@@ -0,0 +1,123 @@+import { Box as Box, Blockquote as Blockquote } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Blockquote className={"w-blockquote"} />+ </Box>+ );+};++export default {+ title: "Components/Blockquote",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(blockquote.w-blockquote) {+ margin-top: 0;+ margin-right: 0;+ margin-bottom: 10px;+ margin-left: 0;+ padding-top: 10px;+ padding-bottom: 10px;+ padding-left: 20px;+ padding-right: 20px;+ border-left: 5px solid rgba(226, 226, 226, 1)+ }+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Blockquote };diff --git a/packages/sdk-components-react/src/__generated__/button.stories.tsx b/packages/sdk-components-react/src/__generated__/button.stories.tsxnew file mode 100644index 0000000000..f3a29db505--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/button.stories.tsx@@ -0,0 +1,128 @@+import { Box as Box, Button as Button } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Button className={"w-button"}>{"Button text you can edit"}</Button>+ </Box>+ );+};++export default {+ title: "Components/Button",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(button.w-button) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Button };diff --git a/packages/sdk-components-react/src/__generated__/checkbox.stories.tsx b/packages/sdk-components-react/src/__generated__/checkbox.stories.tsxnew file mode 100644index 0000000000..0413b0ef9a--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/checkbox.stories.tsx@@ -0,0 +1,158 @@+import {+ Box as Box,+ Label as Label,+ Checkbox as Checkbox,+ Text as Text,+} from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Label className={"w-input-label"}>+ <Checkbox className={"w-checkbox"} />+ <Text tag={"span"} className={"w-text"}>+ {"Checkbox"}+ </Text>+ </Label>+ </Box>+ );+};++export default {+ title: "Components/Checkbox",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(input.w-checkbox) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ margin-top: 0;+ margin-right: 0.5em;+ margin-bottom: 0;+ margin-left: 0;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: none;+ border-right-style: none;+ border-bottom-style: none;+ border-left-style: none+ }+ :where(label.w-input-label) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ display: block+ }+ :where(div.w-text) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ min-height: 1em+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Checkbox };diff --git a/packages/sdk-components-react/src/__generated__/content-embed.stories.tsx b/packages/sdk-components-react/src/__generated__/content-embed.stories.tsxnew file mode 100644index 0000000000..0b28d0a2a6--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/content-embed.stories.tsx@@ -0,0 +1,122 @@+import { Box as Box, HtmlEmbed as HtmlEmbed } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <HtmlEmbed+ code={+ '<h1>Styling HTML with Content Embed</h1>\n<p>Content Embed allows styling of HTML, which primarily comes from external data.</p>\n<h2>How to Use Content Embed</h2>\n<ul>\n <li>Every element is shown in the Navigator.</li>\n <li>Apply styles and Tokens to each element.</li>\n <li>Adjustments to elements apply universally within this embed, ensuring consistency across your content.</li>\n</ul>\n<hr>\n<h2>This sample text contains all the elements that can be styled.</h2>\n<p>Any elements that were not used above are used below.</p>\n<h3>Heading 3</h3>\n<h4>Heading 4</h4>\n<h5>Heading 5</h5>\n<h6>Heading 6</h6>\n<p><a href="#">Links</a> connect your content to relevant resources.</p>\n<p><strong>Bold text</strong> makes your important points stand out.</p>\n<p><em>Italic text</em> is great for emphasizing terms.</p>\n<ol>\n <li>First Step</li>\n <li>Second Step</li>\n</ol>\n<img src="data:image/svg+xml;base64,PHN2ZwogIHdpZHRoPSIxNDAiCiAgaGVpZ2h0PSIxNDAiCiAgdmlld0JveD0iMCAwIDYwMCA2MDAiCiAgZmlsbD0ibm9uZSIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgPgogIDxyZWN0IHdpZHRoPSI2MDAiIGhlaWdodD0iNjAwIiBmaWxsPSIjREZFM0U2IiAvPgogIDxwYXRoCiAgICBmaWxsLXJ1bGU9ImV2ZW5vZGQiCiAgICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgICBkPSJNNDUwIDE3MEgxNTBDMTQxLjcxNiAxNzAgMTM1IDE3Ni43MTYgMTM1IDE4NVY0MTVDMTM1IDQyMy4yODQgMTQxLjcxNiA0MzAgMTUwIDQzMEg0NTBDNDU4LjI4NCA0MzAgNDY1IDQyMy4yODQgNDY1IDQxNVYxODVDNDY1IDE3Ni43MTYgNDU4LjI4NCAxNzAgNDUwIDE3MFpNMTUwIDE0NUMxMjcuOTA5IDE0NSAxMTAgMTYyLjkwOSAxMTAgMTg1VjQxNUMxMTAgNDM3LjA5MSAxMjcuOTA5IDQ1NSAxNTAgNDU1SDQ1MEM0NzIuMDkxIDQ1NSA0OTAgNDM3LjA5MSA0OTAgNDE1VjE4NUM0OTAgMTYyLjkwOSA0NzIuMDkxIDE0NSA0NTAgMTQ1SDE1MFoiCiAgICBmaWxsPSIjQzFDOENEIgogIC8+CiAgPHBhdGgKICAgIGQ9Ik0yMzcuMTM1IDIzNS4wMTJDMjM3LjEzNSAyNTUuNzIzIDIyMC4zNDUgMjcyLjUxMiAxOTkuNjM1IDI3Mi41MTJDMTc4LjkyNCAyNzIuNTEyIDE2Mi4xMzUgMjU1LjcyMyAxNjIuMTM1IDIzNS4wMTJDMTYyLjEzNSAyMTQuMzAxIDE3OC45MjQgMTk3LjUxMiAxOTkuNjM1IDE5Ny41MTJDMjIwLjM0NSAxOTcuNTEyIDIzNy4xMzUgMjE0LjMwMSAyMzcuMTM1IDIzNS4wMTJaIgogICAgZmlsbD0iI0MxQzhDRCIKICAvPgogIDxwYXRoCiAgICBkPSJNMTYwIDQwNVYzNjcuMjA1TDIyMS42MDkgMzA2LjM2NEwyNTYuNTUyIDMzOC42MjhMMzU4LjE2MSAyMzRMNDQwIDMxNi4wNDNWNDA1SDE2MFoiCiAgICBmaWxsPSIjQzFDOENEIgogIC8+Cjwvc3ZnPg==">\n<blockquote>Capture attention with a powerful quote.</blockquote>\n<p>Using <code>console.log("Hello World");</code> will log to the console.</p>\n<table>\n <tr>\n <th>Header 1</th>\n <th>Header 2</th>\n <th>Header 3</th>\n </tr>\n <tr>\n <td>Cell 1.1</td>\n <td>Cell 1.2</td>\n <td>Cell 1.3</td>\n </tr>\n <tr>\n <td>Cell 2.1</td>\n <td>Cell 2.2</td>\n <td>Cell 2.3</td>\n </tr>\n <tr>\n <td>Cell 3.1</td>\n <td>Cell 3.2</td>\n <td>Cell 3.3</td>\n </tr>\n</table>'+ }+ className={"w-html-embed"}+ ></HtmlEmbed>+ </Box>+ );+};++export default {+ title: "Components/ContentEmbed",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(div.w-html-embed) {+ display: contents;+ white-space: normal;+ white-space-collapse: collapse+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as ContentEmbed };diff --git a/packages/sdk-components-react/src/__generated__/form.stories.tsx b/packages/sdk-components-react/src/__generated__/form.stories.tsxnew file mode 100644index 0000000000..cefee4a9a4--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/form.stories.tsx@@ -0,0 +1,192 @@+import { useVariableState } from "@webstudio-is/react-sdk/runtime";+import {+ Box as Box,+ Form as Form,+ Label as Label,+ Input as Input,+ Button as Button,+} from "../components";++const Component = () => {+ let [formState, set$formState] = useVariableState<any>("initial");+ return (+ <Box className={"w-box"}>+ <Form+ state={formState}+ onStateChange={(state: any) => {+ formState = state;+ set$formState(formState);+ }}+ className={"w-webhook-form"}+ >+ {(formState === "initial" || formState === "error") && (+ <Box className={"w-box"}>+ <Label className={"w-input-label"}>{"Name"}</Label>+ <Input name={"name"} className={"w-text-input"} />+ <Label className={"w-input-label"}>{"Email"}</Label>+ <Input name={"email"} className={"w-text-input"} />+ <Button className={"w-button"}>{"Submit"}</Button>+ </Box>+ )}+ {formState === "success" && (+ <Box className={"w-box"}>{"Thank you for getting in touch!"}</Box>+ )}+ {formState === "error" && (+ <Box className={"w-box"}>{"Sorry, something went wrong."}</Box>+ )}+ </Form>+ </Box>+ );+};++export default {+ title: "Components/Form",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(button.w-button) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(form.w-webhook-form) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(input.w-text-input) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ display: block;+ margin: 0+ }+ :where(label.w-input-label) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ display: block+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Form };diff --git a/packages/sdk-components-react/src/__generated__/heading.stories.tsx b/packages/sdk-components-react/src/__generated__/heading.stories.tsxnew file mode 100644index 0000000000..eb6f5777e1--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/heading.stories.tsx@@ -0,0 +1,160 @@+import { Box as Box, Heading as Heading } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Heading className={"w-heading"} />+ </Box>+ );+};++export default {+ title: "Components/Heading",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(h1.w-heading) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(h2.w-heading) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(h3.w-heading) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(h4.w-heading) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(h5.w-heading) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(h6.w-heading) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Heading };diff --git a/packages/sdk-components-react/src/__generated__/label.stories.tsx b/packages/sdk-components-react/src/__generated__/label.stories.tsxnew file mode 100644index 0000000000..cbb6ae7859--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/label.stories.tsx@@ -0,0 +1,121 @@+import { Box as Box, Label as Label } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Label className={"w-input-label"}>{"Form Label"}</Label>+ </Box>+ );+};++export default {+ title: "Components/Label",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(label.w-input-label) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ display: block+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Label };diff --git a/packages/sdk-components-react/src/__generated__/link.stories.tsx b/packages/sdk-components-react/src/__generated__/link.stories.tsxnew file mode 100644index 0000000000..8bdab7f954--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/link.stories.tsx@@ -0,0 +1,121 @@+import { Box as Box, Link as Link } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Link className={"w-link"} />+ </Box>+ );+};++export default {+ title: "Components/Link",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(a.w-link) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ display: inline-block+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Link };diff --git a/packages/sdk-components-react/src/__generated__/list-item.stories.tsx b/packages/sdk-components-react/src/__generated__/list-item.stories.tsxnew file mode 100644index 0000000000..f419c754ad--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/list-item.stories.tsx@@ -0,0 +1,120 @@+import { Box as Box, ListItem as ListItem } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <ListItem className={"w-list-item"} />+ </Box>+ );+};++export default {+ title: "Components/ListItem",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(li.w-list-item) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as ListItem };diff --git a/packages/sdk-components-react/src/__generated__/list.stories.tsx b/packages/sdk-components-react/src/__generated__/list.stories.tsxnew file mode 100644index 0000000000..2d44b427e6--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/list.stories.tsx@@ -0,0 +1,152 @@+import { Box as Box, List as List, ListItem as ListItem } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <List className={"w-list"}>+ <ListItem className={"w-list-item"}>+ {"List Item text you can edit"}+ </ListItem>+ <ListItem className={"w-list-item"}>+ {"List Item text you can edit"}+ </ListItem>+ <ListItem className={"w-list-item"}>+ {"List Item text you can edit"}+ </ListItem>+ </List>+ </Box>+ );+};++export default {+ title: "Components/List",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(ol.w-list) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ margin-top: 0;+ margin-bottom: 10px;+ padding-left: 40px+ }+ :where(ul.w-list) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ margin-top: 0;+ margin-bottom: 10px;+ padding-left: 40px+ }+ :where(li.w-list-item) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as List };diff --git a/packages/sdk-components-react/src/__generated__/markdown-embed.stories.tsx b/packages/sdk-components-react/src/__generated__/markdown-embed.stories.tsxnew file mode 100644index 0000000000..0ad8e91534--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/markdown-embed.stories.tsx@@ -0,0 +1,122 @@+import { Box as Box, MarkdownEmbed as MarkdownEmbed } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <MarkdownEmbed+ code={+ '# Styling Markdown with Markdown Embed\n\nMarkdown Embed allows styling of Markdown, which primarily comes from external data.\n\n## How to Use Markdown Embed\n\n- Every element is shown in the Navigator.\n- Apply styles and Tokens to each element.\n- Adjustments to elements apply universally within this embed, ensuring consistency across your content.\n\n---\n\n## This sample text contains all the elements that can be styled.\n\nAny elements that were not used above are used below.\n\n### Heading 3\n#### Heading 4\n##### Heading 5\n###### Heading 6\n\n[Links](#) connect your content to relevant resources.\n\n**Bold text** makes your important points stand out.\n\n*Italic text* is great for emphasizing terms.\n\n1. First Step\n2. Second Step\n\n\n\n> Capture attention with a powerful quote.\n\nUsing `console.log("Hello World");` will log to the console.\n\n| Header 1 | Header 2 | Header 3 |\n|------------|------------|------------|\n| Cell 1.1 | Cell 1.2 | Cell 1.3 |\n| Cell 2.1 | Cell 2.2 | Cell 2.3 |\n| Cell 3.1 | Cell 3.2 | Cell 3.3 |'+ }+ className={"w-markdown-embed"}+ ></MarkdownEmbed>+ </Box>+ );+};++export default {+ title: "Components/MarkdownEmbed",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(div.w-markdown-embed) {+ display: contents;+ white-space: normal;+ white-space-collapse: collapse+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as MarkdownEmbed };diff --git a/packages/sdk-components-react/src/__generated__/paragraph.stories.tsx b/packages/sdk-components-react/src/__generated__/paragraph.stories.tsxnew file mode 100644index 0000000000..12fa81fe11--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/paragraph.stories.tsx@@ -0,0 +1,120 @@+import { Box as Box, Paragraph as Paragraph } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Paragraph className={"w-paragraph"} />+ </Box>+ );+};++export default {+ title: "Components/Paragraph",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(p.w-paragraph) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Paragraph };diff --git a/packages/sdk-components-react/src/__generated__/radio-button.stories.tsx b/packages/sdk-components-react/src/__generated__/radio-button.stories.tsxnew file mode 100644index 0000000000..d1a9a57239--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/radio-button.stories.tsx@@ -0,0 +1,158 @@+import {+ Box as Box,+ Label as Label,+ RadioButton as RadioButton,+ Text as Text,+} from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Label className={"w-input-label"}>+ <RadioButton className={"w-radio"} />+ <Text tag={"span"} className={"w-text"}>+ {"Radio"}+ </Text>+ </Label>+ </Box>+ );+};++export default {+ title: "Components/RadioButton",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(label.w-input-label) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ display: block+ }+ :where(input.w-radio) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ margin-top: 0;+ margin-right: 0.5em;+ margin-bottom: 0;+ margin-left: 0;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: none;+ border-right-style: none;+ border-bottom-style: none;+ border-left-style: none+ }+ :where(div.w-text) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ min-height: 1em+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as RadioButton };diff --git a/packages/sdk-components-react/src/__generated__/select.stories.tsx b/packages/sdk-components-react/src/__generated__/select.stories.tsxnew file mode 100644index 0000000000..d192bc7e57--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/select.stories.tsx@@ -0,0 +1,141 @@+import { Box as Box, Select as Select, Option as Option } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Select className={"w-select"}>+ <Option+ label={"Please choose an option"}+ value={""}+ className={"w-option"}+ />+ <Option label={"Option A"} value={"a"} className={"w-option"} />+ <Option label={"Option B"} value={"b"} className={"w-option"} />+ <Option label={"Option C"} value={"c"} className={"w-option"} />+ </Select>+ </Box>+ );+};++export default {+ title: "Components/Select",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(option.w-option):checked {+ background-color: rgba(209, 209, 209, 1)+ }+ :where(select.w-select) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ display: block;+ margin: 0+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Select };diff --git a/packages/sdk-components-react/src/__generated__/text.stories.tsx b/packages/sdk-components-react/src/__generated__/text.stories.tsxnew file mode 100644index 0000000000..2ad723f786--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/text.stories.tsx@@ -0,0 +1,121 @@+import { Box as Box, Text as Text } from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Text className={"w-text"}>{"The text you can edit"}</Text>+ </Box>+ );+};++export default {+ title: "Components/Text",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(div.w-text) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ min-height: 1em+ }+}++ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Text };diff --git a/packages/sdk-components-react/src/__generated__/vimeo.stories.tsx b/packages/sdk-components-react/src/__generated__/vimeo.stories.tsxnew file mode 100644index 0000000000..9584d2285a--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/vimeo.stories.tsx@@ -0,0 +1,251 @@+import {+ Box as Box,+ Vimeo as Vimeo,+ VimeoPreviewImage as VimeoPreviewImage,+ VimeoSpinner as VimeoSpinner,+ HtmlEmbed as HtmlEmbed,+ VimeoPlayButton as VimeoPlayButton,+} from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <Vimeo className={"w-vimeo w-vimeo-1"}>+ <VimeoPreviewImage+ alt={"Vimeo video preview image"}+ sizes={"100vw"}+ optimize={true}+ className={"w-preview-image w-preview-image-1"}+ />+ <VimeoSpinner className={"w-spinner w-spinner-1"}>+ <HtmlEmbed+ code={+ '<svg xmlns="http://www.w3.org/2000/svg" id="e2CRglijn891" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 128 128" fill="currentColor" width="100%" height="100%" style="display: block;"><style>@keyframes e2CRglijn892_tr__tr{0%{transform:translate(64px,64px) rotate(90deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}50%{transform:translate(64px,64px) rotate(810deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}to{transform:translate(64px,64px) rotate(1530deg)}}@keyframes e2CRglijn892_s_p{0%,to{stroke:#39fbbb}25%{stroke:#4a4efa}50%{stroke:#e63cfe}75%{stroke:#ffae3c}}@keyframes e2CRglijn892_s_do{0%{stroke-dashoffset:251.89}2.5%,52.5%{stroke-dashoffset:263.88;animation-timing-function:cubic-bezier(.42,0,.58,1)}25%,75%{stroke-dashoffset:131.945}to{stroke-dashoffset:251.885909}}#e2CRglijn892_tr{animation:e2CRglijn892_tr__tr 3000ms linear infinite normal forwards}#e2CRglijn892{animation-name:e2CRglijn892_s_p,e2CRglijn892_s_do;animation-duration:3000ms;animation-fill-mode:forwards;animation-timing-function:linear;animation-direction:normal;animation-iteration-count:infinite}</style><g id="e2CRglijn892_tr" transform="translate(64,64) rotate(90)"><circle id="e2CRglijn892" r="42" fill="none" stroke="#39fbbb" stroke-dasharray="263.89" stroke-dashoffset="251.89" stroke-linecap="round" stroke-width="16" transform="scale(-1,1) translate(0,0)"/></g></svg>'+ }+ className={"w-html-embed"}+ />+ </VimeoSpinner>+ <VimeoPlayButton+ aria-label={"Play button"}+ className={"w-play-button w-play-button-1"}+ >+ <Box aria-hidden={true} className={"w-box w-play-icon"}>+ <HtmlEmbed+ code={+ '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="m4 2 9.333 6L4 14V2Z"/></svg>'+ }+ className={"w-html-embed"}+ />+ </Box>+ </VimeoPlayButton>+ </Vimeo>+ </Box>+ );+};++export default {+ title: "Components/Vimeo",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(div.w-html-embed) {+ display: contents;+ white-space: normal;+ white-space-collapse: collapse+ }+ :where(div.w-vimeo) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(button.w-play-button) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(img.w-preview-image) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ max-width: 100%;+ display: block;+ height: auto+ }+ :where(div.w-spinner) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+}+@media all {+ .w-vimeo-1 {+ position: relative;+ aspect-ratio: 640/360;+ width: 100%+ }+ .w-preview-image-1 {+ position: absolute;+ object-fit: cover;+ object-position: cover;+ width: 100%;+ height: 100%;+ border-top-left-radius: 20px;+ border-top-right-radius: 20px;+ border-bottom-right-radius: 20px;+ border-bottom-left-radius: 20px+ }+ .w-spinner-1 {+ position: absolute;+ top: 50%;+ left: 50%;+ width: 70px;+ height: 70px;+ margin-top: -35px;+ margin-left: -35px+ }+ .w-play-button-1 {+ position: absolute;+ width: 140px;+ height: 80px;+ top: 50%;+ left: 50%;+ margin-top: -40px;+ margin-left: -70px;+ display: flex;+ align-items: center;+ justify-content: center;+ border-top-style: none;+ border-right-style: none;+ border-bottom-style: none;+ border-left-style: none;+ border-top-left-radius: 5px;+ border-top-right-radius: 5px;+ border-bottom-right-radius: 5px;+ border-bottom-left-radius: 5px;+ cursor: pointer;+ background-color: rgba(18, 18, 18, 1);+ color: rgba(255, 255, 255, 1)+ }+ .w-play-button-1:hover {+ background-color: rgba(0, 173, 239, 1)+ }+ .w-play-icon {+ width: 60px;+ height: 60px+ }+}+ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as Vimeo };diff --git a/packages/sdk-components-react/src/__generated__/you-tube.stories.tsx b/packages/sdk-components-react/src/__generated__/you-tube.stories.tsxnew file mode 100644index 0000000000..f0a5771b07--- /dev/null+++ b/packages/sdk-components-react/src/__generated__/you-tube.stories.tsx@@ -0,0 +1,251 @@+import {+ Box as Box,+ YouTube as YouTube,+ VimeoPreviewImage as VimeoPreviewImage,+ VimeoSpinner as VimeoSpinner,+ HtmlEmbed as HtmlEmbed,+ VimeoPlayButton as VimeoPlayButton,+} from "../components";++const Component = () => {+ return (+ <Box className={"w-box"}>+ <YouTube className={"w-you-tube w-you-tube-1"}>+ <VimeoPreviewImage+ alt={"Vimeo video preview image"}+ sizes={"100vw"}+ optimize={true}+ className={"w-preview-image w-preview-image-1"}+ />+ <VimeoSpinner className={"w-spinner w-spinner-1"}>+ <HtmlEmbed+ code={+ '<svg xmlns="http://www.w3.org/2000/svg" id="e2CRglijn891" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 128 128" fill="currentColor" width="100%" height="100%" style="display: block;"><style>@keyframes e2CRglijn892_tr__tr{0%{transform:translate(64px,64px) rotate(90deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}50%{transform:translate(64px,64px) rotate(810deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}to{transform:translate(64px,64px) rotate(1530deg)}}@keyframes e2CRglijn892_s_p{0%,to{stroke:#39fbbb}25%{stroke:#4a4efa}50%{stroke:#e63cfe}75%{stroke:#ffae3c}}@keyframes e2CRglijn892_s_do{0%{stroke-dashoffset:251.89}2.5%,52.5%{stroke-dashoffset:263.88;animation-timing-function:cubic-bezier(.42,0,.58,1)}25%,75%{stroke-dashoffset:131.945}to{stroke-dashoffset:251.885909}}#e2CRglijn892_tr{animation:e2CRglijn892_tr__tr 3000ms linear infinite normal forwards}#e2CRglijn892{animation-name:e2CRglijn892_s_p,e2CRglijn892_s_do;animation-duration:3000ms;animation-fill-mode:forwards;animation-timing-function:linear;animation-direction:normal;animation-iteration-count:infinite}</style><g id="e2CRglijn892_tr" transform="translate(64,64) rotate(90)"><circle id="e2CRglijn892" r="42" fill="none" stroke="#39fbbb" stroke-dasharray="263.89" stroke-dashoffset="251.89" stroke-linecap="round" stroke-width="16" transform="scale(-1,1) translate(0,0)"/></g></svg>'+ }+ className={"w-html-embed"}+ />+ </VimeoSpinner>+ <VimeoPlayButton+ aria-label={"Play button"}+ className={"w-play-button w-play-button-1"}+ >+ <Box aria-hidden={true} className={"w-box w-play-icon"}>+ <HtmlEmbed+ code={+ '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="m4 2 9.333 6L4 14V2Z"/></svg>'+ }+ className={"w-html-embed"}+ />+ </Box>+ </VimeoPlayButton>+ </YouTube>+ </Box>+ );+};++export default {+ title: "Components/YouTube",+};++const Story = {+ render() {+ return (+ <>+ <style>+ {`+@media all {+ :where(div.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(address.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(article.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(aside.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(figure.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(footer.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(header.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(main.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(nav.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(section.w-box) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(div.w-html-embed) {+ display: contents;+ white-space: normal;+ white-space-collapse: collapse+ }+ :where(button.w-play-button) {+ font-family: inherit;+ font-size: 100%;+ line-height: 1.15;+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(img.w-preview-image) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px;+ max-width: 100%;+ display: block;+ height: auto+ }+ :where(div.w-spinner) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+ :where(div.w-you-tube) {+ box-sizing: border-box;+ border-top-width: 1px;+ border-right-width: 1px;+ border-bottom-width: 1px;+ border-left-width: 1px;+ outline-width: 1px+ }+}+@media all {+ .w-you-tube-1 {+ position: relative;+ aspect-ratio: 640/360;+ width: 100%+ }+ .w-preview-image-1 {+ position: absolute;+ object-fit: cover;+ object-position: cover;+ width: 100%;+ height: 100%;+ border-top-left-radius: 20px;+ border-top-right-radius: 20px;+ border-bottom-right-radius: 20px;+ border-bottom-left-radius: 20px+ }+ .w-spinner-1 {+ position: absolute;+ top: 50%;+ left: 50%;+ width: 70px;+ height: 70px;+ margin-top: -35px;+ margin-left: -35px+ }+ .w-play-button-1 {+ position: absolute;+ width: 140px;+ height: 80px;+ top: 50%;+ left: 50%;+ margin-top: -40px;+ margin-left: -70px;+ display: flex;+ align-items: center;+ justify-content: center;+ border-top-style: none;+ border-right-style: none;+ border-bottom-style: none;+ border-left-style: none;+ border-top-left-radius: 5px;+ border-top-right-radius: 5px;+ border-bottom-right-radius: 5px;+ border-bottom-left-radius: 5px;+ cursor: pointer;+ background-color: rgba(18, 18, 18, 1);+ color: rgba(255, 255, 255, 1)+ }+ .w-play-button-1:hover {+ background-color: rgba(0, 173, 239, 1)+ }+ .w-play-icon {+ width: 60px;+ height: 60px+ }+}+ `}+ </style>+ <Component />+ </>+ );+ },+};++export { Story as YouTube };diff --git a/packages/sdk-components-react/src/blockquote.stories.tsx b/packages/sdk-components-react/src/blockquote.stories.tsxdeleted file mode 100644index b174c3d9b6..0000000000--- a/packages/sdk-components-react/src/blockquote.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Blockquote as BlockquotePrimitive } from "./blockquote";--export default {- title: "Components/Blockquote",- component: BlockquotePrimitive,-} satisfies Meta<typeof BlockquotePrimitive>;--export const Blockquote: StoryObj<typeof BlockquotePrimitive> = {- args: {- children: "Blockquote",- },-};diff --git a/packages/sdk-components-react/src/body.stories.tsx b/packages/sdk-components-react/src/body.stories.tsxdeleted file mode 100644index 0099666f3d..0000000000--- a/packages/sdk-components-react/src/body.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Body as BodyPrimitive } from "./body";--export default {- title: "Components/Body",- component: BodyPrimitive,-} satisfies Meta<typeof BodyPrimitive>;--export const Body: StoryObj<typeof BodyPrimitive> = {- args: {- children: "Body",- },-};diff --git a/packages/sdk-components-react/src/bold.stories.tsx b/packages/sdk-components-react/src/bold.stories.tsxdeleted file mode 100644index 5176d41155..0000000000--- a/packages/sdk-components-react/src/bold.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Bold as BoldPrimitive } from "./bold";--export default {- title: "Components/Bold",- component: BoldPrimitive,-} satisfies Meta<typeof BoldPrimitive>;--export const Bold: StoryObj<typeof BoldPrimitive> = {- args: {- children: "some bold text",- },-};diff --git a/packages/sdk-components-react/src/box.stories.tsx b/packages/sdk-components-react/src/box.stories.tsxdeleted file mode 100644index 349f33c4a3..0000000000--- a/packages/sdk-components-react/src/box.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Box as BoxPrimitive } from "./box";--export default {- title: "Components/Box",- component: BoxPrimitive,-} satisfies Meta<typeof BoxPrimitive>;--export const Box: StoryObj<typeof BoxPrimitive> = {- args: {- children: "Box",- },-};diff --git a/packages/sdk-components-react/src/button.stories.tsx b/packages/sdk-components-react/src/button.stories.tsxdeleted file mode 100644index 3e436c063f..0000000000--- a/packages/sdk-components-react/src/button.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Button as ButtonPrimitive } from "./button";--export default {- title: "Components/Button",- component: ButtonPrimitive,-} satisfies Meta<typeof ButtonPrimitive>;--export const Button: StoryObj<typeof ButtonPrimitive> = {- args: {- children: "Click me",- },-};diff --git a/packages/sdk-components-react/src/code-text.stories.tsx b/packages/sdk-components-react/src/code-text.stories.tsxdeleted file mode 100644index f8d47bc5b0..0000000000--- a/packages/sdk-components-react/src/code-text.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { CodeText as CodeTextPrimitive } from "./code-text";--export default {- title: "Components/CodeText",- component: CodeTextPrimitive,-} satisfies Meta<typeof CodeTextPrimitive>;--export const CodeText: StoryObj<typeof CodeTextPrimitive> = {- args: {- children: "alert('Hello World!')",- },-};diff --git a/packages/sdk-components-react/src/form.stories.tsx b/packages/sdk-components-react/src/form.stories.tsxdeleted file mode 100644index 2bfa86ccd4..0000000000--- a/packages/sdk-components-react/src/form.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Form as FormPrimitive } from "./form";--export default {- title: "Components/Form",- component: FormPrimitive,-} satisfies Meta<typeof FormPrimitive>;--export const Form: StoryObj<typeof FormPrimitive> = {- args: {- children: "Form",- },-};diff --git a/packages/sdk-components-react/src/heading.stories.tsx b/packages/sdk-components-react/src/heading.stories.tsxdeleted file mode 100644index 9503ba163a..0000000000--- a/packages/sdk-components-react/src/heading.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Heading as HeadingPrimitive } from "./heading";--export default {- title: "Components/Heading",- component: HeadingPrimitive,-} satisfies Meta<typeof HeadingPrimitive>;--export const Heading: StoryObj<typeof HeadingPrimitive> = {- args: {- children: "Heading",- },-};diff --git a/packages/sdk-components-react/src/html-embed.stories.tsx b/packages/sdk-components-react/src/html-embed.stories.tsxdeleted file mode 100644index 39015e87cd..0000000000--- a/packages/sdk-components-react/src/html-embed.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { HtmlEmbed as HtmlEmbedPrimitive } from "./html-embed";--export default {- title: "Components/HtmlEmbed",- component: HtmlEmbedPrimitive,-} satisfies Meta<typeof HtmlEmbedPrimitive>;--export const HtmlEmbed: StoryObj<typeof HtmlEmbedPrimitive> = {- args: {- code: "<strong>custom code</strong>",- },-};diff --git a/packages/sdk-components-react/src/image.stories.tsx b/packages/sdk-components-react/src/image.stories.tsxdeleted file mode 100644index 7bc1cc27e2..0000000000--- a/packages/sdk-components-react/src/image.stories.tsx+++ /dev/null@@ -1,9 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Image as ImagePrimitive } from "./image";--export default {- title: "Components/Image",- component: ImagePrimitive,-} satisfies Meta<typeof ImagePrimitive>;--export const Image: StoryObj<typeof ImagePrimitive> = {};diff --git a/packages/sdk-components-react/src/input.stories.tsx b/packages/sdk-components-react/src/input.stories.tsxdeleted file mode 100644index 3e243316d3..0000000000--- a/packages/sdk-components-react/src/input.stories.tsx+++ /dev/null@@ -1,11 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Input as InputPrimitive } from "./input";--export default {- title: "Components/Input",- component: InputPrimitive,-} satisfies Meta<typeof InputPrimitive>;--export const Input: StoryObj<typeof InputPrimitive> = {- args: {},-};diff --git a/packages/sdk-components-react/src/italic.stories.tsx b/packages/sdk-components-react/src/italic.stories.tsxdeleted file mode 100644index c5d00f1b6a..0000000000--- a/packages/sdk-components-react/src/italic.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Italic as ItalicPrimitive } from "./italic";--export default {- title: "Components/Italic",- component: ItalicPrimitive,-} satisfies Meta<typeof ItalicPrimitive>;--export const Italic: StoryObj<typeof ItalicPrimitive> = {- args: {- children: "some italic text",- },-};diff --git a/packages/sdk-components-react/src/link.stories.tsx b/packages/sdk-components-react/src/link.stories.tsxdeleted file mode 100644index 7f7983bc52..0000000000--- a/packages/sdk-components-react/src/link.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Link as LinkPrimitive } from "./link";--export default {- title: "Components/Link",- component: LinkPrimitive,-} satisfies Meta<typeof LinkPrimitive>;--export const Link: StoryObj<typeof LinkPrimitive> = {- args: {- children: "Link",- },-};diff --git a/packages/sdk-components-react/src/list-item.stories.tsx b/packages/sdk-components-react/src/list-item.stories.tsxdeleted file mode 100644index af3bce36e2..0000000000--- a/packages/sdk-components-react/src/list-item.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { ListItem as ListItemPrimitive } from "./list-item";--export default {- title: "Components/List Item",- component: ListItemPrimitive,-} satisfies Meta<typeof ListItemPrimitive>;--export const ListItem: StoryObj<typeof ListItemPrimitive> = {- args: {- children: "ListItem",- },-};diff --git a/packages/sdk-components-react/src/list.stories.tsx b/packages/sdk-components-react/src/list.stories.tsxdeleted file mode 100644index be2c2cfdbb..0000000000--- a/packages/sdk-components-react/src/list.stories.tsx+++ /dev/null@@ -1,14 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { List as ListPrimitive } from "./list";-import { ListItem } from "./list-item";--export default {- title: "Components/List",- component: ListPrimitive,-} satisfies Meta<typeof ListPrimitive>;--export const List: StoryObj<typeof ListPrimitive> = {- args: {- children: <ListItem>List</ListItem>,- },-};diff --git a/packages/sdk-components-react/src/paragraph.stories.tsx b/packages/sdk-components-react/src/paragraph.stories.tsxdeleted file mode 100644index c8b960ae53..0000000000--- a/packages/sdk-components-react/src/paragraph.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Paragraph as ParagraphPrimitive } from "./paragraph";--export default {- title: "Components/Paragraph",- component: ParagraphPrimitive,-} satisfies Meta<typeof ParagraphPrimitive>;--export const Paragraph: StoryObj<typeof ParagraphPrimitive> = {- args: {- children: "paragraph",- },-};diff --git a/packages/sdk-components-react/src/rich-text-link.stories.tsx b/packages/sdk-components-react/src/rich-text-link.stories.tsxdeleted file mode 100644index bac51afe9f..0000000000--- a/packages/sdk-components-react/src/rich-text-link.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { RichTextLink as LinkPrimitive } from "./rich-text-link";--export default {- title: "Components/RichTextLink",- component: LinkPrimitive,-} satisfies Meta<typeof LinkPrimitive>;--export const RichTextLink: StoryObj<typeof LinkPrimitive> = {- args: {- children: "RichTextLink",- },-};diff --git a/packages/sdk-components-react/src/separator.stories.tsx b/packages/sdk-components-react/src/separator.stories.tsxdeleted file mode 100644index 87a914f971..0000000000--- a/packages/sdk-components-react/src/separator.stories.tsx+++ /dev/null@@ -1,9 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Separator as SeparatorPrimitive } from "./separator";--export default {- title: "Components/Separator",- component: SeparatorPrimitive,-} satisfies Meta<typeof SeparatorPrimitive>;--export const Separator: StoryObj<typeof SeparatorPrimitive> = {};diff --git a/packages/sdk-components-react/src/slot.stories.tsx b/packages/sdk-components-react/src/slot.stories.tsxdeleted file mode 100644index 4f2569e785..0000000000--- a/packages/sdk-components-react/src/slot.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Slot as SlotPrimitive } from "./slot";--export default {- title: "Components/Slot",- component: SlotPrimitive,-} satisfies Meta<typeof SlotPrimitive>;--export const Slot: StoryObj<typeof SlotPrimitive> = {- args: {- children: "Slot",- },-};diff --git a/packages/sdk-components-react/src/span.stories.tsx b/packages/sdk-components-react/src/span.stories.tsxdeleted file mode 100644index b0e6fe3dd2..0000000000--- a/packages/sdk-components-react/src/span.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Span as SpanPrimitive } from "./span";--export default {- title: "Components/Span",- component: SpanPrimitive,-} satisfies Meta<typeof SpanPrimitive>;--export const Span: StoryObj<typeof SpanPrimitive> = {- args: {- children: "some span text",- },-};diff --git a/packages/sdk-components-react/src/subscript.stories.tsx b/packages/sdk-components-react/src/subscript.stories.tsxdeleted file mode 100644index 9a81557140..0000000000--- a/packages/sdk-components-react/src/subscript.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Subscript as SubscriptPrimitive } from "./subscript";--export default {- title: "Components/Subscript",- component: SubscriptPrimitive,-} satisfies Meta<typeof SubscriptPrimitive>;--export const Subscript: StoryObj<typeof SubscriptPrimitive> = {- args: {- children: "some subscript text",- },-};diff --git a/packages/sdk-components-react/src/superscript.stories.tsx b/packages/sdk-components-react/src/superscript.stories.tsxdeleted file mode 100644index 327c5439de..0000000000--- a/packages/sdk-components-react/src/superscript.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Superscript as SuperscriptPrimitive } from "./superscript";--export default {- title: "Components/Superscript",- component: SuperscriptPrimitive,-} satisfies Meta<typeof SuperscriptPrimitive>;--export const Superscript: StoryObj<typeof SuperscriptPrimitive> = {- args: {- children: "some superscript text",- },-};diff --git a/packages/sdk-components-react/src/text.stories.tsx b/packages/sdk-components-react/src/text.stories.tsxdeleted file mode 100644index e85e108b0e..0000000000--- a/packages/sdk-components-react/src/text.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { Text as TextPrimitive } from "./text";--export default {- title: "Components/Text",- component: TextPrimitive,-} satisfies Meta<typeof TextPrimitive>;--export const Text: StoryObj<typeof TextPrimitive> = {- args: {- children: "text",- },-};diff --git a/packages/sdk-components-react/src/time.stories.tsx b/packages/sdk-components-react/src/time.stories.tsxdeleted file mode 100644index 68762c00b5..0000000000--- a/packages/sdk-components-react/src/time.stories.tsx+++ /dev/null@@ -1,55 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";--import { Time } from "./time";--const meta: Meta<typeof Time> = {- title: "Components/Time",- component: Time,-};--export default meta;--type Story = StoryObj<typeof Time>;--export const Default: Story = {- args: {- language: "en",- country: "US",- dateStyle: "full",- timeStyle: "full",- datetime: "2024-05-16T12:00:00Z",- },-};--export const OptionsNotDefined: Story = {- args: {- datetime: "2024-05-16T12:00:00Z",- },-};--export const NotDefined: Story = {- args: {},-};--export const InvalidDateTime: Story = {- args: {- datetime: "Any Text Instead Of Date Time",- },-};--export const InvalidOptionTypes: Story = {- args: {- language: {} as "en",- country: {} as "US",- dateStyle: {} as "full",- timeStyle: {} as "full",-- datetime: "2024-05-16T12:00:00Z",- },-};--export const InvalidDateTimeType: Story = {- args: {- datetime: {} as "2024-05-16T12:00:00Z",- },-};diff --git a/packages/sdk-components-react/src/vimeo-play-button.stories.tsx b/packages/sdk-components-react/src/vimeo-play-button.stories.tsxdeleted file mode 100644index ea755d553b..0000000000--- a/packages/sdk-components-react/src/vimeo-play-button.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { VimeoPlayButton as VimeoPlayButtonPrimitive } from "./vimeo-play-button";--export default {- title: "Components/Vimeo Play Button",- component: VimeoPlayButtonPrimitive,-} satisfies Meta<typeof VimeoPlayButtonPrimitive>;--export const VimeoPlayButton: StoryObj<typeof VimeoPlayButtonPrimitive> = {- args: {- style: { minHeight: 20, outline: "1px solid black" },- },-};diff --git a/packages/sdk-components-react/src/vimeo-preview-image.stories.tsx b/packages/sdk-components-react/src/vimeo-preview-image.stories.tsxdeleted file mode 100644index 292d5f1d2d..0000000000--- a/packages/sdk-components-react/src/vimeo-preview-image.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { VimeoPreviewImage as VimeoPreviewImagePrimitive } from "./vimeo-preview-image";--export default {- title: "Components/Vimeo Preview Image",- component: VimeoPreviewImagePrimitive,-} satisfies Meta<typeof VimeoPreviewImagePrimitive>;--export const VimeoPreviewImage: StoryObj<typeof VimeoPreviewImagePrimitive> = {- args: {- style: { minHeight: 20, outline: "1px solid black" },- },-};diff --git a/packages/sdk-components-react/src/vimeo-spinner.stories.tsx b/packages/sdk-components-react/src/vimeo-spinner.stories.tsxdeleted file mode 100644index c705af1f44..0000000000--- a/packages/sdk-components-react/src/vimeo-spinner.stories.tsx+++ /dev/null@@ -1,13 +0,0 @@-import type { Meta, StoryObj } from "@storybook/react";-import { VimeoSpinner as VimeoSpinnerPrimitive } from "./vimeo-spinner";--export default {- title: "Components/Vimeo Spinner",- component: VimeoSpinnerPrimitive,-} satisfies Meta<typeof VimeoSpinnerPrimitive>;--export const VimeoSpinner: StoryObj<typeof VimeoSpinnerPrimitive> = {- args: {- style: { minHeight: 20, outline: "1px solid black" },- },-};diff --git a/packages/sdk-components-react/src/vimeo.stories.tsx b/packages/sdk-components-react/src/vimeo.stories.tsxdeleted file mode 100644index 785648b29e..0000000000--- a/packages/sdk-components-react/src/vimeo.stories.tsx+++ /dev/null@@ -1,440 +0,0 @@-import { VimeoPreviewImage } from "./vimeo-preview-image";-import { Box } from "./box";-import { HtmlEmbed } from "./html-embed";-import { VimeoPlayButton } from "./vimeo-play-button";-import { Vimeo } from "./vimeo";--const Component = () => (- <Vimeo- data-ws-id="ZkDuD4HlHP3pDdp0SXJuh"- data-ws-component="Vimeo"- url={"https://player.vimeo.com/video/831343124"}- showPreview={true}- className="ca1m5u0 ciuvvr7 cuk1bdz"- >- <VimeoPreviewImage- data-ws-id="wxd8Wul8dl2yPRFFedNn6"- data-ws-component="VimeoPreviewImage"- alt={"Vimeo video preview image"}- sizes={"100vw"}- src={"/home_wsKvRSqvkajPPBeycZ-C8.svg"}- className="c1eccbi0 cc32szi cuk1bdz c1ge5ofh c1fwh0y5 ch160p4 c1jxoq3x cewch87 c1la265j"- />- <Box- data-ws-id="CnbJrVYAMQ7aDqemVdWI5"- data-ws-component="Box"- className="c1eccbi0 ce5jzw0 cq3eebu c1319rdz c1x7j4n5 c176tfq4 c1qg633k"- >- <HtmlEmbed- data-ws-id="JeL4m1QcrRyK7gPyN3p5j"- data-ws-component="HtmlEmbed"- code={- '<svg xmlns="http://www.w3.org/2000/svg" id="e2CRglijn891" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 128 128" fill="currentColor" width="100%" height="100%" style="display: block;"><style>@keyframes e2CRglijn892_tr__tr{0%{transform:translate(64px,64px) rotate(90deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}50%{transform:translate(64px,64px) rotate(810deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}to{transform:translate(64px,64px) rotate(1530deg)}}@keyframes e2CRglijn892_s_p{0%,to{stroke:#39fbbb}25%{stroke:#4a4efa}50%{stroke:#e63cfe}75%{stroke:#ffae3c}}@keyframes e2CRglijn892_s_do{0%{stroke-dashoffset:251.89}2.5%,52.5%{stroke-dashoffset:263.88;animation-timing-function:cubic-bezier(.42,0,.58,1)}25%,75%{stroke-dashoffset:131.945}to{stroke-dashoffset:251.885909}}#e2CRglijn892_tr{animation:e2CRglijn892_tr__tr 3000ms linear infinite normal forwards}#e2CRglijn892{animation-name:e2CRglijn892_s_p,e2CRglijn892_s_do;animation-duration:3000ms;animation-fill-mode:forwards;animation-timing-function:linear;animation-direction:normal;animation-iteration-count:infinite}</style><g id="e2CRglijn892_tr" transform="translate(64,64) rotate(90)"><circle id="e2CRglijn892" r="42" fill="none" stroke="#39fbbb" stroke-dasharray="263.89" stroke-dashoffset="251.89" stroke-linecap="round" stroke-width="16" transform="scale(-1,1) translate(0,0)"/></g></svg>'- }- />- </Box>- <VimeoPlayButton- data-ws-id="9hBBPGSf7hB30ZkSHKjNd"- data-ws-component="VimeoPlayButton"- aria-label={"Play button"}- className="c1eccbi0 c1yx3ait c1scl4ay ce5jzw0 cq3eebu cxar3by c1fiqkhd c1b095zn cyw79s9 c2f7s8e c9bs64c c6lou2r c16c73ai c1fisnnh c82rye8 c1xaktbd c1xplc5b c5admkk ccn3fhu cyn2bny c1xs2zvh c1be0m8p"- >- <Box- data-ws-id="D__QElBIIQtamhJN3a4FI"- data-ws-component="Box"- aria-hidden={"true"}- className="c14af118 c1xa5m0w"- >- <HtmlEmbed- data-ws-id="iEc6hab-WardXZc5P9wJu"- data-ws-component="HtmlEmbed"- code={- '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M4.766 5.765c0-.725 0-1.088.178-1.288a.93.93 0 0 1 .648-.294c.294-.015.65.186 1.359.588l9.234 5.235c.586.332.88.498.982.708.09.183.09.389 0 .572-.102.21-.396.376-.982.708l-9.234 5.235c-.71.402-1.065.603-1.359.588a.93.93 0 0 1-.648-.294c-.178-.2-.178-.563-.178-1.288V5.765Z"/></svg>'- }- />- </Box>- </VimeoPlayButton>- </Vimeo>-);--const Story = {- render() {- return (- <>- <style>- {`-html {- margin: 0;- display: grid;- min-height: 100%;-}-@media all {- body:where([data-ws-component="Body"]) {- margin-top: 0;- margin-right: 0;- margin-bottom: 0;- margin-left: 0;- font-family: Arial, Roboto, sans-serif;- font-size: 16px;- line-height: 1.2;- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;- }- h1:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h2:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h3:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h4:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h5:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h6:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- a:where([data-ws-component="Link"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- min-height: 1em;- display: inline-block;- }- div:where([data-ws-component="Vimeo"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- img:where([data-ws-component="VimeoPreviewImage"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- max-width: 100%;- display: block;- }- div:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- address:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- article:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- aside:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- figure:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- footer:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- header:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- main:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- nav:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- section:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- button:where([data-ws-component="VimeoPlayButton"]) {- font-family: inherit;- font-size: 100%;- line-height: 1.15;- margin-top: 0;- margin-right: 0;- margin-bottom: 0;- margin-left: 0;- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- text-transform: none;- }-}-@media all {- .c11x2bo2 {- font-size: 4em;- }- .cykwawo {- font-family: "Cormorant Garamond", sans-serif;- }- .c1qmshyz {- background-attachment: scroll, scroll, scroll;- }- .c12wnxll {- -webkit-background-clip: border-box, border-box, border-box;- }- .c1hzshzo {- background-blend-mode: normal, normal, normal;- }- .c136ve95 {- background-image: linear-gradient(- rgba(255, 0, 0, 0.2),- rgba(0, 255, 255, 0.2)- ),- url("/home_wsKvRSqvkajPPBeycZ-C8.svg"),- linear-gradient(to right, rgba(255, 0, 255, 0.2), rgba(0, 255, 0, 0.2));- }- .cyttr60 {- background-origin: padding-box, padding-box, padding-box;- }- .c1cywb85 {- background-position: 0%, 0%, 0%;- }- .c187ui6a {- background-repeat: repeat, repeat, repeat;- }- .c1azrtl7 {- background-size: auto, auto, auto;- }- .c1vynykc {- margin-top: 15px;- }- .c122cnm9 {- margin-bottom: 15px;- }- .c15qd3jj {- margin-right: 15px;- }- .c1jp5sfs {- margin-left: 15px;- }- .ca1m5u0 {- position: relative;- }- .ciuvvr7 {- aspect-ratio: 640/360;- }- .cuk1bdz {- width: 100%;- }- .c1eccbi0 {- position: absolute;- }- .cc32szi {- object-fit: cover;- }- .c1ge5ofh {- height: 100%;- }- .c1fwh0y5 {- border-top-left-radius: 20px;- }- .ch160p4 {- border-top-right-radius: 20px;- }- .c1jxoq3x {- border-bottom-left-radius: 20px;- }- .cewch87 {- border-bottom-right-radius: 20px;- }- .c1la265j {- object-position: cover;- }- .ce5jzw0 {- top: 50%;- }- .cq3eebu {- left: 50%;- }- .c1319rdz {- width: 70px;- }- .c1x7j4n5 {- height: 70px;- }- .c176tfq4 {- margin-top: -35px;- }- .c1qg633k {- margin-left: -35px;- }- .c1yx3ait {- width: 140px;- }- .c1scl4ay {- height: 80px;- }- .cxar3by {- margin-top: -40px;- }- .c1fiqkhd {- margin-left: -70px;- }- .c1b095zn {- display: flex;- }- .cyw79s9 {- align-items: center;- }- .c2f7s8e {- justify-content: center;- }- .c9bs64c {- border-top-style: none;- }- .c6lou2r {- border-right-style: none;- }- .c16c73ai {- border-bottom-style: none;- }- .c1fisnnh {- border-left-style: none;- }- .c82rye8 {- border-top-left-radius: 5px;- }- .c1xaktbd {- border-top-right-radius: 5px;- }- .c1xplc5b {- border-bottom-left-radius: 5px;- }- .c5admkk {- border-bottom-right-radius: 5px;- }- .ccn3fhu {- cursor: pointer;- }- .cyn2bny {- background-color: rgba(18, 18, 18, 1);- }- .c1xs2zvh {- color: rgba(255, 255, 255, 1);- }- .c1be0m8p:hover {- background-color: rgba(0, 173, 239, 1);- }- .c14af118 {- width: 60px;- }- .c1xa5m0w {- height: 60px;- }-}-- `}- </style>- <Component />- </>- );- },-};--export { Story as Vimeo };--export default {- title: "Components/Vimeo",-};diff --git a/packages/sdk-components-react/src/webhook-form.tsx b/packages/sdk-components-react/src/webhook-form.tsxindex e20e4faa79..ffd5d984e0 100644--- a/packages/sdk-components-react/src/webhook-form.tsx+++ b/packages/sdk-components-react/src/webhook-form.tsx@@ -7,6 +7,7 @@ type Props = ComponentProps<"form"> & {| "text/plain";/** Use this property to reveal the Success and Error states on the canvas so they can be styled. The Initial state is displayed when the page first opens. The Success and Error states are displayed depending on whether the Form submits successfully or unsuccessfully. */state?: "initial" | "success" | "error";+ onStateChange: (state: "initial" | "success" | "error") => void;};export const WebhookForm = forwardRef<ElementRef<"form">, Props>(diff --git a/packages/sdk-components-react/src/youtube.stories.tsx b/packages/sdk-components-react/src/youtube.stories.tsxdeleted file mode 100644index 8a817fa374..0000000000--- a/packages/sdk-components-react/src/youtube.stories.tsx+++ /dev/null@@ -1,440 +0,0 @@-import { VimeoPreviewImage } from "./vimeo-preview-image";-import { Box } from "./box";-import { HtmlEmbed } from "./html-embed";-import { VimeoPlayButton } from "./vimeo-play-button";-import { YouTube } from "./youtube";--const Component = () => (- <YouTube- data-ws-id="ZkDuD4HlHP3pDdp0SXJuh"- data-ws-component="Vimeo"- url={"https://www.youtube.com/embed/dQw4w9WgXcQ"}- showPreview={true}- className="ca1m5u0 ciuvvr7 cuk1bdz"- >- <VimeoPreviewImage- data-ws-id="wxd8Wul8dl2yPRFFedNn6"- data-ws-component="VimeoPreviewImage"- alt={"Vimeo video preview image"}- sizes={"100vw"}- src={"/home_wsKvRSqvkajPPBeycZ-C8.svg"}- className="c1eccbi0 cc32szi cuk1bdz c1ge5ofh c1fwh0y5 ch160p4 c1jxoq3x cewch87 c1la265j"- />- <Box- data-ws-id="CnbJrVYAMQ7aDqemVdWI5"- data-ws-component="Box"- className="c1eccbi0 ce5jzw0 cq3eebu c1319rdz c1x7j4n5 c176tfq4 c1qg633k"- >- <HtmlEmbed- data-ws-id="JeL4m1QcrRyK7gPyN3p5j"- data-ws-component="HtmlEmbed"- code={- '<svg xmlns="http://www.w3.org/2000/svg" id="e2CRglijn891" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 128 128" fill="currentColor" width="100%" height="100%" style="display: block;"><style>@keyframes e2CRglijn892_tr__tr{0%{transform:translate(64px,64px) rotate(90deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}50%{transform:translate(64px,64px) rotate(810deg);animation-timing-function:cubic-bezier(.42,0,.58,1)}to{transform:translate(64px,64px) rotate(1530deg)}}@keyframes e2CRglijn892_s_p{0%,to{stroke:#39fbbb}25%{stroke:#4a4efa}50%{stroke:#e63cfe}75%{stroke:#ffae3c}}@keyframes e2CRglijn892_s_do{0%{stroke-dashoffset:251.89}2.5%,52.5%{stroke-dashoffset:263.88;animation-timing-function:cubic-bezier(.42,0,.58,1)}25%,75%{stroke-dashoffset:131.945}to{stroke-dashoffset:251.885909}}#e2CRglijn892_tr{animation:e2CRglijn892_tr__tr 3000ms linear infinite normal forwards}#e2CRglijn892{animation-name:e2CRglijn892_s_p,e2CRglijn892_s_do;animation-duration:3000ms;animation-fill-mode:forwards;animation-timing-function:linear;animation-direction:normal;animation-iteration-count:infinite}</style><g id="e2CRglijn892_tr" transform="translate(64,64) rotate(90)"><circle id="e2CRglijn892" r="42" fill="none" stroke="#39fbbb" stroke-dasharray="263.89" stroke-dashoffset="251.89" stroke-linecap="round" stroke-width="16" transform="scale(-1,1) translate(0,0)"/></g></svg>'- }- />- </Box>- <VimeoPlayButton- data-ws-id="9hBBPGSf7hB30ZkSHKjNd"- data-ws-component="VimeoPlayButton"- aria-label={"Play button"}- className="c1eccbi0 c1yx3ait c1scl4ay ce5jzw0 cq3eebu cxar3by c1fiqkhd c1b095zn cyw79s9 c2f7s8e c9bs64c c6lou2r c16c73ai c1fisnnh c82rye8 c1xaktbd c1xplc5b c5admkk ccn3fhu cyn2bny c1xs2zvh c1be0m8p"- >- <Box- data-ws-id="D__QElBIIQtamhJN3a4FI"- data-ws-component="Box"- aria-hidden={"true"}- className="c14af118 c1xa5m0w"- >- <HtmlEmbed- data-ws-id="iEc6hab-WardXZc5P9wJu"- data-ws-component="HtmlEmbed"- code={- '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M4.766 5.765c0-.725 0-1.088.178-1.288a.93.93 0 0 1 .648-.294c.294-.015.65.186 1.359.588l9.234 5.235c.586.332.88.498.982.708.09.183.09.389 0 .572-.102.21-.396.376-.982.708l-9.234 5.235c-.71.402-1.065.603-1.359.588a.93.93 0 0 1-.648-.294c-.178-.2-.178-.563-.178-1.288V5.765Z"/></svg>'- }- />- </Box>- </VimeoPlayButton>- </YouTube>-);--const Story = {- render() {- return (- <>- <style>- {`-html {- margin: 0;- display: grid;- min-height: 100%;-}-@media all {- body:where([data-ws-component="Body"]) {- margin-top: 0;- margin-right: 0;- margin-bottom: 0;- margin-left: 0;- font-family: Arial, Roboto, sans-serif;- font-size: 16px;- line-height: 1.2;- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;- }- h1:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h2:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h3:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h4:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h5:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- h6:where([data-ws-component="Heading"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- a:where([data-ws-component="Link"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- min-height: 1em;- display: inline-block;- }- div:where([data-ws-component="Vimeo"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- img:where([data-ws-component="VimeoPreviewImage"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- max-width: 100%;- display: block;- }- div:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- address:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- article:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- aside:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- figure:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- footer:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- header:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- main:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- nav:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- section:where([data-ws-component="Box"]) {- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- outline-width: 1px;- }- button:where([data-ws-component="VimeoPlayButton"]) {- font-family: inherit;- font-size: 100%;- line-height: 1.15;- margin-top: 0;- margin-right: 0;- margin-bottom: 0;- margin-left: 0;- box-sizing: border-box;- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- text-transform: none;- }-}-@media all {- .c11x2bo2 {- font-size: 4em;- }- .cykwawo {- font-family: "Cormorant Garamond", sans-serif;- }- .c1qmshyz {- background-attachment: scroll, scroll, scroll;- }- .c12wnxll {- -webkit-background-clip: border-box, border-box, border-box;- }- .c1hzshzo {- background-blend-mode: normal, normal, normal;- }- .c136ve95 {- background-image: linear-gradient(- rgba(255, 0, 0, 0.2),- rgba(0, 255, 255, 0.2)- ),- url("/home_wsKvRSqvkajPPBeycZ-C8.svg"),- linear-gradient(to right, rgba(255, 0, 255, 0.2), rgba(0, 255, 0, 0.2));- }- .cyttr60 {- background-origin: padding-box, padding-box, padding-box;- }- .c1cywb85 {- background-position: 0%, 0%, 0%;- }- .c187ui6a {- background-repeat: repeat, repeat, repeat;- }- .c1azrtl7 {- background-size: auto, auto, auto;- }- .c1vynykc {- margin-top: 15px;- }- .c122cnm9 {- margin-bottom: 15px;- }- .c15qd3jj {- margin-right: 15px;- }- .c1jp5sfs {- margin-left: 15px;- }- .ca1m5u0 {- position: relative;- }- .ciuvvr7 {- aspect-ratio: 640/360;- }- .cuk1bdz {- width: 100%;- }- .c1eccbi0 {- position: absolute;- }- .cc32szi {- object-fit: cover;- }- .c1ge5ofh {- height: 100%;- }- .c1fwh0y5 {- border-top-left-radius: 20px;- }- .ch160p4 {- border-top-right-radius: 20px;- }- .c1jxoq3x {- border-bottom-left-radius: 20px;- }- .cewch87 {- border-bottom-right-radius: 20px;- }- .c1la265j {- object-position: cover;- }- .ce5jzw0 {- top: 50%;- }- .cq3eebu {- left: 50%;- }- .c1319rdz {- width: 70px;- }- .c1x7j4n5 {- height: 70px;- }- .c176tfq4 {- margin-top: -35px;- }- .c1qg633k {- margin-left: -35px;- }- .c1yx3ait {- width: 140px;- }- .c1scl4ay {- height: 80px;- }- .cxar3by {- margin-top: -40px;- }- .c1fiqkhd {- margin-left: -70px;- }- .c1b095zn {- display: flex;- }- .cyw79s9 {- align-items: center;- }- .c2f7s8e {- justify-content: center;- }- .c9bs64c {- border-top-style: none;- }- .c6lou2r {- border-right-style: none;- }- .c16c73ai {- border-bottom-style: none;- }- .c1fisnnh {- border-left-style: none;- }- .c82rye8 {- border-top-left-radius: 5px;- }- .c1xaktbd {- border-top-right-radius: 5px;- }- .c1xplc5b {- border-bottom-left-radius: 5px;- }- .c5admkk {- border-bottom-right-radius: 5px;- }- .ccn3fhu {- cursor: pointer;- }- .cyn2bny {- background-color: rgba(18, 18, 18, 1);- }- .c1xs2zvh {- color: rgba(255, 255, 255, 1);- }- .c1be0m8p:hover {- background-color: rgba(0, 173, 239, 1);- }- .c14af118 {- width: 60px;- }- .c1xa5m0w {- height: 60px;- }-}-- `}- </style>- <Component />- </>- );- },-};--export { Story as Youtube };--export default {- title: "Components/Youtube",-};diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c1c68c7904..877645515b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1836,6 +1836,9 @@ importers:'@webstudio-is/generate-arg-types':specifier: workspace:*version: link:../generate-arg-types+ '@webstudio-is/sdk-cli':+ specifier: workspace:*+ version: link:../sdk-cli'@webstudio-is/template':specifier: workspace:*version: link:../template