@moontra/moonui 6.0.0 → 6.2.0

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/index.mjs CHANGED
@@ -716,7 +716,7 @@ var buttonVariants = cva(
716
716
  "dark:bg-gray-800 dark:text-gray-100",
717
717
  "hover:bg-gray-200 dark:hover:bg-gray-700",
718
718
  "active:bg-gray-300 dark:active:bg-gray-600",
719
- "border border-gray-200 dark:border-gray-700",
719
+ "border border-input",
720
720
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
721
721
  "shadow-sm hover:shadow-md"
722
722
  ],
@@ -1940,7 +1940,7 @@ var inputWrapperVariants = cva(
1940
1940
  var inputVariants = cva(
1941
1941
  [
1942
1942
  "w-full bg-background transition-all duration-200",
1943
- "text-foreground placeholder:text-muted-foreground dark:placeholder:text-gray-500",
1943
+ "text-foreground placeholder:text-muted-foreground",
1944
1944
  "disabled:cursor-not-allowed disabled:opacity-50",
1945
1945
  "file:border-0 file:bg-transparent file:font-medium",
1946
1946
  "focus-visible:outline-none dark:text-gray-200"
@@ -1948,10 +1948,10 @@ var inputVariants = cva(
1948
1948
  {
1949
1949
  variants: {
1950
1950
  variant: {
1951
- standard: "border border-gray-300 dark:border-gray-700 rounded-md px-3 py-2 hover:border-gray-400 dark:hover:border-gray-600 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20 focus-visible:border-primary dark:focus-visible:border-primary/80 dark:bg-gray-800/80 dark:shadow-inner dark:shadow-gray-950/10",
1951
+ standard: "border border-input rounded-md px-3 py-2 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20 focus-visible:border-primary dark:focus-visible:border-primary/80 dark:bg-gray-800/80 dark:shadow-inner dark:shadow-gray-950/10",
1952
1952
  filled: "border border-transparent bg-gray-100 dark:bg-gray-800 rounded-md px-3 py-2 hover:bg-gray-200 dark:hover:bg-gray-700 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20 dark:shadow-inner dark:shadow-gray-950/10",
1953
- ghost: "border-none bg-transparent shadow-none px-1 dark:text-gray-300 dark:placeholder:text-gray-500 hover:bg-gray-100/50 dark:hover:bg-gray-800/30 focus-visible:bg-transparent",
1954
- underline: "border-t-0 border-l-0 border-r-0 border-b border-gray-300 dark:border-gray-600 rounded-none px-0 py-2 hover:border-gray-400 dark:hover:border-gray-500 focus-visible:ring-0 focus-visible:border-b-2 focus-visible:border-primary dark:focus-visible:border-primary/80 dark:text-gray-300 dark:bg-transparent"
1953
+ ghost: "border-none bg-transparent shadow-none px-1 dark:text-gray-300 hover:bg-gray-100/50 dark:hover:bg-gray-800/30 focus-visible:bg-transparent",
1954
+ underline: "border-t-0 border-l-0 border-r-0 border-b border-input rounded-none px-0 py-2 focus-visible:ring-0 focus-visible:border-b-2 focus-visible:border-primary dark:focus-visible:border-primary/80 dark:text-gray-300 dark:bg-transparent"
1955
1955
  },
1956
1956
  size: {
1957
1957
  sm: "h-8 text-xs",
@@ -5951,7 +5951,7 @@ var SelectContent = React24.forwardRef(({ className, children, position = "poppe
5951
5951
  className: cn(
5952
5952
  [
5953
5953
  "relative z-50 max-h-96 min-w-[8rem] overflow-hidden",
5954
- "rounded-md border border-gray-200 dark:border-gray-700",
5954
+ "rounded-md border border-input",
5955
5955
  "bg-background dark:bg-gray-800/80 backdrop-blur-sm text-foreground dark:text-gray-200",
5956
5956
  "shadow-lg dark:shadow-gray-900/20",
5957
5957
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
@@ -7972,7 +7972,7 @@ TagsInput.displayName = "TagsInput";
7972
7972
  var textareaVariants = cva(
7973
7973
  [
7974
7974
  "flex w-full rounded-md px-3 py-2 text-sm transition-all duration-200",
7975
- "text-foreground placeholder:text-muted-foreground dark:placeholder:text-gray-500",
7975
+ "text-foreground placeholder:text-muted-foreground",
7976
7976
  "disabled:cursor-not-allowed disabled:opacity-50",
7977
7977
  "focus-visible:outline-none dark:text-gray-200",
7978
7978
  "resize-none"
@@ -7981,10 +7981,10 @@ var textareaVariants = cva(
7981
7981
  {
7982
7982
  variants: {
7983
7983
  variant: {
7984
- default: "border border-gray-300 dark:border-gray-700 bg-background dark:bg-gray-800/80 hover:border-gray-400 dark:hover:border-gray-600 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20 focus-visible:border-primary dark:focus-visible:border-primary/80 dark:shadow-inner dark:shadow-gray-950/10",
7985
- outline: "border-2 border-gray-300 dark:border-gray-700 bg-transparent hover:border-gray-400 dark:hover:border-gray-600 focus-visible:border-primary dark:focus-visible:border-primary/80",
7984
+ default: "border border-input bg-background dark:bg-gray-800/80 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20 focus-visible:border-primary dark:focus-visible:border-primary/80 dark:shadow-inner dark:shadow-gray-950/10",
7985
+ outline: "border-2 border-input bg-transparent focus-visible:border-primary dark:focus-visible:border-primary/80",
7986
7986
  ghost: "border-none bg-transparent hover:bg-gray-100/50 dark:hover:bg-gray-800/30 focus-visible:bg-transparent",
7987
- underline: "border-t-0 border-l-0 border-r-0 border-b-2 border-gray-300 dark:border-gray-600 rounded-none px-0 hover:border-gray-400 dark:hover:border-gray-500 focus-visible:ring-0 focus-visible:border-primary dark:focus-visible:border-primary/80 bg-transparent dark:bg-transparent"
7987
+ underline: "border-t-0 border-l-0 border-r-0 border-b-2 border-input rounded-none px-0 focus-visible:ring-0 focus-visible:border-primary dark:focus-visible:border-primary/80 bg-transparent dark:bg-transparent"
7988
7988
  },
7989
7989
  size: {
7990
7990
  sm: "min-h-[60px] text-xs",