Skip to content

Commit d0ac643

Browse files
committed
progress on icon-upsells block, ref DEV-56
1 parent 4dce1aa commit d0ac643

35 files changed

+21565
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
4+
"name": "air-light/icon-upsells-item",
5+
"version": "0.1.0",
6+
"title": "Column",
7+
"category": "widgets",
8+
"parent": "air-light/icon-upsells",
9+
"icon": "smiley",
10+
"description": "Example block scaffolded with Create Block tool.",
11+
"example": {},
12+
"supports": {
13+
"html": false
14+
},
15+
"attributes": {
16+
"icon": {
17+
"type": "object"
18+
},
19+
"title": {
20+
"type": "string"
21+
}
22+
},
23+
"textdomain": "icon-upsells-item",
24+
"editorScript": "file:./index.js",
25+
"editorStyle": "file:./index.css",
26+
"style": "file:./style-index.css",
27+
"viewScript": "file:./view.js"
28+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.wp-block-air-light-icon-upsells{border:1px dotted red}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => 'd2fb16314c52587b82c6');
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.wp-block-air-light-icon-upsells{border:1px dotted red}

blocks/icon-upsells/build/icon-upsells-item/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.wp-block-air-light-icon-upsells{background-color:#21759b;color:#fff;padding:2px}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.wp-block-air-light-icon-upsells{background-color:#21759b;color:#fff;padding:2px}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array(), 'version' => '8080583be528b1dcc83f');
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("Hello World! (from air-light-icon-upsells block)");
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
4+
"name": "air-light/icon-upsells",
5+
"version": "0.1.0",
6+
"title": "Icon Upsells",
7+
"category": "widgets",
8+
"icon": "smiley",
9+
"description": "Example block scaffolded with Create Block tool.",
10+
"example": {},
11+
"supports": {
12+
"html": false
13+
},
14+
"attributes": {
15+
"title": {
16+
"type": "string"
17+
}
18+
},
19+
"textdomain": "icon-upsells",
20+
"editorScript": "file:./index.js",
21+
"editorStyle": "file:./index.css",
22+
"style": "file:./style-index.css",
23+
"viewScript": "file:./view.js"
24+
}

0 commit comments

Comments
 (0)