Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@orca-so/design-system

Package Overview
Dependencies
197
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

dist/stories/Accordion/index.d.ts

16

dist/index.d.ts

@@ -0,2 +1,18 @@

export * from "./stories/Accordion";
export * from "./stories/Alert";
export * from "./stories/Avatar";
export * from "./stories/Badge";
export * from "./stories/Button";
export * from "./stories/ButtonGroup";
export * from "./stories/Card";
export * from "./stories/Collapsible";
export * from "./stories/Colors";
export * from "./stories/Command";
export * from "./stories/Dialog";
export * from "./stories/Drawer";
export * from "./stories/Input";
export * from "./stories/Label";
export * from "./stories/Separator";
export * from "./stories/Sheet";
export * from "./stories/Skeleton";
export * from "./stories/Tooltip";

@@ -17,4 +17,20 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./stories/Accordion"), exports);
__exportStar(require("./stories/Alert"), exports);
__exportStar(require("./stories/Avatar"), exports);
__exportStar(require("./stories/Badge"), exports);
__exportStar(require("./stories/Button"), exports);
__exportStar(require("./stories/ButtonGroup"), exports);
__exportStar(require("./stories/Card"), exports);
__exportStar(require("./stories/Collapsible"), exports);
__exportStar(require("./stories/Colors"), exports);
__exportStar(require("./stories/Command"), exports);
__exportStar(require("./stories/Dialog"), exports);
__exportStar(require("./stories/Drawer"), exports);
__exportStar(require("./stories/Input"), exports);
__exportStar(require("./stories/Label"), exports);
__exportStar(require("./stories/Separator"), exports);
__exportStar(require("./stories/Sheet"), exports);
__exportStar(require("./stories/Skeleton"), exports);
__exportStar(require("./stories/Tooltip"), exports);
//# sourceMappingURL=index.js.map

12

dist/stories/Button/index.d.ts

@@ -1,11 +0,11 @@

import * as React from "react";
import type { VariantProps } from "class-variance-authority";
declare const buttonVariants: (props?: {
variant?: "link" | "primary" | "destructive" | "secondary" | "ghost";
import type { ButtonHTMLAttributes } from "react";
import React from "react";
export declare const buttonVariants: (props?: {
variant?: "link" | "destructive" | "secondary" | "primary" | "ghost";
size?: "full" | "intrinsic" | "icon";
} & import("class-variance-authority/dist/types").ClassProp) => string;
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
asChild?: boolean;
}
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
export { Button, buttonVariants };
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -29,8 +6,9 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

Object.defineProperty(exports, "__esModule", { value: true });
exports.buttonVariants = exports.Button = void 0;
const React = __importStar(require("react"));
exports.Button = exports.buttonVariants = void 0;
const react_slot_1 = require("@radix-ui/react-slot");
const class_variance_authority_1 = require("class-variance-authority");
const clsx_1 = __importDefault(require("clsx"));
const buttonVariants = (0, class_variance_authority_1.cva)((0, clsx_1.default)("inline-flex items-center justify-center", "whitespace-nowrap rounded-md text-sm font-medium", "disabled:cursor-not-allowed", "outline-offset-2 outline-focus focus-visible:outline-1"), {
const react_1 = __importDefault(require("react"));
const react_2 = require("react");
exports.buttonVariants = (0, class_variance_authority_1.cva)((0, clsx_1.default)("inline-flex items-center justify-center", "whitespace-nowrap rounded-md text-sm font-medium", "disabled:cursor-not-allowed", "outline-offset-2 outline-focus focus-visible:outline-1"), {
variants: {

@@ -55,9 +33,7 @@ variant: {

});
exports.buttonVariants = buttonVariants;
const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
exports.Button = (0, react_2.forwardRef)(({ className, variant, size, asChild = false, ...props }, ref) => {
const Comp = asChild ? react_slot_1.Slot : "button";
return React.createElement(Comp, { className: buttonVariants({ variant, size, className }), ref: ref, ...props });
return (react_1.default.createElement(Comp, { className: (0, exports.buttonVariants)({ variant, size, className }), ref: ref, ...props }));
});
exports.Button = Button;
Button.displayName = "Button";
exports.Button.displayName = "Button";
//# sourceMappingURL=index.js.map

@@ -121,2 +121,4 @@ declare const _default: {

error: string;
success: string;
warning: string;
};

@@ -128,2 +130,4 @@ ringColor: {

error: string;
success: string;
warning: string;
};

@@ -135,2 +139,4 @@ outlineColor: {

error: string;
success: string;
warning: string;
};

@@ -137,0 +143,0 @@ backgroundColor: {

@@ -82,2 +82,4 @@ "use strict";

error: colors.red[500],
success: colors.green[500],
warning: colors.gold[300],
};

@@ -84,0 +86,0 @@ exports.default = {

{
"name": "@orca-so/design-system",
"version": "0.0.4",
"version": "0.0.5",
"description": "Orca Design System",

@@ -21,6 +21,16 @@ "main": "dist/index.js",

"dependencies": {
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tooltip": "^1.0.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"tiny-invariant": "^1.3.1"
"cmdk": "^0.2.1",
"react-icons": "^5.0.1",
"tiny-invariant": "^1.3.1",
"vaul": "^0.9.0"
},

@@ -27,0 +37,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc