@a2v2ai/uikit 0.0.34 → 0.0.36

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.
@@ -1,13 +1,13 @@
1
1
  import * as React from "react";
2
2
  type ChatBubbleSide = "left" | "right";
3
- type ChatBubbleColor = "blue" | "grey" | "green";
3
+ type ChatBubbleColor = "blue" | "grey" | "green" | "lightGrey";
4
4
  type ChatBubbleTheme = "dark" | "light";
5
5
  type ChatBubbleSize = "small" | "medium" | "large" | "xlarge";
6
6
  declare const chatBubbleVariants: (props?: ({
7
7
  side?: "left" | "right" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  declare const bubbleContentVariants: (props?: ({
10
- color?: "blue" | "grey" | "green" | null | undefined;
10
+ color?: "blue" | "grey" | "green" | "lightGrey" | null | undefined;
11
11
  theme?: "dark" | "light" | null | undefined;
12
12
  side?: "left" | "right" | null | undefined;
13
13
  size?: "small" | "large" | "xlarge" | "medium" | null | undefined;
@@ -19,6 +19,7 @@ const bubbleContentVariants = cva("px-4 py-3 leading-normal max-w-[85%]", {
19
19
  blue: "bg-blue-500",
20
20
  grey: "",
21
21
  green: "bg-green-500",
22
+ lightGrey: "",
22
23
  },
23
24
  theme: {
24
25
  dark: "",
@@ -69,6 +70,17 @@ const bubbleContentVariants = cva("px-4 py-3 leading-normal max-w-[85%]", {
69
70
  theme: "light",
70
71
  className: "bg-green-500 text-white",
71
72
  },
73
+ // Light-grey variants
74
+ {
75
+ color: "lightGrey",
76
+ theme: "dark",
77
+ className: "bg-background-neutral-100 text-main-600",
78
+ },
79
+ {
80
+ color: "lightGrey",
81
+ theme: "light",
82
+ className: "bg-background-neutral-100 text-main-600",
83
+ },
72
84
  ],
73
85
  defaultVariants: {
74
86
  color: "blue",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2v2ai/uikit",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "type": "module",
5
5
  "author": "Arulraj V & abofficial1997@gmail.com",
6
6
  "description": "A React UI component library built with shadcn/ui and Tailwind CSS",