[ 'type' => 'string', 'default' => '', ], 'selectedPostType' => [ 'type' => 'string', 'default' => 'post', ], 'selectedTerms' => [ 'type' => 'object', 'default' => [], ], 'activeTaxonomy' => [ 'type' => 'array', 'default' => [], ], 'selectedTaxonomies' => [ 'type' => 'array', 'default' => [], ], 'numberOfPosts' => [ 'type' => 'number', 'default' => 6, ], 'postOrder' => [ 'type' => 'string', 'default' => 'desc', ], 'postOrderBy' => [ 'type' => 'string', 'default' => 'date', ], 'taxonomyLayout' => [ 'type' => 'string', 'default' => 'flex', 'copyStyle' => true, ], 'pageLinks' => [ 'type' => 'string', 'default' => 'singlePagelink', 'copyStyle' => true, ], 'itemsPerRow' => [ 'type' => 'number', 'default' => 3, 'copyStyle' => true, ], 'showTermCount' => [ 'type' => 'boolean', 'default' => true, ], 'enableReloadButton' => [ 'type' => 'boolean', 'default' => false, ], 'allowIcon' => [ 'type' => 'boolean', 'default' => false, ], 'textPostColor' => [ 'type' => 'string', 'default' => false, ], 'postCountBorder' => [ 'type' => 'object', 'default' => '', ], 'postCountBgColor' => [ 'type' => 'string', 'default' => '', ], 'postCountColor' => [ 'type' => 'string', 'default' => '', ], 'postCountActiveBgColor' => [ 'type' => 'string', 'default' => '', ], 'postCountActiveBorderColor' => [ 'type' => 'string', 'default' => '', ], 'collapSible' => [ 'type' => 'boolean', 'default' => false, ], 'collapseIconColor' => [ 'type' => 'string', 'default' => '', ], 'collapseIconSize' => [ 'type' => 'number', 'default' => 16, ], 'taxonomyTitlePadding' => [ 'type' => 'object', 'default' => '', ], 'taxonomyTitletBgColor' => [ 'type' => 'string', 'default' => '', ], 'taxonomyTitlecolor' => [ 'type' => 'string', 'default' => '', ], 'taxonomyTitleDirection' => [ 'type' => 'object', 'default' => '', ], 'taxonomyTitlePosition' => [ 'type' => 'object', 'default' => 'space-between', ], 'taxonomyTitleBorder' => [ 'type' => 'object', 'default' => '2', ], 'postTitleColor' => [ 'type' => 'string', 'default' => '', ], 'postTitleHoverColor' => [ 'type' => 'string', 'default' => '', ], 'postTitleTypography' => [ 'type' => 'object', 'default' => '', ], 'buttonPadding' => [ 'type' => 'object', 'default' => '', ], 'buttonBorder' => [ 'type' => 'object', 'default' => '', ], 'butttonColor' => [ 'type' => 'string', 'default' => '', ], 'buttonBgColor' => [ 'type' => 'string', 'default' => '', ], 'buttonHoverBgColor' => [ 'type' => 'string', 'default' => '', ], 'buttonColor' => [ 'type' => 'string', 'default' => '', ], 'buttonHoverColor' => [ 'type' => 'string', 'default' => '', ], 'buttonTypography' => [ 'type' => 'object', 'default' => '', ], 'buttonPosition' => [ 'type' => 'object', 'default' => 'block', ], 'cardBgColor' => [ 'type' => 'string', 'default' => 'block', ], 'cardPadding' => [ 'type' => 'object', 'default' => 'block', ], 'cardBorder' => [ 'type' => 'object', 'default' => 'block', ], 'icon' => [ 'type' => 'object', 'default' => 'block', ], 'buttonText' => [ 'type' => 'string', 'default' => 'View More', ], 'showTab' => [ 'type' => 'boolean', 'default' => false ], 'showTabScrolling' => [ 'type' => 'boolean', 'default' => false ], 'hoverPostBackgroundColor' => [ 'type' => 'string', 'default' => '', ], 'activePostBackgroundColor' => [ 'type' => 'string', 'default' => '', ], 'postTitleActiveColor' => [ 'type' => 'string', 'default' => '', ], 'activePostBorder' => [ 'type' => 'object', 'default' => '', ], 'postBorder' => [ 'type' => 'object', 'default' => '', ], 'postBackgroundColor' => [ 'type' => 'string', 'default' => '', ], 'showPost' => [ 'type' => 'boolean', 'default' => true, ], 'cardBgHoverColor' => [ 'type' => 'string', 'default' => '', ], 'showPostLink' => [ 'type' => 'boolean', 'default' => false, ], 'showInherit' => [ 'type' => 'boolean', 'default' => false, ], 'showTermCountPrefix' => [ 'type' => 'boolean', 'default' => false, ], 'countPrefixText' => [ 'type' => 'string', 'default' => '', ], 'iconColor' => [ 'type' => 'string', 'default' => '', ], 'showIconDffent' => [ 'type' => 'boolean', 'default' => false, ], 'iconBgColor' => [ 'type' => 'string', 'default' => '', ], 'iconPadding' => [ 'type' => 'object', 'default' => '', ], 'postPadding' => [ 'type' => 'object', 'default' => '', ], 'iconBorderRadius' => [ 'type' => 'object', 'default' => '', ], 'postCountWidth' => [ 'type' => 'number', 'default' => '', ], ]; $attributes = array_merge( $attributes, Icon::get_attribute(), Icon::get_attribute( 'openIcon', [ 'path' => 'M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z', 'viewBox' => '0 0 448 512', 'className' => 'fas fa-chevron-down', 'hasNoSelectorOrSource' => true, ] ), Icon::get_attribute( 'closeIcon', [ 'path' => 'M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z', 'viewBox' => '0 0 448 512', 'className' => 'fas fa-chevron-up', 'hasNoSelectorOrSource' => true, ] ), Alignment::get_attribute( 'alignment', true, [ 'value' => 'left' ] ), Typography::get_attribute( 'taxonomyTitleTypography', true ), Typography::get_attribute( 'postTitleTypography', true ), Typography::get_attribute( 'postCountTypography', true ), BoxShadow::get_attribute( 'cardBoxShadow', true ), ); return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );