Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@charliearlie/ui

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@charliearlie/ui - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

./dist/index.js

@@ -65,3 +65,3 @@ "use strict";

var import_react = __toESM(require("react"));
var import_class_variance_authority = require("class-variance-authority");
var import_cva = require("cva");
var import_react_slot = require("@radix-ui/react-slot");

@@ -74,3 +74,4 @@

var import_jsx_runtime = require("react/jsx-runtime");
var buttonVariants = (0, import_class_variance_authority.cva)(button_default.button, {
var buttonVariants = (0, import_cva.cva)({
base: button_default.button,
variants: {

@@ -77,0 +78,0 @@ variant: {

63

dist/index.d.ts

@@ -1,4 +0,3 @@

import * as class_variance_authority_types from 'class-variance-authority/types';
import React from 'react';
import { VariantProps } from 'class-variance-authority';
import { VariantProps } from 'cva';

@@ -9,7 +8,61 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {

declare const buttonVariants: (props?: ({
variant?: "default" | "primary" | "outline" | "secondary" | null | undefined;
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
} & class_variance_authority_types.ClassProp) | undefined) => string;
variant?: "default" | "primary" | "outline" | "secondary" | undefined;
size?: "default" | "sm" | "lg" | "icon" | undefined;
} & ({
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined;
className?: undefined;
} | {
class?: undefined;
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined)[] | {
[x: string]: any;
} | null | undefined;
})) | undefined) => string;
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
export { Button, type ButtonProps };

@@ -65,3 +65,3 @@ "use strict";

var import_react = __toESM(require("react"));
var import_class_variance_authority = require("class-variance-authority");
var import_cva = require("cva");
var import_react_slot = require("@radix-ui/react-slot");

@@ -74,3 +74,4 @@

var import_jsx_runtime = require("react/jsx-runtime");
var buttonVariants = (0, import_class_variance_authority.cva)(button_default.button, {
var buttonVariants = (0, import_cva.cva)({
base: button_default.button,
variants: {

@@ -77,0 +78,0 @@ variant: {

{
"name": "@charliearlie/ui",
"version": "0.0.1",
"version": "0.0.2",
"main": "./dist/index.js",

@@ -19,4 +19,4 @@ "module": "./dist/index.mjs",

"typescript": "^5.3.3",
"@repo/typescript-config": "0.0.0",
"@repo/eslint-config": "0.0.0"
"@repo/eslint-config": "0.0.0",
"@repo/typescript-config": "0.0.0"
},

@@ -28,3 +28,4 @@ "publishConfig": {

"@radix-ui/react-slot": "^1.0.2",
"class-variance-authority": "^0.7.0"
"clsx": "^2.1.0",
"cva": "1.0.0-beta.1"
},

@@ -31,0 +32,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc