Skip to content

Commit

Permalink
Update build using latest wp-scripts v22.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Feb 27, 2022
1 parent abf1ef4 commit 1f40c4f
Show file tree
Hide file tree
Showing 12 changed files with 15,286 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.phpunit.result.cache
node_modules
package-lock.json
node_modules
62 changes: 62 additions & 0 deletions build/github/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"apiVersion": 2,
"name": "oik-bbw/github",
"title": "GitHub issue",
"category": "common",
"icon": "wordpress-alt",
"description": "'Display a link to a GitHub issue'",
"attributes": {
"shortcode": {
"type": "string",
"default": "github"
},
"owner": {
"type": "string",
"default": "wordpress"
},
"repo": {
"type": "string",
"default": "gutenberg"
},
"issue": {
"type": "string"
},
"textAlign": {
"type": "string"
},
"className": {
"type": "string"
},
"textColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"style": {
"type": "object"
},
"fontSize": {
"type": "string"
},
"gradient": {
"type": "string"
}
},
"supports": {
"html": false,
"customClassName": true,
"className": true,
"color": {
"gradients": true,
"text": true,
"background": true,
"link": true
},
"typography": {
"fontSize": true,
"lineHeight": true
}
},
"keywords": [ "GitHub", "issue", "link", "oik" ]
}
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '4f47fddc599c0e0c8271e2f9cacec869');
<?php return array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'e8596440c9f8fffda6d2fb087c477ce2');
6 changes: 3 additions & 3 deletions build/index.css

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

2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

65 changes: 65 additions & 0 deletions build/oik-csv/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"apiVersion": 2,
"name": "oik-bbw/csv",
"title": "CSV",
"category": "layout",
"icon": "media-spreadsheet",
"description": "Displays CSV content",
"attributes": {
"content": {
"type": "string"
},
"uo": {
"type": "string",
"default": ""
},
"th": {
"type": "boolean",
"default": "true"
},
"src": {
"type": "string",
"default": ""
},
"textAlign": {
"type": "string"
},
"className": {
"type": "string"
},
"textColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"style": {
"type": "object"
},
"fontSize": {
"type": "string"
},
"gradient": {
"type": "string"
}
},
"supports": {
"html": false,
"customClassName": true,
"className": true,
"color": {
"gradients": true,
"text": true,
"background": true,
"link": true
},
"typography": {
"fontSize": true,
"lineHeight": true
}
},
"keywords": [ "CSV", "list", "oik" ],
"editorScript": "file:../../build/index.js",
"editorStyle": "file:../../build/index.css",
"style": "file:../../build/style-index.css"
}
51 changes: 51 additions & 0 deletions build/oik-dashicon/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"apiVersion": 2,
"name": "oik-bbw/dashicon",
"title": "Dashicon",
"category": "widgets",
"icon": "heart",
"description": "Displays icons",
"attributes": {
"dashicon": {
"type": "string",
"default": "heart"
},
"textAlign": {
"type": "string"
},
"className": {
"type": "string"
},
"textColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"style": {
"type": "object"
},
"fontSize": {
"type": "string"
},
"gradient": {
"type": "string"
}
},
"supports": {
"html": false,
"customClassName": true,
"className": true,
"color": {
"gradients": false,
"text": true,
"background": false,
"link": false
},
"typography": {
"fontSize": true,
"lineHeight": false
}
},
"keywords": [ "icon", "dash", "oik" ]
}
47 changes: 47 additions & 0 deletions build/oik-search/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"apiVersion": 2,
"name": "oik-bbw/search",
"title": "Search",
"category": "widgets",
"icon": "search",
"description": "Displays a Search form",
"attributes": {
"textAlign": {
"type": "string"
},
"className": {
"type": "string"
},
"textColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"style": {
"type": "object"
},
"fontSize": {
"type": "string"
},
"gradient": {
"type": "string"
}
},
"supports": {
"html": false,
"customClassName": false,
"className": false,
"color": {
"gradients": false,
"text": false,
"background": false,
"link": false
},
"typography": {
"fontSize": false,
"lineHeight": false
}
},
"keywords": [ "Search", "find", "oik" ]
}
64 changes: 64 additions & 0 deletions build/oik-wp/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json",

"name": "oik-bbw/wp",
"title": "WordPress info",
"category": "widgets",
"icon": "wordpress",
"description": "Displays information about WordPress, Gutenberg, PHP version and Memory limit",
"keywords": [ "WordPress", "version", "PHP", "Gutenberg", "memory" ],
"attributes": {
"v": {
"type": "boolean"
},
"p": {
"type": "boolean"
},
"m": {
"type": "boolean"
},
"g": {
"type": "boolean"
},
"align": {
"type": "string"
},
"textAlign": {
"type": "string"
},
"className": {
"type": "string"
},
"textColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"style": {
"type": "object"
},
"fontSize": {
"type": "string"
},
"gradient": {
"type": "string"
}
},
"supports": {
"html": false,
"align": ["left","center","right"],
"alignWide": false,
"color": {
"gradients": true,
"text": true,
"background": true,
"link": false
},
"typography": {
"fontSize": true,
"lineHeight": true
}
}
}
4 changes: 2 additions & 2 deletions build/style-index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.wp-block-oik-bbw-github h3{color:inherit}.wp-block-oik-bbw-github a{color:inherit}.wp-block-oik-bbw-github a span.bw_follow_me{color:inherit;font-size:inherit}
.wp-block-oik-bbw-github a,.wp-block-oik-bbw-github h3{color:inherit}.wp-block-oik-bbw-github a span.bw_follow_me{color:inherit;font-size:inherit}
div.bw_csv{width:100%}.wp-block-oik-bbw-csv table{font-size:inherit}
.wp-block-oik-bbw-wp span.label{padding-right:.5em}
.wp-block-oik-bbw-dashicon .dashicon{font-size:inherit;width:auto;height:auto}
.wp-block-oik-bbw-dashicon .dashicon{font-size:inherit;height:auto;width:auto}
Loading

0 comments on commit 1f40c4f

Please sign in to comment.