@codecademy/gamut-illustrations 0.24.1-alpha.c65f95.0 → 0.25.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/.turbo/turbo-build.log +2 -7
- package/CHANGELOG.md +3 -2
- package/dist/MobilePhone.d.ts +3 -0
- package/dist/MobilePhone.js +86 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
[35m@codecademy/gamut-illustrations:build: [0mcache hit, replaying output [
|
|
1
|
+
[35m@codecademy/gamut-illustrations:build: [0mcache hit, replaying output [2m8eef9c902318adeb[0m
|
|
2
2
|
[35m@codecademy/gamut-illustrations:build: [0m$ yarn build:clean && yarn build:compile && yarn build:types
|
|
3
3
|
[35m@codecademy/gamut-illustrations:build: [0m$ rm -rf dist
|
|
4
4
|
[35m@codecademy/gamut-illustrations:build: [0m$ babel ./src --out-dir ./dist --copy-files --extensions ".ts,.tsx"
|
|
5
|
-
[35m@codecademy/gamut-illustrations:build: [
|
|
6
|
-
[35m@codecademy/gamut-illustrations:build: [0mnpx browserslist@latest --update-db
|
|
7
|
-
[35m@codecademy/gamut-illustrations:build: [0m
|
|
8
|
-
[35m@codecademy/gamut-illustrations:build: [0mWhy you should do it regularly:
|
|
9
|
-
[35m@codecademy/gamut-illustrations:build: [0mhttps://github.com/browserslist/browserslist#browsers-data-updating
|
|
10
|
-
[35m@codecademy/gamut-illustrations:build: [0mSuccessfully compiled 31 files with Babel (1125ms).
|
|
5
|
+
[35m@codecademy/gamut-illustrations:build: [0mSuccessfully compiled 32 files with Babel (1370ms).
|
|
11
6
|
[35m@codecademy/gamut-illustrations:build: [0m$ tsc --emitDeclarationOnly
|
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [0.25.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-illustrations@0.24.0...@codecademy/gamut-illustrations@0.25.0) (2022-03-25)
|
|
7
7
|
|
|
8
|
-
**Note:** Version bump only for package @codecademy/gamut-illustrations
|
|
9
8
|
|
|
9
|
+
### Features
|
|
10
10
|
|
|
11
|
+
* **MobilePhone:** add mobile phone illustration~ ([146c0fa](https://github.com/Codecademy/gamut/commit/146c0fa98b30a939da7e1cab43e4211671a277fc))
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export var MobilePhone = function MobilePhone(_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
|
+
width: width,
|
|
9
|
+
height: height,
|
|
10
|
+
fill: "none",
|
|
11
|
+
viewBox: "0 0 108 203",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
"aria-hidden": ariaHidden,
|
|
14
|
+
"class-name": className
|
|
15
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
16
|
+
clipPath: "url(#a)"
|
|
17
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
18
|
+
x: "1",
|
|
19
|
+
y: "1",
|
|
20
|
+
width: "105.101",
|
|
21
|
+
height: "200.031",
|
|
22
|
+
rx: "15",
|
|
23
|
+
fill: "#fff",
|
|
24
|
+
stroke: "#10162F",
|
|
25
|
+
strokeWidth: "2"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: "#fff",
|
|
28
|
+
d: "M9.519 24.123h88.062v153.783H9.519z"
|
|
29
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
30
|
+
fill: "url(#b)",
|
|
31
|
+
d: "M9.519 24.123h88.062v153.783H9.519z"
|
|
32
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
+
stroke: "#10162F",
|
|
34
|
+
strokeWidth: "2",
|
|
35
|
+
d: "M9.519 24.123h88.062v153.783H9.519z"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
37
|
+
cx: "52.942",
|
|
38
|
+
cy: "13.996",
|
|
39
|
+
r: "3.043",
|
|
40
|
+
fill: "#10162F"
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
|
+
stroke: "#10162F",
|
|
43
|
+
strokeWidth: "2",
|
|
44
|
+
d: "M38.946 188.859h29.209"
|
|
45
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
46
|
+
id: "c",
|
|
47
|
+
"mask-type": "alpha",
|
|
48
|
+
maskUnits: "userSpaceOnUse",
|
|
49
|
+
x: "10",
|
|
50
|
+
y: "23",
|
|
51
|
+
width: "87",
|
|
52
|
+
height: "154"
|
|
53
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
fill: "#10162F",
|
|
55
|
+
stroke: "#10162F",
|
|
56
|
+
strokeWidth: "2",
|
|
57
|
+
d: "M11.954 24.123h83.194v151.349H11.954z"
|
|
58
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
59
|
+
mask: "url(#c)"
|
|
60
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
61
|
+
d: "m121.422 44.47-18.731 152.824-123.51-93.89L121.422 44.47Z",
|
|
62
|
+
fill: "#F5FFE3"
|
|
63
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
fill: "#3A10E5",
|
|
65
|
+
stroke: "#10162F",
|
|
66
|
+
d: "M18.756 34.576h25.775v8.736H18.756z"
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h107.101v202.031H0z"
|
|
72
|
+
})), /*#__PURE__*/React.createElement("pattern", {
|
|
73
|
+
id: "b",
|
|
74
|
+
patternContentUnits: "objectBoundingBox",
|
|
75
|
+
width: ".711",
|
|
76
|
+
height: ".411"
|
|
77
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
78
|
+
xlinkHref: "#d",
|
|
79
|
+
transform: "scale(.0111 .00642)"
|
|
80
|
+
})), /*#__PURE__*/React.createElement("image", {
|
|
81
|
+
id: "d",
|
|
82
|
+
width: "64",
|
|
83
|
+
height: "64",
|
|
84
|
+
xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADbSURBVHgB7dhLDoJAEEXRlhUwMu5C9783wXQqZQyJH6SbUPXumRCY3pcaUMbzdS4v1N7hWIIqysOwBFWUh2EJqigPwxJUUR6GJaiiPAxLUEV5GJagivIwLEEV5WEElzAVFMrLGi+3U30Ozw9q5af5XhR5eTdQXsSyvMIN+FxeZQnvyruMN4Dy1bfyGW/AuvJZl/BreZfhBlC+Wls+ww3YVj7LEv4t7yLeAMpXW8tHvAFty0ddQqvyLsINoHzVunyEG9C3fJQl9CrvjngDKF/1Ln/EG7BvedW/w0sP1usKCOMHPlcAAAAASUVORK5CYII="
|
|
85
|
+
})));
|
|
86
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
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": "13.0.
|
|
7
|
+
"@codecademy/gamut-styles": "^13.0.2",
|
|
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.
|
|
45
|
-
"gitHead": "
|
|
44
|
+
"version": "0.25.0",
|
|
45
|
+
"gitHead": "9e34ad590013e5ef6b35805d5f331bfd0750dd23"
|
|
46
46
|
}
|