@hackclub/design-system
Advanced tools
Comparing version 0.0.1-17 to 0.0.1-18
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9760316
22967
213
+ Added@hackclub/icons@0.0.3(transitive)
- Removed@hackclub/icons@0.0.2(transitive)
Updated@hackclub/icons@^0.0.3