| @@ -43,11 +43,19 @@ | ||
| 43 | 43 | "hasFixedLayout": { |
| 44 | 44 | "type": "boolean", |
| 45 | 45 | "default": true |
| 46 | 46 | }, |
| 47 | + "responsiveBreakpoint": { | |
| 48 | + "type": "number", | |
| 49 | + "default": 768 | |
| 50 | + }, | |
| 47 | 51 | "caption": { |
| 48 | 52 | "type": "string" |
| 49 | 53 | }, |
| 54 | + "captionPosition": { | |
| 55 | + "type": "string", | |
| 56 | + "default": "bottom" | |
| 57 | + }, | |
| 50 | 58 | "rowCount": { |
| 51 | 59 | "type": "number", |
| 52 | 60 | "default": 2 |
| 53 | 61 | }, |
| @@ -108,15 +116,31 @@ | ||
| 108 | 116 | "headers": { |
| 109 | 117 | "type": "array", |
| 110 | 118 | "default": [ |
| 111 | 119 | { |
| 112 | - "title": "Header" | |
| 120 | + "title": "Header 1" | |
| 113 | 121 | }, |
| 114 | 122 | { |
| 115 | - "title": "Header" | |
| 123 | + "title": "Header 2" | |
| 116 | 124 | } |
| 117 | 125 | ] |
| 118 | 126 | }, |
| 127 | + "columnWidths": { | |
| 128 | + "type": "array", | |
| 129 | + "default": [] | |
| 130 | + }, | |
| 131 | + "rowHeights": { | |
| 132 | + "type": "array", | |
| 133 | + "default": [] | |
| 134 | + }, | |
| 135 | + "headerHeight": { | |
| 136 | + "type": "number", | |
| 137 | + "default": 0 | |
| 138 | + }, | |
| 139 | + "resizerEnabled": { | |
| 140 | + "type": "boolean", | |
| 141 | + "default": true | |
| 142 | + }, | |
| 119 | 143 | "isEmpty": { |
| 120 | 144 | "type": "boolean", |
| 121 | 145 | "default": true |
| 122 | 146 | }, |
| @@ -143,16 +167,20 @@ | ||
| 143 | 167 | "showExportButton": { |
| 144 | 168 | "type": "boolean", |
| 145 | 169 | "default": true |
| 146 | 170 | }, |
| 171 | + "showCaption": { | |
| 172 | + "type": "boolean", | |
| 173 | + "default": true | |
| 174 | + }, | |
| 147 | 175 | "footers": { |
| 148 | 176 | "type": "array", |
| 149 | 177 | "default": [ |
| 150 | 178 | { |
| 151 | - "title": "Footer" | |
| 179 | + "title": "Footer 1" | |
| 152 | 180 | }, |
| 153 | 181 | { |
| 154 | - "title": "Footer" | |
| 182 | + "title": "Footer 2" | |
| 155 | 183 | } |
| 156 | 184 | ] |
| 157 | 185 | }, |
| 158 | 186 | "paddingDesktop": { |
| @@ -184,8 +212,14 @@ | ||
| 184 | 212 | }, |
| 185 | 213 | "background": { |
| 186 | 214 | "type": "object" |
| 187 | 215 | }, |
| 216 | + "hoverBackground": { | |
| 217 | + "type": "object" | |
| 218 | + }, | |
| 219 | + "hoverColor": { | |
| 220 | + "type": "string" | |
| 221 | + }, | |
| 188 | 222 | "border": { |
| 189 | 223 | "type": "object", |
| 190 | 224 | "default": { |
| 191 | 225 | "width": "1px", |
| @@ -192,8 +226,29 @@ | ||
| 192 | 226 | "style": "solid", |
| 193 | 227 | "color": "#000" |
| 194 | 228 | } |
| 195 | 229 | }, |
| 230 | + "borderRadiusDesktop": { | |
| 231 | + "type": "object" | |
| 232 | + }, | |
| 233 | + "borderRadiusTablet": { | |
| 234 | + "type": "object" | |
| 235 | + }, | |
| 236 | + "borderRadiusMobile": { | |
| 237 | + "type": "object" | |
| 238 | + }, | |
| 239 | + "borderRadiusTabletLandscape": { | |
| 240 | + "type": "object" | |
| 241 | + }, | |
| 242 | + "borderRadiusMobileLandscape": { | |
| 243 | + "type": "object" | |
| 244 | + }, | |
| 245 | + "borderRadiusLaptop": { | |
| 246 | + "type": "object" | |
| 247 | + }, | |
| 248 | + "borderRadiusWideScreen": { | |
| 249 | + "type": "object" | |
| 250 | + }, | |
| 196 | 251 | "backgroundHover": { |
| 197 | 252 | "type": "object" |
| 198 | 253 | }, |
| 199 | 254 | "borderHoverColor": { |
| @@ -208,13 +263,9 @@ | ||
| 208 | 263 | "headerColor": { |
| 209 | 264 | "type": "string" |
| 210 | 265 | }, |
| 211 | 266 | "headerBackground": { |
| 212 | - "type": "object", | |
| 213 | - "default": { | |
| 214 | - "backgroundType": "classic", | |
| 215 | - "backgroundColor": "base,#FFFFFF" | |
| 216 | - } | |
| 267 | + "type": "object" | |
| 217 | 268 | }, |
| 218 | 269 | "headerBorder": { |
| 219 | 270 | "type": "object" |
| 220 | 271 | }, |
| @@ -269,13 +320,9 @@ | ||
| 269 | 320 | "footerColor": { |
| 270 | 321 | "type": "string" |
| 271 | 322 | }, |
| 272 | 323 | "footerBackground": { |
| 273 | - "type": "object", | |
| 274 | - "default": { | |
| 275 | - "backgroundType": "classic", | |
| 276 | - "backgroundColor": "base,#FFFFFF" | |
| 277 | - } | |
| 324 | + "type": "object" | |
| 278 | 325 | }, |
| 279 | 326 | "footerBorder": { |
| 280 | 327 | "type": "object" |
| 281 | 328 | }, |
| @@ -330,8 +377,18 @@ | ||
| 330 | 377 | }, |
| 331 | 378 | "alignmentMobile": { |
| 332 | 379 | "type": "string" |
| 333 | 380 | }, |
| 381 | + "commonVerticalAlignDesktop": { | |
| 382 | + "type": "string", | |
| 383 | + "default": "center" | |
| 384 | + }, | |
| 385 | + "commonVerticalAlignTablet": { | |
| 386 | + "type": "string" | |
| 387 | + }, | |
| 388 | + "commonVerticalAlignMobile": { | |
| 389 | + "type": "string" | |
| 390 | + }, | |
| 334 | 391 | "cellTypography": { |
| 335 | 392 | "type": "object" |
| 336 | 393 | }, |
| 337 | 394 | "cellAlignmentDesktop": { |
| @@ -354,8 +411,29 @@ | ||
| 354 | 411 | }, |
| 355 | 412 | "cellAlignmentWideScreen": { |
| 356 | 413 | "type": "string" |
| 357 | 414 | }, |
| 415 | + "cellBorder": { | |
| 416 | + "type": "object" | |
| 417 | + }, | |
| 418 | + "cellBorderRadiusDesktop": { | |
| 419 | + "type": "object" | |
| 420 | + }, | |
| 421 | + "cellBorderRadiusTablet": { | |
| 422 | + "type": "object" | |
| 423 | + }, | |
| 424 | + "cellBorderRadiusMobile": { | |
| 425 | + "type": "object" | |
| 426 | + }, | |
| 427 | + "cellPaddingDesktop": { | |
| 428 | + "type": "object" | |
| 429 | + }, | |
| 430 | + "cellPaddingTablet": { | |
| 431 | + "type": "object" | |
| 432 | + }, | |
| 433 | + "cellPaddingMobile": { | |
| 434 | + "type": "object" | |
| 435 | + }, | |
| 358 | 436 | "headerAlignmentDesktop": { |
| 359 | 437 | "type": "string" |
| 360 | 438 | }, |
| 361 | 439 | "headerAlignmentTablet": { |
| @@ -417,8 +495,17 @@ | ||
| 417 | 495 | }, |
| 418 | 496 | "captionMarginWideScreen": { |
| 419 | 497 | "type": "object" |
| 420 | 498 | }, |
| 499 | + "captionPaddingDesktop": { | |
| 500 | + "type": "object" | |
| 501 | + }, | |
| 502 | + "captionPaddingTablet": { | |
| 503 | + "type": "object" | |
| 504 | + }, | |
| 505 | + "captionPaddingMobile": { | |
| 506 | + "type": "object" | |
| 507 | + }, | |
| 421 | 508 | "captionBorderRadiusDesktop": { |
| 422 | 509 | "type": "object" |
| 423 | 510 | }, |
| 424 | 511 | "captionBorderRadiusTablet": { |
| @@ -462,8 +549,23 @@ | ||
| 462 | 549 | "default": true |
| 463 | 550 | }, |
| 464 | 551 | "mergeTableCell": { |
| 465 | 552 | "type": "object" |
| 553 | + }, | |
| 554 | + "evenCellColor": { | |
| 555 | + "type": "string" | |
| 556 | + }, | |
| 557 | + "evenCellBgColor": { | |
| 558 | + "type": "object" | |
| 559 | + }, | |
| 560 | + "oddCellColor": { | |
| 561 | + "type": "string" | |
| 562 | + }, | |
| 563 | + "oddCellBgColor": { | |
| 564 | + "type": "object" | |
| 565 | + }, | |
| 566 | + "shortId": { | |
| 567 | + "type": "string" | |
| 466 | 568 | } |
| 467 | 569 | }, |
| 468 | 570 | "providesContext": { |
| 469 | 571 | "tablebuilder/table-rowCount": "rowCount", |
| @@ -482,8 +584,11 @@ | ||
| 482 | 584 | }, |
| 483 | 585 | "textdomain": "table-builder-block", |
| 484 | 586 | "editorScript": [ |
| 485 | 587 | "file:./index.js" |
| 588 | + ], | |
| 589 | + "editorStyle": [ | |
| 590 | + "file:./index.css" | |
| 486 | 591 | ], |
| 487 | 592 | "style": [ |
| 488 | 593 | "file:./style-index.css" |
| 489 | 594 | ], |