Socket
Socket
Sign inDemoInstall

@hackclub/design-system

Package Overview
Dependencies
51
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-17 to 0.0.1-18

.site/main.3093fd98cc33b177aed7.bundle.js

14

.storybook/Avatar.js

@@ -12,12 +12,10 @@ import React from 'react'

text: 'A circular avatar image primitive.'
})(() => <Avatar src="https://hackclub.com/team/zach.png" size={64} />)
})(() => <Avatar src="https://hackclub.com/team/zach.jpg" size={64} />)
)
.add('Team', () => (
<React.Fragment>
{['zach.png', 'max.jpg', 'lachlan.jpg', 'mingjie.jpg', 'athul.jpg'].map(
key => (
<Avatar mr={2} src={`https://hackclub.com/team/${key}`} key={key} />
)
)}
</React.Fragment>
<>
{['zach', 'max', 'lachlan', 'mingjie', 'athul'].map(key => (
<Avatar mr={2} src={`https://hackclub.com/team/${key}.jpg`} key={key} />
))}
</>
))

@@ -36,2 +36,22 @@ "use strict";

});
test('renders chevronleft', function () {
var json = _reactTestRenderer["default"].create(_react["default"].createElement(_.Link, {
chevronLeft: true
}, "Left")).toJSON();
expect(json).toMatchSnapshot();
expect(json).toHaveStyleRule('content', "'\u2039'", {
modifier: ':before'
});
});
test('renders chevronright', function () {
var json = _reactTestRenderer["default"].create(_react["default"].createElement(_.Link, {
chevronRight: true
}, "Right")).toJSON();
expect(json).toMatchSnapshot();
expect(json).toHaveStyleRule('content', "'\u203A'", {
modifier: ':after'
});
});
});

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

var _ThemeProvider = require("../ThemeProvider");
var _styledComponents = _interopRequireDefault(require("styled-components"));

@@ -13,0 +11,0 @@

@@ -41,3 +41,3 @@ "use strict";

function _templateObject() {
var data = _taggedTemplateLiteral(["\n @font-face {\n font-family: 'Phantom Sans';\n src: url('https://hackclub.com/fonts/Phantom_Sans_0.4/Regular.woff')\n format('woff'),\n url('https://hackclub.com/fonts/Phantom_Sans_0.4/Regular.woff2')\n format('woff2');\n font-weight: normal;\n font-style: normal;\n font-display: swap;\n }\n @font-face {\n font-family: 'Phantom Sans';\n src: url('https://hackclub.com/fonts/Phantom_Sans_0.4/Bold.woff')\n format('woff'),\n url('https://hackclub.com/fonts/Phantom_Sans_0.4/Bold.woff2')\n format('woff2');\n font-weight: bold;\n font-style: normal;\n font-display: swap;\n }\n"]);
var data = _taggedTemplateLiteral(["\n @font-face {\n font-family: 'Phantom Sans';\n src: url('https://hackclub.com/fonts/Phantom_Sans_0.6/Regular.woff')\n format('woff'),\n url('https://hackclub.com/fonts/Phantom_Sans_0.6/Regular.woff2')\n format('woff2');\n font-weight: normal;\n font-style: normal;\n font-display: swap;\n }\n @font-face {\n font-family: 'Phantom Sans';\n src: url('https://hackclub.com/fonts/Phantom_Sans_0.6/Bold.woff')\n format('woff'),\n url('https://hackclub.com/fonts/Phantom_Sans_0.6/Bold.woff2')\n format('woff2');\n font-weight: bold;\n font-style: normal;\n font-display: swap;\n }\n"]);

@@ -44,0 +44,0 @@ _templateObject = function _templateObject() {

{
"name": "@hackclub/design-system",
"version": "0.0.1-17",
"version": "0.0.1-18",
"description": "Hack Club Design System",

@@ -18,3 +18,3 @@ "main": "dist/index.js",

"dependencies": {
"@hackclub/icons": "^0.0.2",
"@hackclub/icons": "^0.0.3",
"lodash": "^4.17.15",

@@ -29,8 +29,8 @@ "palx": "1.0.2",

"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@storybook/addon-info": "^5.2.8",
"@storybook/react": "^5.2.8",
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@storybook/addon-info": "^5.3.9",
"@storybook/react": "^5.3.9",
"@storybook/storybook-deployer": "^2.8.1",

@@ -56,3 +56,5 @@ "babel-jest": "^24.9.0",

],
"setupTestFrameworkScriptFile": "./test-setup.js"
"setupFilesAfterEnv": [
"./test-setup.js"
]
},

@@ -59,0 +61,0 @@ "repository": {

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

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

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

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

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

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

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

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc