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: treat remix as runtime overrides for CLI (#4598)
Bogdan Chadkin1fd71f550a5a
diff --git a/apps/builder/app/builder/features/command-panel/command-panel.stories.tsx b/apps/builder/app/builder/features/command-panel/command-panel.stories.tsxindex e222a8dc46..b3ed6df193 100644--- a/apps/builder/app/builder/features/command-panel/command-panel.stories.tsx+++ b/apps/builder/app/builder/features/command-panel/command-panel.stories.tsx@@ -4,7 +4,6 @@ import { initialBreakpoints } from "@webstudio-is/sdk";import { coreMetas } from "@webstudio-is/react-sdk";import { createDefaultPages } from "@webstudio-is/project-build";import * as baseComponentMetas from "@webstudio-is/sdk-components-react/metas";-import * as remixComponentMetas from "@webstudio-is/sdk-components-react-remix/metas";import {$breakpoints,$pages,@@ -29,7 +28,6 @@ $registeredComponentMetas.set(Object.entries({...coreMetas,...baseComponentMetas,- ...remixComponentMetas,})));diff --git a/apps/builder/app/canvas/canvas.tsx b/apps/builder/app/canvas/canvas.tsxindex 2f357d5ffe..62f437054a 100644--- a/apps/builder/app/canvas/canvas.tsx+++ b/apps/builder/app/canvas/canvas.tsx@@ -13,8 +13,6 @@ import * as baseComponents from "@webstudio-is/sdk-components-react";import * as baseComponentMetas from "@webstudio-is/sdk-components-react/metas";import * as baseComponentPropsMetas from "@webstudio-is/sdk-components-react/props";import { hooks as baseComponentHooks } from "@webstudio-is/sdk-components-react/hooks";-import * as remixComponentMetas from "@webstudio-is/sdk-components-react-remix/metas";-import * as remixComponentPropsMetas from "@webstudio-is/sdk-components-react-remix/props";import * as radixComponents from "@webstudio-is/sdk-components-react-radix";import * as radixComponentMetas from "@webstudio-is/sdk-components-react-radix/metas";import * as radixComponentPropsMetas from "@webstudio-is/sdk-components-react-radix/props";@@ -233,8 +231,8 @@ export const Canvas = () => {// not related to sdk-components-react-remix anymoreBody,},- metas: remixComponentMetas,- propsMetas: remixComponentPropsMetas,+ metas: {},+ propsMetas: {},});registerComponentLibrary({namespace: "@webstudio-is/sdk-components-react-radix",diff --git a/apps/builder/app/routes/_canvas.canvas.tsx b/apps/builder/app/routes/_canvas.canvas.tsxindex 6e7db2778c..f55679b46f 100644--- a/apps/builder/app/routes/_canvas.canvas.tsx+++ b/apps/builder/app/routes/_canvas.canvas.tsx@@ -1,8 +1,9 @@import { lazy } from "react";import { type LoaderFunctionArgs } from "@remix-run/server-runtime";-import { Body } from "@webstudio-is/sdk-components-react-remix";import { isCanvas } from "~/shared/router-utils";import { ClientOnly } from "~/shared/client-only";+import { Body } from "~/canvas/shared/body";+export { ErrorBoundary } from "~/shared/error/error-boundary";export const loader = async ({ request }: LoaderFunctionArgs) => {diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsx b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsxindex f1a902dddd..812ce65c5c 100644--- a/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsx+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/plugin-webflow.test.tsx@@ -11,7 +11,7 @@ import {type Instance,} from "@webstudio-is/sdk";import { $, renderJsx } from "@webstudio-is/template";-import * as defaultMetas from "@webstudio-is/sdk-components-react-remix/metas";+import * as defaultMetas from "@webstudio-is/sdk-components-react/metas";import { __testing__ } from "./plugin-webflow";import {$breakpoints,diff --git a/apps/builder/package.json b/apps/builder/package.jsonindex c5c245acfb..3bc9c7c475 100644--- a/apps/builder/package.json+++ b/apps/builder/package.json@@ -73,7 +73,6 @@"@webstudio-is/sdk": "workspace:*","@webstudio-is/sdk-components-react": "workspace:*","@webstudio-is/sdk-components-react-radix": "workspace:*",- "@webstudio-is/sdk-components-react-remix": "workspace:*","@webstudio-is/template": "workspace:*","@webstudio-is/trpc-interface": "workspace:*","arrgv": "^1.0.2",diff --git a/packages/sdk-components-react-remix/src/__generated__/body.props.ts b/packages/sdk-components-react-remix/src/__generated__/body.props.tsdeleted file mode 100644index b22b1021eb..0000000000--- a/packages/sdk-components-react-remix/src/__generated__/body.props.ts+++ /dev/null@@ -1,562 +0,0 @@-import type { PropMeta } from "@webstudio-is/react-sdk";--export const props: 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" },- defaultChecked: { required: false, control: "boolean", type: "boolean" },- 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.",- },- 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.",- },- 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.",- },- typeof: { required: false, control: "text", type: "string" },- unselectable: {- required: false,- control: "radio",- type: "string",- options: ["on", "off"],- },- vocab: { required: false, control: "text", type: "string" },-};diff --git a/packages/sdk-components-react-remix/src/__generated__/link.props.ts b/packages/sdk-components-react-remix/src/__generated__/link.props.tsdeleted file mode 100644index 6dafc3f847..0000000000--- a/packages/sdk-components-react-remix/src/__generated__/link.props.ts+++ /dev/null@@ -1,637 +0,0 @@-import type { PropMeta } from "@webstudio-is/react-sdk";--export const props: 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" },- defaultChecked: { required: false, control: "boolean", type: "boolean" },- 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)",- },- download: {- required: false,- control: "boolean",- type: "boolean",- description:- "Indicates that the hyperlink is to be used for downloading a resource.",- },- 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.",- },- prefetch: {- required: false,- control: "select",- type: "string",- options: ["none", "intent", "render", "viewport"],- description:- "Controls when and if the link prefetches the resources that the next page needs to make loading faster. “Intent” will prefetch when the link is hovered or focused. “Render” will prefetch when the link is rendered. “Viewport” will prefetch when the link is in the viewport. “None” will not prefetch.",- },- prefix: { required: false, control: "text", type: "string" },- preventScrollReset: { required: false, control: "boolean", type: "boolean" },- 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.",- },- reloadDocument: { required: false, control: "boolean", type: "boolean" },- replace: { required: false, control: "boolean", type: "boolean" },- 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.",- },- target: {- required: false,- control: "select",- type: "string",- options: ["_self", "_blank", "_parent", "_top"],- description:- "Specifies where to open the linked document (in the case of an <a> element) or where to display the response received (in the case of a <form> element)",- },- 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" },-};diff --git a/packages/sdk-components-react-remix/src/__generated__/remix-form.props.ts b/packages/sdk-components-react-remix/src/__generated__/remix-form.props.tsdeleted file mode 100644index fb805f1e55..0000000000--- a/packages/sdk-components-react-remix/src/__generated__/remix-form.props.ts+++ /dev/null@@ -1,623 +0,0 @@-import type { PropMeta } from "@webstudio-is/react-sdk";--export const props: Record<string, PropMeta> = {- about: { required: false, control: "text", type: "string" },- acceptCharset: {- required: false,- control: "text",- type: "string",- description: "List of supported charsets.",- },- accessKey: {- required: false,- control: "text",- type: "string",- description: "Keyboard shortcut to activate or add focus to the element.",- },- action: {- required: false,- control: "text",- type: "string",- description:- "The URI of a program that processes the information submitted via the form.",- },- "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.",- },- autoComplete: {- required: false,- control: "text",- type: "string",- description:- "Indicates whether controls in this form can by default have their valuesautomatically completed by the browser.",- },- 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" },- defaultChecked: { required: false, control: "boolean", type: "boolean" },- 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.",- },- encType: {- description:- "`<form encType>` - enhancing beyond the normal string type and limiting\nto the built-in browser supported values",- required: false,- control: "radio",- type: "string",- options: [- "application/x-www-form-urlencoded",- "multipart/form-data",- "text/plain",- ],- },- 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.",- },- method: {- required: false,- control: "select",- type: "string",- options: ["get", "post", "put", "patch", "delete"],- description:- "Defines which HTTP method to use when submitting the form. Can be GET (default) or POST.",- },- 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" },- noValidate: {- required: false,- control: "boolean",- type: "boolean",- description:- "This attribute indicates that the form shouldn't be validated when submitted.",- },- 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.",- },- target: {- required: false,- control: "text",- type: "string",- description:- "Specifies where to open the linked document (in the case of an <a> element) or where to display the response received (in the case of a <form> element)",- },- 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.",- },- typeof: { required: false, control: "text", type: "string" },- unselectable: {- required: false,- control: "radio",- type: "string",- options: ["on", "off"],- },- vocab: { required: false, control: "text", type: "string" },-};diff --git a/packages/sdk-components-react-remix/src/__generated__/rich-text-link.props.ts b/packages/sdk-components-react-remix/src/__generated__/rich-text-link.props.tsdeleted file mode 100644index 56101b5b54..0000000000--- a/packages/sdk-components-react-remix/src/__generated__/rich-text-link.props.ts+++ /dev/null@@ -1,635 +0,0 @@-import type { PropMeta } from "@webstudio-is/react-sdk";--export const props: 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" },- defaultChecked: { required: false, control: "boolean", type: "boolean" },- 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)",- },- download: {- required: false,- control: "boolean",- type: "boolean",- description:- "Indicates that the hyperlink is to be used for downloading a resource.",- },- 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.",- },- prefetch: {- required: false,- control: "select",- type: "string",- options: ["none", "intent", "render", "viewport"],- },- prefix: { required: false, control: "text", type: "string" },- preventScrollReset: { required: false, control: "boolean", type: "boolean" },- 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.",- },- reloadDocument: { required: false, control: "boolean", type: "boolean" },- replace: { required: false, control: "boolean", type: "boolean" },- 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.",- },- target: {- required: false,- control: "select",- type: "string",- options: ["_self", "_blank", "_parent", "_top"],- description:- "Specifies where to open the linked document (in the case of an <a> element) or where to display the response received (in the case of a <form> element)",- },- 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" },-};diff --git a/packages/sdk-components-react-remix/src/body.ws.ts b/packages/sdk-components-react-remix/src/body.ws.tsdeleted file mode 100644index cf6b7d7802..0000000000--- a/packages/sdk-components-react-remix/src/body.ws.ts+++ /dev/null@@ -1,2 +0,0 @@-export { Body as meta } from "@webstudio-is/sdk-components-react/metas";-export { Body as propsMeta } from "@webstudio-is/sdk-components-react/props";diff --git a/packages/sdk-components-react-remix/src/link.ws.ts b/packages/sdk-components-react-remix/src/link.ws.tsdeleted file mode 100644index 191649790a..0000000000--- a/packages/sdk-components-react-remix/src/link.ws.ts+++ /dev/null@@ -1,16 +0,0 @@-import type { WsComponentPropsMeta } from "@webstudio-is/react-sdk";-import { props } from "./__generated__/link.props";--export { Link as meta } from "@webstudio-is/sdk-components-react/metas";--export const propsMeta: WsComponentPropsMeta = {- props: {- ...props,- href: {- type: "string",- control: "url",- required: false,- },- },- initialProps: ["id", "className", "href", "target", "prefetch", "download"],-};diff --git a/packages/sdk-components-react-remix/src/metas.ts b/packages/sdk-components-react-remix/src/metas.tsindex 66eaae9aa1..4dee41be64 100644--- a/packages/sdk-components-react-remix/src/metas.ts+++ b/packages/sdk-components-react-remix/src/metas.ts@@ -1,5 +1,9 @@-export { meta as Body } from "./body.ws";-export { meta as Link } from "./link.ws";-export { meta as RichTextLink } from "./rich-text-link.ws";-export { meta as Form } from "./webhook-form.ws";-export { meta as RemixForm } from "./remix-form.ws";+// this lets CLI detect which components are overriden+// without importing components runtime+export {+ Body,+ Link,+ RichTextLink,+ Form,+ RemixForm,+} from "@webstudio-is/sdk-components-react/metas";diff --git a/packages/sdk-components-react-remix/src/props.ts b/packages/sdk-components-react-remix/src/props.tsindex d76dfbb7a0..e69de29bb2 100644--- a/packages/sdk-components-react-remix/src/props.ts+++ b/packages/sdk-components-react-remix/src/props.ts@@ -1,5 +0,0 @@-export { propsMeta as Body } from "./body.ws";-export { propsMeta as Link } from "./link.ws";-export { propsMeta as RichTextLink } from "./rich-text-link.ws";-export { propsMeta as Form } from "./webhook-form.ws";-export { propsMeta as RemixForm } from "./remix-form.ws";diff --git a/packages/sdk-components-react-remix/src/remix-form.ws.ts b/packages/sdk-components-react-remix/src/remix-form.ws.tsdeleted file mode 100644index 89435faec0..0000000000--- a/packages/sdk-components-react-remix/src/remix-form.ws.ts+++ /dev/null@@ -1,2 +0,0 @@-export { Form as meta } from "@webstudio-is/sdk-components-react/metas";-export { Form as propsMeta } from "@webstudio-is/sdk-components-react/props";diff --git a/packages/sdk-components-react-remix/src/rich-text-link.ws.ts b/packages/sdk-components-react-remix/src/rich-text-link.ws.tsdeleted file mode 100644index 3c312880ca..0000000000--- a/packages/sdk-components-react-remix/src/rich-text-link.ws.ts+++ /dev/null@@ -1,6 +0,0 @@-import type { WsComponentPropsMeta } from "@webstudio-is/react-sdk";-import { propsMeta as linkPropsMeta } from "./link.ws";--export { RichTextLink as meta } from "@webstudio-is/sdk-components-react/metas";--export const propsMeta: WsComponentPropsMeta = linkPropsMeta;diff --git a/packages/sdk-components-react/src/__generated__/link.props.ts b/packages/sdk-components-react/src/__generated__/link.props.tsindex 371a0ca6d8..6dafc3f847 100644--- a/packages/sdk-components-react/src/__generated__/link.props.ts+++ b/packages/sdk-components-react/src/__generated__/link.props.ts@@ -519,7 +519,16 @@ export const props: Record<string, PropMeta> = {description:"The ping attribute specifies a space-separated list of URLs to be notified if a user follows the hyperlink.",},+ prefetch: {+ required: false,+ control: "select",+ type: "string",+ options: ["none", "intent", "render", "viewport"],+ description:+ "Controls when and if the link prefetches the resources that the next page needs to make loading faster. “Intent” will prefetch when the link is hovered or focused. “Render” will prefetch when the link is rendered. “Viewport” will prefetch when the link is in the viewport. “None” will not prefetch.",+ },prefix: { required: false, control: "text", type: "string" },+ preventScrollReset: { required: false, control: "boolean", type: "boolean" },property: { required: false, control: "text", type: "string" },radioGroup: { required: false, control: "text", type: "string" },referrerPolicy: {@@ -546,6 +555,8 @@ export const props: Record<string, PropMeta> = {description:"Specifies the relationship of the target object to the link object.",},+ reloadDocument: { required: false, control: "boolean", type: "boolean" },+ replace: { required: false, control: "boolean", type: "boolean" },resource: { required: false, control: "text", type: "string" },results: { required: false, control: "number", type: "number" },rev: { required: false, control: "text", type: "string" },diff --git a/packages/sdk-components-react/src/__generated__/rich-text-link.props.ts b/packages/sdk-components-react/src/__generated__/rich-text-link.props.tsindex 371a0ca6d8..6dafc3f847 100644--- a/packages/sdk-components-react/src/__generated__/rich-text-link.props.ts+++ b/packages/sdk-components-react/src/__generated__/rich-text-link.props.ts@@ -519,7 +519,16 @@ export const props: Record<string, PropMeta> = {description:"The ping attribute specifies a space-separated list of URLs to be notified if a user follows the hyperlink.",},+ prefetch: {+ required: false,+ control: "select",+ type: "string",+ options: ["none", "intent", "render", "viewport"],+ description:+ "Controls when and if the link prefetches the resources that the next page needs to make loading faster. “Intent” will prefetch when the link is hovered or focused. “Render” will prefetch when the link is rendered. “Viewport” will prefetch when the link is in the viewport. “None” will not prefetch.",+ },prefix: { required: false, control: "text", type: "string" },+ preventScrollReset: { required: false, control: "boolean", type: "boolean" },property: { required: false, control: "text", type: "string" },radioGroup: { required: false, control: "text", type: "string" },referrerPolicy: {@@ -546,6 +555,8 @@ export const props: Record<string, PropMeta> = {description:"Specifies the relationship of the target object to the link object.",},+ reloadDocument: { required: false, control: "boolean", type: "boolean" },+ replace: { required: false, control: "boolean", type: "boolean" },resource: { required: false, control: "text", type: "string" },results: { required: false, control: "number", type: "number" },rev: { required: false, control: "text", type: "string" },diff --git a/packages/sdk-components-react-remix/src/__generated__/webhook-form.props.ts b/packages/sdk-components-react/src/__generated__/webhook-form.props.tssimilarity index 100%rename from packages/sdk-components-react-remix/src/__generated__/webhook-form.props.tsrename to packages/sdk-components-react/src/__generated__/webhook-form.props.tsdiff --git a/packages/sdk-components-react/src/__generated__/xml-node.props.ts b/packages/sdk-components-react/src/__generated__/xml-node.props.tsindex 3e6f0218dd..04549cb147 100644--- a/packages/sdk-components-react/src/__generated__/xml-node.props.ts+++ b/packages/sdk-components-react/src/__generated__/xml-node.props.ts@@ -1,6 +1,21 @@import type { PropMeta } from "@webstudio-is/react-sdk";export const props: Record<string, PropMeta> = {+ href: {+ required: false,+ control: "text",+ type: "string",+ description: "The URL of a linked resource.",+ },+ hreflang: { 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.",+ },tag: { required: false, control: "text", type: "string", defaultValue: "" },xmlns: { required: false, control: "text", type: "string" },+ "xmlns:xhtml": { required: false, control: "text", type: "string" },};diff --git a/packages/sdk-components-react/src/components.ts b/packages/sdk-components-react/src/components.tsindex 9f814926e2..f57476ce01 100644--- a/packages/sdk-components-react/src/components.ts+++ b/packages/sdk-components-react/src/components.ts@@ -16,7 +16,7 @@ export { Superscript } from "./superscript";export { Subscript } from "./subscript";export { Button } from "./button";export { Input } from "./input";-export { Form } from "./form";+export { WebhookForm as Form } from "./webhook-form";export { Form as RemixForm } from "./form";export { Image } from "./image";export { Blockquote } from "./blockquote";diff --git a/packages/sdk-components-react/src/link.tsx b/packages/sdk-components-react/src/link.tsxindex 4347efe6de..a33d6b77fe 100644--- a/packages/sdk-components-react/src/link.tsx+++ b/packages/sdk-components-react/src/link.tsx@@ -6,6 +6,10 @@ type Props = Omit<ComponentProps<"a">, "target" | "download"> & {// override (string & {}) in target to generate keywordstarget?: "_self" | "_blank" | "_parent" | "_top";download?: boolean;+ prefetch?: "none" | "intent" | "render" | "viewport";+ preventScrollReset?: boolean;+ reloadDocument?: boolean;+ replace?: boolean;};export const Link = forwardRef<diff --git a/packages/sdk-components-react/src/link.ws.ts b/packages/sdk-components-react/src/link.ws.tsindex 6cb1829357..2f2e6ab66d 100644--- a/packages/sdk-components-react/src/link.ws.ts+++ b/packages/sdk-components-react/src/link.ws.ts@@ -71,5 +71,5 @@ export const propsMeta: WsComponentPropsMeta = {required: false,},},- initialProps: ["id", "className", "href", "target", "download"],+ initialProps: ["id", "className", "href", "target", "prefetch", "download"],};diff --git a/packages/sdk-components-react/src/metas.ts b/packages/sdk-components-react/src/metas.tsindex c62853851a..f1ed22512f 100644--- a/packages/sdk-components-react/src/metas.ts+++ b/packages/sdk-components-react/src/metas.ts@@ -17,7 +17,7 @@ export { meta as Superscript } from "./superscript.ws";export { meta as Subscript } from "./subscript.ws";export { meta as Button } from "./button.ws";export { meta as Input } from "./input.ws";-export { meta as Form } from "./form.ws";+export { meta as Form } from "./webhook-form.ws";export { meta as RemixForm } from "./form.ws";export { meta as Image } from "./image.ws";export { meta as Blockquote } from "./blockquote.ws";diff --git a/packages/sdk-components-react/src/props.ts b/packages/sdk-components-react/src/props.tsindex fcfd070a59..333bb1346a 100644--- a/packages/sdk-components-react/src/props.ts+++ b/packages/sdk-components-react/src/props.ts@@ -16,7 +16,7 @@ export { propsMeta as Superscript } from "./superscript.ws";export { propsMeta as Subscript } from "./subscript.ws";export { propsMeta as Button } from "./button.ws";export { propsMeta as Input } from "./input.ws";-export { propsMeta as Form } from "./form.ws";+export { propsMeta as Form } from "./webhook-form.ws";export { propsMeta as RemixForm } from "./form.ws";export { propsMeta as Image } from "./image.ws";export { propsMeta as Blockquote } from "./blockquote.ws";diff --git a/packages/sdk-components-react/src/rich-text-link.tsx b/packages/sdk-components-react/src/rich-text-link.tsxindex cc407ec38f..dd18b64a91 100644--- a/packages/sdk-components-react/src/rich-text-link.tsx+++ b/packages/sdk-components-react/src/rich-text-link.tsx@@ -1,8 +1 @@-import { forwardRef } from "react";-import { Link } from "./link";--export const RichTextLink: typeof Link = forwardRef((props, ref) => (- <Link {...props} ref={ref} />-));--RichTextLink.displayName = "RichTextLink";+export { Link as RichTextLink } from "./link";diff --git a/packages/sdk-components-react/src/webhook-form.tsx b/packages/sdk-components-react/src/webhook-form.tsxnew file mode 100644index 0000000000..e20e4faa79--- /dev/null+++ b/packages/sdk-components-react/src/webhook-form.tsx@@ -0,0 +1,20 @@+import { forwardRef, type ElementRef, type ComponentProps } from "react";++type Props = ComponentProps<"form"> & {+ encType?:+ | "application/x-www-form-urlencoded"+ | "multipart/form-data"+ | "text/plain";+ /** Use this property to reveal the Success and Error states on the canvas so they can be styled. The Initial state is displayed when the page first opens. The Success and Error states are displayed depending on whether the Form submits successfully or unsuccessfully. */+ state?: "initial" | "success" | "error";+};++export const WebhookForm = forwardRef<ElementRef<"form">, Props>(+ ({ children, state = "initial", ...props }, ref) => (+ <form {...props} ref={ref}>+ {children}+ </form>+ )+);++WebhookForm.displayName = "WebhookForm";diff --git a/packages/sdk-components-react-remix/src/webhook-form.ws.ts b/packages/sdk-components-react/src/webhook-form.ws.tssimilarity index 97%rename from packages/sdk-components-react-remix/src/webhook-form.ws.tsrename to packages/sdk-components-react/src/webhook-form.ws.tsindex 844b3382f7..d06232b3dd 100644--- a/packages/sdk-components-react-remix/src/webhook-form.ws.ts+++ b/packages/sdk-components-react/src/webhook-form.ws.ts@@ -1,4 +1,4 @@-import { Form as baseMeta } from "@webstudio-is/sdk-components-react/metas";+import { meta as baseMeta } from "./form.ws";import {type WsComponentMeta,type WsComponentPropsMeta,diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c1d5b8a169..6f097a4e67 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -286,9 +286,6 @@ importers:'@webstudio-is/sdk-components-react-radix':specifier: workspace:*version: link:../../packages/sdk-components-react-radix- '@webstudio-is/sdk-components-react-remix':- specifier: workspace:*- version: link:../../packages/sdk-components-react-remix'@webstudio-is/template':specifier: workspace:*version: link:../../packages/template