diff --git a/package.json b/package.json index a3c35e1..ad9fd0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@agility/plenum-ui", - "version": "2.2.1", + "version": "2.2.2", "license": "MIT", "main": "dist/index.js", "module": "dist/index.js", diff --git a/stories/atoms/Typography/Label/Label.tsx b/stories/atoms/Typography/Label/Label.tsx index 9010917..510396a 100644 --- a/stories/atoms/Typography/Label/Label.tsx +++ b/stories/atoms/Typography/Label/Label.tsx @@ -21,5 +21,5 @@ const labelStyles: Record = { export default function Label({ as = "span", size = "md", children, className }: LabelProps) { const Tag = as; - return {children}; + return {children}; } diff --git a/stories/atoms/Typography/Paragraph/Paragraph.tsx b/stories/atoms/Typography/Paragraph/Paragraph.tsx index dd61293..c3014ce 100644 --- a/stories/atoms/Typography/Paragraph/Paragraph.tsx +++ b/stories/atoms/Typography/Paragraph/Paragraph.tsx @@ -1,7 +1,7 @@ import { default as cn } from "classnames"; type ParagraphAs = "span" | "p" | "label" | "strong" | "em"; -type ParagraphSize = "lg" | "md" | "sm" | "xs"; +type ParagraphSize = "xl" | "lg" | "md" | "sm" | "xs"; export interface ParagraphProps { as?: ParagraphAs; @@ -11,10 +11,11 @@ export interface ParagraphProps { } const paragraphStyles: Record = { - lg: "text-lg", - md: "text-base", - sm: "text-sm", - xs: "text-xs leading-[20px]" + xl: "text-lg", + lg: "text-base", + md: "text-sm", + sm: "text-xs", + xs: "text-[10px] leading-[12px]" }; export default function Paragraph({ as = "p", size = "md", children, className }: ParagraphProps) {