Socket
Socket
Sign inDemoInstall

@launchpad-ui/button

Package Overview
Dependencies
Maintainers
1
Versions
134
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.3 to 0.1.4

10

dist/Button.d.ts

@@ -0,6 +1,6 @@

import type { LocationDescriptor } from 'history';
import { PureComponent } from 'react';
import type { LocationDescriptor } from 'history';
import './styles/Button.css';
import { ButtonKind, ButtonSize, ButtonType } from './types';
export declare type ButtonProps = {
declare type ButtonProps = {
/**

@@ -119,3 +119,3 @@ * Text for screenreaders to use if the content of the button isn't descriptive (text)

};
export declare class Button extends PureComponent<ButtonProps> {
declare class Button extends PureComponent<ButtonProps> {
static defaultProps: {

@@ -126,3 +126,3 @@ kind: ButtonKind;

outlined: boolean;
onClick: undefined;
onClick: () => undefined;
renderIconFirst: boolean;

@@ -144,2 +144,4 @@ };

}
export { Button };
export type { ButtonProps };
//# sourceMappingURL=Button.d.ts.map

4

dist/index.es.js

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

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

@@ -183,3 +183,3 @@

outlined: false,
onClick: void 0,
onClick: () => void 0,
renderIconFirst: false

@@ -186,0 +186,0 @@ };

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

// src/Button.tsx
var import_classnames = __toESM(require("classnames"));
var import_react = require("react");
var import_classnames = __toESM(require("classnames"));
var import_Button = require("./styles/Button.css");

@@ -215,3 +215,3 @@

outlined: false,
onClick: void 0,
onClick: () => void 0,
renderIconFirst: false

@@ -218,0 +218,0 @@ };

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

export declare enum ButtonType {
declare enum ButtonType {
BUTTON = "button",

@@ -8,3 +8,3 @@ SUBMIT = "submit",

}
export declare enum EllipsisButtonType {
declare enum EllipsisButtonType {
VERTICAL = "vertical",

@@ -16,3 +16,3 @@ HORIZONTAL = "horizontal",

}
export declare enum ButtonKind {
declare enum ButtonKind {
DEFAULT = "default",

@@ -24,3 +24,3 @@ PRIMARY = "primary",

}
export declare enum ButtonSize {
declare enum ButtonSize {
TINY = "tiny",

@@ -31,3 +31,3 @@ SMALL = "small",

}
export declare enum ButtonGroupSpacing {
declare enum ButtonGroupSpacing {
COMPACT = "compact",

@@ -37,2 +37,3 @@ NORMAL = "normal",

}
export { ButtonType, EllipsisButtonType, ButtonKind, ButtonSize, ButtonGroupSpacing };
//# sourceMappingURL=types.d.ts.map
{
"name": "@launchpad-ui/button",
"version": "0.1.3",
"version": "0.1.4",
"publishConfig": {

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

"dependencies": {
"@launchpad-ui/tokens": "~0.1.2",
"@launchpad-ui/tokens": "~0.1.3",
"@types/history": "^4.7.11",

@@ -42,3 +42,4 @@ "classnames": "^2.3.1"

"scripts": {
"build": "tsc && node build.js",
"build": "tsc --project tsconfig.build.json && node build.js",
"clean": "rm -rf dist",
"e2e": "playwright test --config=../../playwright.config.ts",

@@ -45,0 +46,0 @@ "lint": "eslint '**/*.{ts,tsx,js}' && stylelint '**/*.css' --ignore-path ../../.stylelintignore",

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