@codecademy/gamut-illustrations 0.28.6-alpha.f58fb6.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IllustrationProps } from './types';
3
+ export declare const Coffee: React.FC<IllustrationProps>;
package/dist/Coffee.js ADDED
@@ -0,0 +1,54 @@
1
+ import React from 'react';
2
+ export var Coffee = function Coffee(_ref) {
3
+ var ariaHidden = _ref['aria-hidden'],
4
+ className = _ref.className,
5
+ height = _ref.height,
6
+ width = _ref.width;
7
+ return /*#__PURE__*/React.createElement("svg", {
8
+ "aria-hidden": ariaHidden,
9
+ className: className,
10
+ width: width,
11
+ height: height,
12
+ viewBox: "0 0 48 73",
13
+ fill: "none",
14
+ xmlns: "http://www.w3.org/2000/svg",
15
+ xmlnsXlink: "http://www.w3.org/1999/xlink"
16
+ }, /*#__PURE__*/React.createElement("title", null, "Coffee Illustration"), /*#__PURE__*/React.createElement("path", {
17
+ d: "M1 28.124h36v37.05c0 1.578-.777 3.091-2.16 4.207-1.385 1.116-3.261 1.743-5.218 1.743H8.378c-1.957 0-3.834-.627-5.217-1.743C1.777 68.265 1 66.751 1 65.174v-37.05ZM37 51.15h4.055c.65-.002 1.273-.252 1.732-.696a2.331 2.331 0 0 0 .716-1.675V45.22c0-.628-.257-1.23-.716-1.675a2.495 2.495 0 0 0-1.732-.695H37V39h4.79c.684 0 1.362.13 1.994.383a5.223 5.223 0 0 1 1.69 1.091 5.026 5.026 0 0 1 1.13 1.635c.262.612.397 1.267.396 1.929v5.924c0 .662-.134 1.317-.396 1.929a5.026 5.026 0 0 1-1.13 1.635 5.22 5.22 0 0 1-1.69 1.091A5.363 5.363 0 0 1 41.79 55H37v-3.85Z",
18
+ fill: "#fff",
19
+ stroke: "#10162F",
20
+ strokeWidth: "1.5"
21
+ }), /*#__PURE__*/React.createElement("path", {
22
+ d: "M22.311 11.876H7.557v15.702h14.754V11.876Z",
23
+ fill: "url(#a)"
24
+ }), /*#__PURE__*/React.createElement("path", {
25
+ d: "M33.754 0H19v14.05h14.754V0Z",
26
+ fill: "url(#b)"
27
+ }), /*#__PURE__*/React.createElement("path", {
28
+ d: "M1 62v2.47a7.61 7.61 0 0 0 2.16 5.324A7.303 7.303 0 0 0 8.379 72h21.244a7.303 7.303 0 0 0 5.217-2.206A7.61 7.61 0 0 0 37 64.47V62H1Z",
29
+ fill: "#fff",
30
+ stroke: "#10162F",
31
+ strokeWidth: "1.5"
32
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("pattern", {
33
+ id: "a",
34
+ patternContentUnits: "objectBoundingBox",
35
+ width: ".542",
36
+ height: ".509"
37
+ }, /*#__PURE__*/React.createElement("use", {
38
+ xlinkHref: "#c",
39
+ transform: "scale(.06778 .06368)"
40
+ })), /*#__PURE__*/React.createElement("pattern", {
41
+ id: "b",
42
+ patternContentUnits: "objectBoundingBox",
43
+ width: ".542",
44
+ height: ".569"
45
+ }, /*#__PURE__*/React.createElement("use", {
46
+ xlinkHref: "#c",
47
+ transform: "scale(.06778 .07118)"
48
+ })), /*#__PURE__*/React.createElement("image", {
49
+ id: "c",
50
+ width: "8",
51
+ height: "8",
52
+ xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAeSURBVHgBzc4xAQAAAAEwEVxq6J+OGCzBQDk4MzgV8D0CqU26KA8AAAAASUVORK5CYII="
53
+ })));
54
+ };
@@ -1,4 +1,4 @@
1
- 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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
2
2
 
3
3
  import React from 'react';
4
4
  export var Onboarding = function Onboarding(props) {
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from './BrowserLock';
9
9
  export * from './BrowserPuzzle';
10
10
  export * from './ChatBox';
11
11
  export * from './CodeCelebration';
12
+ export * from './Coffee';
12
13
  export * from './Confetti';
13
14
  export * from './EmailAt';
14
15
  export * from './Envelope';
package/dist/index.js CHANGED
@@ -9,6 +9,7 @@ export * from './BrowserLock';
9
9
  export * from './BrowserPuzzle';
10
10
  export * from './ChatBox';
11
11
  export * from './CodeCelebration';
12
+ export * from './Coffee';
12
13
  export * from './Confetti';
13
14
  export * from './EmailAt';
14
15
  export * from './Envelope';
package/dist/types.js CHANGED
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://github.com/Codecademy/gamut/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "14.0.3-alpha.f58fb6.0",
7
+ "@codecademy/gamut-styles": "^14.0.3",
8
8
  "classnames": "^2.2.5"
9
9
  },
10
10
  "description": "Illustrations library for Codecademy",
@@ -39,6 +39,6 @@
39
39
  "dist/**/[A-Z]**/[A-Z]*.js",
40
40
  "dist/**/[A-Z]**/index.js"
41
41
  ],
42
- "version": "0.28.6-alpha.f58fb6.0",
43
- "gitHead": "a784cc37b6dca8f0f8e7409278df0c363fd0748b"
42
+ "version": "0.29.0",
43
+ "gitHead": "13563e776c2486aa585cd813855af622e15a072c"
44
44
  }