PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.7
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / blocks / includes / search-filter / attributes.php

attributes.php in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.7, at blocks/includes/search-filter/attributes.php

88 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Search Filter attributes file.
4 *
5 * @package Smart_Post_Show
6 * @subpackage Smart_Post_Show/blocks/includes
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12
13 return array(
14 'blockName' => array(
15 'type' => 'string',
16 ),
17 'uniqueId' => array(
18 'type' => 'string',
19 ),
20 'dynamicCss' => array( 'type' => 'string' ),
21
22 'showSearchLabel' => array(
23 'type' => 'boolean',
24 'default' => true,
25 ),
26 'searchLabel' => array(
27 'type' => 'string',
28 'default' => 'Search',
29 ),
30 'placeholderText' => array(
31 'type' => 'string',
32 'default' => 'Search posts',
33 ),
34
35 // style.
36 'fieldLabelColor' => array(
37 'type' => 'string',
38 'default' => '',
39 ),
40 'fieldBg' => array(
41 'type' => 'object',
42 'default' => array(
43 'color' => '',
44 'hoverColor' => '',
45 ),
46 ),
47 'fieldBorder' => array(
48 'type' => 'object',
49 'default' => array(
50 'color' => '',
51 'style' => '',
52 ),
53 ),
54 'fieldBorderHover' => array(
55 'type' => 'object',
56 'default' => array(
57 'color' => '',
58 'style' => '',
59 ),
60 ),
61 'fieldBorderWidth' => $this->spacing_attribute( '', '', '', '', 'px', true ),
62 'fieldBorderRadius' => $this->spacing_attribute( '', '', '', '', 'px', true ),
63 'fieldBorderWidthHover' => $this->spacing_attribute( '1', '1', '1', '1', 'px', true ),
64 'fieldBorderRadiusHover' => $this->spacing_attribute( 2, 2, 2, 2, 'px', true ),
65 'fieldPadding' => $this->spacing_attribute( '', '', '', '', 'px', true ),
66 'additionalCssClass' => array(
67 'type' => 'string',
68 'default' => '',
69 ),
70 'customCss' => array(
71 'type' => 'string',
72 'default' => '',
73 ),
74 'titleGlobalTypography' => array(
75 'type' => 'object',
76 'default' => array(),
77 ),
78 'globalBreakPointData' => array(
79 'type' => 'object',
80 'default' => array(),
81 ),
82 'filterWidth' => $this->ranger_attribute( '', '', '', 'px' ),
83 'enableSearchIcon' => array(
84 'type' => 'boolean',
85 'default' => true,
86 ),
87 );
88