@agility/plenum-ui 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tailwind.css CHANGED
@@ -68086,12 +68086,12 @@ select {
68086
68086
  line-height: 1.25rem;
68087
68087
  }
68088
68088
 
68089
- .leading-\[14px\] {
68090
- line-height: 14px;
68089
+ .leading-\[12px\] {
68090
+ line-height: 12px;
68091
68091
  }
68092
68092
 
68093
- .leading-\[20px\] {
68094
- line-height: 20px;
68093
+ .leading-\[14px\] {
68094
+ line-height: 14px;
68095
68095
  }
68096
68096
 
68097
68097
  .leading-\[28px\] {
@@ -1,5 +1,5 @@
1
1
  type ParagraphAs = "span" | "p" | "label" | "strong" | "em";
2
- type ParagraphSize = "lg" | "md" | "sm" | "xs";
2
+ type ParagraphSize = "xl" | "lg" | "md" | "sm" | "xs";
3
3
  export interface ParagraphProps {
4
4
  as?: ParagraphAs;
5
5
  size?: ParagraphSize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agility/plenum-ui",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -21,5 +21,5 @@ const labelStyles: Record<LabelSize, string> = {
21
21
  export default function Label({ as = "span", size = "md", children, className }: LabelProps) {
22
22
  const Tag = as;
23
23
 
24
- return <Tag className={cn("gray-900 font-medium", labelStyles[size], className)}>{children}</Tag>;
24
+ return <Tag className={cn("gray-900 font-normal", labelStyles[size], className)}>{children}</Tag>;
25
25
  }
@@ -1,7 +1,7 @@
1
1
  import { default as cn } from "classnames";
2
2
 
3
3
  type ParagraphAs = "span" | "p" | "label" | "strong" | "em";
4
- type ParagraphSize = "lg" | "md" | "sm" | "xs";
4
+ type ParagraphSize = "xl" | "lg" | "md" | "sm" | "xs";
5
5
 
6
6
  export interface ParagraphProps {
7
7
  as?: ParagraphAs;
@@ -11,10 +11,11 @@ export interface ParagraphProps {
11
11
  }
12
12
 
13
13
  const paragraphStyles: Record<ParagraphSize, string> = {
14
- lg: "text-lg",
15
- md: "text-base",
16
- sm: "text-sm",
17
- xs: "text-xs leading-[20px]"
14
+ xl: "text-lg",
15
+ lg: "text-base",
16
+ md: "text-sm",
17
+ sm: "text-xs",
18
+ xs: "text-[10px] leading-[12px]"
18
19
  };
19
20
 
20
21
  export default function Paragraph({ as = "p", size = "md", children, className }: ParagraphProps) {