Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
RatulHasan committed Oct 31, 2024
2 parents bdf8fa2 + 32a3d33 commit 9ff6848
Show file tree
Hide file tree
Showing 24 changed files with 7,583 additions and 3,442 deletions.
2 changes: 1 addition & 1 deletion assets/build/block.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-element', 'wp-i18n', 'wp-primitives'), 'version' => 'a9f22e2f040c1e4bfcd8');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '5c13835270f8b2070a23');
2 changes: 1 addition & 1 deletion assets/build/block.js

Large diffs are not rendered by default.

163 changes: 163 additions & 0 deletions assets/build/blocks/DocsGrid/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "wedocs/wedocs-docs-grid",
"version": "1.0.0",
"title": "weDocs - Docs Grid",
"icon": "grid-view",
"category": "widgets",
"description": "Display all the docs in a grid view",
"supports": {
"html": false
},
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"render": "file:./render.php",
"attributes": {
"docStyle": {
"type": "string",
"default": "1x1"
},
"docsPerPage": {
"type": "string",
"default": "all"
},
"excludeDocs": {
"type": "array",
"default": []
},
"order": {
"type": "string",
"default": "asc"
},
"orderBy": {
"type": "string",
"default": "menu_order"
},
"sectionsPerDoc": {
"type": "string",
"default": "all"
},
"articlesPerSection": {
"type": "string",
"default": "all"
},
"showDocArticle": {
"type": "boolean",
"default": true
},
"keepArticlesCollapsed": {
"type": "boolean",
"default": false
},
"showViewDetails": {
"type": "boolean",
"default": true
},
"gridPadding": {
"type": "object",
"default": {
"top": "20px",
"right": "20px",
"bottom": "20px",
"left": "20px"
}
},
"gridMargin": {
"type": "object",
"default": {
"top": "0px",
"right": "0px",
"bottom": "0px",
"left": "0px"
}
},
"docTitleColor": {
"type": "string",
"default": "#333333"
},
"docChildrenActiveColor": {
"type": "string",
"default": "#0073aa"
},
"borderWidth": {
"type": "string",
"default": "1px"
},
"borderColor": {
"type": "string",
"default": "rgba(0, 0, 0, 0.1)"
},
"borderType": {
"type": "string",
"default": "solid"
},
"borderRadius": {
"type": "string",
"default": "4px"
},
"buttonBorderRadius": {
"type": "string",
"default": "4px"
},
"buttonPadding": {
"type": "object",
"default": {
"top": "10px",
"right": "20px",
"bottom": "10px",
"left": "20px"
}
},
"buttonMargin": {
"type": "object",
"default": {
"top": "10px",
"right": "0px",
"bottom": "0px",
"left": "0px"
}
},
"buttonColor": {
"type": "string",
"default": "#0073aa"
},
"buttonHoverColor": {
"type": "string",
"default": "#005177"
},
"buttonText": {
"type": "string",
"default": "View Details"
},
"buttonTextColor": {
"type": "string",
"default": "#ffffff"
},
"buttonHoverTextColor": {
"type": "string",
"default": "#ffffff"
},
"paginationTextColor": {
"type": "string",
"default": "#333333"
},
"paginationTextHoverColor": {
"type": "string",
"default": "#0073aa"
},
"paginationBackgroundColor": {
"type": "string",
"default": "#ffffff"
},
"paginationHoverColor": {
"type": "string",
"default": "#f5f5f5"
},
"paginationBorderColor": {
"type": "string",
"default": "#dddddd"
}
}
}
Loading

0 comments on commit 9ff6848

Please sign in to comment.