diff --git a/blocks/bar-graph/build/block.json b/blocks/bar-graph/build/block.json index 4b49117..6809fe5 100644 --- a/blocks/bar-graph/build/block.json +++ b/blocks/bar-graph/build/block.json @@ -39,6 +39,84 @@ "type": "number", "default": 1 }, + "datasets": { + "type": "array", + "default": [ + { + "name": "Data", + "data": [ + { + "Department": "Sheriffs Office", + "Budget": "150", + "MeetAt": "12/12/2025", + "PreferredColor": "#e0e0e0", + "PostContent": "
First item
", + "Parent": "" + }, + { + "ID": "lcpDatapoint-2", + "Label": "Sample 2", + "Value": 50, + "Color": "#ff0000", + "Content": "Second item
", + "Parent": "lcpDatapoint-1" + } + ] + } + ] + }, "chartData": { "type": "array", "default": [ diff --git a/blocks/bar-graph/build/index.asset.php b/blocks/bar-graph/build/index.asset.php index 5048cd4..96f8fb5 100644 --- a/blocks/bar-graph/build/index.asset.php +++ b/blocks/bar-graph/build/index.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'b5bae9f327b824fdd55c'); + array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'a6d1538e10aef4aeb8ff'); diff --git a/blocks/bar-graph/build/index.js b/blocks/bar-graph/build/index.js index 0aa12fd..91e1a13 100644 --- a/blocks/bar-graph/build/index.js +++ b/blocks/bar-graph/build/index.js @@ -1 +1 @@ -(()=>{var e,t={88:(e,t,i)=>{"use strict";const s=window.wp.blocks;var o=i(609);const n=window.wp.i18n,r=window.wp.blockEditor,a=window.wp.components,l=window.wp.element;function u(e,t){let i;if(void 0===t)for(const t of e)null!=t&&(i