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

@clayui/button

Package Overview
Dependencies
Maintainers
16
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/button - npm Package Compare versions

Comparing version 3.37.0 to 3.38.0

2

lib/Button.d.ts
import React from 'react';
export declare type DisplayType = null | 'primary' | 'secondary' | 'link' | 'unstyled';
export declare type DisplayType = null | 'primary' | 'secondary' | 'link' | 'success' | 'warning' | 'danger' | 'info' | 'unstyled';
interface IProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {

@@ -4,0 +4,0 @@ alert?: boolean;

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

var _excluded = ["alert", "block", "borderless", "children", "className", "displayType", "monospaced", "outline", "small", "type"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -40,3 +42,3 @@

type = _ref$type === void 0 ? 'button' : _ref$type,
otherProps = _objectWithoutProperties(_ref, ["alert", "block", "borderless", "children", "className", "displayType", "monospaced", "outline", "small", "type"]);
otherProps = _objectWithoutProperties(_ref, _excluded);

@@ -43,0 +45,0 @@ return /*#__PURE__*/_react.default.createElement("button", _extends({

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

var _excluded = ["monospaced", "spritemap", "symbol"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -28,3 +30,3 @@

symbol = _ref.symbol,
otherProps = _objectWithoutProperties(_ref, ["monospaced", "spritemap", "symbol"]);
otherProps = _objectWithoutProperties(_ref, _excluded);

@@ -31,0 +33,0 @@ return /*#__PURE__*/_react.default.createElement(_Button.default, _extends({}, otherProps, {

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

var _excluded = ["children", "className", "role", "spaced", "vertical"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -28,3 +30,3 @@

vertical = _ref.vertical,
otherProps = _objectWithoutProperties(_ref, ["children", "className", "role", "spaced", "vertical"]);
otherProps = _objectWithoutProperties(_ref, _excluded);

@@ -31,0 +33,0 @@ return /*#__PURE__*/_react.default.createElement("div", _extends({}, otherProps, {

{
"name": "@clayui/button",
"version": "3.37.0",
"version": "3.38.0",
"description": "ClayButton component",

@@ -29,3 +29,3 @@ "license": "BSD-3-Clause",

"dependencies": {
"@clayui/icon": "^3.37.0",
"@clayui/icon": "^3.38.0",
"classnames": "^2.2.6"

@@ -41,3 +41,3 @@ },

],
"gitHead": "0079c5f752a4c2fd2885e507d466bfd63fe57a9f"
"gitHead": "7bd99c6d432b6973d76b7003e64ed72e42879a8b"
}

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