| @@ -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": { |
| @@ -322,8 +377,18 @@ | ||
| 322 | 377 | }, |
| 323 | 378 | "alignmentMobile": { |
| 324 | 379 | "type": "string" |
| 325 | 380 | }, |
| 381 | + "commonVerticalAlignDesktop": { | |
| 382 | + "type": "string", | |
| 383 | + "default": "center" | |
| 384 | + }, | |
| 385 | + "commonVerticalAlignTablet": { | |
| 386 | + "type": "string" | |
| 387 | + }, | |
| 388 | + "commonVerticalAlignMobile": { | |
| 389 | + "type": "string" | |
| 390 | + }, | |
| 326 | 391 | "cellTypography": { |
| 327 | 392 | "type": "object" |
| 328 | 393 | }, |
| 329 | 394 | "cellAlignmentDesktop": { |
| @@ -346,8 +411,29 @@ | ||
| 346 | 411 | }, |
| 347 | 412 | "cellAlignmentWideScreen": { |
| 348 | 413 | "type": "string" |
| 349 | 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 | + }, | |
| 350 | 436 | "headerAlignmentDesktop": { |
| 351 | 437 | "type": "string" |
| 352 | 438 | }, |
| 353 | 439 | "headerAlignmentTablet": { |
| @@ -409,8 +495,17 @@ | ||
| 409 | 495 | }, |
| 410 | 496 | "captionMarginWideScreen": { |
| 411 | 497 | "type": "object" |
| 412 | 498 | }, |
| 499 | + "captionPaddingDesktop": { | |
| 500 | + "type": "object" | |
| 501 | + }, | |
| 502 | + "captionPaddingTablet": { | |
| 503 | + "type": "object" | |
| 504 | + }, | |
| 505 | + "captionPaddingMobile": { | |
| 506 | + "type": "object" | |
| 507 | + }, | |
| 413 | 508 | "captionBorderRadiusDesktop": { |
| 414 | 509 | "type": "object" |
| 415 | 510 | }, |
| 416 | 511 | "captionBorderRadiusTablet": { |
| @@ -451,8 +546,26 @@ | ||
| 451 | 546 | }, |
| 452 | 547 | "enableSorting": { |
| 453 | 548 | "type": "boolean", |
| 454 | 549 | "default": true |
| 550 | + }, | |
| 551 | + "mergeTableCell": { | |
| 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" | |
| 455 | 568 | } |
| 456 | 569 | }, |
| 457 | 570 | "providesContext": { |
| 458 | 571 | "tablebuilder/table-rowCount": "rowCount", |
| @@ -471,8 +584,11 @@ | ||
| 471 | 584 | }, |
| 472 | 585 | "textdomain": "table-builder-block", |
| 473 | 586 | "editorScript": [ |
| 474 | 587 | "file:./index.js" |
| 588 | + ], | |
| 589 | + "editorStyle": [ | |
| 590 | + "file:./index.css" | |
| 475 | 591 | ], |
| 476 | 592 | "style": [ |
| 477 | 593 | "file:./style-index.css" |
| 478 | 594 | ], |