| 1 |
<?php |
| 2 |
/** |
| 3 |
* Smart info box block attributes file for Smart Post Show Blocks. |
| 4 |
* |
| 5 |
* @package Smart_Post_Show_Pro |
| 6 |
* @subpackage Smart_Post_Show_Pro/blocks/includes |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
die; |
| 11 |
} |
| 12 |
|
| 13 |
return array( |
| 14 |
|
| 15 |
'uniqueId' => array( |
| 16 |
'type' => 'string', |
| 17 |
), |
| 18 |
'blockName' => array( |
| 19 |
'type' => 'string', |
| 20 |
), |
| 21 |
'infoBoxLayout' => array( |
| 22 |
'type' => 'string', |
| 23 |
'default' => 'smart-info-box-layout-one', |
| 24 |
), |
| 25 |
'fontLists' => array( |
| 26 |
'type' => 'string', |
| 27 |
'default' => '', |
| 28 |
), |
| 29 |
'additionalCssClass' => array( |
| 30 |
'type' => 'string', |
| 31 |
'default' => '', |
| 32 |
), |
| 33 |
'isPreview' => array( |
| 34 |
'type' => 'boolean', |
| 35 |
'default' => false, |
| 36 |
), |
| 37 |
'contentAlignment' => array( |
| 38 |
'type' => 'string', |
| 39 |
'default' => 'center', |
| 40 |
), |
| 41 |
'customCss' => array( |
| 42 |
'type' => 'string', |
| 43 |
), |
| 44 |
|
| 45 |
'iconSource' => array( |
| 46 |
'type' => 'string', |
| 47 |
'default' => 'library', |
| 48 |
), |
| 49 |
'verticalAlignment' => array( |
| 50 |
'type' => 'string', |
| 51 |
'default' => 'flex-start', |
| 52 |
), |
| 53 |
'iconHorizontalAlignment' => array( |
| 54 |
'type' => 'string', |
| 55 |
'default' => 'center', |
| 56 |
), |
| 57 |
'iconVerticalAlignment' => array( |
| 58 |
'type' => 'string', |
| 59 |
'default' => 'center', |
| 60 |
), |
| 61 |
|
| 62 |
'cAIconSource' => array( |
| 63 |
'type' => 'string', |
| 64 |
'default' => 'library', |
| 65 |
), |
| 66 |
'infoBoxBg' => array( |
| 67 |
'type' => 'object', |
| 68 |
'default' => array( |
| 69 |
'color' => array( |
| 70 |
'style' => 'transparent', |
| 71 |
'transparent' => '', |
| 72 |
'solidColor' => '#ffffff', |
| 73 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 74 |
), |
| 75 |
'hover' => array( |
| 76 |
'style' => 'bgColor', |
| 77 |
'transparent' => '', |
| 78 |
'solidColor' => '', |
| 79 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 80 |
), |
| 81 |
), |
| 82 |
), |
| 83 |
'titleGlobalTypography' => array( |
| 84 |
'type' => 'object', |
| 85 |
'default' => array(), |
| 86 |
), |
| 87 |
'subTitleGlobalTypography' => array( |
| 88 |
'type' => 'object', |
| 89 |
'default' => array(), |
| 90 |
), |
| 91 |
'desGlobalTypography' => array( |
| 92 |
'type' => 'object', |
| 93 |
'default' => array(), |
| 94 |
), |
| 95 |
'callToActionGlobalTypography' => array( |
| 96 |
'type' => 'object', |
| 97 |
'default' => array(), |
| 98 |
), |
| 99 |
'ratingGlobalTypography' => array( |
| 100 |
'type' => 'object', |
| 101 |
'default' => array(), |
| 102 |
), |
| 103 |
'badgeGlobalTypography' => array( |
| 104 |
'type' => 'object', |
| 105 |
'default' => array(), |
| 106 |
), |
| 107 |
'borderStyle' => array( |
| 108 |
'type' => 'object', |
| 109 |
'default' => array( |
| 110 |
'style' => 'solid', |
| 111 |
'color' => '#cccccc', |
| 112 |
), |
| 113 |
), |
| 114 |
'borderHoverStyle' => array( |
| 115 |
'type' => 'object', |
| 116 |
'default' => array( |
| 117 |
'style' => 'solid', |
| 118 |
'color' => '#cccccc', |
| 119 |
), |
| 120 |
), |
| 121 |
'borderStyleWidth' => $this->spacing_attribute( 1, 1, 1, 1, 'px', true ), |
| 122 |
'borderRadius' => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ), |
| 123 |
'boxShadowEnable' => array( |
| 124 |
'type' => 'boolean', |
| 125 |
'default' => false, |
| 126 |
), |
| 127 |
'boxShadow' => array( |
| 128 |
'type' => 'object', |
| 129 |
'default' => array( |
| 130 |
'device' => array( |
| 131 |
'Desktop' => array( |
| 132 |
'top' => 8, |
| 133 |
'right' => 8, |
| 134 |
'bottom' => 16, |
| 135 |
'left' => 0, |
| 136 |
), |
| 137 |
'Tablet' => array( |
| 138 |
'top' => '', |
| 139 |
'right' => '', |
| 140 |
'bottom' => '', |
| 141 |
'left' => '', |
| 142 |
), |
| 143 |
'Mobile' => array( |
| 144 |
'top' => '', |
| 145 |
'right' => '', |
| 146 |
'bottom' => '', |
| 147 |
'left' => '', |
| 148 |
), |
| 149 |
), |
| 150 |
'unit' => array( |
| 151 |
'Desktop' => 'outset', |
| 152 |
'Tablet' => 'outset', |
| 153 |
'Mobile' => 'outset', |
| 154 |
), |
| 155 |
'color' => '#4E4F521A', |
| 156 |
'selectDefault' => 'var(--smart-post-shadow-medium-4dp)', |
| 157 |
), |
| 158 |
), |
| 159 |
|
| 160 |
'infoBoxHoverBg' => array( |
| 161 |
'type' => 'object', |
| 162 |
'default' => array( |
| 163 |
'color' => array( |
| 164 |
'style' => 'bgColor', |
| 165 |
'solidColor' => '#E9F4FFF2', |
| 166 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 167 |
), |
| 168 |
'hover' => array( |
| 169 |
'style' => 'bgColor', |
| 170 |
'solidColor' => '', |
| 171 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 172 |
), |
| 173 |
), |
| 174 |
), |
| 175 |
|
| 176 |
'borderHoverStyleWidth' => $this->spacing_attribute( 1, 1, 1, 1, 'px', true ), |
| 177 |
'borderHoverRadius' => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ), |
| 178 |
'boxShadowHoverEnable' => array( |
| 179 |
'type' => 'boolean', |
| 180 |
'default' => false, |
| 181 |
), |
| 182 |
'boxShadowHover' => array( |
| 183 |
'type' => 'object', |
| 184 |
'default' => array( |
| 185 |
'device' => array( |
| 186 |
'Desktop' => array( |
| 187 |
'top' => 8, |
| 188 |
'right' => 8, |
| 189 |
'bottom' => 16, |
| 190 |
'left' => 0, |
| 191 |
), |
| 192 |
'Tablet' => array( |
| 193 |
'top' => '', |
| 194 |
'right' => '', |
| 195 |
'bottom' => '', |
| 196 |
'left' => '', |
| 197 |
), |
| 198 |
'Mobile' => array( |
| 199 |
'top' => '', |
| 200 |
'right' => '', |
| 201 |
'bottom' => '', |
| 202 |
'left' => '', |
| 203 |
), |
| 204 |
), |
| 205 |
'unit' => array( |
| 206 |
'Desktop' => 'outset', |
| 207 |
'Tablet' => 'outset', |
| 208 |
'Mobile' => 'outset', |
| 209 |
), |
| 210 |
'color' => '#4E4F521A', |
| 211 |
'selectDefault' => 'var(--smart-post-shadow-medium-4dp)', |
| 212 |
), |
| 213 |
), |
| 214 |
'margin' => $this->spacing_attribute( '', '', '', '', 'px', true ), |
| 215 |
'padding' => $this->spacing_attribute( 32, 24, 32, 24, 'px', false ), |
| 216 |
'iconEnable' => array( |
| 217 |
'type' => 'boolean', |
| 218 |
'default' => true, |
| 219 |
), |
| 220 |
'ratingEnable' => array( |
| 221 |
'type' => 'boolean', |
| 222 |
'default' => false, |
| 223 |
), |
| 224 |
'callActionEnable' => array( |
| 225 |
'type' => 'boolean', |
| 226 |
'default' => true, |
| 227 |
), |
| 228 |
'separatorEnable' => array( |
| 229 |
'type' => 'boolean', |
| 230 |
'default' => false, |
| 231 |
), |
| 232 |
'openNewTab' => array( |
| 233 |
'type' => 'boolean', |
| 234 |
'default' => false, |
| 235 |
), |
| 236 |
'fullWidthButton' => array( |
| 237 |
'type' => 'boolean', |
| 238 |
'default' => false, |
| 239 |
), |
| 240 |
'overlayOnHover' => array( |
| 241 |
'type' => 'boolean', |
| 242 |
'default' => true, |
| 243 |
), |
| 244 |
'externalLinkIcon' => array( |
| 245 |
'type' => 'boolean', |
| 246 |
'default' => true, |
| 247 |
), |
| 248 |
'buttonIconEnable' => array( |
| 249 |
'type' => 'boolean', |
| 250 |
'default' => false, |
| 251 |
), |
| 252 |
'ratingValueEnable' => array( |
| 253 |
'type' => 'boolean', |
| 254 |
'default' => true, |
| 255 |
), |
| 256 |
'titleEnable' => array( |
| 257 |
'type' => 'boolean', |
| 258 |
'default' => true, |
| 259 |
), |
| 260 |
'subTitleEnable' => array( |
| 261 |
'type' => 'boolean', |
| 262 |
'default' => false, |
| 263 |
), |
| 264 |
'descriptionEnable' => array( |
| 265 |
'type' => 'boolean', |
| 266 |
'default' => true, |
| 267 |
), |
| 268 |
'dropCapsEnable' => array( |
| 269 |
'type' => 'boolean', |
| 270 |
'default' => false, |
| 271 |
), |
| 272 |
'hideOnDesktop' => array( |
| 273 |
'type' => 'boolean', |
| 274 |
'default' => false, |
| 275 |
), |
| 276 |
'hideOnTablet' => array( |
| 277 |
'type' => 'boolean', |
| 278 |
'default' => false, |
| 279 |
), |
| 280 |
'hideOnMobile' => array( |
| 281 |
'type' => 'boolean', |
| 282 |
'default' => false, |
| 283 |
), |
| 284 |
'badgeEnable' => array( |
| 285 |
'type' => 'boolean', |
| 286 |
'default' => false, |
| 287 |
), |
| 288 |
'titleTag' => array( |
| 289 |
'type' => 'string', |
| 290 |
'default' => 'h2', |
| 291 |
), |
| 292 |
'titleText' => array( |
| 293 |
'type' => 'string', |
| 294 |
'default' => 'Your Info Box Title', |
| 295 |
), |
| 296 |
'subTitleText' => array( |
| 297 |
'type' => 'string', |
| 298 |
'default' => 'Sub Title', |
| 299 |
), |
| 300 |
'caButtonText' => array( |
| 301 |
'type' => 'string', |
| 302 |
'default' => 'Learn More', |
| 303 |
), |
| 304 |
'descText' => array( |
| 305 |
'type' => 'string', |
| 306 |
'default' => 'Write a short description here to explain this feature, service, or highlight. Keep it clear and engaging for visitors.', |
| 307 |
), |
| 308 |
'infoBoxRadialShape' => array( |
| 309 |
'type' => 'string', |
| 310 |
'default' => 'circle', |
| 311 |
), |
| 312 |
'badgeRadialShape' => array( |
| 313 |
'type' => 'string', |
| 314 |
'default' => 'circle', |
| 315 |
), |
| 316 |
'iconRadialShape' => array( |
| 317 |
'type' => 'string', |
| 318 |
'default' => 'circle', |
| 319 |
), |
| 320 |
'iconHoverRadialShape' => array( |
| 321 |
'type' => 'string', |
| 322 |
'default' => 'circle', |
| 323 |
), |
| 324 |
'badgeHoverRadialShape' => array( |
| 325 |
'type' => 'string', |
| 326 |
'default' => 'circle', |
| 327 |
), |
| 328 |
|
| 329 |
'advancedAdditionalClass' => array( |
| 330 |
'type' => 'string', |
| 331 |
'default' => '', |
| 332 |
), |
| 333 |
'caRadialShape' => array( |
| 334 |
'type' => 'string', |
| 335 |
'default' => 'circle', |
| 336 |
), |
| 337 |
'caHoverRadialShape' => array( |
| 338 |
'type' => 'string', |
| 339 |
'default' => 'circle', |
| 340 |
), |
| 341 |
'infoBoxHoverRadialShape' => array( |
| 342 |
'type' => 'string', |
| 343 |
'default' => 'circle', |
| 344 |
), |
| 345 |
'infoBoxRadialPosition' => array( |
| 346 |
'type' => 'string', |
| 347 |
'default' => 'center center', |
| 348 |
), |
| 349 |
'badgeRadialPosition' => array( |
| 350 |
'type' => 'string', |
| 351 |
'default' => 'center center', |
| 352 |
), |
| 353 |
'iconRadialPosition' => array( |
| 354 |
'type' => 'string', |
| 355 |
'default' => 'center center', |
| 356 |
), |
| 357 |
'iconHoverRadialPosition' => array( |
| 358 |
'type' => 'string', |
| 359 |
'default' => 'center center', |
| 360 |
), |
| 361 |
'badgeHoverRadialPosition' => array( |
| 362 |
'type' => 'string', |
| 363 |
'default' => 'center center', |
| 364 |
), |
| 365 |
'caRadialPosition' => array( |
| 366 |
'type' => 'string', |
| 367 |
'default' => 'center center', |
| 368 |
), |
| 369 |
'caHoverRadialPosition' => array( |
| 370 |
'type' => 'string', |
| 371 |
'default' => 'center center', |
| 372 |
), |
| 373 |
'infoBoxHoverRadialPosition' => array( |
| 374 |
'type' => 'string', |
| 375 |
'default' => 'center center', |
| 376 |
), |
| 377 |
'subTitleTag' => array( |
| 378 |
'type' => 'string', |
| 379 |
'default' => 'span', |
| 380 |
), |
| 381 |
'badgePosition' => array( |
| 382 |
'type' => 'string', |
| 383 |
'default' => 'top-right', |
| 384 |
), |
| 385 |
'separatorPosition' => array( |
| 386 |
'type' => 'string', |
| 387 |
'default' => 'after-title', |
| 388 |
), |
| 389 |
'separatorStyle' => array( |
| 390 |
'type' => 'string', |
| 391 |
'default' => 'solid ', |
| 392 |
), |
| 393 |
'badgeLabel' => array( |
| 394 |
'type' => 'string', |
| 395 |
'default' => 'Featured', |
| 396 |
), |
| 397 |
'buttonLink' => array( |
| 398 |
'type' => 'string', |
| 399 |
), |
| 400 |
'iconSize' => array( |
| 401 |
'type' => 'object', |
| 402 |
'default' => array( |
| 403 |
'device' => array( |
| 404 |
'Desktop' => 32, |
| 405 |
'Tablet' => '', |
| 406 |
'Mobile' => '', |
| 407 |
), |
| 408 |
'unit' => array( |
| 409 |
'Desktop' => 'px', |
| 410 |
'Tablet' => 'px', |
| 411 |
'Mobile' => 'px', |
| 412 |
), |
| 413 |
), |
| 414 |
), |
| 415 |
|
| 416 |
'ratingIconSize' => array( |
| 417 |
'type' => 'object', |
| 418 |
'default' => array( |
| 419 |
'device' => array( |
| 420 |
'Desktop' => 16, |
| 421 |
'Tablet' => '', |
| 422 |
'Mobile' => '', |
| 423 |
), |
| 424 |
'unit' => array( |
| 425 |
'Desktop' => 'px', |
| 426 |
'Tablet' => 'px', |
| 427 |
'Mobile' => 'px', |
| 428 |
), |
| 429 |
), |
| 430 |
), |
| 431 |
'iconCustomWidth' => array( |
| 432 |
'type' => 'object', |
| 433 |
'default' => array( |
| 434 |
'device' => array( |
| 435 |
'Desktop' => 24, |
| 436 |
'Tablet' => '', |
| 437 |
'Mobile' => '', |
| 438 |
), |
| 439 |
'unit' => array( |
| 440 |
'Desktop' => 'px', |
| 441 |
'Tablet' => 'px', |
| 442 |
'Mobile' => 'px', |
| 443 |
), |
| 444 |
), |
| 445 |
), |
| 446 |
'iconName' => array( |
| 447 |
'type' => 'string', |
| 448 |
'default' => 'star', |
| 449 |
), |
| 450 |
'ratingIconCustomWidth' => array( |
| 451 |
'type' => 'object', |
| 452 |
'default' => array( |
| 453 |
'device' => array( |
| 454 |
'Desktop' => 24, |
| 455 |
'Tablet' => '', |
| 456 |
'Mobile' => '', |
| 457 |
), |
| 458 |
'unit' => array( |
| 459 |
'Desktop' => 'px', |
| 460 |
'Tablet' => 'px', |
| 461 |
'Mobile' => 'px', |
| 462 |
), |
| 463 |
), |
| 464 |
), |
| 465 |
'cAIconCustomWidth' => array( |
| 466 |
'type' => 'object', |
| 467 |
'default' => array( |
| 468 |
'device' => array( |
| 469 |
'Desktop' => 16, |
| 470 |
'Tablet' => '', |
| 471 |
'Mobile' => '', |
| 472 |
), |
| 473 |
'unit' => array( |
| 474 |
'Desktop' => 'px', |
| 475 |
'Tablet' => 'px', |
| 476 |
'Mobile' => 'px', |
| 477 |
), |
| 478 |
), |
| 479 |
), |
| 480 |
'iconCustomHeight' => array( |
| 481 |
'type' => 'object', |
| 482 |
'default' => array( |
| 483 |
'device' => array( |
| 484 |
'Desktop' => 24, |
| 485 |
'Tablet' => '', |
| 486 |
'Mobile' => '', |
| 487 |
), |
| 488 |
'unit' => array( |
| 489 |
'Desktop' => 'px', |
| 490 |
'Tablet' => 'px', |
| 491 |
'Mobile' => 'px', |
| 492 |
), |
| 493 |
), |
| 494 |
), |
| 495 |
'ratingIconCustomHeight' => array( |
| 496 |
'type' => 'object', |
| 497 |
'default' => array( |
| 498 |
'device' => array( |
| 499 |
'Desktop' => 16, |
| 500 |
'Tablet' => '', |
| 501 |
'Mobile' => '', |
| 502 |
), |
| 503 |
'unit' => array( |
| 504 |
'Desktop' => 'px', |
| 505 |
'Tablet' => 'px', |
| 506 |
'Mobile' => 'px', |
| 507 |
), |
| 508 |
), |
| 509 |
), |
| 510 |
'cAIconCustomHeight' => array( |
| 511 |
'type' => 'object', |
| 512 |
'default' => array( |
| 513 |
'device' => array( |
| 514 |
'Desktop' => 16, |
| 515 |
'Tablet' => '', |
| 516 |
'Mobile' => '', |
| 517 |
), |
| 518 |
'unit' => array( |
| 519 |
'Desktop' => 'px', |
| 520 |
'Tablet' => 'px', |
| 521 |
'Mobile' => 'px', |
| 522 |
), |
| 523 |
), |
| 524 |
), |
| 525 |
'iconTextGap' => array( |
| 526 |
'type' => 'object', |
| 527 |
'default' => array( |
| 528 |
'device' => array( |
| 529 |
'Desktop' => 8, |
| 530 |
'Tablet' => '', |
| 531 |
'Mobile' => '', |
| 532 |
), |
| 533 |
'unit' => array( |
| 534 |
'Desktop' => 'px', |
| 535 |
'Tablet' => 'px', |
| 536 |
'Mobile' => 'px', |
| 537 |
), |
| 538 |
), |
| 539 |
), |
| 540 |
'cAIconSize' => array( |
| 541 |
'type' => 'object', |
| 542 |
'default' => array( |
| 543 |
'device' => array( |
| 544 |
'Desktop' => 16, |
| 545 |
'Tablet' => '', |
| 546 |
'Mobile' => '', |
| 547 |
), |
| 548 |
'unit' => array( |
| 549 |
'Desktop' => 'px', |
| 550 |
'Tablet' => 'px', |
| 551 |
'Mobile' => 'px', |
| 552 |
), |
| 553 |
), |
| 554 |
), |
| 555 |
'separatorWidth' => array( |
| 556 |
'type' => 'object', |
| 557 |
'default' => array( |
| 558 |
'device' => array( |
| 559 |
'Desktop' => 60, |
| 560 |
'Tablet' => '', |
| 561 |
'Mobile' => '', |
| 562 |
), |
| 563 |
'unit' => array( |
| 564 |
'Desktop' => 'px', |
| 565 |
'Tablet' => 'px', |
| 566 |
'Mobile' => 'px', |
| 567 |
), |
| 568 |
), |
| 569 |
), |
| 570 |
'separatorThinkness' => array( |
| 571 |
'type' => 'object', |
| 572 |
'default' => array( |
| 573 |
'device' => array( |
| 574 |
'Desktop' => 3, |
| 575 |
'Tablet' => '', |
| 576 |
'Mobile' => '', |
| 577 |
), |
| 578 |
'unit' => array( |
| 579 |
'Desktop' => 'px', |
| 580 |
'Tablet' => 'px', |
| 581 |
'Mobile' => 'px', |
| 582 |
), |
| 583 |
), |
| 584 |
), |
| 585 |
'ratingGap' => array( |
| 586 |
'type' => 'object', |
| 587 |
'default' => array( |
| 588 |
'device' => array( |
| 589 |
'Desktop' => 8, |
| 590 |
'Tablet' => '', |
| 591 |
'Mobile' => '', |
| 592 |
), |
| 593 |
'unit' => array( |
| 594 |
'Desktop' => 'px', |
| 595 |
'Tablet' => 'px', |
| 596 |
'Mobile' => 'px', |
| 597 |
), |
| 598 |
), |
| 599 |
), |
| 600 |
'scale' => array( |
| 601 |
'type' => 'number', |
| 602 |
'default' => 5, |
| 603 |
), |
| 604 |
'imageOverlayOpacity' => array( |
| 605 |
'type' => 'number', |
| 606 |
'default' => 0.5, |
| 607 |
), |
| 608 |
'iconHoverEffectOpacity' => array( |
| 609 |
'type' => 'number', |
| 610 |
'default' => 0.5, |
| 611 |
), |
| 612 |
'imageHoverOverlayOpacity' => array( |
| 613 |
'type' => 'number', |
| 614 |
'default' => 0.5, |
| 615 |
), |
| 616 |
'cAOverlayOpacity' => array( |
| 617 |
'type' => 'number', |
| 618 |
'default' => 0.8, |
| 619 |
), |
| 620 |
'subTitleGap' => array( |
| 621 |
'type' => 'object', |
| 622 |
'default' => array( |
| 623 |
'device' => array( |
| 624 |
'Desktop' => 8, |
| 625 |
'Tablet' => '', |
| 626 |
'Mobile' => '', |
| 627 |
), |
| 628 |
'unit' => array( |
| 629 |
'Desktop' => 'px', |
| 630 |
'Tablet' => 'px', |
| 631 |
'Mobile' => 'px', |
| 632 |
), |
| 633 |
), |
| 634 |
), |
| 635 |
'iconPosition' => array( |
| 636 |
'type' => 'string', |
| 637 |
'default' => 'above-title', |
| 638 |
), |
| 639 |
'iconPositionLayoutFive' => array( |
| 640 |
'type' => 'string', |
| 641 |
'default' => 'top-content', |
| 642 |
), |
| 643 |
|
| 644 |
'infoBoxStyleType' => array( |
| 645 |
'type' => 'string', |
| 646 |
'default' => 'color', |
| 647 |
), |
| 648 |
'subTitlePosition' => array( |
| 649 |
'type' => 'string', |
| 650 |
'default' => 'below-title', |
| 651 |
), |
| 652 |
'iconHoverEffects' => array( |
| 653 |
'type' => 'string', |
| 654 |
'default' => 'normal', |
| 655 |
), |
| 656 |
'titleHoverEffects' => array( |
| 657 |
'type' => 'string', |
| 658 |
'default' => 'none', |
| 659 |
), |
| 660 |
'iconBg' => array( |
| 661 |
'type' => 'object', |
| 662 |
'default' => array( |
| 663 |
'color' => array( |
| 664 |
'style' => 'bgColor', |
| 665 |
'solidColor' => '#2F2F2F', |
| 666 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 667 |
), |
| 668 |
'hover' => array( |
| 669 |
'style' => 'bgColor', |
| 670 |
'solidColor' => '#2F2F2F', |
| 671 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 672 |
), |
| 673 |
), |
| 674 |
), |
| 675 |
'cABg' => array( |
| 676 |
'type' => 'object', |
| 677 |
'default' => array( |
| 678 |
'color' => array( |
| 679 |
'style' => 'bgColor', |
| 680 |
'solidColor' => '#E0E0E0', |
| 681 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 682 |
), |
| 683 |
'hover' => array( |
| 684 |
'style' => 'bgColor', |
| 685 |
'solidColor' => '#E0E0E0', |
| 686 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 687 |
), |
| 688 |
), |
| 689 |
), |
| 690 |
|
| 691 |
'badgeBg' => array( |
| 692 |
'type' => 'object', |
| 693 |
'default' => array( |
| 694 |
'color' => array( |
| 695 |
'style' => 'bgColor', |
| 696 |
'solidColor' => '#E0E0E0', |
| 697 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 698 |
), |
| 699 |
'hover' => array( |
| 700 |
'style' => 'bgColor', |
| 701 |
'solidColor' => '#E0E0E0', |
| 702 |
'gradient' => 'linear-gradient(90deg,rgb(161,196,253) 0%,rgb(194,233,251) 50%,rgb(224,234,252) 100%)', |
| 703 |
), |
| 704 |
), |
| 705 |
), |
| 706 |
'iconOverlayColor' => array( |
| 707 |
'type' => 'string', |
| 708 |
'default' => '#000000ff', |
| 709 |
), |
| 710 |
'separatorColor' => array( |
| 711 |
'type' => 'string', |
| 712 |
'default' => '#ddd', |
| 713 |
), |
| 714 |
'iconOverlayEnable' => array( |
| 715 |
'type' => 'boolean', |
| 716 |
'default' => false, |
| 717 |
), |
| 718 |
'iconOverlayOpacity' => array( |
| 719 |
'type' => 'string', |
| 720 |
'default' => 0.5, |
| 721 |
), |
| 722 |
'iconColor' => array( |
| 723 |
'type' => 'object', |
| 724 |
'default' => array( |
| 725 |
'color' => '#ffffff', |
| 726 |
'hoverColor' => '#ffffff', |
| 727 |
), |
| 728 |
), |
| 729 |
'caIconColor' => array( |
| 730 |
'type' => 'object', |
| 731 |
'default' => array( |
| 732 |
'color' => '#2F2F2F', |
| 733 |
'hoverColor' => '#2F2F2F', |
| 734 |
), |
| 735 |
), |
| 736 |
'cAOverlayColor' => array( |
| 737 |
'type' => 'string', |
| 738 |
'default' => '#2F2F2F', |
| 739 |
), |
| 740 |
'externalLinkIconColor' => array( |
| 741 |
'type' => 'string', |
| 742 |
'default' => '#fff', |
| 743 |
), |
| 744 |
'hoverEffectsColor' => array( |
| 745 |
'type' => 'string', |
| 746 |
'default' => '#2F2F2F', |
| 747 |
), |
| 748 |
'titleColor' => array( |
| 749 |
'type' => 'object', |
| 750 |
'default' => array( |
| 751 |
'color' => '#2F2F2F', |
| 752 |
'hoverColor' => '#878787ff', |
| 753 |
), |
| 754 |
), |
| 755 |
'imageOverlayColor' => array( |
| 756 |
'type' => 'object', |
| 757 |
'default' => array( |
| 758 |
'color' => 'var(--smart-post-secondary)', |
| 759 |
'hoverColor' => '#012B60', |
| 760 |
), |
| 761 |
), |
| 762 |
'badgeColor' => array( |
| 763 |
'type' => 'object', |
| 764 |
'default' => array( |
| 765 |
'color' => '#2F2F2F', |
| 766 |
'hoverColor' => '#2F2F2F', |
| 767 |
), |
| 768 |
), |
| 769 |
'filledColor' => array( |
| 770 |
'type' => 'object', |
| 771 |
'default' => array( |
| 772 |
'color' => '#F0B849', |
| 773 |
'hoverColor' => '#e79a00ff', |
| 774 |
), |
| 775 |
), |
| 776 |
'emptyColor' => array( |
| 777 |
'type' => 'object', |
| 778 |
'default' => array( |
| 779 |
'color' => '#dddddd', |
| 780 |
'hoverColor' => '#8f8e8eff', |
| 781 |
), |
| 782 |
), |
| 783 |
'ratingNumberColor' => array( |
| 784 |
'type' => 'object', |
| 785 |
'default' => array( |
| 786 |
'color' => '#757575', |
| 787 |
'hoverColor' => '#757575', |
| 788 |
), |
| 789 |
), |
| 790 |
'subTitleColor' => array( |
| 791 |
'type' => 'object', |
| 792 |
'default' => array( |
| 793 |
'color' => '#757575', |
| 794 |
'hoverColor' => '#757575', |
| 795 |
), |
| 796 |
), |
| 797 |
'descriptionColor' => array( |
| 798 |
'type' => 'object', |
| 799 |
'default' => array( |
| 800 |
'color' => '#757575', |
| 801 |
'hoverColor' => '#757575', |
| 802 |
), |
| 803 |
), |
| 804 |
|
| 805 |
'dropCapsColor' => array( |
| 806 |
'type' => 'string', |
| 807 |
'default' => '#2F2F2F', |
| 808 |
), |
| 809 |
|
| 810 |
|
| 811 |
'iconBorderStyle' => array( |
| 812 |
'type' => 'object', |
| 813 |
'default' => array( |
| 814 |
'style' => 'none', |
| 815 |
'color' => '#cccccc', |
| 816 |
), |
| 817 |
), |
| 818 |
'caBorderStyle' => array( |
| 819 |
'type' => 'object', |
| 820 |
'default' => array( |
| 821 |
'style' => 'none', |
| 822 |
'color' => '#cccccc', |
| 823 |
), |
| 824 |
), |
| 825 |
'caHoverBorderStyle' => array( |
| 826 |
'type' => 'object', |
| 827 |
'default' => array( |
| 828 |
'style' => 'none', |
| 829 |
'color' => '#cccccc', |
| 830 |
), |
| 831 |
), |
| 832 |
'iconBorderStyleWidth' => $this->spacing_attribute( '', '', '', '', 'px', true ), |
| 833 |
'caBorderStyleWidth' => $this->spacing_attribute( 1, 1, 1, 1, 'px', true ), |
| 834 |
'caHoverBorderStyleWidth' => $this->spacing_attribute( 1, 1, 1, 1, 'px', true ), |
| 835 |
'iconBorderRadius' => $this->spacing_attribute( 6, 6, 6, 6, 'px', true ), |
| 836 |
'caBorderRadius' => $this->spacing_attribute( 6, 6, 6, 6, 'px', true ), |
| 837 |
'caHoverBorderRadius' => $this->spacing_attribute( 6, 6, 6, 6, 'px', true ), |
| 838 |
'iconBoxShadowEnable' => array( |
| 839 |
'type' => 'boolean', |
| 840 |
'default' => false, |
| 841 |
), |
| 842 |
'imageOverlayEnable' => array( |
| 843 |
'type' => 'boolean', |
| 844 |
'default' => false, |
| 845 |
), |
| 846 |
'imageOverlayHoverEnable' => array( |
| 847 |
'type' => 'boolean', |
| 848 |
'default' => false, |
| 849 |
), |
| 850 |
'iconBoxShadow' => array( |
| 851 |
'type' => 'object', |
| 852 |
'default' => array( |
| 853 |
'device' => array( |
| 854 |
'Desktop' => array( |
| 855 |
'top' => 8, |
| 856 |
'right' => 8, |
| 857 |
'bottom' => 16, |
| 858 |
'left' => 0, |
| 859 |
), |
| 860 |
'Tablet' => array( |
| 861 |
'top' => '', |
| 862 |
'right' => '', |
| 863 |
'bottom' => '', |
| 864 |
'left' => '', |
| 865 |
), |
| 866 |
'Mobile' => array( |
| 867 |
'top' => '', |
| 868 |
'right' => '', |
| 869 |
'bottom' => '', |
| 870 |
'left' => '', |
| 871 |
), |
| 872 |
), |
| 873 |
'unit' => array( |
| 874 |
'Desktop' => 'outset', |
| 875 |
'Tablet' => 'outset', |
| 876 |
'Mobile' => 'outset', |
| 877 |
), |
| 878 |
'color' => '#4E4F5257', |
| 879 |
'selectDefault' => 'var(--smart-post-shadow-medium-4dp)', |
| 880 |
), |
| 881 |
), |
| 882 |
'badgeBorderStyle' => array( |
| 883 |
'type' => 'object', |
| 884 |
'default' => array( |
| 885 |
'style' => 'none', |
| 886 |
'color' => '#cccccc', |
| 887 |
), |
| 888 |
), |
| 889 |
'badgeBorderStyleWidth' => $this->spacing_attribute( 2, 2, 2, 2, 'px', true ), |
| 890 |
'badgeBorderRadius' => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ), |
| 891 |
'badgeBoxShadowEnable' => array( |
| 892 |
'type' => 'boolean', |
| 893 |
'default' => false, |
| 894 |
), |
| 895 |
'badgeBoxShadow' => array( |
| 896 |
'type' => 'object', |
| 897 |
'default' => array( |
| 898 |
'device' => array( |
| 899 |
'Desktop' => array( |
| 900 |
'top' => 8, |
| 901 |
'right' => 8, |
| 902 |
'bottom' => 16, |
| 903 |
'left' => 0, |
| 904 |
), |
| 905 |
'Tablet' => array( |
| 906 |
'top' => '', |
| 907 |
'right' => '', |
| 908 |
'bottom' => '', |
| 909 |
'left' => '', |
| 910 |
), |
| 911 |
'Mobile' => array( |
| 912 |
'top' => '', |
| 913 |
'right' => '', |
| 914 |
'bottom' => '', |
| 915 |
'left' => '', |
| 916 |
), |
| 917 |
), |
| 918 |
'unit' => array( |
| 919 |
'Desktop' => 'outset', |
| 920 |
'Tablet' => 'outset', |
| 921 |
'Mobile' => 'outset', |
| 922 |
), |
| 923 |
'color' => '#4E4F521A', |
| 924 |
), |
| 925 |
), |
| 926 |
|
| 927 |
|
| 928 |
'iconBorderHoverStyle' => array( |
| 929 |
'type' => 'object', |
| 930 |
'default' => array( |
| 931 |
'style' => 'none', |
| 932 |
'color' => '#cccccc', |
| 933 |
), |
| 934 |
), |
| 935 |
'iconBorderStyleHoverWidth' => $this->spacing_attribute( 0, 0, 0, 0, 'px', false ), |
| 936 |
'iconBorderHoverRadius' => $this->spacing_attribute( 6, 6, 6, 6, 'px', true ), |
| 937 |
'iconBoxShadowHoverEnable' => array( |
| 938 |
'type' => 'boolean', |
| 939 |
'default' => false, |
| 940 |
), |
| 941 |
'iconBoxShadowHover' => array( |
| 942 |
'type' => 'object', |
| 943 |
'default' => array( |
| 944 |
'device' => array( |
| 945 |
'Desktop' => array( |
| 946 |
'top' => 8, |
| 947 |
'right' => 8, |
| 948 |
'bottom' => 16, |
| 949 |
'left' => 0, |
| 950 |
), |
| 951 |
'Tablet' => array( |
| 952 |
'top' => '', |
| 953 |
'right' => '', |
| 954 |
'bottom' => '', |
| 955 |
'left' => '', |
| 956 |
), |
| 957 |
'Mobile' => array( |
| 958 |
'top' => '', |
| 959 |
'right' => '', |
| 960 |
'bottom' => '', |
| 961 |
'left' => '', |
| 962 |
), |
| 963 |
), |
| 964 |
'unit' => array( |
| 965 |
'Desktop' => 'outset', |
| 966 |
'Tablet' => 'outset', |
| 967 |
'Mobile' => 'outset', |
| 968 |
), |
| 969 |
'color' => '#4E4F5257', |
| 970 |
), |
| 971 |
), |
| 972 |
'badgeBorderHoverStyle' => array( |
| 973 |
'type' => 'object', |
| 974 |
'default' => array( |
| 975 |
'style' => 'none', |
| 976 |
'color' => '#cccccc', |
| 977 |
), |
| 978 |
), |
| 979 |
'badgeBorderStyleHoverWidth' => $this->spacing_attribute( 2, 2, 2, 2, 'px', true ), |
| 980 |
'badgeBorderHoverRadius' => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ), |
| 981 |
'badgeBoxShadowHoverEnable' => array( |
| 982 |
'type' => 'boolean', |
| 983 |
'default' => false, |
| 984 |
), |
| 985 |
'badgeBoxShadowHover' => array( |
| 986 |
'type' => 'object', |
| 987 |
'default' => array( |
| 988 |
'device' => array( |
| 989 |
'Desktop' => array( |
| 990 |
'top' => 8, |
| 991 |
'right' => 8, |
| 992 |
'bottom' => 16, |
| 993 |
'left' => 0, |
| 994 |
), |
| 995 |
'Tablet' => array( |
| 996 |
'top' => '', |
| 997 |
'right' => '', |
| 998 |
'bottom' => '', |
| 999 |
'left' => '', |
| 1000 |
), |
| 1001 |
'Mobile' => array( |
| 1002 |
'top' => '', |
| 1003 |
'right' => '', |
| 1004 |
'bottom' => '', |
| 1005 |
'left' => '', |
| 1006 |
), |
| 1007 |
), |
| 1008 |
'unit' => array( |
| 1009 |
'Desktop' => 'outset', |
| 1010 |
'Tablet' => 'outset', |
| 1011 |
'Mobile' => 'outset', |
| 1012 |
), |
| 1013 |
'color' => '#4E4F521A', |
| 1014 |
), |
| 1015 |
), |
| 1016 |
'iconMargin' => $this->spacing_attribute( 0, 0, 24, 0, 'px', false ), |
| 1017 |
'gapBetweenDescription' => $this->spacing_attribute( 0, 0, 18, 0, 'px', false ), |
| 1018 |
'descriptionMargin' => $this->spacing_attribute( 0, 0, 24, 0, 'px', false ), |
| 1019 |
'iconPadding' => $this->spacing_attribute( 14, 14, 14, 14, 'px', true ), |
| 1020 |
'caPadding' => $this->spacing_attribute( 12, 22, 12, 22, 'px', false ), |
| 1021 |
'badgeMargin' => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ), |
| 1022 |
'caMargin' => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ), |
| 1023 |
'ratingMargin' => $this->spacing_attribute( 0, 0, 18, 0, 'px', false ), |
| 1024 |
'separatorMargin' => $this->spacing_attribute( 8, 0, 8, 0, 'px', false ), |
| 1025 |
'titleMargin' => $this->spacing_attribute( 0, 0, 8, 0, 'px', false ), |
| 1026 |
'badgePadding' => $this->spacing_attribute( 6, 12, 6, 12, 'px', false ), |
| 1027 |
'titleTypography' => array( |
| 1028 |
'type' => 'object', |
| 1029 |
'default' => array( |
| 1030 |
'googleFont' => array( |
| 1031 |
'family' => '', |
| 1032 |
'variants' => array( '300', '400', '500', '600', '700', '800' ), |
| 1033 |
), |
| 1034 |
'typography' => array( |
| 1035 |
'family' => '', |
| 1036 |
'fontWeight' => '500', |
| 1037 |
'style' => 'normal', |
| 1038 |
'transform' => 'none', |
| 1039 |
'decoration' => 'none', |
| 1040 |
), |
| 1041 |
), |
| 1042 |
), |
| 1043 |
'titleLineHeight' => array( |
| 1044 |
'type' => 'object', |
| 1045 |
'default' => array( |
| 1046 |
'device' => array( |
| 1047 |
'Desktop' => 1.2, |
| 1048 |
'Tablet' => '', |
| 1049 |
'Mobile' => '', |
| 1050 |
), |
| 1051 |
// 'unit' => array( |
| 1052 |
// 'Desktop' => '%', |
| 1053 |
// 'Tablet' => 'px', |
| 1054 |
// 'Mobile' => 'px', |
| 1055 |
// ), |
| 1056 |
), |
| 1057 |
), |
| 1058 |
'titleFontSize' => array( |
| 1059 |
'type' => 'object', |
| 1060 |
'default' => array( |
| 1061 |
'device' => array( |
| 1062 |
'Desktop' => 20, |
| 1063 |
'Tablet' => '', |
| 1064 |
'Mobile' => '', |
| 1065 |
), |
| 1066 |
'unit' => array( |
| 1067 |
'Desktop' => 'px', |
| 1068 |
'Tablet' => 'px', |
| 1069 |
'Mobile' => 'px', |
| 1070 |
), |
| 1071 |
), |
| 1072 |
), |
| 1073 |
'titleLatterSpacing' => array( |
| 1074 |
'type' => 'object', |
| 1075 |
'default' => array( |
| 1076 |
'device' => array( |
| 1077 |
'Desktop' => 0, |
| 1078 |
'Tablet' => '', |
| 1079 |
'Mobile' => '', |
| 1080 |
), |
| 1081 |
'unit' => array( |
| 1082 |
'Desktop' => 'px', |
| 1083 |
'Tablet' => 'px', |
| 1084 |
'Mobile' => 'px', |
| 1085 |
), |
| 1086 |
), |
| 1087 |
), |
| 1088 |
'titleWordSpacing' => array( |
| 1089 |
'type' => 'object', |
| 1090 |
'default' => array( |
| 1091 |
'device' => array( |
| 1092 |
'Desktop' => 0, |
| 1093 |
'Tablet' => '', |
| 1094 |
'Mobile' => '', |
| 1095 |
), |
| 1096 |
'unit' => array( |
| 1097 |
'Desktop' => 'px', |
| 1098 |
'Tablet' => 'px', |
| 1099 |
'Mobile' => 'px', |
| 1100 |
), |
| 1101 |
), |
| 1102 |
), |
| 1103 |
'subTitleTypography' => array( |
| 1104 |
'type' => 'object', |
| 1105 |
'default' => array( |
| 1106 |
'googleFont' => array( |
| 1107 |
'family' => '', |
| 1108 |
'variants' => array( '300', '400', '500', '600', '700', '800' ), |
| 1109 |
), |
| 1110 |
'typography' => array( |
| 1111 |
'family' => '', |
| 1112 |
'fontWeight' => '500', |
| 1113 |
'style' => 'normal', |
| 1114 |
'transform' => 'none', |
| 1115 |
'decoration' => 'none', |
| 1116 |
), |
| 1117 |
), |
| 1118 |
), |
| 1119 |
'subTitleLineHeight' => array( |
| 1120 |
'type' => 'object', |
| 1121 |
'default' => array( |
| 1122 |
'device' => array( |
| 1123 |
'Desktop' => 1.20, |
| 1124 |
'Tablet' => '', |
| 1125 |
'Mobile' => '', |
| 1126 |
), |
| 1127 |
// 'unit' => array( |
| 1128 |
// 'Desktop' => '%', |
| 1129 |
// 'Tablet' => 'px', |
| 1130 |
// 'Mobile' => 'px', |
| 1131 |
// ), |
| 1132 |
), |
| 1133 |
), |
| 1134 |
'subTitleFontSize' => array( |
| 1135 |
'type' => 'object', |
| 1136 |
'default' => array( |
| 1137 |
'device' => array( |
| 1138 |
'Desktop' => 14, |
| 1139 |
'Tablet' => '', |
| 1140 |
'Mobile' => '', |
| 1141 |
), |
| 1142 |
'unit' => array( |
| 1143 |
'Desktop' => 'px', |
| 1144 |
'Tablet' => 'px', |
| 1145 |
'Mobile' => 'px', |
| 1146 |
), |
| 1147 |
), |
| 1148 |
), |
| 1149 |
'subTitleLatterSpacing' => array( |
| 1150 |
'type' => 'object', |
| 1151 |
'default' => array( |
| 1152 |
'device' => array( |
| 1153 |
'Desktop' => 0, |
| 1154 |
'Tablet' => '', |
| 1155 |
'Mobile' => '', |
| 1156 |
), |
| 1157 |
'unit' => array( |
| 1158 |
'Desktop' => 'px', |
| 1159 |
'Tablet' => 'px', |
| 1160 |
'Mobile' => 'px', |
| 1161 |
), |
| 1162 |
), |
| 1163 |
), |
| 1164 |
'subTitleWordSpacing' => array( |
| 1165 |
'type' => 'object', |
| 1166 |
'default' => array( |
| 1167 |
'device' => array( |
| 1168 |
'Desktop' => 0, |
| 1169 |
'Tablet' => '', |
| 1170 |
'Mobile' => '', |
| 1171 |
), |
| 1172 |
'unit' => array( |
| 1173 |
'Desktop' => 'px', |
| 1174 |
'Tablet' => 'px', |
| 1175 |
'Mobile' => 'px', |
| 1176 |
), |
| 1177 |
), |
| 1178 |
), |
| 1179 |
'descriptionTypography' => array( |
| 1180 |
'type' => 'object', |
| 1181 |
'default' => array( |
| 1182 |
'googleFont' => array( |
| 1183 |
'family' => '', |
| 1184 |
'variants' => array( '300', '400', '500', '600', '700', '800' ), |
| 1185 |
), |
| 1186 |
'typography' => array( |
| 1187 |
'family' => '', |
| 1188 |
'fontWeight' => '400', |
| 1189 |
'style' => 'normal', |
| 1190 |
'transform' => 'none', |
| 1191 |
'decoration' => 'none', |
| 1192 |
), |
| 1193 |
), |
| 1194 |
), |
| 1195 |
'descriptionLineHeight' => array( |
| 1196 |
'type' => 'object', |
| 1197 |
'default' => array( |
| 1198 |
'device' => array( |
| 1199 |
'Desktop' => 1.6, |
| 1200 |
'Tablet' => '', |
| 1201 |
'Mobile' => '', |
| 1202 |
), |
| 1203 |
), |
| 1204 |
), |
| 1205 |
'descriptionFontSize' => array( |
| 1206 |
'type' => 'object', |
| 1207 |
'default' => array( |
| 1208 |
'device' => array( |
| 1209 |
'Desktop' => 14, |
| 1210 |
'Tablet' => '', |
| 1211 |
'Mobile' => '', |
| 1212 |
), |
| 1213 |
'unit' => array( |
| 1214 |
'Desktop' => 'px', |
| 1215 |
'Tablet' => 'px', |
| 1216 |
'Mobile' => 'px', |
| 1217 |
), |
| 1218 |
), |
| 1219 |
), |
| 1220 |
'descriptionLatterSpacing' => array( |
| 1221 |
'type' => 'object', |
| 1222 |
'default' => array( |
| 1223 |
'device' => array( |
| 1224 |
'Desktop' => 0, |
| 1225 |
'Tablet' => '', |
| 1226 |
'Mobile' => '', |
| 1227 |
), |
| 1228 |
'unit' => array( |
| 1229 |
'Desktop' => 'px', |
| 1230 |
'Tablet' => 'px', |
| 1231 |
'Mobile' => 'px', |
| 1232 |
), |
| 1233 |
), |
| 1234 |
), |
| 1235 |
'descriptionWordSpacing' => array( |
| 1236 |
'type' => 'object', |
| 1237 |
'default' => array( |
| 1238 |
'device' => array( |
| 1239 |
'Desktop' => 0, |
| 1240 |
'Tablet' => '', |
| 1241 |
'Mobile' => '', |
| 1242 |
), |
| 1243 |
'unit' => array( |
| 1244 |
'Desktop' => 'px', |
| 1245 |
'Tablet' => 'px', |
| 1246 |
'Mobile' => 'px', |
| 1247 |
), |
| 1248 |
), |
| 1249 |
), |
| 1250 |
'badgeTypography' => array( |
| 1251 |
'type' => 'object', |
| 1252 |
'default' => array( |
| 1253 |
'googleFont' => array( |
| 1254 |
'family' => '', |
| 1255 |
'variants' => array( '300', '400', '500', '600', '700', '800' ), |
| 1256 |
), |
| 1257 |
'typography' => array( |
| 1258 |
'family' => '', |
| 1259 |
'fontWeight' => '400', |
| 1260 |
'style' => 'normal', |
| 1261 |
'transform' => 'none', |
| 1262 |
'decoration' => 'none', |
| 1263 |
), |
| 1264 |
), |
| 1265 |
), |
| 1266 |
'badgeLineHeight' => array( |
| 1267 |
'type' => 'object', |
| 1268 |
'default' => array( |
| 1269 |
'device' => array( |
| 1270 |
'Desktop' => 1.2, |
| 1271 |
'Tablet' => '', |
| 1272 |
'Mobile' => '', |
| 1273 |
), |
| 1274 |
// 'unit' => array( |
| 1275 |
// 'Desktop' => 'px', |
| 1276 |
// 'Tablet' => 'px', |
| 1277 |
// 'Mobile' => 'px', |
| 1278 |
// ), |
| 1279 |
), |
| 1280 |
), |
| 1281 |
'badgeFontSize' => array( |
| 1282 |
'type' => 'object', |
| 1283 |
'default' => array( |
| 1284 |
'device' => array( |
| 1285 |
'Desktop' => 13, |
| 1286 |
'Tablet' => '', |
| 1287 |
'Mobile' => '', |
| 1288 |
), |
| 1289 |
'unit' => array( |
| 1290 |
'Desktop' => 'px', |
| 1291 |
'Tablet' => 'px', |
| 1292 |
'Mobile' => 'px', |
| 1293 |
), |
| 1294 |
), |
| 1295 |
), |
| 1296 |
'badgeLatterSpacing' => array( |
| 1297 |
'type' => 'object', |
| 1298 |
'default' => array( |
| 1299 |
'device' => array( |
| 1300 |
'Desktop' => 0, |
| 1301 |
'Tablet' => '', |
| 1302 |
'Mobile' => '', |
| 1303 |
), |
| 1304 |
'unit' => array( |
| 1305 |
'Desktop' => 'px', |
| 1306 |
'Tablet' => 'px', |
| 1307 |
'Mobile' => 'px', |
| 1308 |
), |
| 1309 |
), |
| 1310 |
), |
| 1311 |
'badgeWordSpacing' => array( |
| 1312 |
'type' => 'object', |
| 1313 |
'default' => array( |
| 1314 |
'device' => array( |
| 1315 |
'Desktop' => 0, |
| 1316 |
'Tablet' => '', |
| 1317 |
'Mobile' => '', |
| 1318 |
), |
| 1319 |
'unit' => array( |
| 1320 |
'Desktop' => 'px', |
| 1321 |
'Tablet' => 'px', |
| 1322 |
'Mobile' => 'px', |
| 1323 |
), |
| 1324 |
), |
| 1325 |
), |
| 1326 |
'ratingTypography' => array( |
| 1327 |
'type' => 'object', |
| 1328 |
'default' => array( |
| 1329 |
'googleFont' => array( |
| 1330 |
'family' => '', |
| 1331 |
'variants' => array( '300', '400', '500', '600', '700', '800' ), |
| 1332 |
), |
| 1333 |
'typography' => array( |
| 1334 |
'family' => '', |
| 1335 |
'fontWeight' => '600', |
| 1336 |
'style' => 'normal', |
| 1337 |
'transform' => 'none', |
| 1338 |
'decoration' => 'none', |
| 1339 |
), |
| 1340 |
), |
| 1341 |
), |
| 1342 |
'ratingLineHeight' => array( |
| 1343 |
'type' => 'object', |
| 1344 |
'default' => array( |
| 1345 |
'device' => array( |
| 1346 |
'Desktop' => 1.2, |
| 1347 |
'Tablet' => '', |
| 1348 |
'Mobile' => '', |
| 1349 |
), |
| 1350 |
// 'unit' => array( |
| 1351 |
// 'Desktop' => '%', |
| 1352 |
// 'Tablet' => 'px', |
| 1353 |
// 'Mobile' => 'px', |
| 1354 |
// ), |
| 1355 |
), |
| 1356 |
), |
| 1357 |
'ratingFontSize' => array( |
| 1358 |
'type' => 'object', |
| 1359 |
'default' => array( |
| 1360 |
'device' => array( |
| 1361 |
'Desktop' => 14, |
| 1362 |
'Tablet' => '', |
| 1363 |
'Mobile' => '', |
| 1364 |
), |
| 1365 |
'unit' => array( |
| 1366 |
'Desktop' => 'px', |
| 1367 |
'Tablet' => 'px', |
| 1368 |
'Mobile' => 'px', |
| 1369 |
), |
| 1370 |
), |
| 1371 |
), |
| 1372 |
'ratingLatterSpacing' => array( |
| 1373 |
'type' => 'object', |
| 1374 |
'default' => array( |
| 1375 |
'device' => array( |
| 1376 |
'Desktop' => 0, |
| 1377 |
'Tablet' => '', |
| 1378 |
'Mobile' => '', |
| 1379 |
), |
| 1380 |
'unit' => array( |
| 1381 |
'Desktop' => 'px', |
| 1382 |
'Tablet' => 'px', |
| 1383 |
'Mobile' => 'px', |
| 1384 |
), |
| 1385 |
), |
| 1386 |
), |
| 1387 |
'ratingWordSpacing' => array( |
| 1388 |
'type' => 'object', |
| 1389 |
'default' => array( |
| 1390 |
'device' => array( |
| 1391 |
'Desktop' => 0, |
| 1392 |
'Tablet' => '', |
| 1393 |
'Mobile' => '', |
| 1394 |
), |
| 1395 |
'unit' => array( |
| 1396 |
'Desktop' => 'px', |
| 1397 |
'Tablet' => 'px', |
| 1398 |
'Mobile' => 'px', |
| 1399 |
), |
| 1400 |
), |
| 1401 |
), |
| 1402 |
'cATypography' => array( |
| 1403 |
'type' => 'object', |
| 1404 |
'default' => array( |
| 1405 |
'googleFont' => array( |
| 1406 |
'family' => '', |
| 1407 |
'variants' => array( '300', '400', '500', '600', '700', '800' ), |
| 1408 |
), |
| 1409 |
'typography' => array( |
| 1410 |
'family' => '', |
| 1411 |
'fontWeight' => '600', |
| 1412 |
'style' => 'normal', |
| 1413 |
'transform' => 'none', |
| 1414 |
'decoration' => 'none', |
| 1415 |
), |
| 1416 |
), |
| 1417 |
), |
| 1418 |
'cALineHeight' => array( |
| 1419 |
'type' => 'object', |
| 1420 |
'default' => array( |
| 1421 |
'device' => array( |
| 1422 |
'Desktop' => 1.20, |
| 1423 |
'Tablet' => '', |
| 1424 |
'Mobile' => '', |
| 1425 |
), |
| 1426 |
// 'unit' => array( |
| 1427 |
// 'Desktop' => '%', |
| 1428 |
// 'Tablet' => 'px', |
| 1429 |
// 'Mobile' => 'px', |
| 1430 |
// ), |
| 1431 |
), |
| 1432 |
), |
| 1433 |
'cAFontSize' => array( |
| 1434 |
'type' => 'object', |
| 1435 |
'default' => array( |
| 1436 |
'device' => array( |
| 1437 |
'Desktop' => 14, |
| 1438 |
'Tablet' => '', |
| 1439 |
'Mobile' => '', |
| 1440 |
), |
| 1441 |
'unit' => array( |
| 1442 |
'Desktop' => 'px', |
| 1443 |
'Tablet' => 'px', |
| 1444 |
'Mobile' => 'px', |
| 1445 |
), |
| 1446 |
), |
| 1447 |
), |
| 1448 |
'cALatterSpacing' => array( |
| 1449 |
'type' => 'object', |
| 1450 |
'default' => array( |
| 1451 |
'device' => array( |
| 1452 |
'Desktop' => 0, |
| 1453 |
'Tablet' => '', |
| 1454 |
'Mobile' => '', |
| 1455 |
), |
| 1456 |
'unit' => array( |
| 1457 |
'Desktop' => 'px', |
| 1458 |
'Tablet' => 'px', |
| 1459 |
'Mobile' => 'px', |
| 1460 |
), |
| 1461 |
), |
| 1462 |
), |
| 1463 |
'cAWordSpacing' => array( |
| 1464 |
'type' => 'object', |
| 1465 |
'default' => array( |
| 1466 |
'device' => array( |
| 1467 |
'Desktop' => 0, |
| 1468 |
'Tablet' => '', |
| 1469 |
'Mobile' => '', |
| 1470 |
), |
| 1471 |
'unit' => array( |
| 1472 |
'Desktop' => 'px', |
| 1473 |
'Tablet' => 'px', |
| 1474 |
'Mobile' => 'px', |
| 1475 |
), |
| 1476 |
), |
| 1477 |
), |
| 1478 |
'ratingValuePosition' => array( |
| 1479 |
'type' => 'string', |
| 1480 |
'default' => 'right', |
| 1481 |
), |
| 1482 |
'linkingType' => array( |
| 1483 |
'type' => 'string', |
| 1484 |
'default' => 'text', |
| 1485 |
), |
| 1486 |
'cAIconPosition' => array( |
| 1487 |
'type' => 'string', |
| 1488 |
'default' => 'afterText', |
| 1489 |
), |
| 1490 |
'infoBoxBgImage' => array( |
| 1491 |
'type' => 'object', |
| 1492 |
), |
| 1493 |
'infoBoxHoverBgImage' => array( |
| 1494 |
'type' => 'object', |
| 1495 |
), |
| 1496 |
'imageScale' => array( |
| 1497 |
'type' => 'string', |
| 1498 |
'default' => 'cover', |
| 1499 |
), |
| 1500 |
'imageHoverScale' => array( |
| 1501 |
'type' => 'string', |
| 1502 |
'default' => 'cover', |
| 1503 |
), |
| 1504 |
'iconSourceLibrary' => array( |
| 1505 |
'type' => 'string', |
| 1506 |
'default' => 'x', |
| 1507 |
), |
| 1508 |
'ratingIconSourceLibrary' => array( |
| 1509 |
'type' => 'string', |
| 1510 |
'default' => 'star', |
| 1511 |
), |
| 1512 |
'cAIconSourceLibrary' => array( |
| 1513 |
'type' => 'string', |
| 1514 |
'default' => 'long-arrow-alt-right', |
| 1515 |
), |
| 1516 |
'iconSourceCustom' => array( |
| 1517 |
'type' => 'object', |
| 1518 |
), |
| 1519 |
|
| 1520 |
'cAIconSourceCustom' => array( |
| 1521 |
'type' => 'object', |
| 1522 |
), |
| 1523 |
'currentIcon' => array( |
| 1524 |
'type' => 'object', |
| 1525 |
), |
| 1526 |
'currentCAIcon' => array( |
| 1527 |
'type' => 'object', |
| 1528 |
), |
| 1529 |
'currentRatingIconSourceLibrary' => array( |
| 1530 |
'type' => 'object', |
| 1531 |
), |
| 1532 |
); |
| 1533 |
|