summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/table
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/table')
-rw-r--r--wp-includes/blocks/table/block.json211
-rw-r--r--wp-includes/blocks/table/editor-rtl.css57
-rw-r--r--wp-includes/blocks/table/editor-rtl.min.css1
-rw-r--r--wp-includes/blocks/table/editor.css57
-rw-r--r--wp-includes/blocks/table/editor.min.css1
-rw-r--r--wp-includes/blocks/table/style-rtl.css95
-rw-r--r--wp-includes/blocks/table/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/table/style.css95
-rw-r--r--wp-includes/blocks/table/style.min.css1
-rw-r--r--wp-includes/blocks/table/theme-rtl.css14
-rw-r--r--wp-includes/blocks/table/theme-rtl.min.css1
-rw-r--r--wp-includes/blocks/table/theme.css14
-rw-r--r--wp-includes/blocks/table/theme.min.css1
13 files changed, 549 insertions, 0 deletions
diff --git a/wp-includes/blocks/table/block.json b/wp-includes/blocks/table/block.json
new file mode 100644
index 0000000..d1139d6
--- /dev/null
+++ b/wp-includes/blocks/table/block.json
@@ -0,0 +1,211 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/table",
+ "title": "Table",
+ "category": "text",
+ "description": "Create structured content in rows and columns to display information.",
+ "textdomain": "default",
+ "attributes": {
+ "hasFixedLayout": {
+ "type": "boolean",
+ "default": false
+ },
+ "caption": {
+ "type": "string",
+ "source": "html",
+ "selector": "figcaption",
+ "default": ""
+ },
+ "head": {
+ "type": "array",
+ "default": [],
+ "source": "query",
+ "selector": "thead tr",
+ "query": {
+ "cells": {
+ "type": "array",
+ "default": [],
+ "source": "query",
+ "selector": "td,th",
+ "query": {
+ "content": {
+ "type": "string",
+ "source": "html"
+ },
+ "tag": {
+ "type": "string",
+ "default": "td",
+ "source": "tag"
+ },
+ "scope": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "scope"
+ },
+ "align": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "data-align"
+ },
+ "colspan": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "colspan"
+ },
+ "rowspan": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "rowspan"
+ }
+ }
+ }
+ }
+ },
+ "body": {
+ "type": "array",
+ "default": [],
+ "source": "query",
+ "selector": "tbody tr",
+ "query": {
+ "cells": {
+ "type": "array",
+ "default": [],
+ "source": "query",
+ "selector": "td,th",
+ "query": {
+ "content": {
+ "type": "string",
+ "source": "html"
+ },
+ "tag": {
+ "type": "string",
+ "default": "td",
+ "source": "tag"
+ },
+ "scope": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "scope"
+ },
+ "align": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "data-align"
+ },
+ "colspan": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "colspan"
+ },
+ "rowspan": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "rowspan"
+ }
+ }
+ }
+ }
+ },
+ "foot": {
+ "type": "array",
+ "default": [],
+ "source": "query",
+ "selector": "tfoot tr",
+ "query": {
+ "cells": {
+ "type": "array",
+ "default": [],
+ "source": "query",
+ "selector": "td,th",
+ "query": {
+ "content": {
+ "type": "string",
+ "source": "html"
+ },
+ "tag": {
+ "type": "string",
+ "default": "td",
+ "source": "tag"
+ },
+ "scope": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "scope"
+ },
+ "align": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "data-align"
+ },
+ "colspan": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "colspan"
+ },
+ "rowspan": {
+ "type": "string",
+ "source": "attribute",
+ "attribute": "rowspan"
+ }
+ }
+ }
+ }
+ }
+ },
+ "supports": {
+ "anchor": true,
+ "align": true,
+ "color": {
+ "__experimentalSkipSerialization": true,
+ "gradients": true,
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true
+ }
+ },
+ "spacing": {
+ "margin": true,
+ "padding": true,
+ "__experimentalDefaultControls": {
+ "margin": false,
+ "padding": false
+ }
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontStyle": true,
+ "__experimentalFontWeight": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalTextTransform": true,
+ "__experimentalTextDecoration": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true
+ }
+ },
+ "__experimentalBorder": {
+ "__experimentalSkipSerialization": true,
+ "color": true,
+ "style": true,
+ "width": true,
+ "__experimentalDefaultControls": {
+ "color": true,
+ "style": true,
+ "width": true
+ }
+ },
+ "__experimentalSelector": ".wp-block-table > table"
+ },
+ "styles": [
+ {
+ "name": "regular",
+ "label": "Default",
+ "isDefault": true
+ },
+ { "name": "stripes", "label": "Stripes" }
+ ],
+ "editorStyle": "wp-block-table-editor",
+ "style": "wp-block-table"
+}
diff --git a/wp-includes/blocks/table/editor-rtl.css b/wp-includes/blocks/table/editor-rtl.css
new file mode 100644
index 0000000..6be0c40
--- /dev/null
+++ b/wp-includes/blocks/table/editor-rtl.css
@@ -0,0 +1,57 @@
+.wp-block-table{
+ margin:0;
+}
+.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{
+ height:auto;
+}
+.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{
+ width:auto;
+}
+.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{
+ word-break:break-word;
+}
+.wp-block[data-align=center]>.wp-block-table{
+ text-align:initial;
+}
+.wp-block[data-align=center]>.wp-block-table table{
+ margin:0 auto;
+}
+.wp-block-table td,.wp-block-table th{
+ border:1px solid;
+ padding:.5em;
+}
+.wp-block-table td.is-selected,.wp-block-table th.is-selected{
+ border-color:var(--wp-admin-theme-color);
+ border-style:double;
+ box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);
+}
+.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{
+ border:1px solid;
+}
+
+.blocks-table__placeholder-form.blocks-table__placeholder-form{
+ align-items:flex-start;
+ display:flex;
+ flex-direction:column;
+}
+.blocks-table__placeholder-form.blocks-table__placeholder-form>*{
+ margin-bottom:8px;
+}
+@media (min-width:782px){
+ .blocks-table__placeholder-form.blocks-table__placeholder-form{
+ align-items:flex-end;
+ flex-direction:row;
+ }
+ .blocks-table__placeholder-form.blocks-table__placeholder-form>*{
+ margin-bottom:0;
+ }
+}
+
+.blocks-table__placeholder-input{
+ margin-bottom:0;
+ margin-left:8px;
+ width:112px;
+}
+.blocks-table__placeholder-input input{
+ height:36px;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/table/editor-rtl.min.css b/wp-includes/blocks/table/editor-rtl.min.css
new file mode 100644
index 0000000..09fac9c
--- /dev/null
+++ b/wp-includes/blocks/table/editor-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);border-style:double;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-start;display:flex;flex-direction:column}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-end;flex-direction:row}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{margin-bottom:0;margin-left:8px;width:112px}.blocks-table__placeholder-input input{height:36px} \ No newline at end of file
diff --git a/wp-includes/blocks/table/editor.css b/wp-includes/blocks/table/editor.css
new file mode 100644
index 0000000..0cdedbc
--- /dev/null
+++ b/wp-includes/blocks/table/editor.css
@@ -0,0 +1,57 @@
+.wp-block-table{
+ margin:0;
+}
+.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{
+ height:auto;
+}
+.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{
+ width:auto;
+}
+.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{
+ word-break:break-word;
+}
+.wp-block[data-align=center]>.wp-block-table{
+ text-align:initial;
+}
+.wp-block[data-align=center]>.wp-block-table table{
+ margin:0 auto;
+}
+.wp-block-table td,.wp-block-table th{
+ border:1px solid;
+ padding:.5em;
+}
+.wp-block-table td.is-selected,.wp-block-table th.is-selected{
+ border-color:var(--wp-admin-theme-color);
+ border-style:double;
+ box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);
+}
+.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{
+ border:1px solid;
+}
+
+.blocks-table__placeholder-form.blocks-table__placeholder-form{
+ align-items:flex-start;
+ display:flex;
+ flex-direction:column;
+}
+.blocks-table__placeholder-form.blocks-table__placeholder-form>*{
+ margin-bottom:8px;
+}
+@media (min-width:782px){
+ .blocks-table__placeholder-form.blocks-table__placeholder-form{
+ align-items:flex-end;
+ flex-direction:row;
+ }
+ .blocks-table__placeholder-form.blocks-table__placeholder-form>*{
+ margin-bottom:0;
+ }
+}
+
+.blocks-table__placeholder-input{
+ margin-bottom:0;
+ margin-right:8px;
+ width:112px;
+}
+.blocks-table__placeholder-input input{
+ height:36px;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/table/editor.min.css b/wp-includes/blocks/table/editor.min.css
new file mode 100644
index 0000000..25f31c9
--- /dev/null
+++ b/wp-includes/blocks/table/editor.min.css
@@ -0,0 +1 @@
+.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);border-style:double;box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-start;display:flex;flex-direction:column}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{align-items:flex-end;flex-direction:row}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{margin-bottom:0;margin-right:8px;width:112px}.blocks-table__placeholder-input input{height:36px} \ No newline at end of file
diff --git a/wp-includes/blocks/table/style-rtl.css b/wp-includes/blocks/table/style-rtl.css
new file mode 100644
index 0000000..2adaeaa
--- /dev/null
+++ b/wp-includes/blocks/table/style-rtl.css
@@ -0,0 +1,95 @@
+.wp-block-table{
+ overflow-x:auto;
+}
+.wp-block-table table{
+ border-collapse:collapse;
+ width:100%;
+}
+.wp-block-table thead{
+ border-bottom:3px solid;
+}
+.wp-block-table tfoot{
+ border-top:3px solid;
+}
+.wp-block-table td,.wp-block-table th{
+ border:1px solid;
+ padding:.5em;
+}
+.wp-block-table .has-fixed-layout{
+ table-layout:fixed;
+ width:100%;
+}
+.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{
+ word-break:break-word;
+}
+.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{
+ display:table;
+ width:auto;
+}
+.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{
+ word-break:break-word;
+}
+.wp-block-table .has-subtle-light-gray-background-color{
+ background-color:#f3f4f5;
+}
+.wp-block-table .has-subtle-pale-green-background-color{
+ background-color:#e9fbe5;
+}
+.wp-block-table .has-subtle-pale-blue-background-color{
+ background-color:#e7f5fe;
+}
+.wp-block-table .has-subtle-pale-pink-background-color{
+ background-color:#fcf0ef;
+}
+.wp-block-table.is-style-stripes{
+ background-color:transparent;
+ border-bottom:1px solid #f0f0f0;
+ border-collapse:inherit;
+ border-spacing:0;
+}
+.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
+ background-color:#f0f0f0;
+}
+.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){
+ background-color:#f3f4f5;
+}
+.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){
+ background-color:#e9fbe5;
+}
+.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){
+ background-color:#e7f5fe;
+}
+.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){
+ background-color:#fcf0ef;
+}
+.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{
+ border-color:transparent;
+}
+.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{
+ border-color:inherit;
+}
+.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{
+ border-top-color:inherit;
+}
+.wp-block-table table[style*=border-top-color] tr:not(:first-child){
+ border-top-color:currentColor;
+}
+.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{
+ border-left-color:inherit;
+}
+.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{
+ border-bottom-color:inherit;
+}
+.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){
+ border-bottom-color:currentColor;
+}
+.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{
+ border-right-color:inherit;
+}
+.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{
+ border-style:inherit;
+}
+.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{
+ border-style:inherit;
+ border-width:inherit;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/table/style-rtl.min.css b/wp-includes/blocks/table/style-rtl.min.css
new file mode 100644
index 0000000..079ed40
--- /dev/null
+++ b/wp-includes/blocks/table/style-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:transparent;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{border-color:inherit}.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:currentColor}.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{border-left-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:currentColor}.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{border-right-color:inherit}.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{border-style:inherit}.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{border-style:inherit;border-width:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/table/style.css b/wp-includes/blocks/table/style.css
new file mode 100644
index 0000000..ce4281a
--- /dev/null
+++ b/wp-includes/blocks/table/style.css
@@ -0,0 +1,95 @@
+.wp-block-table{
+ overflow-x:auto;
+}
+.wp-block-table table{
+ border-collapse:collapse;
+ width:100%;
+}
+.wp-block-table thead{
+ border-bottom:3px solid;
+}
+.wp-block-table tfoot{
+ border-top:3px solid;
+}
+.wp-block-table td,.wp-block-table th{
+ border:1px solid;
+ padding:.5em;
+}
+.wp-block-table .has-fixed-layout{
+ table-layout:fixed;
+ width:100%;
+}
+.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{
+ word-break:break-word;
+}
+.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{
+ display:table;
+ width:auto;
+}
+.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{
+ word-break:break-word;
+}
+.wp-block-table .has-subtle-light-gray-background-color{
+ background-color:#f3f4f5;
+}
+.wp-block-table .has-subtle-pale-green-background-color{
+ background-color:#e9fbe5;
+}
+.wp-block-table .has-subtle-pale-blue-background-color{
+ background-color:#e7f5fe;
+}
+.wp-block-table .has-subtle-pale-pink-background-color{
+ background-color:#fcf0ef;
+}
+.wp-block-table.is-style-stripes{
+ background-color:transparent;
+ border-bottom:1px solid #f0f0f0;
+ border-collapse:inherit;
+ border-spacing:0;
+}
+.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
+ background-color:#f0f0f0;
+}
+.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){
+ background-color:#f3f4f5;
+}
+.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){
+ background-color:#e9fbe5;
+}
+.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){
+ background-color:#e7f5fe;
+}
+.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){
+ background-color:#fcf0ef;
+}
+.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{
+ border-color:transparent;
+}
+.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{
+ border-color:inherit;
+}
+.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{
+ border-top-color:inherit;
+}
+.wp-block-table table[style*=border-top-color] tr:not(:first-child){
+ border-top-color:currentColor;
+}
+.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{
+ border-right-color:inherit;
+}
+.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{
+ border-bottom-color:inherit;
+}
+.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){
+ border-bottom-color:currentColor;
+}
+.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{
+ border-left-color:inherit;
+}
+.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{
+ border-style:inherit;
+}
+.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{
+ border-style:inherit;
+ border-width:inherit;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/table/style.min.css b/wp-includes/blocks/table/style.min.css
new file mode 100644
index 0000000..a4b917a
--- /dev/null
+++ b/wp-includes/blocks/table/style.min.css
@@ -0,0 +1 @@
+.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{background-color:transparent;border-bottom:1px solid #f0f0f0;border-collapse:inherit;border-spacing:0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{border-color:inherit}.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:currentColor}.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{border-right-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:currentColor}.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{border-left-color:inherit}.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{border-style:inherit}.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{border-style:inherit;border-width:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/table/theme-rtl.css b/wp-includes/blocks/table/theme-rtl.css
new file mode 100644
index 0000000..064ae1d
--- /dev/null
+++ b/wp-includes/blocks/table/theme-rtl.css
@@ -0,0 +1,14 @@
+.wp-block-table{
+ margin:0 0 1em;
+}
+.wp-block-table td,.wp-block-table th{
+ word-break:normal;
+}
+.wp-block-table figcaption{
+ color:#555;
+ font-size:13px;
+ text-align:center;
+}
+.is-dark-theme .wp-block-table figcaption{
+ color:hsla(0,0%,100%,.65);
+} \ No newline at end of file
diff --git a/wp-includes/blocks/table/theme-rtl.min.css b/wp-includes/blocks/table/theme-rtl.min.css
new file mode 100644
index 0000000..b781003
--- /dev/null
+++ b/wp-includes/blocks/table/theme-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-table{margin:0 0 1em}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)} \ No newline at end of file
diff --git a/wp-includes/blocks/table/theme.css b/wp-includes/blocks/table/theme.css
new file mode 100644
index 0000000..064ae1d
--- /dev/null
+++ b/wp-includes/blocks/table/theme.css
@@ -0,0 +1,14 @@
+.wp-block-table{
+ margin:0 0 1em;
+}
+.wp-block-table td,.wp-block-table th{
+ word-break:normal;
+}
+.wp-block-table figcaption{
+ color:#555;
+ font-size:13px;
+ text-align:center;
+}
+.is-dark-theme .wp-block-table figcaption{
+ color:hsla(0,0%,100%,.65);
+} \ No newline at end of file
diff --git a/wp-includes/blocks/table/theme.min.css b/wp-includes/blocks/table/theme.min.css
new file mode 100644
index 0000000..b781003
--- /dev/null
+++ b/wp-includes/blocks/table/theme.min.css
@@ -0,0 +1 @@
+.wp-block-table{margin:0 0 1em}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)} \ No newline at end of file