Skip to content

Commit

Permalink
Merge pull request #35 from boxuk/iconography/configurable-icon-sets
Browse files Browse the repository at this point in the history
  • Loading branch information
boxuk-wp-robot committed Jul 4, 2024
1 parent 495c093 commit e783838
Show file tree
Hide file tree
Showing 30 changed files with 201 additions and 232 deletions.
39 changes: 25 additions & 14 deletions .turbo/turbo-build.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,30 @@
> [email protected] build
> wp-scripts build

assets by path *.js 8.8 KiB
asset index.js 8.19 KiB [emitted] [minimized] (name: index)
asset 934.js 625 bytes [emitted] [minimized]
asset block/block.json 1.33 KiB [emitted] [from: src/block/block.json] [copied]
asset index.asset.php 208 bytes [emitted] (name: index)
Entrypoint index 8.4 KiB = index.js 8.19 KiB index.asset.php 208 bytes
orphan modules 8.47 KiB [orphan] 14 modules
runtime modules 7.18 KiB 12 modules
built modules 13.7 KiB [built]
modules by path ./src/ 13.7 KiB
./src/index.tsx + 14 modules 10.8 KiB [not cacheable] [built] [code generated]
./src/utils.ts 1.81 KiB [built] [code generated]
./src/IconPanel.tsx 1.08 KiB [built] [code generated]
assets by path block/ 9.32 KiB
assets by chunk 7.79 KiB (name: block/index)
asset block/index.js 7.59 KiB [emitted] [minimized] (name: block/index)
asset block/index.asset.php 209 bytes [emitted] (name: block/index)
asset block/block.json 1.48 KiB [emitted] [from: src/block/block.json] [copied]
asset block/style-index.css 40 bytes [emitted] (name: block/style-index) (id hint: style)
assets by chunk 4.65 KiB (name: index)
asset index.js 4.47 KiB [emitted] [minimized] (name: index)
asset index.asset.php 184 bytes [emitted] (name: index)
Entrypoint block/index 7.83 KiB = block/style-index.css 40 bytes block/index.js 7.59 KiB block/index.asset.php 209 bytes
Entrypoint index 4.65 KiB = index.js 4.47 KiB index.asset.php 184 bytes
orphan modules 207 KiB (javascript) 937 bytes (runtime) [orphan] 315 modules
runtime modules 4.24 KiB 10 modules
built modules 21.3 KiB (javascript) 39 bytes (css/mini-extract) [built]
modules by path ./src/ 20.1 KiB (javascript) 39 bytes (css/mini-extract)
cacheable modules 2.9 KiB (javascript) 39 bytes (css/mini-extract)
./src/utils.ts 1.81 KiB [built] [code generated]
./src/shared/IconPanel.tsx 1.08 KiB [built] [code generated]
css ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./src/block/style.scss 39 bytes [built] [code generated]
./src/block/index.ts + 16 modules 9.75 KiB [not cacheable] [built] [code generated]
./src/index.ts + 11 modules 7.49 KiB [not cacheable] [built] [code generated]
modules by path ../../node_modules/ 1.05 KiB
../../node_modules/react/jsx-runtime.js 214 bytes [built] [code generated]
../../node_modules/react/cjs/react-jsx-runtime.production.min.js 859 bytes [built] [code generated]
external "React" 42 bytes [built] [code generated]
external ["wp","components"] 42 bytes [built] [code generated]
webpack 5.91.0 compiled successfully in 1158 ms
webpack 5.91.0 compiled successfully in 2040 ms
1 change: 0 additions & 1 deletion build/934.js

This file was deleted.

43 changes: 24 additions & 19 deletions build/block/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,62 +12,67 @@
"symbol"
],
"textdomain": "boxuk",
"style": "file:./style-index.css",
"editorScript": "file:./index.js",
"supports": {
"align": [
"wide",
"full"
],
"alignWide": true,
"anchor": false,
"align": [],
"alignWide": false,
"ariaLabel": true,
"background": {
"backgroundImage": false,
"backgroundSize": false
},
"className": true,
"color": {
"background": true,
"text": true
},
"background": {
"backgroundImage": true,
"backgroundSize": true
},
"anchor": false,
"ariaLabel": true,
"className": true,
"customClassName": true,
"dimensions": {
"aspectRatio": false,
"minHeight": true
"minHeight": false
},
"filter": {
"duotone": false
},
"html": false,
"inserter": true,
"interactivity": false,
"layout": true,
"lock": true,
"multiple": true,
"position": {
"sticky": false
},
"renaming": true,
"reusable": true,
"shadow": false,
"shadow": true,
"spacing": {
"margin": true,
"padding": true
"padding": true,
"blockGrap": false
},
"typography": {
"fontSize": true,
"lineHeight": true,
"lineHeight": false,
"textAlign": true
}
},
"attributes": {
"className": {
"iconClass": {
"type": "string"
},
"tagName": {
"iconTag": {
"type": "string"
},
"iconContent": {
"type": "string"
},
"style": {
"type": "object",
"default": {
"textAlign": "center"
}
}
},
"example": {}
Expand Down
1 change: 1 addition & 0 deletions build/block/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => 'd477bda2be1cd546289f');
1 change: 1 addition & 0 deletions build/block/index.js

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

1 change: 1 addition & 0 deletions build/block/style-index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.wp-block-boxuk-icon{text-align:center}
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('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-rich-text'), 'version' => '2b50a1b034ba1bd23a01');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-rich-text'), 'version' => '6883a3301333b5c4fdbf');
Loading

0 comments on commit e783838

Please sign in to comment.