{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "combo-blocks/post-query-pagination",
  "title": "Post Query - Pagination",
  "textdomain": "combo-blocks",
  "category": "combo-blocks-tools",
  "parent": [
    "combo-blocks/post-grid",
    "combo-blocks/filterable-grid"
  ],
  "usesContext": [
    "combo-blocks/postGridId",
    "combo-blocks/pagination",
    "combo-blocks/paginationItem",
    "combo-blocks/paginationItemActive"
  ],
  "supports": {
    "align": [
      "left",
      "right",
      "center",
      "wide",
      "full"
    ],
    "html": false
  },
  "attributes": {
    "pagination": {
      "type": "object",
      "default": {
        "options": {
          "class": "pagination pg-post-query-pagination",
          "type": "normal",
          "maxPageNum": "5",
          "prevText": "Previous",
          "nextText": "Next",
          "loadMoreText": "Load More",
          "noMorePosts": "No More Posts",
          "loadingText": "Loading...",
          "loadingIcon": {
            "loadingPosition": "beforeText",
            "library": "fontAwesome",
            "srcType": "class",
            "iconSrc": "",
            "class": "load-more"
          },
          "loadMoreIcon": {
            "library": "fontAwesome",
            "srcType": "class",
            "iconSrc": "",
            "position": "beforeText",
            "class": "load-more"
          }
        },
        "styles": {
          "margin": {
            "Desktop": "20px 0px 20px 0px"
          },
          "display": {
            "Desktop": "flex"
          },
          "justifyContent": {
            "Desktop": "center"
          },
          "alignItems": {
            "Desktop": "center"
          },
          "gap": {
            "Desktop": "0px"
          },
          "backgroundColor": {
            "Desktop": "#ffffff"
          },
          "width": {
            "Desktop": "max-content",
            "Tablet": "auto"
          },
          "marginRight": {
            "Desktop": "auto"
          },
          "marginLeft": {
            "Desktop": "auto"
          },
          "borderRadius": {
            "Desktop": "5px 5px 5px 5px"
          },
          "flexWrap": {
            "Tablet": "wrap !important"
          }
        }
      }
    },
    "paginationItem": {
      "type": "object",
      "default": {
        "options": {
          "class": "page-numbers "
        },
        "styles": {
          "color": {
            "Desktop": "#7b7b7b"
          },
          "fontSize": {
            "Desktop": "16px"
          },
          "padding": {
            "Desktop": "5px 15px 5px 15px"
          },
          "border": {
            "Desktop": "1px solid #e3e3e3"
          },
          "fontWeight": {
            "Desktop": "700"
          }
        }
      }
    },
    "paginationItemActive": {
      "type": "object",
      "default": {
        "options": {
          "class": "page-numbers "
        },
        "styles": {
          "color": {
            "Desktop": "#e34f3f"
          }
        }
      }
    },
    "next": {
      "type": "object",
      "default": {
        "options": {
          "enable": true,
          "library": "fontAwesome",
          "srcType": "class",
          "iconSrc": "",
          "position": "beforeText",
          "class": "next"
        },
        "styles": {}
      }
    },
    "previous": {
      "type": "object",
      "default": {
        "options": {
          "enable": true,
          "library": "fontAwesome",
          "srcType": "class",
          "iconSrc": "",
          "position": "beforeText",
          "class": "previous"
        },
        "styles": {}
      }
    },
    "start": {
      "type": "object",
      "default": {
        "options": {
          "enable": true,
          "library": "fontAwesome",
          "srcType": "class",
          "iconSrc": "",
          "position": "beforeText",
          "class": "start"
        },
        "styles": {}
      }
    },
    "end": {
      "type": "object",
      "default": {
        "options": {
          "enable": true,
          "library": "fontAwesome",
          "srcType": "class",
          "iconSrc": "",
          "position": "beforeText",
          "class": "end"
        },
        "styles": {}
      }
    },
    "blockId": {
      "type": "string",
      "default": ""
    },
    "blockCssY": {
      "type": "object",
      "default": {
        "items": {}
      }
    }
  },
  "style": "front_style",
  "script": "combo_blocks_scripts",
  "keywords": [
    "post grid",
    "content grid",
    "grid archive",
    "post query",
    "grid layout",
    "advanced post grid",
    "custom post grid",
    "custom post type grid",
    "post grid",
    "post grid",
    "post grid block",
    "post grid for wordpress",
    "post grid block for wordpress"
  ],
  "description": "The post grid block arranges blog posts in a grid format, making it easy for users to browse and access content efficiently."
}