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

@posten/hedwig-react

Package Overview
Dependencies
Maintainers
7
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@posten/hedwig-react - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

49

dist/index.js

@@ -1091,4 +1091,4 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

children = _ref.children;
var buttonVariant = variant != "" ? "hw-button--" + variant : "";
var buttonSize = size ? "hw-button--" + size : "";
var buttonVariant = variant != '' ? 'hw-button--' + variant : '';
var buttonSize = size ? 'hw-button--' + size : '';
return /*#__PURE__*/React.createElement("button", {

@@ -1102,3 +1102,3 @@ type: type,

BaseButton.defaultProps = {
variant: "",
variant: '',
type: 'button',

@@ -1111,3 +1111,4 @@ disabled: false

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
onClick: propTypes.func
onClick: propTypes.func,
disabled: propTypes.bool
};

@@ -1136,3 +1137,4 @@

type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func
onClick: propTypes.func,
disabled: propTypes.bool
};

@@ -1160,4 +1162,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1185,4 +1188,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1210,4 +1214,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1235,4 +1240,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1281,2 +1287,4 @@

var label = _ref.label,
name = _ref.name,
variant = _ref.variant,
id = _ref.id,

@@ -1287,4 +1295,5 @@ selected = _ref.selected,

return /*#__PURE__*/React.createElement(BaseDropdown, {
variant: "",
variant: variant,
label: label,
name: name,
id: id,

@@ -1296,19 +1305,6 @@ selected: selected,

}
Dropdown.propTypes = {
variant: propTypes.oneOf(['', 'white'])
};
function WhiteDropdown(_ref) {
var label = _ref.label,
id = _ref.id,
selected = _ref.selected,
onChange = _ref.onChange,
options = _ref.options;
return /*#__PURE__*/React.createElement(BaseDropdown, {
variant: "white",
label: label,
id: id,
selected: selected,
onChange: onChange,
options: options
});
}
function BaseBadge(_ref) {

@@ -1481,3 +1477,2 @@ var variant = _ref.variant,

exports.WhiteBadge = WhiteBadge;
exports.WhiteDropdown = WhiteDropdown;
//# sourceMappingURL=index.js.map

@@ -1089,4 +1089,4 @@ import React from 'react';

children = _ref.children;
var buttonVariant = variant != "" ? "hw-button--" + variant : "";
var buttonSize = size ? "hw-button--" + size : "";
var buttonVariant = variant != '' ? 'hw-button--' + variant : '';
var buttonSize = size ? 'hw-button--' + size : '';
return /*#__PURE__*/React.createElement("button", {

@@ -1100,3 +1100,3 @@ type: type,

BaseButton.defaultProps = {
variant: "",
variant: '',
type: 'button',

@@ -1109,3 +1109,4 @@ disabled: false

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
onClick: propTypes.func
onClick: propTypes.func,
disabled: propTypes.bool
};

@@ -1134,3 +1135,4 @@

type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func
onClick: propTypes.func,
disabled: propTypes.bool
};

@@ -1158,4 +1160,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1183,4 +1186,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1208,4 +1212,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1233,4 +1238,5 @@

size: propTypes.oneOf(['small', 'medium', 'large', 'full', 'mobile-full']),
type: propTypes.oneOf(['button', 'submit']),
onClick: propTypes.func,
type: propTypes.oneOf(['button', 'submit'])
disabled: propTypes.bool
};

@@ -1279,2 +1285,4 @@

var label = _ref.label,
name = _ref.name,
variant = _ref.variant,
id = _ref.id,

@@ -1285,4 +1293,5 @@ selected = _ref.selected,

return /*#__PURE__*/React.createElement(BaseDropdown, {
variant: "",
variant: variant,
label: label,
name: name,
id: id,

@@ -1294,19 +1303,6 @@ selected: selected,

}
Dropdown.propTypes = {
variant: propTypes.oneOf(['', 'white'])
};
function WhiteDropdown(_ref) {
var label = _ref.label,
id = _ref.id,
selected = _ref.selected,
onChange = _ref.onChange,
options = _ref.options;
return /*#__PURE__*/React.createElement(BaseDropdown, {
variant: "white",
label: label,
id: id,
selected: selected,
onChange: onChange,
options: options
});
}
function BaseBadge(_ref) {

@@ -1467,3 +1463,3 @@ var variant = _ref.variant,

export { Badge, Card, DarkBadge, Dropdown, ExampleComponent, LightOutlineButton, PrimaryButton, PrimaryOutlineButton, SecondaryButton, SecondaryOutlineButton, WarningBadge, WhiteBadge, WhiteDropdown };
export { Badge, Card, DarkBadge, Dropdown, ExampleComponent, LightOutlineButton, PrimaryButton, PrimaryOutlineButton, SecondaryButton, SecondaryOutlineButton, WarningBadge, WhiteBadge };
//# sourceMappingURL=index.modern.js.map
{
"name": "@posten/hedwig-react",
"homepage": "http://bring.github.io/hedwig-react",
"version": "0.0.7",
"version": "0.0.8",
"description": "Hedwig react components",

@@ -6,0 +6,0 @@ "author": "Posten",

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