Skip to content

Commit

Permalink
rename text to typography
Browse files Browse the repository at this point in the history
  • Loading branch information
kof committed Dec 22, 2024
1 parent 7d7c92a commit 3dab752
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/react-sdk/src/components/component-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export type WsComponentPropsMeta = z.infer<typeof WsComponentPropsMeta>;

export const componentCategories = [
"general",
"text",
"data",
"typography",
"media",
"data",
"forms",
"radix",
"xml",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-components-react/src/blockquote.ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const presetStyle = {
} satisfies PresetStyle<typeof defaultTag>;

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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-components-react/src/heading.ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const presetStyle = {
} satisfies PresetStyle<HeadingTags>;

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).",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-components-react/src/paragraph.ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const presetStyle = {
} satisfies PresetStyle<typeof defaultTag>;

export const meta: WsComponentMeta = {
category: "text",
category: "typography",
type: "container",
description: "A container for multi-line text.",
icon: TextAlignLeftIcon,
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-components-react/src/text.ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const presetStyle = {
} satisfies PresetStyle<typeof defaultTag>;

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.",
Expand Down

0 comments on commit 3dab752

Please sign in to comment.