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

@launchpad-ui/button

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchpad-ui/button - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

8

dist/Button.d.ts

@@ -63,8 +63,2 @@ import type { LocationDescriptor } from 'history';

/**
* Content to display when hovering over the button
*/
/**
* Content to display when hovering over the button
*/
/**
* Function to execute button is clicked

@@ -136,3 +130,3 @@ */

* GOTCHA: focus only works with native dom elements: a and button. Since this
* component can render Tooltip, Link and in fact it can render any custom react components, this
* component can render Link and in fact it can render any custom react components, this
* method is an anti-pattern.

@@ -139,0 +133,0 @@ */

4

dist/index.es.js

@@ -5,3 +5,3 @@ // ../../scripts/react-shim.js

// src/Button.tsx
import classNames from "classnames";
import cx from "clsx";
import { cloneElement, createRef, PureComponent } from "react";

@@ -98,3 +98,3 @@ import "./styles/Button.css";

const sizeClass = `Button--${size}`;
const classes = classNames("Button", className, kindClass, sizeClass, {
const classes = cx("Button", className, kindClass, sizeClass, {
"Button--fit": fit,

@@ -101,0 +101,0 @@ "Button--icon": type === "icon",

@@ -37,3 +37,3 @@ var __create = Object.create;

// src/Button.tsx
var import_classnames = __toESM(require("classnames"));
var import_clsx = __toESM(require("clsx"));
var import_react = require("react");

@@ -130,3 +130,3 @@ var import_Button = require("./styles/Button.css");

const sizeClass = `Button--${size}`;
const classes = (0, import_classnames.default)("Button", className, kindClass, sizeClass, {
const classes = (0, import_clsx.default)("Button", className, kindClass, sizeClass, {
"Button--fit": fit,

@@ -133,0 +133,0 @@ "Button--icon": type === "icon",

{
"name": "@launchpad-ui/button",
"version": "0.1.5",
"version": "0.1.6",
"publishConfig": {

@@ -30,3 +30,3 @@ "access": "public"

"@types/history": "^4.7.11",
"classnames": "^2.3.1"
"clsx": "^1.1.1"
},

@@ -33,0 +33,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

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

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