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: disable atomic styles in generate stories (#3795)
Bogdan Chadkin091fd74c5a9f
diff --git a/packages/sdk-cli/src/generate-stories.ts b/packages/sdk-cli/src/generate-stories.tsindex 361db8a182..7454b6e0b1 100644--- a/packages/sdk-cli/src/generate-stories.ts+++ b/packages/sdk-cli/src/generate-stories.ts@@ -159,7 +159,7 @@ export const generateStories = async () => {),componentMetas: usedMetas,assetBaseUrl: "/",- atomic: true,+ atomic: false,});const scope = createScope(["Component", "Story", "props", "useState"]);let content = "";diff --git a/packages/sdk-components-react-radix/package.json b/packages/sdk-components-react-radix/package.jsonindex 5405069edb..ba40b6d2cd 100644--- a/packages/sdk-components-react-radix/package.json+++ b/packages/sdk-components-react-radix/package.json@@ -36,7 +36,7 @@},"scripts": {"build": "rm -rf lib && esbuild src/components.ts src/metas.ts src/props.ts src/hooks.ts --outdir=lib --bundle --format=esm --packages=external",- "build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.ts' -e asChild -e modal -e defaultValue -e defaultOpen -e defaultChecked && prettier --write \"**/*.props.ts\"",+ "build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.ts' -e asChild -e modal -e defaultOpen -e defaultChecked && prettier --write \"**/*.props.ts\"","build:tailwind": "tsx scripts/generate-tailwind-theme.ts && prettier --write src/theme/__generated__","build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"","dts": "tsc --project tsconfig.dts.json",diff --git a/packages/sdk-components-react-radix/src/__generated__/accordion.props.ts b/packages/sdk-components-react-radix/src/__generated__/accordion.props.tsindex d6b4d4ee7f..c861b803c7 100644--- a/packages/sdk-components-react-radix/src/__generated__/accordion.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/accordion.props.ts@@ -429,6 +429,13 @@ export const propsAccordion: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: {+ description:+ "The value of the item whose content is expanded when the accordion is initially rendered. Use\n`defaultValue` if you do not need to control the state of an accordion.",+ required: false,+ control: "text",+ type: "string",+ },dir: {description: "The language read direction.",required: false,@@ -580,11 +587,11 @@ export const propsAccordion: Record<string, PropMeta> = {options: ["on", "off"],},value: {- required: true,+ description:+ "The controlled stateful value of the accordion item whose content is expanded.",+ required: false,control: "text",type: "string",- description:- "Defines a default value which will be displayed in the element on pageload.",},vocab: { required: false, control: "text", type: "string" },};@@ -1009,6 +1016,7 @@ export const propsAccordionItem: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1581,6 +1589,7 @@ export const propsAccordionHeader: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2139,6 +2148,7 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2335,6 +2345,13 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {type: "string",options: ["on", "off"],},+ value: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines a default value which will be displayed in the element on pageload.",+ },vocab: { required: false, control: "text", type: "string" },};export const propsAccordionContent: Record<string, PropMeta> = {@@ -2758,6 +2775,7 @@ export const propsAccordionContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/accordion.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/accordion.stories.tsxindex 95609ded12..d1ea9c43c1 100644--- a/packages/sdk-components-react-radix/src/__generated__/accordion.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/accordion.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import {Box as Box,Text as Text,@@ -13,99 +12,89 @@ import {} from "../components";const Component = () => {- let [accordionValue, set$accordionValue] = useState<any>("0");return (- <Box data-ws-id="root" data-ws-component="Box">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box"><Accordiondata-ws-id="1"data-ws-component="Accordion"collapsible={true}- value={accordionValue}- onValueChange={(value: any) => {- accordionValue = value;- set$accordionValue(accordionValue);- }}+ defaultValue={"0"}+ className="w-accordion"><AccordionItem- data-ws-id="6"+ data-ws-id="4"data-ws-component="AccordionItem"data-ws-index="0"- className="caktpzb c17gos5d c102tttv"+ className="w-accordion-item"><AccordionHeader- data-ws-id="8"+ data-ws-id="6"data-ws-component="AccordionHeader"- className="c11xgi9i"+ className="w-accordion-header"><AccordionTrigger- data-ws-id="10"+ data-ws-id="8"data-ws-component="AccordionTrigger"- className="c11xgi9i c1yubncr c1iq6hwp cv7p8tf clo3r8o cqq29ax c17g8s4n c657y94 c1qjvju3 ceoyg4u cd7z43l c1f6k8wq"+ className="w-accordion-trigger">- <Text data-ws-id="12" data-ws-component="Text">+ <Text data-ws-id="10" data-ws-component="Text" className="w-text">{"Is it accessible?"}</Text>- <Box- data-ws-id="13"- data-ws-component="Box"- className="c1tvigim c1pmpq0f c1yafs04 c11hichb cpr3ke2 c1wmnqxw c1aw50j7"- >+ <Box data-ws-id="11" data-ws-component="Box" className="w-box"><HtmlEmbed- data-ws-id="15"+ data-ws-id="13"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M4.04 6.284a.65.65 0 0 1 .92.001L8 9.335l3.04-3.05a.65.65 0 1 1 .921.918l-3.5 3.512a.65.65 0 0 1-.921 0L4.039 7.203a.65.65 0 0 1 .001-.92Z"/></svg>'}+ className="w-html-embed"/></Box></AccordionTrigger></AccordionHeader><AccordionContent- data-ws-id="17"+ data-ws-id="15"data-ws-component="AccordionContent"- className="c1p3lwwv c1qx3pju cut8gip c657y94"+ className="w-accordion-content">{"Yes. It adheres to the WAI-ARIA design pattern."}</AccordionContent></AccordionItem><AccordionItem- data-ws-id="19"+ data-ws-id="17"data-ws-component="AccordionItem"data-ws-index="1"- className="caktpzb c17gos5d c102tttv"+ className="w-accordion-item"><AccordionHeader- data-ws-id="21"+ data-ws-id="19"data-ws-component="AccordionHeader"- className="c11xgi9i"+ className="w-accordion-header"><AccordionTrigger- data-ws-id="23"+ data-ws-id="21"data-ws-component="AccordionTrigger"- className="c11xgi9i c1yubncr c1iq6hwp cv7p8tf clo3r8o cqq29ax c17g8s4n c657y94 c1qjvju3 ceoyg4u cd7z43l c1f6k8wq"+ className="w-accordion-trigger">- <Text data-ws-id="25" data-ws-component="Text">+ <Text data-ws-id="23" data-ws-component="Text" className="w-text">{"Is it styled?"}</Text>- <Box- data-ws-id="26"- data-ws-component="Box"- className="c1tvigim c1pmpq0f c1yafs04 c11hichb cpr3ke2 c1wmnqxw c1aw50j7"- >+ <Box data-ws-id="24" data-ws-component="Box" className="w-box"><HtmlEmbed- data-ws-id="28"+ data-ws-id="26"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M4.04 6.284a.65.65 0 0 1 .92.001L8 9.335l3.04-3.05a.65.65 0 1 1 .921.918l-3.5 3.512a.65.65 0 0 1-.921 0L4.039 7.203a.65.65 0 0 1 .001-.92Z"/></svg>'}+ className="w-html-embed"/></Box></AccordionTrigger></AccordionHeader><AccordionContent- data-ws-id="30"+ data-ws-id="28"data-ws-component="AccordionContent"- className="c1p3lwwv c1qx3pju cut8gip c657y94"+ className="w-accordion-content">{"Yes. It comes with default styles that matches the other components' aesthetic."@@ -113,43 +102,40 @@ const Component = () => {</AccordionContent></AccordionItem><AccordionItem- data-ws-id="32"+ data-ws-id="30"data-ws-component="AccordionItem"data-ws-index="2"- className="caktpzb c17gos5d c102tttv"+ className="w-accordion-item"><AccordionHeader- data-ws-id="34"+ data-ws-id="32"data-ws-component="AccordionHeader"- className="c11xgi9i"+ className="w-accordion-header"><AccordionTrigger- data-ws-id="36"+ data-ws-id="34"data-ws-component="AccordionTrigger"- className="c11xgi9i c1yubncr c1iq6hwp cv7p8tf clo3r8o cqq29ax c17g8s4n c657y94 c1qjvju3 ceoyg4u cd7z43l c1f6k8wq"+ className="w-accordion-trigger">- <Text data-ws-id="38" data-ws-component="Text">+ <Text data-ws-id="36" data-ws-component="Text" className="w-text">{"Is it animated?"}</Text>- <Box- data-ws-id="39"- data-ws-component="Box"- className="c1tvigim c1pmpq0f c1yafs04 c11hichb cpr3ke2 c1wmnqxw c1aw50j7"- >+ <Box data-ws-id="37" data-ws-component="Box" className="w-box"><HtmlEmbed- data-ws-id="41"+ data-ws-id="39"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M4.04 6.284a.65.65 0 0 1 .92.001L8 9.335l3.04-3.05a.65.65 0 1 1 .921.918l-3.5 3.512a.65.65 0 0 1-.921 0L4.039 7.203a.65.65 0 0 1 .001-.92Z"/></svg>'}+ className="w-html-embed"/></Box></AccordionTrigger></AccordionHeader><AccordionContent- data-ws-id="43"+ data-ws-id="41"data-ws-component="AccordionContent"- className="c1p3lwwv c1qx3pju cut8gip c657y94"+ className="w-accordion-content">{"Yes. It's animated by default, but you can disable it if you prefer."@@ -173,11 +159,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -187,9 +169,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -197,7 +180,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -205,7 +188,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -213,7 +196,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -221,7 +204,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -229,7 +212,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -237,7 +220,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -245,7 +228,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -253,7 +236,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -261,7 +244,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -269,7 +252,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Accordion"]) {+ :where(div.w-accordion) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -277,7 +260,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="AccordionItem"]) {+ :where(div.w-accordion-item) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -285,7 +268,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- h3:where([data-ws-component="AccordionHeader"]) {+ :where(h3.w-accordion-header) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -295,36 +278,19 @@ html {margin: 0; display: grid; min-height: 100%}margin-top: 0px;margin-bottom: 0px}- button:where([data-ws-component="AccordionTrigger"]) {+ :where(button.w-accordion-trigger) {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: 0px;- border-right-width: 0px;- border-bottom-width: 0px;- border-left-width: 0px;text-transform: none;background-color: transparent;background-image: none;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- border-top-color: rgba(226, 232, 240, 1);- border-right-color: rgba(226, 232, 240, 1);- border-bottom-color: rgba(226, 232, 240, 1);- border-left-color: rgba(226, 232, 240, 1);- padding-left: 0px;- padding-right: 0px;- padding-top: 0px;- padding-bottom: 0px- }- div:where([data-ws-component="Text"]) {+ border: 0px solid rgba(226, 232, 240, 1);+ margin: 0;+ padding: 0px+ }+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -333,7 +299,10 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}- div:where([data-ws-component="AccordionContent"]) {+ :where(div.w-html-embed) {+ display: contents+ }+ :where(div.w-accordion-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -341,81 +310,127 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}-}@media all {- .caktpzb {- border-bottom-width: 1px- }- .c17gos5d {- border-bottom-style: solid- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)+}+@media all {+ [data-ws-id="4"] {+ border-bottom: 1px solid rgba(226, 232, 240, 1)}- .c11xgi9i {+ [data-ws-id="6"] {display: flex}- .c1yubncr {- flex-grow: 1- }- .c1iq6hwp {- flex-shrink: 1- }- .cv7p8tf {- flex-basis: 0%+ [data-ws-id="8"] {+ display: flex;+ flex-grow: 1;+ flex-shrink: 1;+ flex-basis: 0%;+ align-items: center;+ justify-content: space-between;+ padding-top: 1rem;+ padding-bottom: 1rem;+ font-weight: 500;+ --accordion-trigger-icon-transform: 0deg}- .clo3r8o {- align-items: center+ [data-ws-id="8"]:hover {+ text-decoration-line: underline}- .cqq29ax {- justify-content: space-between+ [data-ws-id="8"][data-state=open] {+ --accordion-trigger-icon-transform: 180deg}- .c17g8s4n {- padding-top: 1rem+ [data-ws-id="11"] {+ rotate: var(--accordion-trigger-icon-transform);+ height: 1rem;+ width: 1rem;+ flex-grow: 0;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 200ms}- .c657y94 {+ [data-ws-id="15"] {+ overflow-x: hidden;+ overflow-y: hidden;+ font-size: 0.875rem;+ line-height: 1.25rem;padding-bottom: 1rem}- .c1qjvju3 {- font-weight: 500+ [data-ws-id="17"] {+ border-bottom: 1px solid rgba(226, 232, 240, 1)}- .ceoyg4u {+ [data-ws-id="19"] {+ display: flex+ }+ [data-ws-id="21"] {+ display: flex;+ flex-grow: 1;+ flex-shrink: 1;+ flex-basis: 0%;+ align-items: center;+ justify-content: space-between;+ padding-top: 1rem;+ padding-bottom: 1rem;+ font-weight: 500;--accordion-trigger-icon-transform: 0deg}- .cd7z43l:hover {+ [data-ws-id="21"]:hover {text-decoration-line: underline}- .c1f6k8wq[data-state=open] {+ [data-ws-id="21"][data-state=open] {--accordion-trigger-icon-transform: 180deg}- .c1tvigim {- rotate: var(--accordion-trigger-icon-transform)- }- .c1pmpq0f {- height: 1rem+ [data-ws-id="24"] {+ rotate: var(--accordion-trigger-icon-transform);+ height: 1rem;+ width: 1rem;+ flex-grow: 0;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 200ms}- .c1yafs04 {- width: 1rem+ [data-ws-id="28"] {+ overflow-x: hidden;+ overflow-y: hidden;+ font-size: 0.875rem;+ line-height: 1.25rem;+ padding-bottom: 1rem}- .c11hichb {- flex-grow: 0+ [data-ws-id="30"] {+ border-bottom: 1px solid rgba(226, 232, 240, 1)}- .cpr3ke2 {- transition-property: all+ [data-ws-id="32"] {+ display: flex}- .c1wmnqxw {- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)+ [data-ws-id="34"] {+ display: flex;+ flex-grow: 1;+ flex-shrink: 1;+ flex-basis: 0%;+ align-items: center;+ justify-content: space-between;+ padding-top: 1rem;+ padding-bottom: 1rem;+ font-weight: 500;+ --accordion-trigger-icon-transform: 0deg}- .c1aw50j7 {- transition-duration: 200ms+ [data-ws-id="34"]:hover {+ text-decoration-line: underline}- .c1p3lwwv {- overflow: hidden+ [data-ws-id="34"][data-state=open] {+ --accordion-trigger-icon-transform: 180deg}- .c1qx3pju {- font-size: 0.875rem+ [data-ws-id="37"] {+ rotate: var(--accordion-trigger-icon-transform);+ height: 1rem;+ width: 1rem;+ flex-grow: 0;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 200ms}- .cut8gip {- line-height: 1.25rem+ [data-ws-id="41"] {+ overflow-x: hidden;+ overflow-y: hidden;+ font-size: 0.875rem;+ line-height: 1.25rem;+ padding-bottom: 1rem}}`}diff --git a/packages/sdk-components-react-radix/src/__generated__/checkbox.props.ts b/packages/sdk-components-react-radix/src/__generated__/checkbox.props.tsindex 2ce6ed5d62..0bd17e83e4 100644--- a/packages/sdk-components-react-radix/src/__generated__/checkbox.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/checkbox.props.ts@@ -428,6 +428,7 @@ export const propsCheckbox: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -631,6 +632,13 @@ export const propsCheckbox: Record<string, PropMeta> = {type: "string",options: ["on", "off"],},+ value: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines a default value which will be displayed in the element on pageload.",+ },vocab: { required: false, control: "text", type: "string" },};export const propsCheckboxIndicator: Record<string, PropMeta> = {@@ -1054,6 +1062,7 @@ export const propsCheckboxIndicator: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/checkbox.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/checkbox.stories.tsxindex 67d90241c4..73c914631f 100644--- a/packages/sdk-components-react-radix/src/__generated__/checkbox.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/checkbox.stories.tsx@@ -13,12 +13,8 @@ import {const Component = () => {let [checkboxChecked, set$checkboxChecked] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">- <Label- data-ws-id="1"- data-ws-component="Label"- className="c11xgi9i c8prkzu c1edvzo4 clo3r8o"- >+ <Box data-ws-id="root" data-ws-component="Box" className="w-box">+ <Label data-ws-id="1" data-ws-component="Label" className="w-label"><Checkboxdata-ws-id="3"data-ws-component="Checkbox"@@ -27,12 +23,12 @@ const Component = () => {checkboxChecked = checked;set$checkboxChecked(checkboxChecked);}}- className="c1pmpq0f c1yafs04 c11hichb c12e8ong c13c161l chzvexg c1s51a6q c17al2u0 c1ufcra4 c17gos5d cn4f13s c9mvxkx cu0p3ww c11i8aye ca1f4zs ck2qarh c1nxbatd caktpzb c1bm526f co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1oa7gr0 ce92j53 c1939zof c4lzij8"+ className="w-checkbox"><CheckboxIndicatordata-ws-id="8"data-ws-component="CheckboxIndicator"- className="c11xgi9i clo3r8o cw9oyzl c1hdhil0"+ className="w-checkbox-indicator"><HtmlEmbeddata-ws-id="10"@@ -40,10 +36,16 @@ const Component = () => {code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="M11.957 5.043a1 1 0 0 1 0 1.414l-4.5 4.5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.75 8.836l3.793-3.793a1 1 0 0 1 1.414 0Z" clip-rule="evenodd"/></svg>'}+ className="w-html-embed"/></CheckboxIndicator></Checkbox>- <Text data-ws-id="12" data-ws-component="Text" tag={"span"}>+ <Text+ data-ws-id="12"+ data-ws-component="Text"+ tag={"span"}+ className="w-text"+ >{"Checkbox"}</Text></Label>@@ -63,11 +65,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -77,9 +75,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -87,7 +86,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -95,7 +94,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -103,7 +102,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -111,7 +110,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -119,7 +118,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -127,7 +126,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -135,7 +134,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -143,7 +142,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -151,7 +150,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -159,7 +158,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- label:where([data-ws-component="Label"]) {+ :where(label.w-label) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -167,36 +166,19 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Checkbox"]) {+ :where(button.w-checkbox) {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: 0px;- border-right-width: 0px;- border-bottom-width: 0px;- border-left-width: 0px;text-transform: none;background-color: transparent;background-image: none;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- border-top-color: rgba(226, 232, 240, 1);- border-right-color: rgba(226, 232, 240, 1);- border-bottom-color: rgba(226, 232, 240, 1);- border-left-color: rgba(226, 232, 240, 1);- padding-left: 0px;- padding-right: 0px;- padding-top: 0px;- padding-bottom: 0px+ border: 0px solid rgba(226, 232, 240, 1);+ margin: 0;+ padding: 0px}- span:where([data-ws-component="CheckboxIndicator"]) {+ :where(span.w-checkbox-indicator) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -204,7 +186,10 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Text"]) {+ :where(div.w-html-embed) {+ display: contents+ }+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -213,107 +198,41 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}-}@media all {- .c11xgi9i {- display: flex- }- .c8prkzu {- row-gap: 0.5rem- }- .c1edvzo4 {- column-gap: 0.5rem- }- .clo3r8o {+}+@media all {+ [data-ws-id="1"] {+ display: flex;+ row-gap: 0.5rem;+ column-gap: 0.5rem;align-items: center}- .c1pmpq0f {- height: 1rem- }- .c1yafs04 {- width: 1rem- }- .c11hichb {- flex-grow: 0- }- .c12e8ong {- border-top-left-radius: 0.125rem- }- .c13c161l {- border-top-right-radius: 0.125rem- }- .chzvexg {- border-bottom-right-radius: 0.125rem- }- .c1s51a6q {- border-bottom-left-radius: 0.125rem- }- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c9mvxkx {- border-top-color: rgba(15, 23, 42, 1)- }- .cu0p3ww {- border-right-color: rgba(15, 23, 42, 1)- }- .c11i8aye {- border-bottom-color: rgba(15, 23, 42, 1)- }- .ca1f4zs {- border-left-color: rgba(15, 23, 42, 1)- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px- }- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1oa7gr0:disabled {- cursor: not-allowed- }- .ce92j53:disabled {+ [data-ws-id="3"] {+ height: 1rem;+ width: 1rem;+ flex-grow: 0;+ border-top-left-radius: 0.125rem;+ border-top-right-radius: 0.125rem;+ border-bottom-right-radius: 0.125rem;+ border-bottom-left-radius: 0.125rem;+ border: 1px solid rgba(15, 23, 42, 1)+ }+ [data-ws-id="3"]:disabled {+ cursor: not-allowed;opacity: 0.5}- .c1939zof[data-state=checked] {- background-color: rgba(15, 23, 42, 1)+ [data-ws-id="3"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c4lzij8[data-state=checked] {+ [data-ws-id="3"][data-state=checked] {+ background-color: rgba(15, 23, 42, 1);color: rgba(248, 250, 252, 1)}- .cw9oyzl {- justify-content: center- }- .c1hdhil0 {+ [data-ws-id="8"] {+ display: flex;+ align-items: center;+ justify-content: center;color: currentColor}}diff --git a/packages/sdk-components-react-radix/src/__generated__/collapsible.props.ts b/packages/sdk-components-react-radix/src/__generated__/collapsible.props.tsindex 5ba1539ada..2574b4e200 100644--- a/packages/sdk-components-react-radix/src/__generated__/collapsible.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/collapsible.props.ts@@ -421,6 +421,7 @@ export const propsCollapsible: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -993,6 +994,7 @@ export const propsCollapsibleContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/collapsible.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/collapsible.stories.tsxindex 957041ce25..e53f967f6f 100644--- a/packages/sdk-components-react-radix/src/__generated__/collapsible.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/collapsible.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import {Box as Box,Button as Button,@@ -11,35 +10,31 @@ import {} from "../components";const Component = () => {- let [collapsibleOpen, set$collapsibleOpen] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box"><Collapsibledata-ws-id="1"data-ws-component="Collapsible"- open={collapsibleOpen}- onOpenChange={(open: any) => {- collapsibleOpen = open;- set$collapsibleOpen(collapsibleOpen);- }}+ className="w-collapsible"><CollapsibleTrigger- data-ws-id="5"+ data-ws-id="2"data-ws-component="CollapsibleTrigger"><Button- data-ws-id="6"+ data-ws-id="3"data-ws-component="Button"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c110hgy6 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil c1c2uk29 c1x1m3cj cey1d5i cbnv1sn co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r"+ className="w-button">{"Click to toggle content"}</Button></CollapsibleTrigger><CollapsibleContent- data-ws-id="8"+ data-ws-id="5"data-ws-component="CollapsibleContent"+ className="w-collapsible-content">- <Text data-ws-id="9" data-ws-component="Text">+ <Text data-ws-id="6" data-ws-component="Text" className="w-text">{"Collapsible Content"}</Text></CollapsibleContent>@@ -60,11 +55,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -74,9 +65,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -84,7 +76,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -92,7 +84,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -100,7 +92,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -108,7 +100,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -116,7 +108,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -124,7 +116,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -132,7 +124,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -140,7 +132,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -148,7 +140,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -156,7 +148,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Collapsible"]) {+ :where(div.w-collapsible) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -164,22 +156,23 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Button"]) {+ :where(button.w-button) {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;- text-transform: none- }- div:where([data-ws-component="CollapsibleContent"]) {+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(div.w-collapsible-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -187,7 +180,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Text"]) {+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -196,116 +189,39 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}-}@media all {- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1wic2il {- border-top-color: rgba(226, 232, 240, 1)- }- .cdem58j {- border-right-color: rgba(226, 232, 240, 1)- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)- }- .cb204z1 {- border-left-color: rgba(226, 232, 240, 1)- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px- }- .c110hgy6 {- background-color: rgba(255, 255, 255, 0.8)- }- .c1oai8p0 {- display: inline-flex- }- .clo3r8o {- align-items: center- }- .cw9oyzl {- justify-content: center- }- .cuqxbts {- border-top-left-radius: 0.375rem- }- .cg19ih8 {- border-top-right-radius: 0.375rem- }- .c1479lj6 {- border-bottom-right-radius: 0.375rem- }- .comq4ym {- border-bottom-left-radius: 0.375rem- }- .c1qx3pju {- font-size: 0.875rem- }- .cut8gip {- line-height: 1.25rem- }- .c1qjvju3 {- font-weight: 500- }- .c18kkil {- height: 2.5rem- }- .c1c2uk29 {- padding-left: 1rem- }- .c1x1m3cj {- padding-right: 1rem- }- .cey1d5i {- padding-top: 0.5rem- }- .cbnv1sn {- padding-bottom: 0.5rem- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px- }- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1jirpm3:disabled {- pointer-events: none- }- .ce92j53:disabled {+}+@media all {+ [data-ws-id="3"] {+ background-color: rgba(255, 255, 255, 0.8);+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ padding-left: 1rem;+ padding-right: 1rem;+ padding-top: 0.5rem;+ padding-bottom: 0.5rem;+ border: 1px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="3"]:disabled {+ pointer-events: none;opacity: 0.5}- .c1dr421o:hover {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="3"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c14ytp9r:hover {+ [data-ws-id="3"]:hover {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}}diff --git a/packages/sdk-components-react-radix/src/__generated__/dialog.props.ts b/packages/sdk-components-react-radix/src/__generated__/dialog.props.tsindex fbc665ee21..09995c2d76 100644--- a/packages/sdk-components-react-radix/src/__generated__/dialog.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/dialog.props.ts@@ -431,6 +431,7 @@ export const propsDialogOverlay: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -989,6 +990,7 @@ export const propsDialogContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1547,6 +1549,7 @@ export const propsDialogClose: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1743,6 +1746,13 @@ export const propsDialogClose: Record<string, PropMeta> = {type: "string",options: ["on", "off"],},+ value: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines a default value which will be displayed in the element on pageload.",+ },vocab: { required: false, control: "text", type: "string" },};export const propsDialogTitle: Record<string, PropMeta> = {@@ -2166,6 +2176,7 @@ export const propsDialogTitle: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2730,6 +2741,7 @@ export const propsDialogDescription: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/dialog.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/dialog.stories.tsxindex 6c1b321414..a08fc28b82 100644--- a/packages/sdk-components-react-radix/src/__generated__/dialog.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/dialog.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import {Box as Box,Button as Button,@@ -16,71 +15,59 @@ import {} from "../components";const Component = () => {- let [dialogOpen, set$dialogOpen] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">- <Dialog- data-ws-id="1"- data-ws-component="Dialog"- open={dialogOpen}- onOpenChange={(open: any) => {- dialogOpen = open;- set$dialogOpen(dialogOpen);- }}- >- <DialogTrigger data-ws-id="5" data-ws-component="DialogTrigger">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box">+ <Dialog data-ws-id="1" data-ws-component="Dialog">+ <DialogTrigger data-ws-id="2" data-ws-component="DialogTrigger"><Button- data-ws-id="6"+ data-ws-id="3"data-ws-component="Button"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c110hgy6 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil c1c2uk29 c1x1m3cj cey1d5i cbnv1sn co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r"+ className="w-button">{"Button"}</Button></DialogTrigger><DialogOverlay- data-ws-id="8"+ data-ws-id="5"data-ws-component="DialogOverlay"- className="c15h1j27 cboqcgi cs5y8q6 ccq2s6t c3iotp8 c173yyao c110hgy6 c1x0vq2l c11xgi9i c1arpcws"+ className="w-dialog-overlay"><DialogContent- data-ws-id="10"+ data-ws-id="7"data-ws-component="DialogContent"- className="c3elmho c173yyao c11xgi9i cfd715b ci4ea85 c13l7myj cakk94o cmty91p cukjqkn c12w8ig6 cqfb83m c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c110hgy6 c1d23hgf cdv5i03 cog45sw c18egw0s c1ii9nza crmoyyg"+ className="w-dialog-content">- <Box- data-ws-id="12"- data-ws-component="Box"- className="c11xgi9i cfd715b csjyi15 c1xv9rff"- >+ <Box data-ws-id="9" data-ws-component="Box" className="w-box"><DialogTitle- data-ws-id="14"+ data-ws-id="11"data-ws-component="DialogTitle"- className="cvrokas crk8tjo cx5cc56 c1o7k99s cck9swn"+ className="w-dialog-title">- {"Dialog Title"}+ {"Dialog Title you can edit"}</DialogTitle><DialogDescription- data-ws-id="16"+ data-ws-id="13"data-ws-component="DialogDescription"- className="cvrokas crk8tjo c1qx3pju cut8gip c1pcz91e"+ className="w-dialog-description">{"Dialog description text you can edit"}</DialogDescription></Box>- <Text data-ws-id="18" data-ws-component="Text">+ <Text data-ws-id="15" data-ws-component="Text" className="w-text">{"The text you can edit"}</Text><DialogClose- data-ws-id="19"+ data-ws-id="16"data-ws-component="DialogClose"- className="ct2k8wg c1us255 c1hk37yi c12e8ong c13c161l chzvexg c1s51a6q c1qx8273 c11xgi9i clo3r8o cw9oyzl c1pmpq0f c1yafs04 c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 cok6gp c1ebb32d c1ed2n1f c1an30v3 ca60kt0 cxlxl0c c1gfzcg5 cohan28 c15roejc c1xy5yrr c192vyv4"+ className="w-dialog-close"><HtmlEmbed- data-ws-id="21"+ data-ws-id="18"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="M13.566 2.434a.8.8 0 0 1 0 1.132L9.13 8l4.435 4.434a.8.8 0 0 1-1.132 1.132L8 9.13l-4.434 4.435a.8.8 0 0 1-1.132-1.132L6.87 8 2.434 3.566a.8.8 0 0 1 1.132-1.132L8 6.87l4.434-4.435a.8.8 0 0 1 1.132 0Z" clip-rule="evenodd"/></svg>'}+ className="w-html-embed"/></DialogClose></DialogContent>@@ -102,11 +89,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -116,9 +99,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -126,7 +110,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -134,7 +118,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -142,7 +126,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -150,7 +134,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -158,7 +142,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -166,7 +150,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -174,7 +158,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -182,7 +166,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -190,7 +174,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -198,22 +182,23 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Button"]) {+ :where(button.w-button) {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;- text-transform: none+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0}- div:where([data-ws-component="DialogOverlay"]) {+ :where(div.w-dialog-overlay) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -221,7 +206,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="DialogContent"]) {+ :where(div.w-dialog-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -229,7 +214,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- h2:where([data-ws-component="DialogTitle"]) {+ :where(h2.w-dialog-title) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -237,7 +222,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- p:where([data-ws-component="DialogDescription"]) {+ :where(p.w-dialog-description) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -245,7 +230,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Text"]) {+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -254,306 +239,130 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}- button:where([data-ws-component="DialogClose"]) {+ :where(button.w-dialog-close) {background-color: transparent;background-image: none;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- border-top-color: rgba(226, 232, 240, 1);- border-right-color: rgba(226, 232, 240, 1);- border-bottom-color: rgba(226, 232, 240, 1);- border-left-color: rgba(226, 232, 240, 1);- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- padding-left: 0px;- padding-right: 0px;- padding-top: 0px;- padding-bottom: 0px;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;- text-transform: none- }-}@media all {- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1wic2il {- border-top-color: rgba(226, 232, 240, 1)- }- .cdem58j {- border-right-color: rgba(226, 232, 240, 1)- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)- }- .cb204z1 {- border-left-color: rgba(226, 232, 240, 1)- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px+ text-transform: none;+ border: 1px solid rgba(226, 232, 240, 1);+ margin: 0;+ padding: 0px}- .c110hgy6 {- background-color: rgba(255, 255, 255, 0.8)+ :where(div.w-html-embed) {+ display: contents}- .c1oai8p0 {- display: inline-flex- }- .clo3r8o {- align-items: center- }- .cw9oyzl {- justify-content: center- }- .cuqxbts {- border-top-left-radius: 0.375rem- }- .cg19ih8 {- border-top-right-radius: 0.375rem- }- .c1479lj6 {- border-bottom-right-radius: 0.375rem- }- .comq4ym {- border-bottom-left-radius: 0.375rem- }- .c1qx3pju {- font-size: 0.875rem- }- .cut8gip {- line-height: 1.25rem- }- .c1qjvju3 {- font-weight: 500- }- .c18kkil {- height: 2.5rem- }- .c1c2uk29 {- padding-left: 1rem- }- .c1x1m3cj {- padding-right: 1rem- }- .cey1d5i {- padding-top: 0.5rem- }- .cbnv1sn {- padding-bottom: 0.5rem- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px- }- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1jirpm3:disabled {- pointer-events: none- }- .ce92j53:disabled {+}+@media all {+ [data-ws-id="3"] {+ background-color: rgba(255, 255, 255, 0.8);+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ padding-left: 1rem;+ padding-right: 1rem;+ padding-top: 0.5rem;+ padding-bottom: 0.5rem;+ border: 1px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="3"]:disabled {+ pointer-events: none;opacity: 0.5}- .c1dr421o:hover {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="3"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c14ytp9r:hover {+ [data-ws-id="3"]:hover {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}- .c15h1j27 {- position: fixed- }- .cboqcgi {- left: 0px- }- .cs5y8q6 {- right: 0px- }- .ccq2s6t {- top: 0px- }- .c3iotp8 {- bottom: 0px- }- .c173yyao {- z-index: 50- }- .c1x0vq2l {- backdrop-filter: blur(0 1px 2px 0 rgb(0 0 0 / 0.05))- }- .c11xgi9i {- display: flex- }- .c1arpcws {- overflow: auto- }- .c3elmho {- width: 100%- }- .cfd715b {- flex-direction: column- }- .ci4ea85 {- row-gap: 1rem- }- .c13l7myj {- column-gap: 1rem- }- .cakk94o {- margin-left: auto- }- .cmty91p {- margin-right: auto- }- .cukjqkn {- margin-top: auto- }- .c12w8ig6 {- margin-bottom: auto- }- .cqfb83m {- max-width: 32rem- }- .c1d23hgf {- padding-left: 1.5rem- }- .cdv5i03 {- padding-right: 1.5rem- }- .cog45sw {- padding-top: 1.5rem- }- .c18egw0s {- padding-bottom: 1.5rem- }- .c1ii9nza {- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)- }- .crmoyyg {- position: relative- }- .csjyi15 {- row-gap: 0.25rem- }- .c1xv9rff {+ [data-ws-id="5"] {+ position: fixed;+ left: 0px;+ right: 0px;+ top: 0px;+ bottom: 0px;+ z-index: 50;+ background-color: rgba(255, 255, 255, 0.8);+ -webkit-backdrop-filter: blur(0 1px 2px 0 rgb(0 0 0 / 0.05));+ backdrop-filter: blur(0 1px 2px 0 rgb(0 0 0 / 0.05));+ display: flex;+ overflow-x: auto;+ overflow-y: auto+ }+ [data-ws-id="7"] {+ width: 100%;+ z-index: 50;+ display: flex;+ flex-direction: column;+ row-gap: 1rem;+ column-gap: 1rem;+ max-width: 32rem;+ background-color: rgba(255, 255, 255, 0.8);+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);+ position: relative;+ border: 1px solid rgba(226, 232, 240, 1);+ margin: auto;+ padding: 1.5rem+ }+ [data-ws-id="9"] {+ display: flex;+ flex-direction: column;+ row-gap: 0.25rem;column-gap: 0.25rem}- .cvrokas {- margin-top: 0px- }- .crk8tjo {- margin-bottom: 0px- }- .cx5cc56 {- line-height: 1.75rem- }- .c1o7k99s {- font-size: 1.125rem- }- .cck9swn {+ [data-ws-id="11"] {+ margin-top: 0px;+ margin-bottom: 0px;+ line-height: 1.75rem;+ font-size: 1.125rem;letter-spacing: -0.025em}- .c1pcz91e {+ [data-ws-id="13"] {+ margin-top: 0px;+ margin-bottom: 0px;+ font-size: 0.875rem;+ line-height: 1.25rem;color: rgba(100, 116, 139, 1)}- .ct2k8wg {- position: absolute- }- .c1us255 {- right: 1rem- }- .c1hk37yi {- top: 1rem- }- .c12e8ong {- border-top-left-radius: 0.125rem- }- .c13c161l {- border-top-right-radius: 0.125rem- }- .chzvexg {- border-bottom-right-radius: 0.125rem- }- .c1s51a6q {- border-bottom-left-radius: 0.125rem- }- .c1qx8273 {- opacity: 0.7- }- .c1pmpq0f {- height: 1rem- }- .c1yafs04 {- width: 1rem- }- .cok6gp {- border-top-width: 0px- }- .c1ebb32d {- border-right-width: 0px- }- .c1ed2n1f {- border-bottom-width: 0px- }- .c1an30v3 {- border-left-width: 0px- }- .ca60kt0 {- background-color: transparent- }- .cxlxl0c {- outline-width: 2px- }- .c1gfzcg5 {- outline-style: solid- }- .cohan28 {- outline-color: transparent+ [data-ws-id="16"] {+ position: absolute;+ right: 1rem;+ top: 1rem;+ border-top-left-radius: 0.125rem;+ border-top-right-radius: 0.125rem;+ border-bottom-right-radius: 0.125rem;+ border-bottom-left-radius: 0.125rem;+ opacity: 0.7;+ display: flex;+ align-items: center;+ justify-content: center;+ height: 1rem;+ width: 1rem;+ background-color: transparent;+ outline-offset: 2px;+ outline: 2px solid transparent;+ border: 0px solid rgba(226, 232, 240, 1)}- .c15roejc {- outline-offset: 2px+ [data-ws-id="16"]:focus {+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)}- .c1xy5yrr:hover {+ [data-ws-id="16"]:hover {opacity: 1}- .c192vyv4:focus {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }}`}</style>diff --git a/packages/sdk-components-react-radix/src/__generated__/label.props.ts b/packages/sdk-components-react-radix/src/__generated__/label.props.tsindex afe2efa363..64a94be2bd 100644--- a/packages/sdk-components-react-radix/src/__generated__/label.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/label.props.ts@@ -421,6 +421,7 @@ export const props: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/label.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/label.stories.tsxindex 854e294678..d2e7bfd2f9 100644--- a/packages/sdk-components-react-radix/src/__generated__/label.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/label.stories.tsx@@ -3,12 +3,8 @@ import { Label as Label } from "../components";const Component = () => {return (- <Box data-ws-id="root" data-ws-component="Box">- <Label- data-ws-id="1"- data-ws-component="Label"- className="c1qx3pju crxf9g c1qjvju3"- >+ <Box data-ws-id="root" data-ws-component="Box" className="w-box">+ <Label data-ws-id="1" data-ws-component="Label" className="w-label">{"Form Label"}</Label></Box>@@ -27,11 +23,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -41,9 +33,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -51,7 +44,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -59,7 +52,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -67,7 +60,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -75,7 +68,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -83,7 +76,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -91,7 +84,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -99,7 +92,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -107,7 +100,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -115,7 +108,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -123,7 +116,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- label:where([data-ws-component="Label"]) {+ :where(label.w-label) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -131,14 +124,11 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}-}@media all {- .c1qx3pju {- font-size: 0.875rem- }- .crxf9g {- line-height: 1- }- .c1qjvju3 {+}+@media all {+ [data-ws-id="1"] {+ font-size: 0.875rem;+ line-height: 1;font-weight: 500}}diff --git a/packages/sdk-components-react-radix/src/__generated__/navigation-menu.props.ts b/packages/sdk-components-react-radix/src/__generated__/navigation-menu.props.tsindex b3b1b1be2e..dfc6b34996 100644--- a/packages/sdk-components-react-radix/src/__generated__/navigation-menu.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/navigation-menu.props.ts@@ -413,6 +413,7 @@ export const propsNavigationMenu: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },delayDuration: {description:"The duration from when the pointer enters the trigger until the tooltip gets opened.\n@defaultValue 200",@@ -993,6 +994,7 @@ export const propsNavigationMenuList: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1551,6 +1553,7 @@ export const propsNavigationMenuViewport: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2109,6 +2112,7 @@ export const propsNavigationMenuContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2674,6 +2678,7 @@ export const propsNavigationMenuItem: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2818,5 +2823,1239 @@ export const propsNavigationMenuItem: Record<string, PropMeta> = {},vocab: { required: false, control: "text", type: "string" },};-export const propsNavigationMenuLink: Record<string, PropMeta> = {};-export const propsNavigationMenuTrigger: Record<string, PropMeta> = {};+export const propsNavigationMenuLink: Record<string, PropMeta> = {+ about: { required: false, control: "text", type: "string" },+ accessKey: {+ required: false,+ control: "text",+ type: "string",+ description: "Keyboard shortcut to activate or add focus to the element.",+ },+ active: { required: false, control: "boolean", type: "boolean" },+ "aria-activedescendant": {+ description:+ "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-atomic": {+ description:+ "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-autocomplete": {+ description:+ "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.",+ required: false,+ control: "select",+ type: "string",+ options: ["list", "none", "inline", "both"],+ },+ "aria-braillelabel": {+ description:+ "Defines a string value that labels the current element, which is intended to be converted into Braille.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-brailleroledescription": {+ description:+ "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-busy": { required: false, control: "boolean", type: "boolean" },+ "aria-checked": {+ description:+ 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.',+ required: false,+ control: "text",+ type: "string",+ },+ "aria-colcount": {+ description:+ "Defines the total number of columns in a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-colindex": {+ description:+ "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-colindextext": {+ description: "Defines a human readable text alternative of aria-colindex.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-colspan": {+ description:+ "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-controls": {+ description:+ "Identifies the element (or elements) whose contents or presence are controlled by the current element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-current": {+ description:+ "Indicates the element that represents the current item within a container or set of related elements.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-describedby": {+ description:+ "Identifies the element (or elements) that describes the object.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-description": {+ description:+ "Defines a string value that describes or annotates the current element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-details": {+ description:+ "Identifies the element that provides a detailed, extended description for the object.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-disabled": {+ description:+ "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-dropeffect": {+ description:+ "Indicates what functions can be performed when a dragged object is released on the drop target.",+ required: false,+ control: "select",+ type: "string",+ options: ["link", "none", "copy", "execute", "move", "popup"],+ },+ "aria-errormessage": {+ description:+ "Identifies the element that provides an error message for the object.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-expanded": {+ description:+ "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-flowto": {+ description:+ "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-grabbed": {+ description:+ 'Indicates an element\'s "grabbed" state in a drag-and-drop operation.',+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-haspopup": {+ description:+ "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-hidden": {+ description:+ "Indicates whether the element is exposed to an accessibility API.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-invalid": {+ description:+ "Indicates the entered value does not conform to the format expected by the application.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-keyshortcuts": {+ description:+ "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-label": {+ description:+ "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-labelledby": {+ description:+ "Identifies the element (or elements) that labels the current element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-level": {+ description:+ "Defines the hierarchical level of an element within a structure.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-live": {+ description:+ "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",+ required: false,+ control: "radio",+ type: "string",+ options: ["off", "assertive", "polite"],+ },+ "aria-modal": {+ description: "Indicates whether an element is modal when displayed.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-multiline": {+ description:+ "Indicates whether a text box accepts multiple lines of input or only a single line.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-multiselectable": {+ description:+ "Indicates that the user may select more than one item from the current selectable descendants.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-orientation": {+ description:+ "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",+ required: false,+ control: "radio",+ type: "string",+ options: ["horizontal", "vertical"],+ },+ "aria-owns": {+ description:+ "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-placeholder": {+ description:+ "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-posinset": {+ description:+ "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-pressed": {+ description: 'Indicates the current "pressed" state of toggle buttons.',+ required: false,+ control: "text",+ type: "string",+ },+ "aria-readonly": {+ description:+ "Indicates that the element is not editable, but is otherwise operable.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-relevant": {+ description:+ "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.",+ required: false,+ control: "select",+ type: "string",+ options: [+ "text",+ "additions",+ "additions removals",+ "additions text",+ "all",+ "removals",+ "removals additions",+ "removals text",+ "text additions",+ "text removals",+ ],+ },+ "aria-required": {+ description:+ "Indicates that user input is required on the element before a form may be submitted.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-roledescription": {+ description:+ "Defines a human-readable, author-localized description for the role of an element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-rowcount": {+ description:+ "Defines the total number of rows in a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-rowindex": {+ description:+ "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-rowindextext": {+ description: "Defines a human readable text alternative of aria-rowindex.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-rowspan": {+ description:+ "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-selected": {+ description: 'Indicates the current "selected" state of various widgets.',+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-setsize": {+ description:+ "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-sort": {+ description:+ "Indicates if items in a table or grid are sorted in ascending or descending order.",+ required: false,+ control: "select",+ type: "string",+ options: ["none", "ascending", "descending", "other"],+ },+ "aria-valuemax": {+ description: "Defines the maximum allowed value for a range widget.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-valuemin": {+ description: "Defines the minimum allowed value for a range widget.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-valuenow": {+ description: "Defines the current value for a range widget.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-valuetext": {+ description:+ "Defines the human readable text alternative of aria-valuenow for a range widget.",+ required: false,+ control: "text",+ type: "string",+ },+ autoCapitalize: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Sets whether input is automatically capitalized when entered by user.",+ },+ autoCorrect: { required: false, control: "text", type: "string" },+ autoFocus: {+ required: false,+ control: "boolean",+ type: "boolean",+ description:+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",+ },+ autoSave: { required: false, control: "text", type: "string" },+ className: { required: false, control: "text", type: "string" },+ color: {+ required: false,+ control: "color",+ type: "string",+ description:+ "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead.",+ },+ content: {+ required: false,+ control: "text",+ type: "string",+ description:+ "A value associated with http-equiv orname depending on the context.",+ },+ contextMenu: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines the ID of a menu element which willserve as the element's context menu.",+ },+ datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },+ dir: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",+ },+ draggable: {+ required: false,+ control: "boolean",+ type: "boolean",+ description: "Defines whether the element can be dragged.",+ },+ hidden: {+ required: false,+ control: "boolean",+ type: "boolean",+ description:+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",+ },+ href: {+ required: false,+ control: "text",+ type: "string",+ description: "The URL of a linked resource.",+ },+ hrefLang: {+ required: false,+ control: "text",+ type: "string",+ description: "Specifies the language of the linked resource.",+ },+ id: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",+ },+ inputMode: {+ description:+ "Hints at the type of data that might be entered by the user while editing the element or its contents",+ required: false,+ control: "select",+ type: "string",+ options: [+ "search",+ "text",+ "none",+ "tel",+ "url",+ "email",+ "numeric",+ "decimal",+ ],+ },+ is: {+ description:+ "Specify that a standard HTML element should behave like a defined custom built-in element",+ required: false,+ control: "text",+ type: "string",+ },+ itemID: { required: false, control: "text", type: "string" },+ itemProp: { required: false, control: "text", type: "string" },+ itemRef: { required: false, control: "text", type: "string" },+ itemScope: { required: false, control: "boolean", type: "boolean" },+ itemType: { required: false, control: "text", type: "string" },+ lang: {+ required: false,+ control: "text",+ type: "string",+ description: "Defines the language used in the element.",+ },+ media: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Specifies a hint of the media for which the linked resource was designed.",+ },+ nonce: { required: false, control: "text", type: "string" },+ ping: {+ required: false,+ control: "text",+ type: "string",+ description:+ "The ping attribute specifies a space-separated list of URLs to be notified if a user follows the hyperlink.",+ },+ prefix: { required: false, control: "text", type: "string" },+ property: { required: false, control: "text", type: "string" },+ radioGroup: { required: false, control: "text", type: "string" },+ referrerPolicy: {+ required: false,+ control: "select",+ type: "string",+ options: [+ "",+ "no-referrer",+ "no-referrer-when-downgrade",+ "origin",+ "origin-when-cross-origin",+ "same-origin",+ "strict-origin",+ "strict-origin-when-cross-origin",+ "unsafe-url",+ ],+ description: "Specifies which referrer is sent when fetching the resource.",+ },+ rel: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Specifies the relationship of the target object to the link object.",+ },+ resource: { required: false, control: "text", type: "string" },+ results: { required: false, control: "number", type: "number" },+ rev: { required: false, control: "text", type: "string" },+ role: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines an explicit role for an element for use by assistive technologies.",+ },+ security: { required: false, control: "text", type: "string" },+ slot: {+ required: false,+ control: "text",+ type: "string",+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",+ },+ spellCheck: {+ required: false,+ control: "boolean",+ type: "boolean",+ description: "Indicates whether spell checking is allowed for the element.",+ },+ suppressContentEditableWarning: {+ required: false,+ control: "boolean",+ type: "boolean",+ },+ suppressHydrationWarning: {+ required: false,+ control: "boolean",+ type: "boolean",+ },+ tabIndex: {+ required: false,+ control: "number",+ type: "number",+ description:+ "Overrides the browser's default tab order and follows the one specified instead.",+ },+ title: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Text to be displayed in a tooltip when hovering over the element.",+ },+ translate: {+ required: false,+ control: "radio",+ type: "string",+ options: ["yes", "no"],+ description:+ "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged.",+ },+ type: {+ required: false,+ control: "text",+ type: "string",+ description: "Defines the type of the element.",+ },+ typeof: { required: false, control: "text", type: "string" },+ unselectable: {+ required: false,+ control: "radio",+ type: "string",+ options: ["on", "off"],+ },+ vocab: { required: false, control: "text", type: "string" },+};+export const propsNavigationMenuTrigger: Record<string, PropMeta> = {+ about: { required: false, control: "text", type: "string" },+ accessKey: {+ required: false,+ control: "text",+ type: "string",+ description: "Keyboard shortcut to activate or add focus to the element.",+ },+ "aria-activedescendant": {+ description:+ "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-atomic": {+ description:+ "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-autocomplete": {+ description:+ "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.",+ required: false,+ control: "select",+ type: "string",+ options: ["list", "none", "inline", "both"],+ },+ "aria-braillelabel": {+ description:+ "Defines a string value that labels the current element, which is intended to be converted into Braille.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-brailleroledescription": {+ description:+ "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-busy": { required: false, control: "boolean", type: "boolean" },+ "aria-checked": {+ description:+ 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.',+ required: false,+ control: "text",+ type: "string",+ },+ "aria-colcount": {+ description:+ "Defines the total number of columns in a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-colindex": {+ description:+ "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-colindextext": {+ description: "Defines a human readable text alternative of aria-colindex.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-colspan": {+ description:+ "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-controls": {+ description:+ "Identifies the element (or elements) whose contents or presence are controlled by the current element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-current": {+ description:+ "Indicates the element that represents the current item within a container or set of related elements.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-describedby": {+ description:+ "Identifies the element (or elements) that describes the object.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-description": {+ description:+ "Defines a string value that describes or annotates the current element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-details": {+ description:+ "Identifies the element that provides a detailed, extended description for the object.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-disabled": {+ description:+ "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-dropeffect": {+ description:+ "Indicates what functions can be performed when a dragged object is released on the drop target.",+ required: false,+ control: "select",+ type: "string",+ options: ["link", "none", "copy", "execute", "move", "popup"],+ },+ "aria-errormessage": {+ description:+ "Identifies the element that provides an error message for the object.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-expanded": {+ description:+ "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-flowto": {+ description:+ "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-grabbed": {+ description:+ 'Indicates an element\'s "grabbed" state in a drag-and-drop operation.',+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-haspopup": {+ description:+ "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-hidden": {+ description:+ "Indicates whether the element is exposed to an accessibility API.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-invalid": {+ description:+ "Indicates the entered value does not conform to the format expected by the application.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-keyshortcuts": {+ description:+ "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-label": {+ description:+ "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-labelledby": {+ description:+ "Identifies the element (or elements) that labels the current element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-level": {+ description:+ "Defines the hierarchical level of an element within a structure.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-live": {+ description:+ "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",+ required: false,+ control: "radio",+ type: "string",+ options: ["off", "assertive", "polite"],+ },+ "aria-modal": {+ description: "Indicates whether an element is modal when displayed.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-multiline": {+ description:+ "Indicates whether a text box accepts multiple lines of input or only a single line.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-multiselectable": {+ description:+ "Indicates that the user may select more than one item from the current selectable descendants.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-orientation": {+ description:+ "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",+ required: false,+ control: "radio",+ type: "string",+ options: ["horizontal", "vertical"],+ },+ "aria-owns": {+ description:+ "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-placeholder": {+ description:+ "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-posinset": {+ description:+ "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-pressed": {+ description: 'Indicates the current "pressed" state of toggle buttons.',+ required: false,+ control: "text",+ type: "string",+ },+ "aria-readonly": {+ description:+ "Indicates that the element is not editable, but is otherwise operable.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-relevant": {+ description:+ "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.",+ required: false,+ control: "select",+ type: "string",+ options: [+ "text",+ "additions",+ "additions removals",+ "additions text",+ "all",+ "removals",+ "removals additions",+ "removals text",+ "text additions",+ "text removals",+ ],+ },+ "aria-required": {+ description:+ "Indicates that user input is required on the element before a form may be submitted.",+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-roledescription": {+ description:+ "Defines a human-readable, author-localized description for the role of an element.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-rowcount": {+ description:+ "Defines the total number of rows in a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-rowindex": {+ description:+ "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-rowindextext": {+ description: "Defines a human readable text alternative of aria-rowindex.",+ required: false,+ control: "text",+ type: "string",+ },+ "aria-rowspan": {+ description:+ "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-selected": {+ description: 'Indicates the current "selected" state of various widgets.',+ required: false,+ control: "boolean",+ type: "boolean",+ },+ "aria-setsize": {+ description:+ "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-sort": {+ description:+ "Indicates if items in a table or grid are sorted in ascending or descending order.",+ required: false,+ control: "select",+ type: "string",+ options: ["none", "ascending", "descending", "other"],+ },+ "aria-valuemax": {+ description: "Defines the maximum allowed value for a range widget.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-valuemin": {+ description: "Defines the minimum allowed value for a range widget.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-valuenow": {+ description: "Defines the current value for a range widget.",+ required: false,+ control: "number",+ type: "number",+ },+ "aria-valuetext": {+ description:+ "Defines the human readable text alternative of aria-valuenow for a range widget.",+ required: false,+ control: "text",+ type: "string",+ },+ autoCapitalize: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Sets whether input is automatically capitalized when entered by user.",+ },+ autoCorrect: { required: false, control: "text", type: "string" },+ autoFocus: {+ required: false,+ control: "boolean",+ type: "boolean",+ description:+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",+ },+ autoSave: { required: false, control: "text", type: "string" },+ className: { required: false, control: "text", type: "string" },+ color: {+ required: false,+ control: "color",+ type: "string",+ description:+ "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead.",+ },+ content: {+ required: false,+ control: "text",+ type: "string",+ description:+ "A value associated with http-equiv orname depending on the context.",+ },+ contextMenu: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines the ID of a menu element which willserve as the element's context menu.",+ },+ datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },+ dir: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",+ },+ disabled: {+ required: false,+ control: "boolean",+ type: "boolean",+ description: "Indicates whether the user can interact with the element.",+ },+ draggable: {+ required: false,+ control: "boolean",+ type: "boolean",+ description: "Defines whether the element can be dragged.",+ },+ form: {+ required: false,+ control: "text",+ type: "string",+ description: "Indicates the form that is the owner of the element.",+ },+ formAction: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Indicates the action of the element, overriding the action defined inthe form.",+ },+ formEncType: {+ required: false,+ control: "text",+ type: "string",+ description:+ 'If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button\'s form owner.',+ },+ formMethod: {+ required: false,+ control: "text",+ type: "string",+ description:+ 'If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button\'s form owner.',+ },+ formNoValidate: {+ required: false,+ control: "boolean",+ type: "boolean",+ description:+ 'If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button\'s form owner.',+ },+ formTarget: {+ required: false,+ control: "text",+ type: "string",+ description:+ 'If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button\'s form owner.',+ },+ hidden: {+ required: false,+ control: "boolean",+ type: "boolean",+ description:+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",+ },+ id: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",+ },+ inputMode: {+ description:+ "Hints at the type of data that might be entered by the user while editing the element or its contents",+ required: false,+ control: "select",+ type: "string",+ options: [+ "search",+ "text",+ "none",+ "tel",+ "url",+ "email",+ "numeric",+ "decimal",+ ],+ },+ is: {+ description:+ "Specify that a standard HTML element should behave like a defined custom built-in element",+ required: false,+ control: "text",+ type: "string",+ },+ itemID: { required: false, control: "text", type: "string" },+ itemProp: { required: false, control: "text", type: "string" },+ itemRef: { required: false, control: "text", type: "string" },+ itemScope: { required: false, control: "boolean", type: "boolean" },+ itemType: { required: false, control: "text", type: "string" },+ lang: {+ required: false,+ control: "text",+ type: "string",+ description: "Defines the language used in the element.",+ },+ name: {+ required: false,+ control: "text",+ type: "string",+ description:+ "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes).",+ },+ nonce: { required: false, control: "text", type: "string" },+ prefix: { required: false, control: "text", type: "string" },+ property: { required: false, control: "text", type: "string" },+ radioGroup: { required: false, control: "text", type: "string" },+ rel: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Specifies the relationship of the target object to the link object.",+ },+ resource: { required: false, control: "text", type: "string" },+ results: { required: false, control: "number", type: "number" },+ rev: { required: false, control: "text", type: "string" },+ role: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines an explicit role for an element for use by assistive technologies.",+ },+ security: { required: false, control: "text", type: "string" },+ slot: {+ required: false,+ control: "text",+ type: "string",+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",+ },+ spellCheck: {+ required: false,+ control: "boolean",+ type: "boolean",+ description: "Indicates whether spell checking is allowed for the element.",+ },+ suppressContentEditableWarning: {+ required: false,+ control: "boolean",+ type: "boolean",+ },+ suppressHydrationWarning: {+ required: false,+ control: "boolean",+ type: "boolean",+ },+ tabIndex: {+ required: false,+ control: "number",+ type: "number",+ description:+ "Overrides the browser's default tab order and follows the one specified instead.",+ },+ title: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Text to be displayed in a tooltip when hovering over the element.",+ },+ translate: {+ required: false,+ control: "radio",+ type: "string",+ options: ["yes", "no"],+ description:+ "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged.",+ },+ type: {+ required: false,+ control: "radio",+ type: "string",+ options: ["button", "submit", "reset"],+ description: "Defines the type of the element.",+ },+ typeof: { required: false, control: "text", type: "string" },+ unselectable: {+ required: false,+ control: "radio",+ type: "string",+ options: ["on", "off"],+ },+ value: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines a default value which will be displayed in the element on pageload.",+ },+ vocab: { required: false, control: "text", type: "string" },+};diff --git a/packages/sdk-components-react-radix/src/__generated__/navigation-menu.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/navigation-menu.stories.tsxindex 4adb7ca50f..f99ba7e528 100644--- a/packages/sdk-components-react-radix/src/__generated__/navigation-menu.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/navigation-menu.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import {Box as Box,Button as Button,@@ -18,100 +17,86 @@ import {} from "../components";const Component = () => {- let [menuValue, set$menuValue] = useState<any>("");return (- <Box data-ws-id="root" data-ws-component="Box">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box"><NavigationMenudata-ws-id="1"data-ws-component="NavigationMenu"- value={menuValue}- onValueChange={(value: any) => {- menuValue = value;- set$menuValue(menuValue);- }}- className="crmoyyg cvxi4jc"+ className="w-navigation-menu"><NavigationMenuList- data-ws-id="6"+ data-ws-id="3"data-ws-component="NavigationMenuList"- className="c11ubft8 c19nnvu2 c6epq1b cniw9w8 cawkm6w clp87x0 cvrokas crk8tjo c11xgi9i c1yubncr c1iq6hwp cv7p8tf cq9q4za clo3r8o cw9oyzl csjyi15 c1xv9rff"+ className="w-navigation-menu-list"><NavigationMenuItem- data-ws-id="8"+ data-ws-id="5"data-ws-component="NavigationMenuItem"data-ws-index="0"+ className="w-navigation-menu-item"><NavigationMenuTrigger- data-ws-id="9"+ data-ws-id="6"data-ws-component="NavigationMenuTrigger"+ className="w-navigation-menu-trigger"><Button- data-ws-id="10"+ data-ws-id="7"data-ws-component="Button"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 cok6gp c1ebb32d c1ed2n1f c1an30v3 ca60kt0 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil c16g5416 c111au61 c1uw27mb co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r c1a713iq"+ className="w-button">- <Text data-ws-id="12" data-ws-component="Text">+ <Text+ data-ws-id="9"+ data-ws-component="Text"+ className="w-text"+ >{"About"}</Text>- <Box- data-ws-id="13"- data-ws-component="Box"- className="c9je87j cwfkqjc c1pmpq0f c1yafs04 c11hichb cpr3ke2 c1wmnqxw c1aw50j7"- >+ <Box data-ws-id="10" data-ws-component="Box" className="w-box"><HtmlEmbed- data-ws-id="15"+ data-ws-id="12"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M4.04 6.284a.65.65 0 0 1 .92.001L8 9.335l3.04-3.05a.65.65 0 1 1 .921.918l-3.5 3.512a.65.65 0 0 1-.921 0L4.039 7.203a.65.65 0 0 1 .001-.92Z"/></svg>'}+ className="w-html-embed"/></Box></Button></NavigationMenuTrigger><NavigationMenuContent- data-ws-id="17"+ data-ws-id="14"data-ws-component="NavigationMenuContent"data-ws-index="0"- className="cboqcgi ccq2s6t ct2k8wg c12s9tcd c1c2uk29 c1x1m3cj c17g8s4n c657y94"+ className="w-navigation-menu-content">- <Box- data-ws-id="19"- data-ws-component="Box"- className="c11xgi9i ci4ea85 c13l7myj c1jmgbvo c1qmwsx9 cey1d5i cbnv1sn"- >- <Box- data-ws-id="21"- data-ws-component="Box"- className="csvgwzp c1c2uk29 c1x1m3cj c17g8s4n c657y94 c1fd7x2o cuqxbts cg19ih8 c1479lj6 comq4ym"- >+ <Box data-ws-id="16" data-ws-component="Box" className="w-box">+ <Box data-ws-id="18" data-ws-component="Box" className="w-box">{""}</Box>- <Box- data-ws-id="23"- data-ws-component="Box"- className="c3e36dl c11xgi9i ci4ea85 c13l7myj cfd715b"- >+ <Box data-ws-id="20" data-ws-component="Box" className="w-box"><NavigationMenuLink- data-ws-id="25"+ data-ws-id="22"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="26"+ data-ws-id="23"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/sheet"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="29"+ data-ws-id="26"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Sheet"}</Text><Paragraph- data-ws-id="31"+ data-ws-id="28"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"Extends the Dialog component to display content that complements the main content of the screen."@@ -120,54 +105,56 @@ const Component = () => {</Link></NavigationMenuLink><NavigationMenuLink- data-ws-id="33"+ data-ws-id="30"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="34"+ data-ws-id="31"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/navigation-menu"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="37"+ data-ws-id="34"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Navigation Menu"}</Text><Paragraph- data-ws-id="39"+ data-ws-id="36"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"A collection of links for navigating websites."}</Paragraph></Link></NavigationMenuLink><NavigationMenuLink- data-ws-id="41"+ data-ws-id="38"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="42"+ data-ws-id="39"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/tabs"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="45"+ data-ws-id="42"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Tabs"}</Text><Paragraph- data-ws-id="47"+ data-ws-id="44"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"A set of layered sections of content—known as tab panels—that are displayed one at a time."@@ -180,74 +167,70 @@ const Component = () => {</NavigationMenuContent></NavigationMenuItem><NavigationMenuItem- data-ws-id="49"+ data-ws-id="46"data-ws-component="NavigationMenuItem"data-ws-index="1"+ className="w-navigation-menu-item"><NavigationMenuTrigger- data-ws-id="50"+ data-ws-id="47"data-ws-component="NavigationMenuTrigger"+ className="w-navigation-menu-trigger"><Button- data-ws-id="51"+ data-ws-id="48"data-ws-component="Button"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 cok6gp c1ebb32d c1ed2n1f c1an30v3 ca60kt0 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil c16g5416 c111au61 c1uw27mb co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r c1a713iq"+ className="w-button">- <Text data-ws-id="53" data-ws-component="Text">+ <Text+ data-ws-id="50"+ data-ws-component="Text"+ className="w-text"+ >{"Components"}</Text>- <Box- data-ws-id="54"- data-ws-component="Box"- className="c9je87j cwfkqjc c1pmpq0f c1yafs04 c11hichb cpr3ke2 c1wmnqxw c1aw50j7"- >+ <Box data-ws-id="51" data-ws-component="Box" className="w-box"><HtmlEmbed- data-ws-id="56"+ data-ws-id="53"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M4.04 6.284a.65.65 0 0 1 .92.001L8 9.335l3.04-3.05a.65.65 0 1 1 .921.918l-3.5 3.512a.65.65 0 0 1-.921 0L4.039 7.203a.65.65 0 0 1 .001-.92Z"/></svg>'}+ className="w-html-embed"/></Box></Button></NavigationMenuTrigger><NavigationMenuContent- data-ws-id="58"+ data-ws-id="55"data-ws-component="NavigationMenuContent"data-ws-index="1"- className="cboqcgi ccq2s6t ct2k8wg c12s9tcd c1c2uk29 c1x1m3cj c17g8s4n c657y94"+ className="w-navigation-menu-content">- <Box- data-ws-id="60"- data-ws-component="Box"- className="c11xgi9i ci4ea85 c13l7myj c11ubft8 c19nnvu2 c6epq1b cniw9w8"- >- <Box- data-ws-id="62"- data-ws-component="Box"- className="c3e36dl c11xgi9i ci4ea85 c13l7myj cfd715b"- >+ <Box data-ws-id="57" data-ws-component="Box" className="w-box">+ <Box data-ws-id="59" data-ws-component="Box" className="w-box"><NavigationMenuLink- data-ws-id="64"+ data-ws-id="61"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="65"+ data-ws-id="62"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/accordion"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="68"+ data-ws-id="65"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Accordion"}</Text><Paragraph- data-ws-id="70"+ data-ws-id="67"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"A vertically stacked set of interactive headings that each reveal a section of content."@@ -256,26 +239,27 @@ const Component = () => {</Link></NavigationMenuLink><NavigationMenuLink- data-ws-id="72"+ data-ws-id="69"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="73"+ data-ws-id="70"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/dialog"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="76"+ data-ws-id="73"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Dialog"}</Text><Paragraph- data-ws-id="78"+ data-ws-id="75"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"A window overlaid on either the primary window or another dialog window, rendering the content underneath inert."@@ -284,26 +268,27 @@ const Component = () => {</Link></NavigationMenuLink><NavigationMenuLink- data-ws-id="80"+ data-ws-id="77"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="81"+ data-ws-id="78"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/collapsible"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="84"+ data-ws-id="81"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Collapsible"}</Text><Paragraph- data-ws-id="86"+ data-ws-id="83"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"An interactive component which expands/collapses a panel."@@ -312,32 +297,29 @@ const Component = () => {</Link></NavigationMenuLink></Box>- <Box- data-ws-id="88"- data-ws-component="Box"- className="c3e36dl c11xgi9i ci4ea85 c13l7myj cfd715b"- >+ <Box data-ws-id="85" data-ws-component="Box" className="w-box"><NavigationMenuLink- data-ws-id="90"+ data-ws-id="87"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="91"+ data-ws-id="88"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/popover"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="94"+ data-ws-id="91"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Popover"}</Text><Paragraph- data-ws-id="96"+ data-ws-id="93"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"Displays rich content in a portal, triggered by a button."@@ -346,26 +328,27 @@ const Component = () => {</Link></NavigationMenuLink><NavigationMenuLink- data-ws-id="98"+ data-ws-id="95"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="99"+ data-ws-id="96"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/tooltip"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="102"+ data-ws-id="99"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Tooltip"}</Text><Paragraph- data-ws-id="104"+ data-ws-id="101"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it."@@ -374,26 +357,27 @@ const Component = () => {</Link></NavigationMenuLink><NavigationMenuLink- data-ws-id="106"+ data-ws-id="103"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="107"+ data-ws-id="104"data-ws-component="Link"href={"https://ui.shadcn.com/docs/components/button"}- className="c1lp1p2a c11xgi9i cfd715b cekw1i5 csjyi15 c1xv9rff cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 c17g4cws ctolsm2 crxf9g c1gfew4a cxlxl0c c1gfzcg5 cohan28 c15roejc c1dr421o c14ytp9r c11eeprv c1rbq5ju"+ className="w-link"><Text- data-ws-id="110"+ data-ws-id="107"data-ws-component="Text"- className="c1qx3pju crxf9g c1qjvju3"+ className="w-text">{"Button"}</Text><Paragraph- data-ws-id="112"+ data-ws-id="109"data-ws-component="Paragraph"- className="cawkm6w clp87x0 cvrokas crk8tjo c1p3lwwv c1ldl5ci c1rc3t1c c69w97g c1qx3pju c1ls6yv2 c1pcz91e"+ className="w-paragraph">{"Displays a button or a component that looks like a button."@@ -406,33 +390,31 @@ const Component = () => {</NavigationMenuContent></NavigationMenuItem><NavigationMenuItem- data-ws-id="114"+ data-ws-id="111"data-ws-component="NavigationMenuItem"data-ws-index="2"+ className="w-navigation-menu-item"><NavigationMenuLink- data-ws-id="115"+ data-ws-id="112"data-ws-component="NavigationMenuLink"+ className="w-navigation-menu-link"><Link- data-ws-id="116"+ data-ws-id="113"data-ws-component="Link"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 cok6gp c1ebb32d c1ed2n1f c1an30v3 ca60kt0 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil c16g5416 c111au61 c1gfew4a c1hdhil0 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r"+ className="w-link">{"Standalone"}</Link></NavigationMenuLink></NavigationMenuItem></NavigationMenuList>- <Box- data-ws-id="118"- data-ws-component="Box"- className="ct2k8wg cboqcgi coe4ay6 c11xgi9i cw9oyzl"- >+ <Box data-ws-id="115" data-ws-component="Box" className="w-box"><NavigationMenuViewport- data-ws-id="120"+ data-ws-id="117"data-ws-component="NavigationMenuViewport"- className="crmoyyg cg2jhpq c1p3lwwv cuqxbts cg19ih8 c1479lj6 comq4ym c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c1rt44f4 cwi0ez9 c1ii9nza c53wwee c1daganl"+ className="w-navigation-menu-viewport"/></Box></NavigationMenu>@@ -452,11 +434,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -466,9 +444,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -476,7 +455,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -484,7 +463,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -492,7 +471,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -500,7 +479,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -508,7 +487,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -516,7 +495,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -524,7 +503,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -532,7 +511,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -540,7 +519,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -548,7 +527,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="NavigationMenu"]) {+ :where(div.w-navigation-menu) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -556,7 +535,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="NavigationMenuList"]) {+ :where(div.w-navigation-menu-list) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -564,7 +543,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="NavigationMenuItem"]) {+ :where(div.w-navigation-menu-item) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -572,7 +551,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="NavigationMenuTrigger"]) {+ :where(div.w-navigation-menu-trigger) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -580,22 +559,23 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Button"]) {+ :where(button.w-button) {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;- text-transform: none- }- div:where([data-ws-component="Text"]) {+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -604,7 +584,10 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}- div:where([data-ws-component="NavigationMenuContent"]) {+ :where(div.w-html-embed) {+ display: contents+ }+ :where(div.w-navigation-menu-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -612,7 +595,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="NavigationMenuLink"]) {+ :where(div.w-navigation-menu-link) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -620,7 +603,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- a:where([data-ws-component="Link"]) {+ :where(a.w-link) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -630,7 +613,7 @@ html {margin: 0; display: grid; min-height: 100%}min-height: 1em;display: inline-block}- p:where([data-ws-component="Paragraph"]) {+ :where(p.w-paragraph) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -638,7 +621,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="NavigationMenuViewport"]) {+ :where(div.w-navigation-menu-viewport) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -646,336 +629,603 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}-}@media all {- .crmoyyg {- position: relative- }- .cvxi4jc {+}+@media all {+ [data-ws-id="1"] {+ position: relative;max-width: max-content}- .c11ubft8 {- padding-left: 0px- }- .c19nnvu2 {- padding-right: 0px- }- .c6epq1b {- padding-top: 0px- }- .cniw9w8 {- padding-bottom: 0px- }- .cawkm6w {- margin-left: 0px- }- .clp87x0 {- margin-right: 0px- }- .cvrokas {- margin-top: 0px- }- .crk8tjo {- margin-bottom: 0px- }- .c11xgi9i {- display: flex- }- .c1yubncr {- flex-grow: 1- }- .c1iq6hwp {- flex-shrink: 1- }- .cv7p8tf {- flex-basis: 0%- }- .cq9q4za {- list-style-type: none- }- .clo3r8o {- align-items: center- }- .cw9oyzl {- justify-content: center- }- .csjyi15 {- row-gap: 0.25rem- }- .c1xv9rff {- column-gap: 0.25rem- }- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1wic2il {- border-top-color: rgba(226, 232, 240, 1)- }- .cdem58j {- border-right-color: rgba(226, 232, 240, 1)- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)- }- .cb204z1 {- border-left-color: rgba(226, 232, 240, 1)- }- .cok6gp {- border-top-width: 0px- }- .c1ebb32d {- border-right-width: 0px- }- .c1ed2n1f {- border-bottom-width: 0px- }- .c1an30v3 {- border-left-width: 0px- }- .ca60kt0 {- background-color: transparent+ [data-ws-id="3"] {+ display: flex;+ flex-grow: 1;+ flex-shrink: 1;+ flex-basis: 0%;+ list-style-type: none;+ align-items: center;+ justify-content: center;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ margin: 0px;+ padding: 0px+ }+ [data-ws-id="7"] {+ background-color: transparent;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ --navigation-menu-trigger-icon-transform: 0deg;+ border: 0px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="7"]:disabled {+ pointer-events: none;+ opacity: 0.5}- .c1oai8p0 {- display: inline-flex+ [data-ws-id="7"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .cuqxbts {- border-top-left-radius: 0.375rem+ [data-ws-id="7"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .cg19ih8 {- border-top-right-radius: 0.375rem+ [data-ws-id="7"][data-state=open] {+ --navigation-menu-trigger-icon-transform: 180deg}- .c1479lj6 {- border-bottom-right-radius: 0.375rem+ [data-ws-id="10"] {+ margin-left: 0.25rem;+ rotate: var(--navigation-menu-trigger-icon-transform);+ height: 1rem;+ width: 1rem;+ flex-grow: 0;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 200ms}- .comq4ym {- border-bottom-left-radius: 0.375rem+ [data-ws-id="14"] {+ left: 0px;+ top: 0px;+ position: absolute;+ width: max-content;+ padding: 1rem+ }+ [data-ws-id="16"] {+ display: flex;+ row-gap: 1rem;+ column-gap: 1rem;+ padding: 0.5rem+ }+ [data-ws-id="18"] {+ background-color: rgba(226, 232, 240, 1);+ width: 12rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ padding: 1rem+ }+ [data-ws-id="20"] {+ width: 16rem;+ display: flex;+ row-gap: 1rem;+ column-gap: 1rem;+ flex-direction: column}- .c1qx3pju {- font-size: 0.875rem+ [data-ws-id="23"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="23"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .cut8gip {- line-height: 1.25rem+ [data-ws-id="23"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1qjvju3 {+ [data-ws-id="26"] {+ font-size: 0.875rem;+ line-height: 1;font-weight: 500}- .c18kkil {- height: 2.5rem- }- .c16g5416 {- padding-left: 0.75rem- }- .c111au61 {- padding-right: 0.75rem- }- .c1uw27mb {- --navigation-menu-trigger-icon-transform: 0deg- }- .co0lfwl:focus-visible {- outline-width: 2px+ [data-ws-id="28"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="31"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="31"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1kn3u98:focus-visible {- outline-style: solid+ [data-ws-id="31"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c2odgnt:focus-visible {- outline-color: transparent+ [data-ws-id="34"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .chlvjga:focus-visible {- outline-offset: 2px+ [data-ws-id="36"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="39"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="39"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)+ [data-ws-id="39"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1jirpm3:disabled {- pointer-events: none+ [data-ws-id="42"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .ce92j53:disabled {+ [data-ws-id="44"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="48"] {+ background-color: transparent;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ --navigation-menu-trigger-icon-transform: 0deg;+ border: 0px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="48"]:disabled {+ pointer-events: none;opacity: 0.5}- .c1dr421o:hover {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="48"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c14ytp9r:hover {+ [data-ws-id="48"]:hover {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}- .c1a713iq[data-state=open] {+ [data-ws-id="48"][data-state=open] {--navigation-menu-trigger-icon-transform: 180deg}- .c9je87j {- margin-left: 0.25rem- }- .cwfkqjc {- rotate: var(--navigation-menu-trigger-icon-transform)- }- .c1pmpq0f {- height: 1rem- }- .c1yafs04 {- width: 1rem- }- .c11hichb {- flex-grow: 0- }- .cpr3ke2 {- transition-property: all- }- .c1wmnqxw {- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)- }- .c1aw50j7 {+ [data-ws-id="51"] {+ margin-left: 0.25rem;+ rotate: var(--navigation-menu-trigger-icon-transform);+ height: 1rem;+ width: 1rem;+ flex-grow: 0;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);transition-duration: 200ms}- .cboqcgi {- left: 0px- }- .ccq2s6t {- top: 0px- }- .ct2k8wg {- position: absolute- }- .c12s9tcd {- width: max-content- }- .c1c2uk29 {- padding-left: 1rem- }- .c1x1m3cj {- padding-right: 1rem- }- .c17g8s4n {- padding-top: 1rem- }- .c657y94 {- padding-bottom: 1rem- }- .ci4ea85 {- row-gap: 1rem- }- .c13l7myj {- column-gap: 1rem- }- .c1jmgbvo {- padding-left: 0.5rem- }- .c1qmwsx9 {- padding-right: 0.5rem- }- .cey1d5i {- padding-top: 0.5rem- }- .cbnv1sn {- padding-bottom: 0.5rem- }- .csvgwzp {- background-color: rgba(226, 232, 240, 1)- }- .c1fd7x2o {- width: 12rem- }- .c3e36dl {- width: 16rem- }- .cfd715b {+ [data-ws-id="55"] {+ left: 0px;+ top: 0px;+ position: absolute;+ width: max-content;+ padding: 1rem+ }+ [data-ws-id="57"] {+ display: flex;+ row-gap: 1rem;+ column-gap: 1rem;+ padding: 0px+ }+ [data-ws-id="59"] {+ width: 16rem;+ display: flex;+ row-gap: 1rem;+ column-gap: 1rem;flex-direction: column}- .c1lp1p2a {- color: inherit- }- .cekw1i5 {- user-select: none- }- .c17g4cws {- padding-top: 0.75rem- }- .ctolsm2 {- padding-bottom: 0.75rem- }- .crxf9g {- line-height: 1- }- .c1gfew4a {- text-decoration-line: none+ [data-ws-id="62"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="62"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .cxlxl0c {- outline-width: 2px+ [data-ws-id="62"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1gfzcg5 {- outline-style: solid+ [data-ws-id="65"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .cohan28 {- outline-color: transparent+ [data-ws-id="67"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="70"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="70"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c15roejc {- outline-offset: 2px+ [data-ws-id="70"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c11eeprv:focus {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="73"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .c1rbq5ju:focus {+ [data-ws-id="75"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="78"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="78"]:focus {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}- .c1p3lwwv {- overflow: hidden- }- .c1ldl5ci {- display: -webkit-box+ [data-ws-id="78"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1rc3t1c {- -webkit-box-orient: vertical+ [data-ws-id="81"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .c69w97g {- -webkit-line-clamp: 2+ [data-ws-id="83"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="85"] {+ width: 16rem;+ display: flex;+ row-gap: 1rem;+ column-gap: 1rem;+ flex-direction: column}- .c1ls6yv2 {- line-height: 1.375+ [data-ws-id="88"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="88"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1pcz91e {- color: rgba(100, 116, 139, 1)+ [data-ws-id="88"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1hdhil0 {- color: currentColor+ [data-ws-id="91"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .coe4ay6 {- top: 100%+ [data-ws-id="93"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="96"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="96"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .cg2jhpq {- margin-top: 0.375rem+ [data-ws-id="96"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .ck2qarh {- border-top-width: 1px+ [data-ws-id="99"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .c1nxbatd {- border-right-width: 1px+ [data-ws-id="101"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="104"] {+ color: inherit;+ display: flex;+ flex-direction: column;+ -webkit-user-select: none;+ user-select: none;+ row-gap: 0.25rem;+ column-gap: 0.25rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ line-height: 1;+ text-decoration-line: none;+ outline-offset: 2px;+ outline: 2px solid transparent;+ padding: 0.75rem+ }+ [data-ws-id="104"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .caktpzb {- border-bottom-width: 1px+ [data-ws-id="104"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1bm526f {- border-left-width: 1px+ [data-ws-id="107"] {+ font-size: 0.875rem;+ line-height: 1;+ font-weight: 500}- .c1rt44f4 {- background-color: rgba(255, 255, 255, 1)+ [data-ws-id="109"] {+ overflow-x: hidden;+ overflow-y: hidden;+ display: -webkit-box;+ -webkit-box-orient: vertical;+ -webkit-line-clamp: 2;+ font-size: 0.875rem;+ line-height: 1.375;+ color: rgba(100, 116, 139, 1);+ margin: 0px+ }+ [data-ws-id="113"] {+ background-color: transparent;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ text-decoration-line: none;+ border: 0px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="113"]:disabled {+ pointer-events: none;+ opacity: 0.5}- .cwi0ez9 {- color: rgba(2, 8, 23, 1)+ [data-ws-id="113"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c1ii9nza {- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)+ [data-ws-id="113"]:hover {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c53wwee {- height: var(--radix-navigation-menu-viewport-height)+ [data-ws-id="115"] {+ position: absolute;+ left: 0px;+ top: 100%;+ display: flex;+ justify-content: center}- .c1daganl {- width: var(--radix-navigation-menu-viewport-width)+ [data-ws-id="117"] {+ position: relative;+ margin-top: 0.375rem;+ overflow-x: hidden;+ overflow-y: hidden;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ background-color: rgba(255, 255, 255, 1);+ color: rgba(2, 8, 23, 1);+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);+ height: var(--radix-navigation-menu-viewport-height);+ width: var(--radix-navigation-menu-viewport-width);+ border: 1px solid rgba(226, 232, 240, 1)}}`}diff --git a/packages/sdk-components-react-radix/src/__generated__/popover.props.ts b/packages/sdk-components-react-radix/src/__generated__/popover.props.tsindex 462222f98f..152cd82b49 100644--- a/packages/sdk-components-react-radix/src/__generated__/popover.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/popover.props.ts@@ -448,6 +448,7 @@ export const propsPopoverContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/popover.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/popover.stories.tsxindex 7302de1f89..8bdb683b6e 100644--- a/packages/sdk-components-react-radix/src/__generated__/popover.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/popover.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import {Box as Box,Button as Button,@@ -11,33 +10,24 @@ import {} from "../components";const Component = () => {- let [popoverOpen, set$popoverOpen] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">- <Popover- data-ws-id="1"- data-ws-component="Popover"- open={popoverOpen}- onOpenChange={(open: any) => {- popoverOpen = open;- set$popoverOpen(popoverOpen);- }}- >- <PopoverTrigger data-ws-id="5" data-ws-component="PopoverTrigger">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box">+ <Popover data-ws-id="1" data-ws-component="Popover">+ <PopoverTrigger data-ws-id="2" data-ws-component="PopoverTrigger"><Button- data-ws-id="6"+ data-ws-id="3"data-ws-component="Button"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c110hgy6 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil c1c2uk29 c1x1m3cj cey1d5i cbnv1sn co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r"+ className="w-button">{"Button"}</Button></PopoverTrigger><PopoverContent- data-ws-id="8"+ data-ws-id="5"data-ws-component="PopoverContent"- className="c173yyao c1vgsbti cuqxbts cg19ih8 c1479lj6 comq4ym c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c1rt44f4 c1c2uk29 c1x1m3cj c17g8s4n c657y94 cwi0ez9 cpbhzvr cxlxl0c c1gfzcg5 cohan28 c15roejc"+ className="w-popover-content">- <Text data-ws-id="10" data-ws-component="Text">+ <Text data-ws-id="7" data-ws-component="Text" className="w-text">{"The text you can edit"}</Text></PopoverContent>@@ -58,11 +48,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -72,9 +58,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -82,7 +69,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -90,7 +77,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -98,7 +85,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -106,7 +93,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -114,7 +101,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -122,7 +109,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -130,7 +117,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -138,7 +125,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -146,7 +133,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -154,22 +141,23 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Button"]) {+ :where(button.w-button) {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;- text-transform: none- }- div:where([data-ws-component="PopoverContent"]) {+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(div.w-popover-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -177,7 +165,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Text"]) {+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -186,150 +174,55 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}-}@media all {- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1wic2il {- border-top-color: rgba(226, 232, 240, 1)- }- .cdem58j {- border-right-color: rgba(226, 232, 240, 1)- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)- }- .cb204z1 {- border-left-color: rgba(226, 232, 240, 1)- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px- }- .c110hgy6 {- background-color: rgba(255, 255, 255, 0.8)- }- .c1oai8p0 {- display: inline-flex- }- .clo3r8o {- align-items: center- }- .cw9oyzl {- justify-content: center- }- .cuqxbts {- border-top-left-radius: 0.375rem- }- .cg19ih8 {- border-top-right-radius: 0.375rem- }- .c1479lj6 {- border-bottom-right-radius: 0.375rem- }- .comq4ym {- border-bottom-left-radius: 0.375rem- }- .c1qx3pju {- font-size: 0.875rem- }- .cut8gip {- line-height: 1.25rem- }- .c1qjvju3 {- font-weight: 500- }- .c18kkil {- height: 2.5rem- }- .c1c2uk29 {- padding-left: 1rem- }- .c1x1m3cj {- padding-right: 1rem- }- .cey1d5i {- padding-top: 0.5rem- }- .cbnv1sn {- padding-bottom: 0.5rem- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px- }- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1jirpm3:disabled {- pointer-events: none- }- .ce92j53:disabled {+}+@media all {+ [data-ws-id="3"] {+ background-color: rgba(255, 255, 255, 0.8);+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ padding-left: 1rem;+ padding-right: 1rem;+ padding-top: 0.5rem;+ padding-bottom: 0.5rem;+ border: 1px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="3"]:disabled {+ pointer-events: none;opacity: 0.5}- .c1dr421o:hover {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="3"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c14ytp9r:hover {+ [data-ws-id="3"]:hover {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}- .c173yyao {- z-index: 50- }- .c1vgsbti {- width: 18rem- }- .c1rt44f4 {- background-color: rgba(255, 255, 255, 1)- }- .c17g8s4n {- padding-top: 1rem- }- .c657y94 {- padding-bottom: 1rem- }- .cwi0ez9 {- color: rgba(2, 8, 23, 1)- }- .cpbhzvr {- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)- }- .cxlxl0c {- outline-width: 2px- }- .c1gfzcg5 {- outline-style: solid- }- .cohan28 {- outline-color: transparent- }- .c15roejc {- outline-offset: 2px+ [data-ws-id="5"] {+ z-index: 50;+ width: 18rem;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ background-color: rgba(255, 255, 255, 1);+ color: rgba(2, 8, 23, 1);+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);+ outline-offset: 2px;+ outline: 2px solid transparent;+ border: 1px solid rgba(226, 232, 240, 1);+ padding: 1rem}}`}diff --git a/packages/sdk-components-react-radix/src/__generated__/radio-group.props.ts b/packages/sdk-components-react-radix/src/__generated__/radio-group.props.tsindex 7d08465eed..37885fce64 100644--- a/packages/sdk-components-react-radix/src/__generated__/radio-group.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/radio-group.props.ts@@ -421,6 +421,7 @@ export const propsRadioGroup: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "radio",@@ -1027,6 +1028,7 @@ export const propsRadioGroupItem: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1653,6 +1655,7 @@ export const propsRadioGroupIndicator: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/radio-group.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/radio-group.stories.tsxindex 729f85597e..1dab2c896f 100644--- a/packages/sdk-components-react-radix/src/__generated__/radio-group.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/radio-group.stories.tsx@@ -14,7 +14,7 @@ import {const Component = () => {let [radioGroupValue, set$radioGroupValue] = useState<any>("");return (- <Box data-ws-id="root" data-ws-component="Box">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box"><RadioGroupdata-ws-id="1"data-ws-component="RadioGroup"@@ -23,22 +23,19 @@ const Component = () => {radioGroupValue = value;set$radioGroupValue(radioGroupValue);}}- className="c11xgi9i cfd715b c8prkzu c1edvzo4"+ className="w-radio-group">- <Label- data-ws-id="6"- data-ws-component="Label"- className="c11xgi9i clo3r8o c8prkzu c1edvzo4"- >+ <Label data-ws-id="6" data-ws-component="Label" className="w-label"><RadioGroupItemdata-ws-id="8"data-ws-component="RadioGroupItem"value={"default"}- className="c1t3sijk c1pmpq0f c1yafs04 c1o2cngd c1riwd65 ci2hmcl c1byz2lk c17al2u0 c1ufcra4 c17gos5d cn4f13s c9mvxkx cu0p3ww c11i8aye ca1f4zs ck2qarh c1nxbatd caktpzb c1bm526f c3i5k81 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1oa7gr0 ce92j53"+ className="w-radio-group-item"><RadioGroupIndicatordata-ws-id="11"data-ws-component="RadioGroupIndicator"+ className="w-radio-group-indicator"><HtmlEmbeddata-ws-id="12"@@ -46,27 +43,25 @@ const Component = () => {code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M8 5.35a2.65 2.65 0 1 0 0 5.3 2.65 2.65 0 0 0 0-5.3Z"/></svg>'}+ className="w-html-embed"/></RadioGroupIndicator></RadioGroupItem>- <Text data-ws-id="14" data-ws-component="Text">+ <Text data-ws-id="14" data-ws-component="Text" className="w-text">{"Default"}</Text></Label>- <Label- data-ws-id="15"- data-ws-component="Label"- className="c11xgi9i clo3r8o c8prkzu c1edvzo4"- >+ <Label data-ws-id="15" data-ws-component="Label" className="w-label"><RadioGroupItemdata-ws-id="17"data-ws-component="RadioGroupItem"value={"comfortable"}- className="c1t3sijk c1pmpq0f c1yafs04 c1o2cngd c1riwd65 ci2hmcl c1byz2lk c17al2u0 c1ufcra4 c17gos5d cn4f13s c9mvxkx cu0p3ww c11i8aye ca1f4zs ck2qarh c1nxbatd caktpzb c1bm526f c3i5k81 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1oa7gr0 ce92j53"+ className="w-radio-group-item"><RadioGroupIndicatordata-ws-id="20"data-ws-component="RadioGroupIndicator"+ className="w-radio-group-indicator"><HtmlEmbeddata-ws-id="21"@@ -74,27 +69,25 @@ const Component = () => {code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M8 5.35a2.65 2.65 0 1 0 0 5.3 2.65 2.65 0 0 0 0-5.3Z"/></svg>'}+ className="w-html-embed"/></RadioGroupIndicator></RadioGroupItem>- <Text data-ws-id="23" data-ws-component="Text">+ <Text data-ws-id="23" data-ws-component="Text" className="w-text">{"Comfortable"}</Text></Label>- <Label- data-ws-id="24"- data-ws-component="Label"- className="c11xgi9i clo3r8o c8prkzu c1edvzo4"- >+ <Label data-ws-id="24" data-ws-component="Label" className="w-label"><RadioGroupItemdata-ws-id="26"data-ws-component="RadioGroupItem"value={"compact"}- className="c1t3sijk c1pmpq0f c1yafs04 c1o2cngd c1riwd65 ci2hmcl c1byz2lk c17al2u0 c1ufcra4 c17gos5d cn4f13s c9mvxkx cu0p3ww c11i8aye ca1f4zs ck2qarh c1nxbatd caktpzb c1bm526f c3i5k81 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1oa7gr0 ce92j53"+ className="w-radio-group-item"><RadioGroupIndicatordata-ws-id="29"data-ws-component="RadioGroupIndicator"+ className="w-radio-group-indicator"><HtmlEmbeddata-ws-id="30"@@ -102,10 +95,11 @@ const Component = () => {code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path d="M8 5.35a2.65 2.65 0 1 0 0 5.3 2.65 2.65 0 0 0 0-5.3Z"/></svg>'}+ className="w-html-embed"/></RadioGroupIndicator></RadioGroupItem>- <Text data-ws-id="32" data-ws-component="Text">+ <Text data-ws-id="32" data-ws-component="Text" className="w-text">{"Compact"}</Text></Label>@@ -126,11 +120,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -140,9 +130,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -150,7 +141,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -158,7 +149,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -166,7 +157,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -174,7 +165,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -182,7 +173,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -190,7 +181,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -198,7 +189,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -206,7 +197,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -214,7 +205,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -222,7 +213,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="RadioGroup"]) {+ :where(div.w-radio-group) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -230,7 +221,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- label:where([data-ws-component="Label"]) {+ :where(label.w-label) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -238,36 +229,19 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="RadioGroupItem"]) {+ :where(button.w-radio-group-item) {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: 0px;- border-right-width: 0px;- border-bottom-width: 0px;- border-left-width: 0px;text-transform: none;background-color: transparent;background-image: none;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- border-top-color: rgba(226, 232, 240, 1);- border-right-color: rgba(226, 232, 240, 1);- border-bottom-color: rgba(226, 232, 240, 1);- border-left-color: rgba(226, 232, 240, 1);- padding-left: 0px;- padding-right: 0px;- padding-top: 0px;- padding-bottom: 0px+ border: 0px solid rgba(226, 232, 240, 1);+ margin: 0;+ padding: 0px}- span:where([data-ws-component="RadioGroupIndicator"]) {+ :where(span.w-radio-group-indicator) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -275,7 +249,10 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Text"]) {+ :where(div.w-html-embed) {+ display: contents+ }+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -284,103 +261,92 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}-}@media all {- .c11xgi9i {- display: flex- }- .cfd715b {- flex-direction: column- }- .c8prkzu {- row-gap: 0.5rem- }- .c1edvzo4 {+}+@media all {+ [data-ws-id="1"] {+ display: flex;+ flex-direction: column;+ row-gap: 0.5rem;column-gap: 0.5rem}- .clo3r8o {- align-items: center- }- .c1t3sijk {- aspect-ratio: 1 / 1- }- .c1pmpq0f {- height: 1rem- }- .c1yafs04 {- width: 1rem- }- .c1o2cngd {- border-top-left-radius: 9999px- }- .c1riwd65 {- border-top-right-radius: 9999px- }- .ci2hmcl {- border-bottom-right-radius: 9999px- }- .c1byz2lk {- border-bottom-left-radius: 9999px- }- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c9mvxkx {- border-top-color: rgba(15, 23, 42, 1)- }- .cu0p3ww {- border-right-color: rgba(15, 23, 42, 1)- }- .c11i8aye {- border-bottom-color: rgba(15, 23, 42, 1)- }- .ca1f4zs {- border-left-color: rgba(15, 23, 42, 1)- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px- }- .c3i5k81 {- color: rgba(15, 23, 42, 1)+ [data-ws-id="6"] {+ display: flex;+ align-items: center;+ row-gap: 0.5rem;+ column-gap: 0.5rem}- .co0lfwl:focus-visible {- outline-width: 2px+ [data-ws-id="8"] {+ aspect-ratio: 1 / 1;+ height: 1rem;+ width: 1rem;+ border-top-left-radius: 9999px;+ border-top-right-radius: 9999px;+ border-bottom-right-radius: 9999px;+ border-bottom-left-radius: 9999px;+ color: rgba(15, 23, 42, 1);+ border: 1px solid rgba(15, 23, 42, 1)+ }+ [data-ws-id="8"]:disabled {+ cursor: not-allowed;+ opacity: 0.5}- .c1kn3u98:focus-visible {- outline-style: solid+ [data-ws-id="8"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c2odgnt:focus-visible {- outline-color: transparent+ [data-ws-id="15"] {+ display: flex;+ align-items: center;+ row-gap: 0.5rem;+ column-gap: 0.5rem}- .chlvjga:focus-visible {- outline-offset: 2px+ [data-ws-id="17"] {+ aspect-ratio: 1 / 1;+ height: 1rem;+ width: 1rem;+ border-top-left-radius: 9999px;+ border-top-right-radius: 9999px;+ border-bottom-right-radius: 9999px;+ border-bottom-left-radius: 9999px;+ color: rgba(15, 23, 42, 1);+ border: 1px solid rgba(15, 23, 42, 1)+ }+ [data-ws-id="17"]:disabled {+ cursor: not-allowed;+ opacity: 0.5}- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)+ [data-ws-id="17"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c1oa7gr0:disabled {- cursor: not-allowed+ [data-ws-id="24"] {+ display: flex;+ align-items: center;+ row-gap: 0.5rem;+ column-gap: 0.5rem}- .ce92j53:disabled {+ [data-ws-id="26"] {+ aspect-ratio: 1 / 1;+ height: 1rem;+ width: 1rem;+ border-top-left-radius: 9999px;+ border-top-right-radius: 9999px;+ border-bottom-right-radius: 9999px;+ border-bottom-left-radius: 9999px;+ color: rgba(15, 23, 42, 1);+ border: 1px solid rgba(15, 23, 42, 1)+ }+ [data-ws-id="26"]:disabled {+ cursor: not-allowed;opacity: 0.5}+ [data-ws-id="26"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent+ }}`}</style>diff --git a/packages/sdk-components-react-radix/src/__generated__/select.props.ts b/packages/sdk-components-react-radix/src/__generated__/select.props.tsindex dfd9c279e1..45b8e28b21 100644--- a/packages/sdk-components-react-radix/src/__generated__/select.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/select.props.ts@@ -8,6 +8,7 @@ export const propsSelect: Record<string, PropMeta> = {description:"Indicates whether controls in this form can by default have their valuesautomatically completed by the browser.",},+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "radio",@@ -472,6 +473,7 @@ export const propsSelectTrigger: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -668,6 +670,13 @@ export const propsSelectTrigger: Record<string, PropMeta> = {type: "string",options: ["on", "off"],},+ value: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines a default value which will be displayed in the element on pageload.",+ },vocab: { required: false, control: "text", type: "string" },};export const propsSelectValue: Record<string, PropMeta> = {@@ -1091,6 +1100,7 @@ export const propsSelectValue: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1666,6 +1676,7 @@ export const propsSelectContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2238,6 +2249,7 @@ export const propsSelectViewport: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2796,6 +2808,7 @@ export const propsSelectItem: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -3368,6 +3381,7 @@ export const propsSelectItemIndicator: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -3926,6 +3940,7 @@ export const propsSelectItemText: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/select.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/select.stories.tsxindex 2102136ca2..ffd8843f65 100644--- a/packages/sdk-components-react-radix/src/__generated__/select.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/select.stories.tsx@@ -16,9 +16,8 @@ import {const Component = () => {let [selectValue, set$selectValue] = useState<any>("");- let [selectOpen, set$selectOpen] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box"><Selectdata-ws-id="1"data-ws-component="Select"@@ -27,107 +26,109 @@ const Component = () => {selectValue = value;set$selectValue(selectValue);}}- open={selectOpen}- onOpenChange={(open: any) => {- selectOpen = open;- set$selectOpen(selectOpen);- }}><SelectTrigger- data-ws-id="8"+ data-ws-id="5"data-ws-component="SelectTrigger"- className="c11xgi9i c18kkil c3elmho clo3r8o cqq29ax cuqxbts cg19ih8 c1479lj6 comq4ym c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c110hgy6 c16g5416 c111au61 cey1d5i cbnv1sn c1qx3pju cut8gip cllerde c19s8l4l cvjgjoo cjdxik5 c1uf353 c192vyv4 c1oa7gr0 ce92j53"+ className="w-select-trigger"><SelectValue- data-ws-id="10"+ data-ws-id="7"data-ws-component="SelectValue"placeholder={"Theme"}+ className="w-select-value"/></SelectTrigger><SelectContent- data-ws-id="12"+ data-ws-id="9"data-ws-component="SelectContent"- className="crmoyyg c173yyao c1ca5jk5 c1p3lwwv cuqxbts cg19ih8 c1479lj6 comq4ym c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c1rt44f4 cwi0ez9 cpbhzvr"+ className="w-select-content"><SelectViewport- data-ws-id="14"+ data-ws-id="11"data-ws-component="SelectViewport"- className="c1tn9z53 c164ur30 c1ukzx8x c1wau4tj c1vx0yks c3elmho cav9kfy"+ className="w-select-viewport"><SelectItem- data-ws-id="16"+ data-ws-id="13"data-ws-component="SelectItem"value={"light"}- className="crmoyyg c11xgi9i c3elmho c17sljc0 cekw1i5 clo3r8o cuqxbts cg19ih8 c1479lj6 comq4ym ck4c8na c1mbhour c1dqbquh c1qmwsx9 c1qx3pju cut8gip cxlxl0c c1gfzcg5 cohan28 c15roejc c11eeprv c1rbq5ju cechooj c7yue4i"+ className="w-select-item"><SelectItemIndicator- data-ws-id="19"+ data-ws-id="16"data-ws-component="SelectItemIndicator"- className="ct2k8wg cf4i3oe c11xgi9i c3jw7et c1kurney clo3r8o cw9oyzl"+ className="w-select-item-indicator"><HtmlEmbed- data-ws-id="21"+ data-ws-id="18"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="M11.957 5.043a1 1 0 0 1 0 1.414l-4.5 4.5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.75 8.836l3.793-3.793a1 1 0 0 1 1.414 0Z" clip-rule="evenodd"/></svg>'}+ className="w-html-embed"/></SelectItemIndicator><SelectItemText- data-ws-id="23"+ data-ws-id="20"data-ws-component="SelectItemText"+ className="w-select-item-text">{"Light"}</SelectItemText></SelectItem><SelectItem- data-ws-id="24"+ data-ws-id="21"data-ws-component="SelectItem"value={"dark"}- className="crmoyyg c11xgi9i c3elmho c17sljc0 cekw1i5 clo3r8o cuqxbts cg19ih8 c1479lj6 comq4ym ck4c8na c1mbhour c1dqbquh c1qmwsx9 c1qx3pju cut8gip cxlxl0c c1gfzcg5 cohan28 c15roejc c11eeprv c1rbq5ju cechooj c7yue4i"+ className="w-select-item"><SelectItemIndicator- data-ws-id="27"+ data-ws-id="24"data-ws-component="SelectItemIndicator"- className="ct2k8wg cf4i3oe c11xgi9i c3jw7et c1kurney clo3r8o cw9oyzl"+ className="w-select-item-indicator"><HtmlEmbed- data-ws-id="29"+ data-ws-id="26"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="M11.957 5.043a1 1 0 0 1 0 1.414l-4.5 4.5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.75 8.836l3.793-3.793a1 1 0 0 1 1.414 0Z" clip-rule="evenodd"/></svg>'}+ className="w-html-embed"/></SelectItemIndicator><SelectItemText- data-ws-id="31"+ data-ws-id="28"data-ws-component="SelectItemText"+ className="w-select-item-text">{"Dark"}</SelectItemText></SelectItem><SelectItem- data-ws-id="32"+ data-ws-id="29"data-ws-component="SelectItem"value={"system"}- className="crmoyyg c11xgi9i c3elmho c17sljc0 cekw1i5 clo3r8o cuqxbts cg19ih8 c1479lj6 comq4ym ck4c8na c1mbhour c1dqbquh c1qmwsx9 c1qx3pju cut8gip cxlxl0c c1gfzcg5 cohan28 c15roejc c11eeprv c1rbq5ju cechooj c7yue4i"+ className="w-select-item"><SelectItemIndicator- data-ws-id="35"+ data-ws-id="32"data-ws-component="SelectItemIndicator"- className="ct2k8wg cf4i3oe c11xgi9i c3jw7et c1kurney clo3r8o cw9oyzl"+ className="w-select-item-indicator"><HtmlEmbed- data-ws-id="37"+ data-ws-id="34"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="M11.957 5.043a1 1 0 0 1 0 1.414l-4.5 4.5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.75 8.836l3.793-3.793a1 1 0 0 1 1.414 0Z" clip-rule="evenodd"/></svg>'}+ className="w-html-embed"/></SelectItemIndicator><SelectItemText- data-ws-id="39"+ data-ws-id="36"data-ws-component="SelectItemText"+ className="w-select-item-text">{"System"}</SelectItemText>@@ -151,11 +152,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -165,9 +162,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -175,7 +173,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -183,7 +181,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -191,7 +189,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -199,7 +197,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -207,7 +205,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -215,7 +213,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -223,7 +221,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -231,7 +229,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -239,7 +237,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -247,22 +245,23 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="SelectTrigger"]) {+ :where(button.w-select-trigger) {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;- text-transform: none- }- span:where([data-ws-component="SelectValue"]) {+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(span.w-select-value) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -270,7 +269,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="SelectContent"]) {+ :where(div.w-select-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -278,7 +277,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="SelectViewport"]) {+ :where(div.w-select-viewport) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -286,7 +285,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="SelectItem"]) {+ :where(div.w-select-item) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -294,7 +293,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- span:where([data-ws-component="SelectItemIndicator"]) {+ :where(span.w-select-item-indicator) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -302,7 +301,10 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- span:where([data-ws-component="SelectItemText"]) {+ :where(div.w-html-embed) {+ display: contents+ }+ :where(span.w-select-item-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -310,209 +312,172 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}-}@media all {- .c11xgi9i {- display: flex- }- .c18kkil {- height: 2.5rem- }- .c3elmho {- width: 100%- }- .clo3r8o {- align-items: center- }- .cqq29ax {- justify-content: space-between- }- .cuqxbts {- border-top-left-radius: 0.375rem- }- .cg19ih8 {- border-top-right-radius: 0.375rem- }- .c1479lj6 {- border-bottom-right-radius: 0.375rem- }- .comq4ym {- border-bottom-left-radius: 0.375rem- }- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1wic2il {- border-top-color: rgba(226, 232, 240, 1)- }- .cdem58j {- border-right-color: rgba(226, 232, 240, 1)- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)- }- .cb204z1 {- border-left-color: rgba(226, 232, 240, 1)- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px- }- .c110hgy6 {- background-color: rgba(255, 255, 255, 0.8)- }- .c16g5416 {- padding-left: 0.75rem- }- .c111au61 {- padding-right: 0.75rem- }- .cey1d5i {- padding-top: 0.5rem- }- .cbnv1sn {- padding-bottom: 0.5rem- }- .c1qx3pju {- font-size: 0.875rem- }- .cut8gip {- line-height: 1.25rem- }- .cllerde::placeholder {+}+@media all {+ [data-ws-id="5"] {+ display: flex;+ height: 2.5rem;+ width: 100%;+ align-items: center;+ justify-content: space-between;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ background-color: rgba(255, 255, 255, 0.8);+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ padding-top: 0.5rem;+ padding-bottom: 0.5rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ border: 1px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="5"]::placeholder {color: rgba(100, 116, 139, 1)}- .c19s8l4l:focus {- outline-width: 2px- }- .cvjgjoo:focus {- outline-style: solid- }- .cjdxik5:focus {- outline-color: transparent- }- .c1uf353:focus {- outline-offset: 2px- }- .c192vyv4:focus {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1oa7gr0:disabled {- cursor: not-allowed- }- .ce92j53:disabled {+ [data-ws-id="5"]:disabled {+ cursor: not-allowed;opacity: 0.5}- .crmoyyg {- position: relative- }- .c173yyao {- z-index: 50- }- .c1ca5jk5 {- min-width: 8rem- }- .c1p3lwwv {- overflow: hidden- }- .c1rt44f4 {- background-color: rgba(255, 255, 255, 1)- }- .cwi0ez9 {- color: rgba(2, 8, 23, 1)- }- .cpbhzvr {- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)- }- .c1tn9z53 {- padding-left: 0.25rem- }- .c164ur30 {- padding-right: 0.25rem- }- .c1ukzx8x {- padding-top: 0.25rem- }- .c1wau4tj {- padding-bottom: 0.25rem- }- .c1vx0yks {- height: var(--radix-select-trigger-height)- }- .cav9kfy {- min-width: var(--radix-select-trigger-width)- }- .c17sljc0 {- cursor: default- }- .cekw1i5 {- user-select: none- }- .ck4c8na {- padding-top: 0.375rem- }- .c1mbhour {- padding-bottom: 0.375rem- }- .c1dqbquh {- padding-left: 2rem- }- .c1qmwsx9 {- padding-right: 0.5rem- }- .cxlxl0c {- outline-width: 2px- }- .c1gfzcg5 {- outline-style: solid- }- .cohan28 {- outline-color: transparent+ [data-ws-id="5"]:focus {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent+ }+ [data-ws-id="9"] {+ position: relative;+ z-index: 50;+ min-width: 8rem;+ overflow-x: hidden;+ overflow-y: hidden;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ background-color: rgba(255, 255, 255, 1);+ color: rgba(2, 8, 23, 1);+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);+ border: 1px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="11"] {+ height: var(--radix-select-trigger-height);+ width: 100%;+ min-width: var(--radix-select-trigger-width);+ padding: 0.25rem+ }+ [data-ws-id="13"] {+ position: relative;+ display: flex;+ width: 100%;+ cursor: default;+ -webkit-user-select: none;+ user-select: none;+ align-items: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ padding-top: 0.375rem;+ padding-bottom: 0.375rem;+ padding-left: 2rem;+ padding-right: 0.5rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ outline-offset: 2px;+ outline: 2px solid transparent+ }+ [data-ws-id="13"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c15roejc {- outline-offset: 2px+ [data-ws-id="13"][data-disabled] {+ pointer-events: none;+ opacity: 0.5}- .c11eeprv:focus {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="16"] {+ position: absolute;+ left: 0.5rem;+ display: flex;+ height: 0.875rem;+ width: 0.875rem;+ align-items: center;+ justify-content: center}- .c1rbq5ju:focus {+ [data-ws-id="21"] {+ position: relative;+ display: flex;+ width: 100%;+ cursor: default;+ -webkit-user-select: none;+ user-select: none;+ align-items: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ padding-top: 0.375rem;+ padding-bottom: 0.375rem;+ padding-left: 2rem;+ padding-right: 0.5rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ outline-offset: 2px;+ outline: 2px solid transparent+ }+ [data-ws-id="21"]:focus {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}- .cechooj[data-disabled] {- pointer-events: none- }- .c7yue4i[data-disabled] {+ [data-ws-id="21"][data-disabled] {+ pointer-events: none;opacity: 0.5}- .ct2k8wg {- position: absolute- }- .cf4i3oe {- left: 0.5rem+ [data-ws-id="24"] {+ position: absolute;+ left: 0.5rem;+ display: flex;+ height: 0.875rem;+ width: 0.875rem;+ align-items: center;+ justify-content: center}- .c3jw7et {- height: 0.875rem+ [data-ws-id="29"] {+ position: relative;+ display: flex;+ width: 100%;+ cursor: default;+ -webkit-user-select: none;+ user-select: none;+ align-items: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ padding-top: 0.375rem;+ padding-bottom: 0.375rem;+ padding-left: 2rem;+ padding-right: 0.5rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ outline-offset: 2px;+ outline: 2px solid transparent+ }+ [data-ws-id="29"]:focus {+ background-color: rgba(241, 245, 249, 0.9);+ color: rgba(15, 23, 42, 1)}- .c1kurney {- width: 0.875rem+ [data-ws-id="29"][data-disabled] {+ pointer-events: none;+ opacity: 0.5}- .cw9oyzl {+ [data-ws-id="32"] {+ position: absolute;+ left: 0.5rem;+ display: flex;+ height: 0.875rem;+ width: 0.875rem;+ align-items: center;justify-content: center}}diff --git a/packages/sdk-components-react-radix/src/__generated__/sheet.props.ts b/packages/sdk-components-react-radix/src/__generated__/sheet.props.tsindex d23ea04cb4..ee5ae70de2 100644--- a/packages/sdk-components-react-radix/src/__generated__/sheet.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/sheet.props.ts@@ -431,6 +431,7 @@ export const propsSheetOverlay: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -990,6 +991,7 @@ export const propsSheetClose: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1187,6 +1189,13 @@ export const propsSheetClose: Record<string, PropMeta> = {type: "string",options: ["on", "off"],},+ value: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines a default value which will be displayed in the element on pageload.",+ },vocab: { required: false, control: "text", type: "string" },};export const propsSheetTitle: Record<string, PropMeta> = {@@ -1610,6 +1619,7 @@ export const propsSheetTitle: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2176,6 +2186,7 @@ export const propsSheetDescription: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2735,6 +2746,7 @@ export const propsSheetContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/sheet.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/sheet.stories.tsxindex bebdc91cc1..3dec30bd09 100644--- a/packages/sdk-components-react-radix/src/__generated__/sheet.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/sheet.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import {Box as Box,Button as Button,@@ -16,84 +15,74 @@ import {} from "../components";const Component = () => {- let [sheetOpen, set$sheetOpen] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">- <Dialog- data-ws-id="1"- data-ws-component="Dialog"- open={sheetOpen}- onOpenChange={(open: any) => {- sheetOpen = open;- set$sheetOpen(sheetOpen);- }}- >- <DialogTrigger data-ws-id="5" data-ws-component="DialogTrigger">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box">+ <Dialog data-ws-id="1" data-ws-component="Dialog">+ <DialogTrigger data-ws-id="2" data-ws-component="DialogTrigger"><Button- data-ws-id="6"+ data-ws-id="3"data-ws-component="Button"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 cok6gp c1ebb32d c1ed2n1f c1an30v3 ca60kt0 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil cq7yq91 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r"+ className="w-button"><HtmlEmbed- data-ws-id="8"+ data-ws-id="5"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 fill-rule="evenodd" d="M2 5.998a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Zm0 5.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Zm0 5.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z" clip-rule="evenodd"/></svg>'}+ className="w-html-embed"/></Button></DialogTrigger><DialogOverlay- data-ws-id="10"+ data-ws-id="7"data-ws-component="DialogOverlay"- className="c15h1j27 cboqcgi cs5y8q6 ccq2s6t c3iotp8 c173yyao c110hgy6 c1x0vq2l c11xgi9i cfd715b c1arpcws"+ className="w-dialog-overlay"><DialogContent- data-ws-id="12"+ data-ws-id="9"data-ws-component="DialogContent"- className="c3elmho c173yyao c11xgi9i cfd715b ci4ea85 c13l7myj c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c110hgy6 c1d23hgf cdv5i03 cog45sw c18egw0s c1ii9nza crmoyyg cmty91p c1t1rwz c1yubncr"+ className="w-dialog-content"><Box- data-ws-id="14"+ data-ws-id="11"data-ws-component="Box"tag={"nav"}role={"navigation"}+ className="w-box">- <Box- data-ws-id="17"- data-ws-component="Box"- className="c11xgi9i cfd715b csjyi15 c1xv9rff"- >+ <Box data-ws-id="14" data-ws-component="Box" className="w-box"><DialogTitle- data-ws-id="19"+ data-ws-id="16"data-ws-component="DialogTitle"- className="cvrokas crk8tjo cx5cc56 c1o7k99s cck9swn"+ className="w-dialog-title">{"Sheet Title"}</DialogTitle><DialogDescription- data-ws-id="21"+ data-ws-id="18"data-ws-component="DialogDescription"- className="cvrokas crk8tjo c1qx3pju cut8gip c1pcz91e"+ className="w-dialog-description">{"Sheet description text you can edit"}</DialogDescription></Box>- <Text data-ws-id="23" data-ws-component="Text">+ <Text data-ws-id="20" data-ws-component="Text" className="w-text">{"The text you can edit"}</Text></Box><DialogClose- data-ws-id="24"+ data-ws-id="21"data-ws-component="DialogClose"- className="ct2k8wg c1us255 c1hk37yi c12e8ong c13c161l chzvexg c1s51a6q c1qx8273 c11xgi9i clo3r8o cw9oyzl c1pmpq0f c1yafs04 c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 cok6gp c1ebb32d c1ed2n1f c1an30v3 ca60kt0 cxlxl0c c1gfzcg5 cohan28 c15roejc c1xy5yrr c192vyv4"+ className="w-dialog-close"><HtmlEmbed- data-ws-id="26"+ data-ws-id="23"data-ws-component="HtmlEmbed"code={'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="M13.566 2.434a.8.8 0 0 1 0 1.132L9.13 8l4.435 4.434a.8.8 0 0 1-1.132 1.132L8 9.13l-4.434 4.435a.8.8 0 0 1-1.132-1.132L6.87 8 2.434 3.566a.8.8 0 0 1 1.132-1.132L8 6.87l4.434-4.435a.8.8 0 0 1 1.132 0Z" clip-rule="evenodd"/></svg>'}+ className="w-html-embed"/></DialogClose></DialogContent>@@ -115,11 +104,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -129,9 +114,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -139,7 +125,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -147,7 +133,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -155,7 +141,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -163,7 +149,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -171,7 +157,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -179,7 +165,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -187,7 +173,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -195,7 +181,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -203,7 +189,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -211,22 +197,26 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Button"]) {+ :where(button.w-button) {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;- text-transform: none+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0}- div:where([data-ws-component="DialogOverlay"]) {+ :where(div.w-html-embed) {+ display: contents+ }+ :where(div.w-dialog-overlay) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -234,7 +224,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="DialogContent"]) {+ :where(div.w-dialog-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -242,7 +232,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- h2:where([data-ws-component="DialogTitle"]) {+ :where(h2.w-dialog-title) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -250,7 +240,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- p:where([data-ws-component="DialogDescription"]) {+ :where(p.w-dialog-description) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -258,7 +248,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Text"]) {+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -267,291 +257,130 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}- button:where([data-ws-component="DialogClose"]) {+ :where(button.w-dialog-close) {background-color: transparent;background-image: none;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- border-top-color: rgba(226, 232, 240, 1);- border-right-color: rgba(226, 232, 240, 1);- border-bottom-color: rgba(226, 232, 240, 1);- border-left-color: rgba(226, 232, 240, 1);- border-top-width: 1px;- border-right-width: 1px;- border-bottom-width: 1px;- border-left-width: 1px;- padding-left: 0px;- padding-right: 0px;- padding-top: 0px;- padding-bottom: 0px;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;- text-transform: none- }-}@media all {- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1wic2il {- border-top-color: rgba(226, 232, 240, 1)- }- .cdem58j {- border-right-color: rgba(226, 232, 240, 1)- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)- }- .cb204z1 {- border-left-color: rgba(226, 232, 240, 1)- }- .cok6gp {- border-top-width: 0px- }- .c1ebb32d {- border-right-width: 0px+ text-transform: none;+ border: 1px solid rgba(226, 232, 240, 1);+ margin: 0;+ padding: 0px}- .c1ed2n1f {- border-bottom-width: 0px- }- .c1an30v3 {- border-left-width: 0px- }- .ca60kt0 {- background-color: transparent- }- .c1oai8p0 {- display: inline-flex- }- .clo3r8o {- align-items: center- }- .cw9oyzl {- justify-content: center- }- .cuqxbts {- border-top-left-radius: 0.375rem- }- .cg19ih8 {- border-top-right-radius: 0.375rem- }- .c1479lj6 {- border-bottom-right-radius: 0.375rem- }- .comq4ym {- border-bottom-left-radius: 0.375rem- }- .c1qx3pju {- font-size: 0.875rem- }- .cut8gip {- line-height: 1.25rem- }- .c1qjvju3 {- font-weight: 500- }- .c18kkil {- height: 2.5rem- }- .cq7yq91 {- width: 2.5rem- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px- }- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1jirpm3:disabled {- pointer-events: none+}+@media all {+ [data-ws-id="3"] {+ background-color: transparent;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ width: 2.5rem;+ padding-left: 0.375rem;+ padding-right: 0.375rem;+ padding-top: 0px;+ padding-bottom: 0px;+ border: 0px solid rgba(226, 232, 240, 1)}- .ce92j53:disabled {+ [data-ws-id="3"]:disabled {+ pointer-events: none;opacity: 0.5}- .c1dr421o:hover {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="3"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c14ytp9r:hover {+ [data-ws-id="3"]:hover {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}- .c15h1j27 {- position: fixed- }- .cboqcgi {- left: 0px- }- .cs5y8q6 {- right: 0px- }- .ccq2s6t {- top: 0px- }- .c3iotp8 {- bottom: 0px- }- .c173yyao {- z-index: 50- }- .c110hgy6 {- background-color: rgba(255, 255, 255, 0.8)- }- .c1x0vq2l {- backdrop-filter: blur(0 1px 2px 0 rgb(0 0 0 / 0.05))- }- .c11xgi9i {- display: flex- }- .cfd715b {- flex-direction: column- }- .c1arpcws {- overflow: auto- }- .c3elmho {- width: 100%- }- .ci4ea85 {- row-gap: 1rem- }- .c13l7myj {- column-gap: 1rem- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px- }- .c1d23hgf {- padding-left: 1.5rem- }- .cdv5i03 {- padding-right: 1.5rem- }- .cog45sw {- padding-top: 1.5rem- }- .c18egw0s {- padding-bottom: 1.5rem- }- .c1ii9nza {- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)- }- .crmoyyg {- position: relative- }- .cmty91p {- margin-right: auto- }- .c1t1rwz {- max-width: 24rem- }- .c1yubncr {- flex-grow: 1- }- .csjyi15 {- row-gap: 0.25rem- }- .c1xv9rff {+ [data-ws-id="7"] {+ position: fixed;+ left: 0px;+ right: 0px;+ top: 0px;+ bottom: 0px;+ z-index: 50;+ background-color: rgba(255, 255, 255, 0.8);+ -webkit-backdrop-filter: blur(0 1px 2px 0 rgb(0 0 0 / 0.05));+ backdrop-filter: blur(0 1px 2px 0 rgb(0 0 0 / 0.05));+ display: flex;+ flex-direction: column;+ overflow-x: auto;+ overflow-y: auto+ }+ [data-ws-id="9"] {+ width: 100%;+ z-index: 50;+ display: flex;+ flex-direction: column;+ row-gap: 1rem;+ column-gap: 1rem;+ background-color: rgba(255, 255, 255, 0.8);+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);+ position: relative;+ margin-right: auto;+ max-width: 24rem;+ flex-grow: 1;+ border: 1px solid rgba(226, 232, 240, 1);+ padding: 1.5rem+ }+ [data-ws-id="14"] {+ display: flex;+ flex-direction: column;+ row-gap: 0.25rem;column-gap: 0.25rem}- .cvrokas {- margin-top: 0px- }- .crk8tjo {- margin-bottom: 0px- }- .cx5cc56 {- line-height: 1.75rem- }- .c1o7k99s {- font-size: 1.125rem- }- .cck9swn {+ [data-ws-id="16"] {+ margin-top: 0px;+ margin-bottom: 0px;+ line-height: 1.75rem;+ font-size: 1.125rem;letter-spacing: -0.025em}- .c1pcz91e {+ [data-ws-id="18"] {+ margin-top: 0px;+ margin-bottom: 0px;+ font-size: 0.875rem;+ line-height: 1.25rem;color: rgba(100, 116, 139, 1)}- .ct2k8wg {- position: absolute- }- .c1us255 {- right: 1rem- }- .c1hk37yi {- top: 1rem- }- .c12e8ong {- border-top-left-radius: 0.125rem- }- .c13c161l {- border-top-right-radius: 0.125rem- }- .chzvexg {- border-bottom-right-radius: 0.125rem- }- .c1s51a6q {- border-bottom-left-radius: 0.125rem- }- .c1qx8273 {- opacity: 0.7- }- .c1pmpq0f {- height: 1rem- }- .c1yafs04 {- width: 1rem- }- .cxlxl0c {- outline-width: 2px- }- .c1gfzcg5 {- outline-style: solid- }- .cohan28 {- outline-color: transparent+ [data-ws-id="21"] {+ position: absolute;+ right: 1rem;+ top: 1rem;+ border-top-left-radius: 0.125rem;+ border-top-right-radius: 0.125rem;+ border-bottom-right-radius: 0.125rem;+ border-bottom-left-radius: 0.125rem;+ opacity: 0.7;+ display: flex;+ align-items: center;+ justify-content: center;+ height: 1rem;+ width: 1rem;+ background-color: transparent;+ outline-offset: 2px;+ outline: 2px solid transparent;+ border: 0px solid rgba(226, 232, 240, 1)}- .c15roejc {- outline-offset: 2px+ [data-ws-id="21"]:focus {+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)}- .c1xy5yrr:hover {+ [data-ws-id="21"]:hover {opacity: 1}- .c192vyv4:focus {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }}`}</style>diff --git a/packages/sdk-components-react-radix/src/__generated__/switch.props.ts b/packages/sdk-components-react-radix/src/__generated__/switch.props.tsindex a67d1b5555..26c7230eba 100644--- a/packages/sdk-components-react-radix/src/__generated__/switch.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/switch.props.ts@@ -428,6 +428,7 @@ export const propsSwitch: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -631,6 +632,13 @@ export const propsSwitch: Record<string, PropMeta> = {type: "string",options: ["on", "off"],},+ value: {+ required: false,+ control: "text",+ type: "string",+ description:+ "Defines a default value which will be displayed in the element on pageload.",+ },vocab: { required: false, control: "text", type: "string" },};export const propsSwitchThumb: Record<string, PropMeta> = {@@ -1054,6 +1062,7 @@ export const propsSwitchThumb: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/switch.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/switch.stories.tsxindex 43d5d344be..cbf5a578ba 100644--- a/packages/sdk-components-react-radix/src/__generated__/switch.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/switch.stories.tsx@@ -5,7 +5,7 @@ import { Switch as Switch, SwitchThumb as SwitchThumb } from "../components";const Component = () => {let [switchChecked, set$switchChecked] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box"><Switchdata-ws-id="1"data-ws-component="Switch"@@ -14,12 +14,12 @@ const Component = () => {switchChecked = checked;set$switchChecked(switchChecked);}}- className="c1oai8p0 cnd1wdj cuh3w30 c11hichb c95zj28 clo3r8o c1o2cngd c1riwd65 ci2hmcl c1byz2lk c17al2u0 c1ufcra4 c17gos5d cn4f13s c1cofqbt c85ds3m c1e8k408 c1uosf6b chxhflr cc4jebi c4zy9sv c18xqxv1 cpr3ke2 c1wmnqxw c1b503n2 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1oa7gr0 ce92j53 c1939zof c14mirta"+ className="w-switch"><SwitchThumbdata-ws-id="6"data-ws-component="SwitchThumb"- className="c1qxqj1w c1say2x3 c1aacs57 c1u42gcv c1o2cngd c1riwd65 ci2hmcl c1byz2lk c110hgy6 c1ii9nza c89l9bb c1wmnqxw c1b503n2 c8w8p8q ck4sd1p"+ className="w-switch-thumb"/></Switch></Box>@@ -38,11 +38,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -52,9 +48,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -62,7 +59,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -70,7 +67,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -78,7 +75,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -86,7 +83,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -94,7 +91,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -102,7 +99,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -110,7 +107,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -118,7 +115,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -126,7 +123,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -134,36 +131,19 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Switch"]) {+ :where(button.w-switch) {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: 0px;- border-right-width: 0px;- border-bottom-width: 0px;- border-left-width: 0px;text-transform: none;background-color: transparent;background-image: none;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- border-top-color: rgba(226, 232, 240, 1);- border-right-color: rgba(226, 232, 240, 1);- border-bottom-color: rgba(226, 232, 240, 1);- border-left-color: rgba(226, 232, 240, 1);- padding-left: 0px;- padding-right: 0px;- padding-top: 0px;- padding-bottom: 0px+ border: 0px solid rgba(226, 232, 240, 1);+ margin: 0;+ padding: 0px}- span:where([data-ws-component="SwitchThumb"]) {+ :where(span.w-switch-thumb) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -171,134 +151,58 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}-}@media all {- .c1oai8p0 {- display: inline-flex- }- .cnd1wdj {- height: 24px- }- .cuh3w30 {- width: 44px- }- .c11hichb {- flex-grow: 0- }- .c95zj28 {- cursor: pointer- }- .clo3r8o {- align-items: center- }- .c1o2cngd {- border-top-left-radius: 9999px- }- .c1riwd65 {- border-top-right-radius: 9999px- }- .ci2hmcl {- border-bottom-right-radius: 9999px- }- .c1byz2lk {- border-bottom-left-radius: 9999px- }- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1cofqbt {- border-top-color: transparent- }- .c85ds3m {- border-right-color: transparent- }- .c1e8k408 {- border-bottom-color: transparent- }- .c1uosf6b {- border-left-color: transparent- }- .chxhflr {- border-top-width: 2px- }- .cc4jebi {- border-right-width: 2px- }- .c4zy9sv {- border-bottom-width: 2px- }- .c18xqxv1 {- border-left-width: 2px- }- .cpr3ke2 {- transition-property: all- }- .c1wmnqxw {- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)- }- .c1b503n2 {- transition-duration: 150ms- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px- }- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1oa7gr0:disabled {- cursor: not-allowed- }- .ce92j53:disabled {+}+@media all {+ [data-ws-id="1"] {+ display: inline-flex;+ height: 24px;+ width: 44px;+ flex-grow: 0;+ cursor: pointer;+ align-items: center;+ border-top-left-radius: 9999px;+ border-top-right-radius: 9999px;+ border-bottom-right-radius: 9999px;+ border-bottom-left-radius: 9999px;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 150ms;+ border: 2px solid transparent+ }+ [data-ws-id="1"]:disabled {+ cursor: not-allowed;opacity: 0.5}- .c1939zof[data-state=checked] {+ [data-ws-id="1"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent+ }+ [data-ws-id="1"][data-state=checked] {background-color: rgba(15, 23, 42, 1)}- .c14mirta[data-state=unchecked] {+ [data-ws-id="1"][data-state=unchecked] {background-color: rgba(226, 232, 240, 1)}- .c1qxqj1w {- pointer-events: none- }- .c1say2x3 {- display: block- }- .c1aacs57 {- height: 1.25rem- }- .c1u42gcv {- width: 1.25rem- }- .c110hgy6 {- background-color: rgba(255, 255, 255, 0.8)- }- .c1ii9nza {- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)- }- .c89l9bb {- transition-property: transform+ [data-ws-id="6"] {+ pointer-events: none;+ display: block;+ height: 1.25rem;+ width: 1.25rem;+ border-top-left-radius: 9999px;+ border-top-right-radius: 9999px;+ border-bottom-right-radius: 9999px;+ border-bottom-left-radius: 9999px;+ background-color: rgba(255, 255, 255, 0.8);+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);+ transition-property: transform;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 150ms}- .c8w8p8q[data-state=checked] {+ [data-ws-id="6"][data-state=checked] {transform: translateX(20px)}- .ck4sd1p[data-state=unchecked] {+ [data-ws-id="6"][data-state=unchecked] {transform: translateX(0px)}}diff --git a/packages/sdk-components-react-radix/src/__generated__/tabs.props.ts b/packages/sdk-components-react-radix/src/__generated__/tabs.props.tsindex 96a4b02682..0c97772f1b 100644--- a/packages/sdk-components-react-radix/src/__generated__/tabs.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/tabs.props.ts@@ -429,6 +429,12 @@ export const propsTabs: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: {+ description: "The value of the tab to select by default, if uncontrolled",+ required: false,+ control: "text",+ type: "string",+ },dir: {description: "The direction of navigation between toolbar items.",required: false,@@ -1001,6 +1007,7 @@ export const propsTabsList: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -1566,6 +1573,7 @@ export const propsTabsTrigger: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",@@ -2192,6 +2200,7 @@ export const propsTabsContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/tabs.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/tabs.stories.tsxindex e6fd29bf2e..a83189f1d2 100644--- a/packages/sdk-components-react-radix/src/__generated__/tabs.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/tabs.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import { Box as Box } from "@webstudio-is/sdk-components-react";import {Tabs as Tabs,@@ -8,53 +7,49 @@ import {} from "../components";const Component = () => {- let [tabsValue, set$tabsValue] = useState<any>("0");return (- <Box data-ws-id="root" data-ws-component="Box">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box"><Tabsdata-ws-id="1"data-ws-component="Tabs"- value={tabsValue}- onValueChange={(value: any) => {- tabsValue = value;- set$tabsValue(tabsValue);- }}+ defaultValue={"0"}+ className="w-tabs"><TabsList- data-ws-id="5"+ data-ws-id="3"data-ws-component="TabsList"- className="c1oai8p0 c18kkil clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1xf120q c1tn9z53 c164ur30 c1ukzx8x c1wau4tj c1pcz91e"+ className="w-tabs-list"><TabsTrigger- data-ws-id="7"+ data-ws-id="5"data-ws-component="TabsTrigger"data-ws-index="0"- className="c1oai8p0 clo3r8o cw9oyzl c1kiukeb cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 ck4c8na c1mbhour c1qx3pju cut8gip c1qjvju3 cpr3ke2 c1wmnqxw c1b503n2 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 cvo3yl7 cec8597 c5vtmxr"+ className="w-tabs-trigger">{"Account"}</TabsTrigger><TabsTrigger- data-ws-id="9"+ data-ws-id="7"data-ws-component="TabsTrigger"data-ws-index="1"- className="c1oai8p0 clo3r8o cw9oyzl c1kiukeb cuqxbts cg19ih8 c1479lj6 comq4ym c16g5416 c111au61 ck4c8na c1mbhour c1qx3pju cut8gip c1qjvju3 cpr3ke2 c1wmnqxw c1b503n2 co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 cvo3yl7 cec8597 c5vtmxr"+ className="w-tabs-trigger">{"Password"}</TabsTrigger></TabsList><TabsContent- data-ws-id="11"+ data-ws-id="9"data-ws-component="TabsContent"data-ws-index="0"- className="c1uybxzr co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr"+ className="w-tabs-content">{"Make changes to your account here."}</TabsContent><TabsContent- data-ws-id="13"+ data-ws-id="11"data-ws-component="TabsContent"data-ws-index="1"- className="c1uybxzr co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr"+ className="w-tabs-content">{"Change your password here."}</TabsContent>@@ -75,11 +70,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -89,9 +80,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -99,7 +91,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -107,7 +99,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -115,7 +107,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -123,7 +115,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -131,7 +123,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -139,7 +131,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -147,7 +139,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -155,7 +147,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -163,7 +155,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -171,7 +163,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Tabs"]) {+ :where(div.w-tabs) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -179,7 +171,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="TabsList"]) {+ :where(div.w-tabs-list) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -187,36 +179,19 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="TabsTrigger"]) {+ :where(button.w-tabs-trigger) {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: 0px;- border-right-width: 0px;- border-bottom-width: 0px;- border-left-width: 0px;text-transform: none;background-color: transparent;background-image: none;- border-top-style: solid;- border-right-style: solid;- border-bottom-style: solid;- border-left-style: solid;- border-top-color: rgba(226, 232, 240, 1);- border-right-color: rgba(226, 232, 240, 1);- border-bottom-color: rgba(226, 232, 240, 1);- border-left-color: rgba(226, 232, 240, 1);- padding-left: 0px;- padding-right: 0px;- padding-top: 0px;- padding-bottom: 0px+ border: 0px solid rgba(226, 232, 240, 1);+ margin: 0;+ padding: 0px}- div:where([data-ws-component="TabsContent"]) {+ :where(div.w-tabs-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -224,115 +199,107 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}-}@media all {- .c1oai8p0 {- display: inline-flex- }- .c18kkil {- height: 2.5rem- }- .clo3r8o {- align-items: center- }- .cw9oyzl {- justify-content: center- }- .cuqxbts {- border-top-left-radius: 0.375rem- }- .cg19ih8 {- border-top-right-radius: 0.375rem- }- .c1479lj6 {- border-bottom-right-radius: 0.375rem- }- .comq4ym {- border-bottom-left-radius: 0.375rem- }- .c1xf120q {- background-color: rgba(241, 245, 249, 1)- }- .c1tn9z53 {- padding-left: 0.25rem- }- .c164ur30 {- padding-right: 0.25rem- }- .c1ukzx8x {- padding-top: 0.25rem- }- .c1wau4tj {- padding-bottom: 0.25rem- }- .c1pcz91e {- color: rgba(100, 116, 139, 1)- }- .c1kiukeb {- white-space: nowrap- }- .c16g5416 {- padding-left: 0.75rem- }- .c111au61 {- padding-right: 0.75rem- }- .ck4c8na {- padding-top: 0.375rem- }- .c1mbhour {- padding-bottom: 0.375rem- }- .c1qx3pju {- font-size: 0.875rem- }- .cut8gip {- line-height: 1.25rem- }- .c1qjvju3 {- font-weight: 500- }- .cpr3ke2 {- transition-property: all- }- .c1wmnqxw {- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)- }- .c1b503n2 {- transition-duration: 150ms- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px+}+@media all {+ [data-ws-id="3"] {+ display: inline-flex;+ height: 2.5rem;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ background-color: rgba(241, 245, 249, 1);+ color: rgba(100, 116, 139, 1);+ padding: 0.25rem+ }+ [data-ws-id="5"] {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ padding-top: 0.375rem;+ padding-bottom: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 150ms;+ white-space: normal;+ white-space-collapse: collapse+ }+ [data-ws-id="5"]:disabled {+ pointer-events: none;+ opacity: 0.5}- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)+ [data-ws-id="5"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c1jirpm3:disabled {- pointer-events: none+ [data-ws-id="5"][data-state=active] {+ background-color: rgba(255, 255, 255, 0.8);+ color: rgba(2, 8, 23, 1);+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05)}- .ce92j53:disabled {+ [data-ws-id="7"] {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ padding-top: 0.375rem;+ padding-bottom: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ transition-property: all;+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);+ transition-duration: 150ms;+ white-space: normal;+ white-space-collapse: collapse+ }+ [data-ws-id="7"]:disabled {+ pointer-events: none;opacity: 0.5}- .cvo3yl7[data-state=active] {- background-color: rgba(255, 255, 255, 0.8)+ [data-ws-id="7"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .cec8597[data-state=active] {- color: rgba(2, 8, 23, 1)- }- .c5vtmxr[data-state=active] {+ [data-ws-id="7"][data-state=active] {+ background-color: rgba(255, 255, 255, 0.8);+ color: rgba(2, 8, 23, 1);box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05)}- .c1uybxzr {+ [data-ws-id="9"] {margin-top: 0.5rem}+ [data-ws-id="9"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent+ }+ [data-ws-id="11"] {+ margin-top: 0.5rem+ }+ [data-ws-id="11"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent+ }}`}</style>diff --git a/packages/sdk-components-react-radix/src/__generated__/tooltip.props.ts b/packages/sdk-components-react-radix/src/__generated__/tooltip.props.tsindex c023c83e84..ce4bf7f4f7 100644--- a/packages/sdk-components-react-radix/src/__generated__/tooltip.props.ts+++ b/packages/sdk-components-react-radix/src/__generated__/tooltip.props.ts@@ -461,6 +461,7 @@ export const propsTooltipContent: Record<string, PropMeta> = {"Defines the ID of a menu element which willserve as the element's context menu.",},datatype: { required: false, control: "text", type: "string" },+ defaultValue: { required: false, control: "text", type: "string" },dir: {required: false,control: "text",diff --git a/packages/sdk-components-react-radix/src/__generated__/tooltip.stories.tsx b/packages/sdk-components-react-radix/src/__generated__/tooltip.stories.tsxindex 33382b50b5..674fbc7f6d 100644--- a/packages/sdk-components-react-radix/src/__generated__/tooltip.stories.tsx+++ b/packages/sdk-components-react-radix/src/__generated__/tooltip.stories.tsx@@ -1,4 +1,3 @@-import { useState } from "react";import {Box as Box,Button as Button,@@ -11,33 +10,24 @@ import {} from "../components";const Component = () => {- let [tooltipOpen, set$tooltipOpen] = useState<any>(false);return (- <Box data-ws-id="root" data-ws-component="Box">- <Tooltip- data-ws-id="1"- data-ws-component="Tooltip"- open={tooltipOpen}- onOpenChange={(open: any) => {- tooltipOpen = open;- set$tooltipOpen(tooltipOpen);- }}- >- <TooltipTrigger data-ws-id="5" data-ws-component="TooltipTrigger">+ <Box data-ws-id="root" data-ws-component="Box" className="w-box">+ <Tooltip data-ws-id="1" data-ws-component="Tooltip">+ <TooltipTrigger data-ws-id="2" data-ws-component="TooltipTrigger"><Button- data-ws-id="6"+ data-ws-id="3"data-ws-component="Button"- className="c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c110hgy6 c1oai8p0 clo3r8o cw9oyzl cuqxbts cg19ih8 c1479lj6 comq4ym c1qx3pju cut8gip c1qjvju3 c18kkil c1c2uk29 c1x1m3cj cey1d5i cbnv1sn co0lfwl c1kn3u98 c2odgnt chlvjga c1jx7vpr c1jirpm3 ce92j53 c1dr421o c14ytp9r"+ className="w-button">{"Button"}</Button></TooltipTrigger><TooltipContent- data-ws-id="8"+ data-ws-id="5"data-ws-component="TooltipContent"- className="c173yyao c1p3lwwv cuqxbts cg19ih8 c1479lj6 comq4ym c17al2u0 c1ufcra4 c17gos5d cn4f13s c1wic2il cdem58j c102tttv cb204z1 ck2qarh c1nxbatd caktpzb c1bm526f c1rt44f4 c16g5416 c111au61 ck4c8na c1mbhour c1qx3pju cut8gip cwi0ez9 cpbhzvr"+ className="w-tooltip-content">- <Text data-ws-id="10" data-ws-component="Text">+ <Text data-ws-id="7" data-ws-component="Text" className="w-text">{"The text you can edit"}</Text></TooltipContent>@@ -58,11 +48,7 @@ const Story = {{`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;+ :where(body.w-body) {font-family: Arial, Roboto, sans-serif;font-size: 16px;line-height: 1.2;@@ -72,9 +58,10 @@ html {margin: 0; display: grid; min-height: 100%}border-bottom-width: 1px;border-left-width: 1px;-webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale+ -moz-osx-font-smoothing: grayscale;+ margin: 0}- div:where([data-ws-component="Box"]) {+ :where(div.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -82,7 +69,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- address:where([data-ws-component="Box"]) {+ :where(address.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -90,7 +77,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- article:where([data-ws-component="Box"]) {+ :where(article.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -98,7 +85,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- aside:where([data-ws-component="Box"]) {+ :where(aside.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -106,7 +93,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- figure:where([data-ws-component="Box"]) {+ :where(figure.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -114,7 +101,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- footer:where([data-ws-component="Box"]) {+ :where(footer.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -122,7 +109,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- header:where([data-ws-component="Box"]) {+ :where(header.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -130,7 +117,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- main:where([data-ws-component="Box"]) {+ :where(main.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -138,7 +125,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- nav:where([data-ws-component="Box"]) {+ :where(nav.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -146,7 +133,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- section:where([data-ws-component="Box"]) {+ :where(section.w-box) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -154,22 +141,23 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- button:where([data-ws-component="Button"]) {+ :where(button.w-button) {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;- text-transform: none- }- div:where([data-ws-component="TooltipContent"]) {+ border-top-style: solid;+ border-right-style: solid;+ border-bottom-style: solid;+ border-left-style: solid;+ text-transform: none;+ margin: 0+ }+ :where(div.w-tooltip-content) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -177,7 +165,7 @@ html {margin: 0; display: grid; min-height: 100%}border-left-width: 1px;outline-width: 1px}- div:where([data-ws-component="Text"]) {+ :where(div.w-text) {box-sizing: border-box;border-top-width: 1px;border-right-width: 1px;@@ -186,144 +174,59 @@ html {margin: 0; display: grid; min-height: 100%}outline-width: 1px;min-height: 1em}-}@media all {- .c17al2u0 {- border-top-style: solid- }- .c1ufcra4 {- border-right-style: solid- }- .c17gos5d {- border-bottom-style: solid- }- .cn4f13s {- border-left-style: solid- }- .c1wic2il {- border-top-color: rgba(226, 232, 240, 1)- }- .cdem58j {- border-right-color: rgba(226, 232, 240, 1)- }- .c102tttv {- border-bottom-color: rgba(226, 232, 240, 1)- }- .cb204z1 {- border-left-color: rgba(226, 232, 240, 1)- }- .ck2qarh {- border-top-width: 1px- }- .c1nxbatd {- border-right-width: 1px- }- .caktpzb {- border-bottom-width: 1px- }- .c1bm526f {- border-left-width: 1px- }- .c110hgy6 {- background-color: rgba(255, 255, 255, 0.8)- }- .c1oai8p0 {- display: inline-flex- }- .clo3r8o {- align-items: center- }- .cw9oyzl {- justify-content: center- }- .cuqxbts {- border-top-left-radius: 0.375rem- }- .cg19ih8 {- border-top-right-radius: 0.375rem- }- .c1479lj6 {- border-bottom-right-radius: 0.375rem- }- .comq4ym {- border-bottom-left-radius: 0.375rem- }- .c1qx3pju {- font-size: 0.875rem- }- .cut8gip {- line-height: 1.25rem- }- .c1qjvju3 {- font-weight: 500- }- .c18kkil {- height: 2.5rem- }- .c1c2uk29 {- padding-left: 1rem- }- .c1x1m3cj {- padding-right: 1rem- }- .cey1d5i {- padding-top: 0.5rem- }- .cbnv1sn {- padding-bottom: 0.5rem- }- .co0lfwl:focus-visible {- outline-width: 2px- }- .c1kn3u98:focus-visible {- outline-style: solid- }- .c2odgnt:focus-visible {- outline-color: transparent- }- .chlvjga:focus-visible {- outline-offset: 2px- }- .c1jx7vpr:focus-visible {- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1)- }- .c1jirpm3:disabled {- pointer-events: none- }- .ce92j53:disabled {+}+@media all {+ [data-ws-id="3"] {+ background-color: rgba(255, 255, 255, 0.8);+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ font-weight: 500;+ color: currentColor;+ height: 2.5rem;+ padding-left: 1rem;+ padding-right: 1rem;+ padding-top: 0.5rem;+ padding-bottom: 0.5rem;+ border: 1px solid rgba(226, 232, 240, 1)+ }+ [data-ws-id="3"]:disabled {+ pointer-events: none;opacity: 0.5}- .c1dr421o:hover {- background-color: rgba(241, 245, 249, 0.9)+ [data-ws-id="3"]:focus-visible {+ outline-offset: 2px;+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(148, 163, 184, 1);+ outline: 2px solid transparent}- .c14ytp9r:hover {+ [data-ws-id="3"]:hover {+ background-color: rgba(241, 245, 249, 0.9);color: rgba(15, 23, 42, 1)}- .c173yyao {- z-index: 50- }- .c1p3lwwv {- overflow: hidden- }- .c1rt44f4 {- background-color: rgba(255, 255, 255, 1)- }- .c16g5416 {- padding-left: 0.75rem- }- .c111au61 {- padding-right: 0.75rem- }- .ck4c8na {- padding-top: 0.375rem- }- .c1mbhour {- padding-bottom: 0.375rem- }- .cwi0ez9 {- color: rgba(2, 8, 23, 1)- }- .cpbhzvr {- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)+ [data-ws-id="5"] {+ z-index: 50;+ overflow-x: hidden;+ overflow-y: hidden;+ border-top-left-radius: 0.375rem;+ border-top-right-radius: 0.375rem;+ border-bottom-right-radius: 0.375rem;+ border-bottom-left-radius: 0.375rem;+ background-color: rgba(255, 255, 255, 1);+ padding-left: 0.75rem;+ padding-right: 0.75rem;+ padding-top: 0.375rem;+ padding-bottom: 0.375rem;+ font-size: 0.875rem;+ line-height: 1.25rem;+ color: rgba(2, 8, 23, 1);+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);+ border: 1px solid rgba(226, 232, 240, 1)}}`}diff --git a/packages/sdk-components-react-radix/src/accordion.tsx b/packages/sdk-components-react-radix/src/accordion.tsxindex 4213ae5474..66de500807 100644--- a/packages/sdk-components-react-radix/src/accordion.tsx+++ b/packages/sdk-components-react-radix/src/accordion.tsx@@ -23,11 +23,8 @@ export const Accordion = forwardRef<HTMLDivElement,Omit<Extract<ComponentPropsWithoutRef<typeof Root>, { type: "single" }>,- "type" | "asChild" | "defaultValue" | "value" | "onValueChange"- > & {- value: string;- onValueChange: (value: string) => void;- }+ "type" | "asChild"+ >>((props, ref) => {return <Root ref={ref} type="single" {...props} />;});diff --git a/packages/sdk-components-react-radix/src/navigation-menu.tsx b/packages/sdk-components-react-radix/src/navigation-menu.tsxindex 329e43efc9..9439606f9a 100644--- a/packages/sdk-components-react-radix/src/navigation-menu.tsx+++ b/packages/sdk-components-react-radix/src/navigation-menu.tsx@@ -10,7 +10,6 @@ import {Children,forwardRef,type ComponentPropsWithoutRef,- type ReactNode,useContext,} from "react";@@ -53,7 +52,7 @@ export const NavigationMenuItem = forwardRef<export const NavigationMenuLink = forwardRef<HTMLAnchorElement,- { children: ReactNode }+ ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>>(({ children, ...props }, ref) => {const firstChild = Children.toArray(children)[0];@@ -66,7 +65,7 @@ export const NavigationMenuLink = forwardRef<export const NavigationMenuTrigger = forwardRef<HTMLButtonElement,- { children: ReactNode }+ ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>>(({ children, ...props }, ref) => {const firstChild = Children.toArray(children)[0];diff --git a/packages/sdk-components-react-radix/src/tabs.tsx b/packages/sdk-components-react-radix/src/tabs.tsxindex 3e8ada7cb8..d7b5e58795 100644--- a/packages/sdk-components-react-radix/src/tabs.tsx+++ b/packages/sdk-components-react-radix/src/tabs.tsx@@ -14,8 +14,7 @@ import {} from "@webstudio-is/react-sdk";export const Tabs: ForwardRefExoticComponent<- Omit<ComponentProps<typeof Root>, "asChild" | "defaultValue"> &- RefAttributes<HTMLDivElement>+ Omit<ComponentProps<typeof Root>, "asChild"> & RefAttributes<HTMLDivElement>> = Root;export const TabsList = List;