Skip to content

Commit 47e0771

Browse files
committed
Updating block icons
1 parent 3cf3af0 commit 47e0771

18 files changed

Lines changed: 53 additions & 18 deletions

File tree

build/blocks/climate/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/blocks/dress/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/blocks/accommodation-related-accommodation/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation( 'core/group', {
44
name: 'lsx-tour-operator/accommodation-related-accommodation',
55
title: 'Related Accommodation - Accommodation',
6-
icon: 'admin-home',
6+
icon: 'admin-multisite',
77
description: 'Displays other accommodation in the area.',
88
category: 'lsx-tour-operator',
99
attributes: {

src/blocks/climate/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation('core/group', {
44
name: 'lsx-tour-operator/climate',
55
title: 'Climate',
6-
icon: "cloud",
6+
icon: wp.element.createElement(
7+
"svg",
8+
{ xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none" },
9+
wp.element.createElement("path", {
10+
d: "M15.175 1.5371C15.3281 1.5996 15.4406 1.7371 15.4719 1.8996L16 4.4996L18.6 5.0246C18.7625 5.05897 18.8969 5.16835 18.9625 5.32147C19.0281 5.4746 19.0094 5.6496 18.9188 5.7871L17.4531 7.99647L18.9188 10.2058C19.0094 10.3433 19.0281 10.5183 18.9625 10.6715C18.8969 10.8246 18.7625 10.9371 18.6 10.9683L16.6562 11.3652C16.2844 11.0933 15.8719 10.8777 15.425 10.7277C15.3469 10.3308 15.2125 9.95585 15.0281 9.6121C15.325 9.14647 15.5 8.59335 15.5 7.99647C15.5 6.34022 14.1562 4.99647 12.5 4.99647C11.0031 4.99647 9.7625 6.09335 9.5375 7.5246C8.70938 6.89022 7.67813 6.50897 6.55625 6.49647L6.08437 5.7871C5.99375 5.6496 5.975 5.4746 6.04063 5.32147C6.10625 5.16835 6.24062 5.05585 6.40312 5.0246L9 4.4996L9.525 1.8996C9.55937 1.7371 9.66875 1.60272 9.82187 1.5371C9.975 1.47147 10.15 1.49022 10.2875 1.58085L12.5 3.0496L14.7094 1.58397C14.8469 1.49335 15.0219 1.4746 15.175 1.54022V1.5371ZM14 7.9996C14 8.11835 13.9875 8.23397 13.9594 8.34647C13.2812 7.81522 12.4281 7.4996 11.5 7.4996C11.3562 7.4996 11.2156 7.50585 11.0781 7.52147C11.2781 6.92772 11.8406 6.4996 12.5 6.4996C13.3281 6.4996 14 7.17147 14 7.9996ZM4 17.9996C2.34375 17.9996 1 16.6558 1 14.9996C1 13.6715 1.8625 12.5433 3.05938 12.1496C3.01875 11.9402 3 11.7215 3 11.4996C3 9.56522 4.56562 7.9996 6.5 7.9996C7.84688 7.9996 9.01562 8.75897 9.6 9.8746C10.0594 9.34022 10.7406 8.9996 11.5 8.9996C12.8813 8.9996 14 10.1183 14 11.4996C14 11.6715 13.9812 11.8371 13.95 11.9996C13.9656 11.9996 13.9844 11.9996 14 11.9996C15.6562 11.9996 17 13.3433 17 14.9996C17 16.6558 15.6562 17.9996 14 17.9996H4Z",
11+
fill: "#currentColor"
12+
})
13+
),
714
category: 'lsx-tour-operator',
815
attributes: {
916
metadata: {

src/blocks/departs-from/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation('core/group', {
44
name: 'lsx-tour-operator/departs-from',
55
title: 'Departs From',
6-
icon: 'airplane',
6+
icon: wp.element.createElement(
7+
"svg",
8+
{ xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none" },
9+
wp.element.createElement("path", {
10+
d: "M12.6241 6.49648L6.39595 3.25585C6.14595 3.12773 5.85533 3.10585 5.59283 3.20273L4.30845 3.67148C3.98658 3.7871 3.8772 4.18398 4.08658 4.45273L7.25845 8.4496L4.1272 9.5871L2.24908 8.44335C2.05533 8.3246 1.81783 8.30273 1.6022 8.37773L1.09283 8.56523C0.799077 8.67148 0.674077 9.01835 0.833452 9.2871L2.50845 12.1559C2.99595 12.9902 4.01158 13.3559 4.91783 13.0246L5.32095 12.8777L17.771 8.34648C18.6803 8.01523 19.146 7.0121 18.8178 6.10273C18.4897 5.19335 17.4835 4.72773 16.5741 5.05585L12.6241 6.49648ZM2.00533 15.9996C1.4522 15.9996 1.00533 16.4465 1.00533 16.9996C1.00533 17.5527 1.4522 17.9996 2.00533 17.9996H18.0053C18.5585 17.9996 19.0053 17.5527 19.0053 16.9996C19.0053 16.4465 18.5585 15.9996 18.0053 15.9996H2.00533Z",
11+
fill: "#currentColor"
12+
})
13+
),
714
category: 'lsx-tour-operator',
815
attributes: {
916
metadata: {

src/blocks/destination-to-accommodation/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation('core/group', {
44
name: 'lsx-tour-operator/destination-to-accommodation',
55
title: 'Destination to Accommodation',
6-
icon: "admin-site-alt3",
6+
icon: "admin-site",
77
category: 'lsx-tour-operator',
88
attributes: {
99
metadata: {

src/blocks/dress/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation('core/group', {
44
name: 'lsx-tour-operator/dress',
55
title: 'Dress',
6-
icon: "admin-users",
6+
icon: wp.element.createElement(
7+
"svg",
8+
{ xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none" },
9+
wp.element.createElement("path", {
10+
d: "M9.99853 4.66667C11.2955 4.66667 12.3459 3.47333 12.3459 2H13.9157C14.4145 2 14.8928 2.22333 15.2449 2.62333L18.7249 6.58C19.0917 6.99667 19.0917 7.67333 18.7249 8.09L17.2373 9.78C16.8705 10.1967 16.2748 10.1967 15.9081 9.78L14.6933 8.4V15.8667C14.6933 17.0433 13.8512 18 12.8154 18H7.18168C6.1459 18 5.30377 17.0433 5.30377 15.8667V8.4L4.08901 9.78C3.72223 10.1967 3.12658 10.1967 2.7598 9.78L1.27508 8.08667C0.908305 7.67 0.908305 6.99333 1.27508 6.57667L4.75507 2.62333C5.10718 2.22333 5.58546 2 6.08428 2H7.65409C7.65409 3.47333 8.70454 4.66667 10.0015 4.66667H9.99853Z",
11+
fill: "#currentColor"
12+
})
13+
),
714
category: 'lsx-tour-operator',
815
attributes: {
916
metadata: {

src/blocks/ends-in/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation('core/group', {
44
name: 'lsx-tour-operator/ends-in',
55
title: 'Ends In',
6-
icon: 'airplane',
6+
icon: wp.element.createElement(
7+
"svg",
8+
{ xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none" },
9+
wp.element.createElement("path", {
10+
d: "M13.0813 8.03477L9.30937 2.11602C9.15938 1.87852 8.91563 1.71602 8.64062 1.66915L7.29375 1.43165C6.95625 1.37227 6.6625 1.65977 6.7125 1.99727L7.4625 7.04727L4.18125 6.46915L3.125 4.5379C3.01562 4.33477 2.81875 4.19415 2.59687 4.15665L2.0625 4.0629C1.75625 4.00977 1.475 4.24727 1.475 4.55665L1.49375 7.87852C1.5 8.84415 2.19375 9.66915 3.14687 9.8379L3.56875 9.9129L16.6187 12.2129C17.5719 12.3816 18.4781 11.7441 18.6469 10.7941C18.8156 9.84415 18.1781 8.93477 17.2281 8.76602L13.0813 8.03477ZM8 14.0004C8.55312 14.0004 9 13.5535 9 13.0004C9 12.4473 8.55312 12.0004 8 12.0004C7.44688 12.0004 7 12.4473 7 13.0004C7 13.5535 7.44688 14.0004 8 14.0004ZM12.1 13.5223C12.1 12.9691 11.6531 12.5223 11.1 12.5223C10.5469 12.5223 10.1 12.9691 10.1 13.5223C10.1 14.0754 10.5469 14.5223 11.1 14.5223C11.6531 14.5223 12.1 14.0754 12.1 13.5223ZM2 16.0004C1.44687 16.0004 1 16.4473 1 17.0004C1 17.5535 1.44687 18.0004 2 18.0004H18C18.5531 18.0004 19 17.5535 19 17.0004C19 16.4473 18.5531 16.0004 18 16.0004H2Z",
11+
fill: "#currentColor"
12+
})
13+
),
714
category: 'lsx-tour-operator',
815
attributes: {
916
metadata: {

src/blocks/facilities/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation('core/group', {
44
name: 'lsx-tour-operator/facilities',
55
title: 'Facilities',
6-
icon: "food",
6+
icon: wp.element.createElement(
7+
"svg",
8+
{ xmlns: "http://www.w3.org/2000/svg", width: 20, height: 20, viewBox: "0 0 20 20", fill: "none" },
9+
wp.element.createElement("path", {
10+
d: "M3.25 5.56786C3.25 4.86071 3.81602 4.28571 4.51211 4.28571C4.84609 4.28571 5.16602 4.42143 5.40508 4.66071L5.97461 5.23929C5.23633 6.62857 5.36289 8.36429 6.35781 9.63214L6.30859 9.67857C5.97813 10.0143 5.97813 10.5571 6.30859 10.8893C6.63906 11.2214 7.17344 11.225 7.50039 10.8893L13.1289 5.17857C13.4594 4.84286 13.4594 4.3 13.1289 3.96786C12.7984 3.63571 12.2641 3.63214 11.9371 3.96786L11.8914 4.01429C10.6434 3.00357 8.93477 2.875 7.56719 3.625L6.99414 3.04643C6.33672 2.375 5.44375 2 4.51211 2C2.57148 2 1 3.59643 1 5.56786V16.8571C1 17.4893 1.50273 18 2.125 18C2.74727 18 3.25 17.4893 3.25 16.8571V5.56786ZM10 13.4286C10.6223 13.4286 11.125 12.9179 11.125 12.2857C11.125 11.6536 10.6223 11.1429 10 11.1429C9.37773 11.1429 8.875 11.6536 8.875 12.2857C8.875 12.9179 9.37773 13.4286 10 13.4286ZM12.25 15.7143C12.25 15.0821 11.7473 14.5714 11.125 14.5714C10.5027 14.5714 10 15.0821 10 15.7143C10 16.3464 10.5027 16.8571 11.125 16.8571C11.7473 16.8571 12.25 16.3464 12.25 15.7143ZM12.25 11.1429C12.8723 11.1429 13.375 10.6321 13.375 10C13.375 9.36786 12.8723 8.85714 12.25 8.85714C11.6277 8.85714 11.125 9.36786 11.125 10C11.125 10.6321 11.6277 11.1429 12.25 11.1429ZM14.5 13.4286C14.5 12.7964 13.9973 12.2857 13.375 12.2857C12.7527 12.2857 12.25 12.7964 12.25 13.4286C12.25 14.0607 12.7527 14.5714 13.375 14.5714C13.9973 14.5714 14.5 14.0607 14.5 13.4286ZM14.5 8.85714C15.1223 8.85714 15.625 8.34643 15.625 7.71429C15.625 7.08214 15.1223 6.57143 14.5 6.57143C13.8777 6.57143 13.375 7.08214 13.375 7.71429C13.375 8.34643 13.8777 8.85714 14.5 8.85714ZM16.75 11.1429C16.75 10.5107 16.2473 10 15.625 10C15.0027 10 14.5 10.5107 14.5 11.1429C14.5 11.775 15.0027 12.2857 15.625 12.2857C16.2473 12.2857 16.75 11.775 16.75 11.1429ZM17.875 10C18.4973 10 19 9.48929 19 8.85714C19 8.225 18.4973 7.71429 17.875 7.71429C17.2527 7.71429 16.75 8.225 16.75 8.85714C16.75 9.48929 17.2527 10 17.875 10Z",
11+
fill: "#currentColor"
12+
})
13+
),
714
category: 'lsx-tour-operator',
815
attributes: {
916
metadata: {

src/blocks/facts-country-wrapper/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ wp.domReady(() => {
33
wp.blocks.registerBlockVariation('core/group', {
44
name: 'lsx-tour-operator/facts-country-wrapper',
55
title: 'Country',
6-
icon: "admin-site-alt",
6+
icon: "admin-site",
77
category: 'lsx-tour-operator',
88
attributes: {
99
metadata: {

0 commit comments

Comments
 (0)