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

@convertkit/design

Package Overview
Dependencies
Maintainers
6
Versions
655
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@convertkit/design - npm Package Compare versions

Comparing version 0.0.16-beta.2 to 0.0.16

6

badge/index.js

@@ -12,2 +12,6 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

var COLORS = {
gray: {
solid: "bg-gray-500 border-gray-500 text-white",
outline: "border-gray-500 text-gray-500"
},
green: {

@@ -38,5 +42,5 @@ solid: "bg-green-400 border-green-400 text-white",

Badge.propTypes = {
color: PropTypes.oneOf(["green", "red"]),
color: PropTypes.oneOf(Object.keys(COLORS)),
variant: PropTypes.oneOf(["solid", "outline"])
};
export default Badge;

46

package.json
{
"name": "@convertkit/design",
"version": "0.0.16-beta.2",
"version": "0.0.16",
"description": "Design System for ConvertKit",

@@ -28,6 +28,6 @@ "main": "index.js",

"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@fortawesome/fontawesome-pro": "^5.11.1",

@@ -37,8 +37,8 @@ "@fortawesome/fontawesome-svg-core": "^1.2.24",

"@fortawesome/pro-solid-svg-icons": "^5.11.1",
"@fortawesome/react-fontawesome": "^0.1.4",
"@storybook/addon-a11y": "^5.2.1",
"@storybook/addon-links": "^5.2.1",
"@storybook/addon-viewport": "^5.2.1",
"@storybook/addons": "^5.2.1",
"@storybook/react": "^5.2.1",
"@fortawesome/react-fontawesome": "^0.1.6",
"@storybook/addon-a11y": "^5.2.4",
"@storybook/addon-links": "^5.2.4",
"@storybook/addon-viewport": "^5.2.4",
"@storybook/addons": "^5.2.4",
"@storybook/react": "^5.2.4",
"@testing-library/jest-dom": "^4.0.0",

@@ -56,5 +56,2 @@ "@testing-library/react": "^9.1.3",

"/badge/index.js": "/badge/index.js",
"/card/card.js": "/card/card.js",
"/card/cards.js": "/card/cards.js",
"/card/index.js": "/card/index.js",
"/buttons/button-group.js": "/buttons/button-group.js",

@@ -64,21 +61,24 @@ "/buttons/button.js": "/buttons/button.js",

"/buttons/index.js": "/buttons/index.js",
"/card/card.js": "/card/card.js",
"/card/cards.js": "/card/cards.js",
"/card/index.js": "/card/index.js",
"/icon/icons.js": "/icon/icons.js",
"/icon/index.js": "/icon/index.js",
"/icon/library.js": "/icon/library.js",
"/menu/menu.js": "/menu/menu.js",
"/menu/index.js": "/menu/index.js",
"/menu/menu.js": "/menu/menu.js",
"/note/index.js": "/note/index.js",
"/modals/confirm-modal.js": "/modals/confirm-modal.js",
"/modals/action.js": "/modals/action.js",
"/modals/confirm-modal.js": "/modals/confirm-modal.js",
"/modals/confirm.js": "/modals/confirm.js",
"/modals/index.js": "/modals/index.js",
"/modals/modal.js": "/modals/modal.js",
"/icon/icons.js": "/icon/icons.js",
"/icon/index.js": "/icon/index.js",
"/icon/library.js": "/icon/library.js",
"/popover/index.js": "/popover/index.js",
"/popover/popover.js": "/popover/popover.js",
"/utils/partition.js": "/utils/partition.js",
"/popover/popover.js": "/popover/popover.js",
"/popover/index.js": "/popover/index.js",
"/filter/index.js": "/filter/index.js",
"/filter/types/all-subscribers.js": "/filter/types/all-subscribers.js",
"/filter/types/index.js": "/filter/types/index.js",
"/filter/types/subscribed-to.js": "/filter/types/subscribed-to.js"
"/filter/types/subscribed-to.js": "/filter/types/subscribed-to.js",
"/filter/types/all-subscribers.js": "/filter/types/all-subscribers.js"
}
}

@@ -12,3 +12,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import Button from "../buttons";
var PopoverContext = createContext({});

@@ -45,6 +44,4 @@ var byType = function byType(type) {

var content = children.find(byType(PopoverContent));
var className = cx("border border-gray-300 rounded shadow bg-white p-2", props.className);
return React.createElement(PopoverContext.Provider, {
value: popover
}, React.createElement(PopoverDisclosure, popover, function (disclosureProps) {
var className = cx("border border-gray-300 rounded shadow bg-white", props.className);
return React.createElement(React.Fragment, null, React.createElement(PopoverDisclosure, popover, function (disclosureProps) {
return React.cloneElement(button, disclosureProps);

@@ -51,0 +48,0 @@ }), React.createElement(BasePopover, _extends({

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