@codecademy/gamut-illustrations 0.21.1-alpha.a809e8.0 → 0.21.1-alpha.da878e.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.
- package/CHANGELOG.md +1 -1
- package/dist/Bee.d.ts +3 -0
- package/dist/Bee.js +122 -0
- package/dist/Bell.d.ts +3 -0
- package/dist/Bell.js +40 -0
- package/dist/BinaryBlocks.d.ts +3 -0
- package/dist/BinaryBlocks.js +125 -0
- package/dist/Browser.d.ts +3 -0
- package/dist/Browser.js +71 -0
- package/dist/BrowserLock.d.ts +3 -0
- package/dist/BrowserLock.js +40 -0
- package/dist/BrowserPuzzle.d.ts +3 -0
- package/dist/BrowserPuzzle.js +63 -0
- package/dist/ChatBox.d.ts +3 -0
- package/dist/ChatBox.js +40 -0
- package/dist/Confetti.d.ts +3 -0
- package/dist/Confetti.js +89 -0
- package/dist/EmailAt.d.ts +3 -0
- package/dist/EmailAt.js +34 -0
- package/dist/Envelope.d.ts +3 -0
- package/dist/Envelope.js +34 -0
- package/dist/Heart.d.ts +3 -0
- package/dist/Heart.js +28 -0
- package/dist/Hills.d.ts +3 -0
- package/dist/Hills.js +47 -0
- package/dist/HomeOffice.d.ts +3 -0
- package/dist/HomeOffice.js +108 -0
- package/dist/Keyhole.d.ts +3 -0
- package/dist/Keyhole.js +28 -0
- package/dist/Maze.d.ts +3 -0
- package/dist/Maze.js +67 -0
- package/dist/Megaphone.d.ts +3 -0
- package/dist/Megaphone.js +46 -0
- package/dist/New.d.ts +3 -0
- package/dist/New.js +58 -0
- package/dist/NumberBlocks.d.ts +3 -0
- package/dist/NumberBlocks.js +261 -0
- package/dist/Onboarding.d.ts +3 -0
- package/dist/Onboarding.js +266 -0
- package/dist/Plant.d.ts +3 -0
- package/dist/Plant.js +64 -0
- package/dist/PortfolioProject.d.ts +3 -0
- package/dist/PortfolioProject.js +35 -0
- package/dist/PracticeProject.d.ts +3 -0
- package/dist/PracticeProject.js +43 -0
- package/dist/Python.d.ts +3 -0
- package/dist/Python.js +20 -0
- package/dist/Sun.d.ts +3 -0
- package/dist/Sun.js +113 -0
- package/dist/Target.d.ts +3 -0
- package/dist/Target.js +41 -0
- package/dist/__tests__/gamut-illustrations.test.d.ts +1 -0
- package/dist/__tests__/gamut-illustrations.test.js +32 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +26 -0
- package/dist/types.d.ts +12 -0
- package/dist/types.js +0 -0
- package/package.json +3 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export var PracticeProject = function PracticeProject(_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 96 96",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M70.151 88.173 47.795 8 25.44 88.173",
|
|
17
|
+
stroke: "#10162F",
|
|
18
|
+
strokeLinecap: "square",
|
|
19
|
+
strokeLinejoin: "bevel"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M47.795 31.909v56.264",
|
|
22
|
+
stroke: "#10162F",
|
|
23
|
+
strokeMiterlimit: "10",
|
|
24
|
+
strokeLinecap: "square"
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M74.538 74.614v-55.17H21v55.17h53.538Z",
|
|
27
|
+
fill: "#66C4FF",
|
|
28
|
+
stroke: "#10162F",
|
|
29
|
+
strokeMiterlimit: "10",
|
|
30
|
+
strokeLinecap: "square"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
d: "M67.314 67.342V26.695h-39.09v40.647h39.09Z",
|
|
33
|
+
fill: "#66C4FF",
|
|
34
|
+
stroke: "#10162F",
|
|
35
|
+
strokeMiterlimit: "10",
|
|
36
|
+
strokeLinecap: "square"
|
|
37
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
38
|
+
d: "m40.99 42.34 4.467 4.562-4.834 4.667 4.702 4.771 4.808-4.667 4.834-4.64L50.5 42.47l-.237-.235-4.466-4.563-4.807 4.667Z",
|
|
39
|
+
stroke: "#10162F",
|
|
40
|
+
strokeMiterlimit: "10",
|
|
41
|
+
strokeLinecap: "square"
|
|
42
|
+
}));
|
|
43
|
+
};
|
package/dist/Python.d.ts
ADDED
package/dist/Python.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export var Python = function Python(_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
|
+
height: height,
|
|
11
|
+
width: width,
|
|
12
|
+
viewBox: "0 0 80 80",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
+
}, /*#__PURE__*/React.createElement("title", null, "Python Illustration"), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M40 57.5h-.5v5h18V66s0 0 0 0c0 7.456-6.044 13.5-13.5 13.5h-8c-7.456 0-13.5-6.044-13.5-13.5v-5.972h0V54l.004-.292v-.004c.154-6.117 5.086-11.048 11.205-11.2h.003L34 42.5H36.794h-.001H46.005l.315-.003h.005c8.853-.171 15.999-7.315 16.172-16.169v-.004l.003-.32V22.5H66c7.456 0 13.5 6.044 13.5 13.5v8c0 7.456-6.044 13.5-13.5 13.5H40zm0-40H22.5V14C22.5 6.544 28.544.5 36 .5h8C51.456.5 57.5 6.544 57.5 14v12l-.004.293v.003c-.154 6.117-5.087 11.048-11.205 11.2h-.003L46 37.5H33.995l-.315.003h-.005c-8.853.171-15.999 7.315-16.172 16.169v.004l-.003.32V57.5H14C6.544 57.5.5 51.456.5 44v-8c0-7.456 6.044-13.5 13.5-13.5h26.5v-5H40zm8 49a3.5 3.5 0 100 7 3.5 3.5 0 000-7zm-17-60a3.5 3.5 0 100 7 3.5 3.5 0 000-7z",
|
|
17
|
+
fill: "#FFF2FF",
|
|
18
|
+
stroke: "#10162F"
|
|
19
|
+
}));
|
|
20
|
+
};
|
package/dist/Sun.d.ts
ADDED
package/dist/Sun.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export var Sun = function Sun(_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 80 60",
|
|
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, "Sun Illustration"), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
+
width: "80",
|
|
18
|
+
height: "60",
|
|
19
|
+
fill: "white"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
21
|
+
cx: "40.0598",
|
|
22
|
+
cy: "30.2034",
|
|
23
|
+
r: "9.15061",
|
|
24
|
+
fill: "url(#pattern0)",
|
|
25
|
+
stroke: "#10162F",
|
|
26
|
+
strokeMiterlimit: "10"
|
|
27
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
28
|
+
x1: "40.5002",
|
|
29
|
+
y1: "0.718262",
|
|
30
|
+
x2: "40.5002",
|
|
31
|
+
y2: "16.986",
|
|
32
|
+
stroke: "#10162F"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
34
|
+
x1: "40.5002",
|
|
35
|
+
y1: "43.0145",
|
|
36
|
+
x2: "40.5002",
|
|
37
|
+
y2: "59.2822",
|
|
38
|
+
stroke: "#10162F"
|
|
39
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
40
|
+
x1: "69.2822",
|
|
41
|
+
y1: "30.5004",
|
|
42
|
+
x2: "53.0145",
|
|
43
|
+
y2: "30.5004",
|
|
44
|
+
stroke: "#10162F"
|
|
45
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
46
|
+
x1: "26.9861",
|
|
47
|
+
y1: "30.5004",
|
|
48
|
+
x2: "10.7183",
|
|
49
|
+
y2: "30.5004",
|
|
50
|
+
stroke: "#10162F"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
52
|
+
x1: "25.7924",
|
|
53
|
+
y1: "4.39104",
|
|
54
|
+
x2: "33.9263",
|
|
55
|
+
y2: "18.4793",
|
|
56
|
+
stroke: "#10162F"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
58
|
+
x1: "46.9403",
|
|
59
|
+
y1: "41.0206",
|
|
60
|
+
x2: "55.0742",
|
|
61
|
+
y2: "55.1089",
|
|
62
|
+
stroke: "#10162F"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
64
|
+
x1: "65.6091",
|
|
65
|
+
y1: "15.7921",
|
|
66
|
+
x2: "51.5208",
|
|
67
|
+
y2: "23.926",
|
|
68
|
+
stroke: "#10162F"
|
|
69
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
70
|
+
x1: "28.9795",
|
|
71
|
+
y1: "36.9402",
|
|
72
|
+
x2: "14.8912",
|
|
73
|
+
y2: "45.074",
|
|
74
|
+
stroke: "#10162F"
|
|
75
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
76
|
+
x1: "14.8911",
|
|
77
|
+
y1: "14.9258",
|
|
78
|
+
x2: "28.9794",
|
|
79
|
+
y2: "23.0597",
|
|
80
|
+
stroke: "#10162F"
|
|
81
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
82
|
+
x1: "51.5208",
|
|
83
|
+
y1: "36.0742",
|
|
84
|
+
x2: "65.609",
|
|
85
|
+
y2: "44.2081",
|
|
86
|
+
stroke: "#10162F"
|
|
87
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
88
|
+
x1: "55.0741",
|
|
89
|
+
y1: "4.89114",
|
|
90
|
+
x2: "46.9402",
|
|
91
|
+
y2: "18.9794",
|
|
92
|
+
stroke: "#10162F"
|
|
93
|
+
}), /*#__PURE__*/React.createElement("line", {
|
|
94
|
+
x1: "33.9259",
|
|
95
|
+
y1: "41.5207",
|
|
96
|
+
x2: "25.7921",
|
|
97
|
+
y2: "55.609",
|
|
98
|
+
stroke: "#10162F"
|
|
99
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("pattern", {
|
|
100
|
+
id: "pattern0",
|
|
101
|
+
patternContentUnits: "objectBoundingBox",
|
|
102
|
+
width: "3.49703",
|
|
103
|
+
height: "3.49703"
|
|
104
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
105
|
+
xlinkHref: "#image0",
|
|
106
|
+
transform: "scale(0.0546411)"
|
|
107
|
+
})), /*#__PURE__*/React.createElement("image", {
|
|
108
|
+
id: "image0",
|
|
109
|
+
width: "64",
|
|
110
|
+
height: "64",
|
|
111
|
+
xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACkSURBVHgB7dcxEsIwDAVR6f53Boo/FNBkPEkYrN3Xye3+xlVVz/pEu/XmEqgsr3AJVJZXuAQqyytcApXlFS6ByvIKl0BleYVLoLK8wiVQWV5BK/8oheWh+vuBVh67BMsXVB/cuPKYJVj+4B6rF29c+bFLsPziPUafvHHlxyzB8ifvbfXFN678tkuw/MX3NvrmG1d+myVY/ub7b/WPb1z5sb/CJS8ZOf4BH9R+4AAAAABJRU5ErkJggg=="
|
|
112
|
+
})));
|
|
113
|
+
};
|
package/dist/Target.d.ts
ADDED
package/dist/Target.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export var Target = function Target(_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 135 97",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
+
}, /*#__PURE__*/React.createElement("title", null, "Target"), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M6.93 24.844L48 1.133l41.07 23.711v47.423L48 95.978 6.93 72.267V24.844z",
|
|
17
|
+
fill: "#FFF0E5",
|
|
18
|
+
stroke: "#10162F",
|
|
19
|
+
strokeLinejoin: "round"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M24.537 35.009L48 21.462 71.463 35.01v27.093L48 75.65 24.537 62.102V35.01z",
|
|
22
|
+
fill: "#FFF0E5",
|
|
23
|
+
stroke: "#10162F",
|
|
24
|
+
strokeLinejoin: "round"
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M40.11 44.891l7.325-4.229 7.325 4.23v8.457l-7.325 4.23-7.325-4.23v-8.458z",
|
|
27
|
+
fill: "#FFF0E5",
|
|
28
|
+
stroke: "#10162F",
|
|
29
|
+
strokeLinejoin: "round"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
fillRule: "evenodd",
|
|
32
|
+
clipRule: "evenodd",
|
|
33
|
+
d: "M56.792 37.243l5.09 14.758-11.902-4.163 6.812-10.595z",
|
|
34
|
+
fill: "#FFF0E5",
|
|
35
|
+
stroke: "#10162F"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
d: "M59.88 44.511l71.705-24.657M125.648 21.64l3.24-6.64M121.289 23.09l3.24-6.639M116.931 24.541l3.24-6.639M125.76 21.778l6.648 3.24M121.402 23.591l6.647 3.24M117.043 25.042l6.648 3.24",
|
|
38
|
+
stroke: "#10162F",
|
|
39
|
+
strokeLinecap: "square"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
+
|
|
3
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
|
|
5
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
|
+
|
|
7
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
|
+
|
|
9
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
10
|
+
|
|
11
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
|
+
|
|
13
|
+
import { render } from '@testing-library/react';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import * as illustrations from '..';
|
|
16
|
+
describe('illustrations', function () {
|
|
17
|
+
var _loop = function _loop() {
|
|
18
|
+
var _ref = _Object$entries[_i2];
|
|
19
|
+
_ref2 = _slicedToArray(_ref, 2);
|
|
20
|
+
var name = _ref2[0];
|
|
21
|
+
var Illustration = _ref2[1];
|
|
22
|
+
it("".concat(name, " renders"), function () {
|
|
23
|
+
render( /*#__PURE__*/React.createElement(Illustration, null));
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
for (var _i2 = 0, _Object$entries = Object.entries(illustrations); _i2 < _Object$entries.length; _i2++) {
|
|
28
|
+
var _ref2;
|
|
29
|
+
|
|
30
|
+
_loop();
|
|
31
|
+
}
|
|
32
|
+
});
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './Bee';
|
|
2
|
+
export * from './Bell';
|
|
3
|
+
export * from './BinaryBlocks';
|
|
4
|
+
export * from './Browser';
|
|
5
|
+
export * from './BrowserLock';
|
|
6
|
+
export * from './BrowserPuzzle';
|
|
7
|
+
export * from './ChatBox';
|
|
8
|
+
export * from './Confetti';
|
|
9
|
+
export * from './EmailAt';
|
|
10
|
+
export * from './Envelope';
|
|
11
|
+
export * from './Heart';
|
|
12
|
+
export * from './Hills';
|
|
13
|
+
export * from './HomeOffice';
|
|
14
|
+
export * from './Keyhole';
|
|
15
|
+
export * from './Maze';
|
|
16
|
+
export * from './Megaphone';
|
|
17
|
+
export * from './New';
|
|
18
|
+
export * from './NumberBlocks';
|
|
19
|
+
export * from './Onboarding';
|
|
20
|
+
export * from './Plant';
|
|
21
|
+
export * from './PortfolioProject';
|
|
22
|
+
export * from './PracticeProject';
|
|
23
|
+
export * from './Python';
|
|
24
|
+
export * from './Sun';
|
|
25
|
+
export * from './Target';
|
|
26
|
+
export * from './types';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './Bee';
|
|
2
|
+
export * from './Bell';
|
|
3
|
+
export * from './BinaryBlocks';
|
|
4
|
+
export * from './Browser';
|
|
5
|
+
export * from './BrowserLock';
|
|
6
|
+
export * from './BrowserPuzzle';
|
|
7
|
+
export * from './ChatBox';
|
|
8
|
+
export * from './Confetti';
|
|
9
|
+
export * from './EmailAt';
|
|
10
|
+
export * from './Envelope';
|
|
11
|
+
export * from './Heart';
|
|
12
|
+
export * from './Hills';
|
|
13
|
+
export * from './HomeOffice';
|
|
14
|
+
export * from './Keyhole';
|
|
15
|
+
export * from './Maze';
|
|
16
|
+
export * from './Megaphone';
|
|
17
|
+
export * from './New';
|
|
18
|
+
export * from './NumberBlocks';
|
|
19
|
+
export * from './Onboarding';
|
|
20
|
+
export * from './Plant';
|
|
21
|
+
export * from './PortfolioProject';
|
|
22
|
+
export * from './PracticeProject';
|
|
23
|
+
export * from './Python';
|
|
24
|
+
export * from './Sun';
|
|
25
|
+
export * from './Target';
|
|
26
|
+
export * from './types';
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare type IllustrationProps = {
|
|
2
|
+
'aria-hidden'?: boolean;
|
|
3
|
+
className?: string;
|
|
4
|
+
/**
|
|
5
|
+
* How high the root SVG should be, if not calculated by width or CSS.
|
|
6
|
+
*/
|
|
7
|
+
height?: number | string;
|
|
8
|
+
/**
|
|
9
|
+
* How wide the root SVG should be, if not calculated by height or CSS.
|
|
10
|
+
*/
|
|
11
|
+
width?: number | string;
|
|
12
|
+
};
|
package/dist/types.js
ADDED
|
File without changes
|
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": "12.1.2-alpha.
|
|
7
|
+
"@codecademy/gamut-styles": "12.1.2-alpha.da878e.0",
|
|
8
8
|
"classnames": "^2.2.5"
|
|
9
9
|
},
|
|
10
10
|
"description": "Illustrations library for Codecademy",
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
"dist/**/[A-Z]**/[A-Z]*.js",
|
|
42
42
|
"dist/**/[A-Z]**/index.js"
|
|
43
43
|
],
|
|
44
|
-
"version": "0.21.1-alpha.
|
|
45
|
-
"gitHead": "
|
|
44
|
+
"version": "0.21.1-alpha.da878e.0",
|
|
45
|
+
"gitHead": "2e07cbb5deaa89c8834b831c5de5a624394788e1"
|
|
46
46
|
}
|