Skip to content

Commit

Permalink
refactor: fix icon imports and typo in function name (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev authored Jul 22, 2019
1 parent b6352d8 commit 7548ed0
Show file tree
Hide file tree
Showing 650 changed files with 651 additions and 651 deletions.
4 changes: 2 additions & 2 deletions packages/base/src/SVGIconRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const getIconData = name => {
return registry.get(name);
};

const getRegsiteredNames = () => {
const getRegisteredNames = () => {
return Array.from(registry.keys());
};

export { getIconData, registerIcon, getRegsiteredNames };
export { getIconData, registerIcon, getRegisteredNames };
2 changes: 1 addition & 1 deletion packages/base/src/icons/Chart-Tree-Map.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://Chart-Tree-Map";
const d = "M216 32q8 0 8 8v432q0 8-8 8H40q-8 0-8-8V40q0-8 8-8h176zm256 0q8 0 8 8v176q0 8-8 8H264q-8 0-8-8V40q0-8 8-8h208zm0 224q8 0 8 8v80q0 8-8 8h-80q-8 0-8-8v-80q0-8 8-8h80zm0 128q8 0 8 8v80q0 8-8 8h-80q-8 0-8-8v-80q0-8 8-8h80zM344 256q8 0 8 8v208q0 8-8 8h-80q-8 0-8-8V264q0-8 8-8h80z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/Netweaver-business-client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/base/src/icons/accelerated.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://accelerated";
const d = "M240 256q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128q16 0 16 16 0 6-4.5 11t-11.5 5H240zm-128 64q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h160q16 0 16 16 0 6-4.5 11t-11.5 5H112zm16 48q0-7 5-11.5t11-4.5h256q16 0 16 16 0 6-4.5 11t-11.5 5H144q-6 0-11-5t-5-11zM448 32q14 0 23 9.5t9 22.5v416q0 14-9 23t-23 9H64q-14 0-23-9t-9-23V64q0-13 9-22.5T64 32h64V0h32v32h192V0h32v32h64zm-96 64h32V64h-32v32zm-224 0h32V64h-32v32zm320 32H64v352h384V128z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/accept.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://accept";
const d = "M455.8 94q9 9 3 19l-222 326q-4 8-12 9t-14-5l-151-167q-5-5-4.5-11t5.5-11l25-25q12-12 23 0l96 96q5 5 13 4.5t12-8.5l175-249q4-7 11.5-8t13.5 4z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/accidental-leave.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://accidental-leave";
const d = "M191 320H96V192h95V96h129v96h96v128h-96v96H191v-96zm33-32v96h64v-96h95v-64h-95v-96h-64v96h-96v64h96zM448 32q14 0 23 8.5t9 22.5v385q0 13-9 23t-23 10H64q-13 0-22.5-10T32 448V63q0-14 9.5-22.5T64 32h384zm-1 32H64v384h383V64z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/account.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://account";
const d = "M288 191q0 40-28 68t-68 28-68-28-28-68 28-68 68-28 68 28 28 68zm-96 64q26 0 45-19t19-45q0-27-19-45.5T192 127q-27 0-45.5 18.5T128 191q0 26 18.5 45t45.5 19zm32 33q26 0 49.5 10t41 27 27.5 40 10 50v65H32v-65q0-27 10-50t27.5-40 40.5-27 50-10h64zm96 127q0-40-28-68t-68-28h-64q-40 0-68 28t-28 68v32h256v-32zm144-255q16 0 16 16 0 6-4.5 11t-11.5 5H336q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128zm0-64q16 0 16 16 0 6-4.5 11t-11.5 5H336q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128zm0-64q16 0 16 16 0 6-4.5 11T464 64H336q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128z";
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/base/src/icons/action-settings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/base/src/icons/action.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://action";
const d = "M416 319h32v129q0 13-9 22.5t-23 9.5H32q-13 0-22.5-9.5T0 448V64q0-14 9.5-23T32 32h128v32H32v384h384V319zm87-229q9 10 9 23t-9 23l-92 84q-5 5-11 5t-11-5-5-11.5 5-11.5l75-69h-48q-40 0-75 15t-61 41.5-41 61.5-15 74v16q0 16-16 16t-16-16v-18.5l1-4.5q1-45 19.5-84.5T261 160t70-46 85-17h48l-75-69q-5-5-5-11.5T389 5t11-5 11 5z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/activate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://activate";
const d = "M337 204q12 11 0 23l-56 56L89 475q-5 5-12 5t-11-5l-45-45q-5-5-5-11t5-11l192-193 57-56q5-5 11-5t11 5zm-79 57l-22-23L55 419l22 23zM437 64h59l-47 39 20 64-53-40-54 40 21-64-47-39h59l21-58zm59 224l-47 39 20 64-53-40-54 40 21-64-47-39h59l21-58 21 58h59zM127 103L80 64h60l21-58 21 58h59l-47 39 20 64-53-40-55 40z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/activities.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://activities";
const d = "M480 32q13 0 22.5 9t9.5 23v384q0 13-9.5 22.5T480 480H32q-14 0-23-9.5T0 448V64q0-14 9-23t23-9h448zm0 32H32v384h448V64zM117 252l-53-53 17-19 36 36 71-88 18 17zm0 164l-53-54 17-18 36 36 71-89 18 18zm283-96q16 0 16 16 0 6-4.5 11t-11.5 5H272q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128zm0-160q16 0 16 16 0 6-4.5 11t-11.5 5H272q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/activity-2.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://activity-2";
const d = "M330 166l22 21-109 131-65-65 21-23 44 44zm86-101q13 0 22.5 9.5T448 97v384q0 14-9.5 23t-22.5 9H96q-14 0-23-9t-9-23V97q0-13 9-22.5T96 65h67q10-26 37-31 8-14 23-23.5T256 1t33 9.5T312 34q27 5 37 31h67zm-208 0q-7 0-11.5 5T192 81q0 16 16 16h96q16 0 16-16 0-6-4.5-11T304 65h-16q0-13-9-22.5T256 33t-23 9.5-9 22.5h-16zm208 32h-67q-3 10-10 20-9 12-26 12H199q-17 0-26-12-7-10-10-20H96v384h320V97zm-80 320q16 0 16 16 0 6-4.5 11t-11.5 5H176q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h160zm0-64q16 0 16 16 0 6-4.5 11t-11.5 5H176q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h160z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/activity-assigned-to-goal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/base/src/icons/activity-individual.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/base/src/icons/activity-items.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/base/src/icons/add-activity-2.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-activity-2";
const d = "M352 96h-67q-3 10-10 20-9 12-26 12H135q-17 0-26-12-7-10-10-20H32v384h192v32H32q-14 0-23-9t-9-23V96q0-13 9-22.5T32 64h67q10-26 37-31 8-14 23-23.5T192 0t33 9.5T248 33q27 5 37 31h67q14 0 23 9.5t9 22.5v128h-32V96zm-112 0q16 0 16-16 0-6-4.5-11T240 64h-16q0-13-9-22.5T192 32t-23 9.5-9 22.5h-16q-7 0-11.5 5T128 80q0 16 16 16h96zm272 288v32h-96v96h-32v-96h-96v-32h96v-96h32v96h96zm-272 32q16 0 16 16 0 6-4.5 11t-11.5 5H112q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128zm0-64q16 0 16 16 0 6-4.5 11t-11.5 5H112q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128zm26-186l22 21-109 131-65-65 21-23 44 44z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-activity.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-activity";
const d = "M416 384h96v32h-96v96h-32v-96h-96v-32h96v-96h32v96zm64-352q13 0 22.5 9.5T512 64v192h-32V64H32v384h192v32H32q-14 0-23-9t-9-23V64q0-13 9-22.5T32 32h448zM206 146l-89 107-53-54 17-18 36 36 71-89zm-89 234l71-88 18 17-89 107-53-53 17-19zm283-220q16 0 16 16 0 6-4.5 11t-11.5 5H272q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h128z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-contact.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-contact";
const d = "M64 384q0-54 24-75t72-21 72 21 24 75H64zm160-160q0 26-19 45t-45 19-45-19-19-45q0-27 19-45.5t45-18.5 45 18.5 19 45.5zm80-32q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h96q16 0 16 16 0 6-4.5 11t-11.5 5h-96zm112 192h96v32h-96v96h-32v-96h-96v-32h96v-96h32v96zm64-320q14 0 23 9t9 23v160h-32V96H32v320h224v32H32q-13 0-22.5-9.5T0 416V96q0-14 9.5-23T32 64h448zM304 256q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h96q16 0 16 16 0 6-4.5 11t-11.5 5h-96z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-coursebook.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-coursebook";
const d = "M128 384h96v32h-96v96H96v-96H0v-32h96v-96h32v96zM493 60q8 2 13.5 8.5T512 84v344q0 4-1 8l-2 6-4 5q-1 1-5 1-5 0-13-2-4-1-7-3V110q0-8-5-14.5T462 87L256 34q-1 0-2-.5t-3-.5q-3 0-9 2l-88 34 244 61q18 5 18 24v334q0 11-7 17.5t-17 6.5h-4l-132-38v-33l128 37V160L128 96v128H96V73q0-17 16-22L241 2q6-2 9-2t5 1z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-document.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-document";
const d = "M496 384v32h-96v96h-32v-96h-96v-32h96v-96h32v96h96zM48 480h192v32H49q-14 0-23.5-9.5T16 480V128L144 0h224q14 0 23 9t9 23v192h-32V32H176v96q0 13-9.5 22.5T144 160H48v320z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-employee.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-employee";
const d = "M192 320q26 0 49.5 10t41 27.5T310 398t10 50v64H0v-64q0-27 10-50t27.5-40.5 41-27.5 49.5-10h64zm96 128q0-40-28-68t-68-28h-64q-40 0-68 28t-28 68v32h256v-32zm-32-224q0 40-28 68t-68 28-68-28-28-68 28-68 68-28 68 28 28 68zm-96 64q26 0 45-19t19-45q0-27-19-45.5T160 160t-45 18.5T96 224q0 26 19 45t45 19zM512 96v32h-96v96h-32v-96h-96V96h96V0h32v96h96z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-equipment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-equipment";
const d = "M416 96h96v32h-96v96h-32v-96h-96V96h96V0h32v96zm23 285q9 10 9 22.5t-9 21.5l-46 46q-9 9-21 9-14 0-23-9L186 307q-23 10-52 10-47 0-83-26.5T0 224h118q14 0 27.5-9.5T159 191v-32q0-14-13.5-23t-27.5-9H0q15-42 51-68.5T134 32q30 0 55.5 11.5t45 31T265 120t11 55q0 20-6 39zm-23 23L248 236l-14-13 5-18q3-9 4-16t1-14q0-23-8.5-43T212 97t-35-24-43-9q-46 0-77 33h61q13 0 26 5t23.5 13 17 19.5T191 159v32q0 13-6.5 24.5t-17 20.5-23.5 14-26 5H57q15 14 35 22t42 8q17 0 41-8l19-8 15 15 163 164z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-favorite.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-favorite";
const d = "M512 384v32h-96v96h-32v-96h-96v-32h96v-96h32v96h96zm-171-83l-82 60-31-22q-3-3-8 0L67 447q-4 3-8 0t-2-8l63-170q2-5-3-8L3 173q-4-3-2.5-8t6.5-5h145q5 0 7-5L218 5q2-5 6.5-5t6.5 5l59 150q2 5 6 5h145q5 0 7 5t-2 8l-115 88q-4 4-2 8z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-filter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-filter";
const d = "M511.975 377.01v31.997h-95.99v95.99h-31.997v-95.99h-95.991V377.01h95.99v-95.99h31.997v95.99h95.991zM351.991 25.044q19.998 0 28.997 16.999t-2 32.997L265.999 205.027Q256 215.026 256 227.025v117.988l-99.99 90.991q-7 5-12 5-5.998 0-10.998-4.5t-5-11.499v-197.98q0-12.999-8.999-21.998-31.996-36.997-56.994-64.994L23.523 96.037 6.024 75.04q-10.999-15.999-2-32.997t27.998-16.999H351.99zM243 183.03l4.5-5 11.999-13.998 17.498-20.498 19.998-23.498q23.998-27.997 54.995-62.994H32.02h1l8 9.5 19.998 23.497 26.497 30.497 26.998 30.497 20.498 22.998 7.999 8.999q16.998 18.998 16.998 43.996v161.984l63.994-58.994v-102.99q0-24.998 18.998-43.996z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-folder.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-folder";
const d = "M416 384h96v32h-96v96h-32v-96h-96v-32h96v-96h32v96zm64-320q11 0 18 5t10 11q4 7 4 16v128h-32v-96q-1-9-5-16-3-6-9.5-11T448 96H224l-32-32H64q-12 0-18.5 5T36 80q-4 7-4 16v320q0 13 5 19t11 9q7 4 16 4h161v32H32q-9 0-16-4-6-3-11-9.5T0 448V64q0-9 4-16 3-6 9.5-11T32 32h186l30 32h232z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-photo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-photo";
const d = "M448 208q0 7-5 11.5t-11 4.5q-16 0-16-16t16-16q6 0 11 4.5t5 11.5zm-32 176h96v32h-96v96h-32v-96h-96v-32h96v-96h32v96zm64-256q9 0 16 4 6 3 11 8.5t5 16.5v99h-32v-96h-88l-7-22q-8-25-19.5-46T346 64H165q-7 7-19 28t-20 46l-7 22H32v288h224v32H32q-14 0-23-10t-9-22V157q0-12 9-20.5t23-8.5h64q4-14 11.5-31T124 66t18.5-24T160 32h192q8 0 17 9.5t18 24T403.5 97t12.5 31h64zm-224 64q-40 0-68 28t-28 68 28 68 68 28v32q-27 0-50-10t-40.5-27.5T138 338t-10-50 10-50 27.5-40.5T206 170t50-10q45 0 78.5 27t44.5 69h-33q-11-28-35-46t-55-18z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-process.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-process";
const d = "M512 384v32h-96v96h-32v-96h-96v-32h96v-96h32v96h96zM355 187q16 10 16 28t-16 27L49 426q-8 5-17 5-13 0-22.5-9T0 399V32Q0 18 9.5 9T32 0q9 0 17 4zm-79 28L64 88v254z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add-product.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add-product";
const d = "M73 310l109 53v47L73 356v-46zm179 184l-34 16L0 400V110l109-55 218 109v62q-8 2-14.5 5t-11.5 5q-6 4-11 6v-55L109 95l-73 37v246l182 91 4-2 4-2q3-1 6-1l8 14zM190 55l-40-20 68-35 218 110v119q-18-6-36-8v-89L218 41zm226 233h-32v96h-96v32h96v96h32v-96h96v-32h-96v-96z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/add.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://add";
const d = "M464 224q16 0 16 16v32q0 16-16 16H288v176q0 16-16 16h-32q-6 0-11-4.5t-5-11.5V288H48q-6 0-11-4.5T32 272v-32q0-7 5-11.5t11-4.5h176V48q0-7 5-11.5t11-4.5h32q16 0 16 16v176h176z";
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/icons/address-book.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/base/src/icons/addresses.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerIcon } from "../SVGIconRegistry";
import { registerIcon } from "../SVGIconRegistry.js";

const name = "sap-icon://addresses";
const d = "M32 256l96-96 96 96v192H32V256zm160 160V269l-64-64-64 64v147h32v-96h64v96h32zm96-160l96-96 96 96v192H288V256zm160 160V269l-64-64-64 64v147h32v-96h64v96h32zm32-261l32 30v55L384 121 256 240 128 121 0 240v-42L128 64l128 128L384 64l64 61V64h32v91z";
Expand Down
Loading

0 comments on commit 7548ed0

Please sign in to comment.