diff --git a/packages/react-sdk/src/components/component-meta.ts b/packages/react-sdk/src/components/component-meta.ts index 36730c4f66f8..247dbb8fa754 100644 --- a/packages/react-sdk/src/components/component-meta.ts +++ b/packages/react-sdk/src/components/component-meta.ts @@ -20,10 +20,11 @@ export type WsComponentPropsMeta = z.infer; export const componentCategories = [ "general", - "text", - "data", + "typography", "media", + "data", "forms", + "localization", "radix", "xml", "hidden", diff --git a/packages/react-sdk/src/core-components.ts b/packages/react-sdk/src/core-components.ts index 95faec5a03bf..7b0ee1a91f9b 100644 --- a/packages/react-sdk/src/core-components.ts +++ b/packages/react-sdk/src/core-components.ts @@ -150,8 +150,7 @@ const blockTemplatePropsMeta: WsComponentPropsMeta = { }; const blockMeta: WsComponentMeta = { - category: "data", - order: 2, + category: "typography", type: "container", label: "Content Block", icon: EditIcon, diff --git a/packages/sdk-components-react/src/blockquote.ws.ts b/packages/sdk-components-react/src/blockquote.ws.ts index 75f344528efe..01f540b2666e 100644 --- a/packages/sdk-components-react/src/blockquote.ws.ts +++ b/packages/sdk-components-react/src/blockquote.ws.ts @@ -60,7 +60,7 @@ const presetStyle = { } satisfies PresetStyle; export const meta: WsComponentMeta = { - category: "text", + category: "typography", type: "container", description: "Use to style a quote from an external source like an article or book.", diff --git a/packages/sdk-components-react/src/heading.ws.ts b/packages/sdk-components-react/src/heading.ws.ts index 0e44b3f68629..3befd5ae9770 100644 --- a/packages/sdk-components-react/src/heading.ws.ts +++ b/packages/sdk-components-react/src/heading.ws.ts @@ -22,7 +22,7 @@ const presetStyle = { } satisfies PresetStyle; export const meta: WsComponentMeta = { - category: "text", + category: "typography", type: "container", description: "Use HTML headings to structure and organize content. Use the Tag property in settings to change the heading level (h1-h6).", diff --git a/packages/sdk-components-react/src/list-item.ws.ts b/packages/sdk-components-react/src/list-item.ws.ts index 69d2ad5241fe..4c41974dfb18 100644 --- a/packages/sdk-components-react/src/list-item.ws.ts +++ b/packages/sdk-components-react/src/list-item.ws.ts @@ -14,7 +14,7 @@ const presetStyle = { } satisfies PresetStyle; export const meta: WsComponentMeta = { - category: "general", + category: "typography", type: "container", constraints: { // cannot use parent relation here @@ -27,7 +27,7 @@ export const meta: WsComponentMeta = { icon: ListItemIcon, states: defaultStates, presetStyle, - order: 4, + order: 5, template: [ { type: "instance", diff --git a/packages/sdk-components-react/src/list.ws.ts b/packages/sdk-components-react/src/list.ws.ts index fd647e6f0b01..c600dfc440d9 100644 --- a/packages/sdk-components-react/src/list.ws.ts +++ b/packages/sdk-components-react/src/list.ws.ts @@ -43,13 +43,13 @@ const presetStyle = { } satisfies PresetStyle; export const meta: WsComponentMeta = { - category: "general", + category: "typography", type: "container", description: "Groups content, like links in a menu or steps in a recipe.", icon: ListIcon, states: defaultStates, presetStyle, - order: 3, + order: 4, template: [ { type: "instance", diff --git a/packages/sdk-components-react/src/paragraph.ws.ts b/packages/sdk-components-react/src/paragraph.ws.ts index 80e97d543aaf..a73838bd542f 100644 --- a/packages/sdk-components-react/src/paragraph.ws.ts +++ b/packages/sdk-components-react/src/paragraph.ws.ts @@ -14,7 +14,7 @@ const presetStyle = { } satisfies PresetStyle; export const meta: WsComponentMeta = { - category: "text", + category: "typography", type: "container", description: "A container for multi-line text.", icon: TextAlignLeftIcon, diff --git a/packages/sdk-components-react/src/text.ws.ts b/packages/sdk-components-react/src/text.ws.ts index ad979ae3bd62..76f11b91fd0b 100644 --- a/packages/sdk-components-react/src/text.ws.ts +++ b/packages/sdk-components-react/src/text.ws.ts @@ -20,7 +20,7 @@ const presetStyle = { } satisfies PresetStyle; export const meta: WsComponentMeta = { - category: "text", + category: "typography", type: "container", description: "A generic container for any text content that is not a heading or a link.", diff --git a/packages/sdk-components-react/src/time.ws.ts b/packages/sdk-components-react/src/time.ws.ts index 4d145b7170e0..029aef28cea8 100644 --- a/packages/sdk-components-react/src/time.ws.ts +++ b/packages/sdk-components-react/src/time.ws.ts @@ -16,14 +16,13 @@ const presetStyle = { } satisfies PresetStyle<"time">; export const meta: WsComponentMeta = { - category: "data", + category: "localization", type: "container", description: "Converts machine-readable date and time to a human-readable format.", icon: CalendarIcon, states: defaultStates, presetStyle, - order: 5, }; export const propsMeta: WsComponentPropsMeta = {