Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion stories/atoms/Typography/Label/Label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ const labelStyles: Record<LabelSize, string> = {
export default function Label({ as = "span", size = "md", children, className }: LabelProps) {
const Tag = as;

return <Tag className={cn("gray-900 font-medium", labelStyles[size], className)}>{children}</Tag>;
return <Tag className={cn("gray-900 font-normal", labelStyles[size], className)}>{children}</Tag>;
}
11 changes: 6 additions & 5 deletions stories/atoms/Typography/Paragraph/Paragraph.tsx
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -11,10 +11,11 @@ export interface ParagraphProps {
}

const paragraphStyles: Record<ParagraphSize, string> = {
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) {
Expand Down