summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/calendar
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-includes/blocks/calendar
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/calendar')
-rw-r--r--wp-includes/blocks/calendar/block.json43
-rw-r--r--wp-includes/blocks/calendar/style-rtl.css33
-rw-r--r--wp-includes/blocks/calendar/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/calendar/style.css33
-rw-r--r--wp-includes/blocks/calendar/style.min.css1
5 files changed, 111 insertions, 0 deletions
diff --git a/wp-includes/blocks/calendar/block.json b/wp-includes/blocks/calendar/block.json
new file mode 100644
index 0000000..974d47f
--- /dev/null
+++ b/wp-includes/blocks/calendar/block.json
@@ -0,0 +1,43 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/calendar",
+ "title": "Calendar",
+ "category": "widgets",
+ "description": "A calendar of your site’s posts.",
+ "keywords": [ "posts", "archive" ],
+ "textdomain": "default",
+ "attributes": {
+ "month": {
+ "type": "integer"
+ },
+ "year": {
+ "type": "integer"
+ }
+ },
+ "supports": {
+ "align": true,
+ "color": {
+ "link": true,
+ "__experimentalSkipSerialization": [ "text", "background" ],
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true
+ },
+ "__experimentalSelector": "table, th"
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontWeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalTextTransform": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true
+ }
+ }
+ },
+ "style": "wp-block-calendar"
+}
diff --git a/wp-includes/blocks/calendar/style-rtl.css b/wp-includes/blocks/calendar/style-rtl.css
new file mode 100644
index 0000000..1f43997
--- /dev/null
+++ b/wp-includes/blocks/calendar/style-rtl.css
@@ -0,0 +1,33 @@
+.wp-block-calendar{
+ text-align:center;
+}
+.wp-block-calendar td,.wp-block-calendar th{
+ border:1px solid;
+ padding:.25em;
+}
+.wp-block-calendar th{
+ font-weight:400;
+}
+.wp-block-calendar caption{
+ background-color:inherit;
+}
+.wp-block-calendar table{
+ border-collapse:collapse;
+ width:100%;
+}
+.wp-block-calendar table:where(:not(.has-text-color)){
+ color:#40464d;
+}
+.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{
+ border-color:#ddd;
+}
+.wp-block-calendar table.has-background th{
+ background-color:inherit;
+}
+.wp-block-calendar table.has-text-color th{
+ color:inherit;
+}
+
+:where(.wp-block-calendar table:not(.has-background) th){
+ background:#ddd;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/calendar/style-rtl.min.css b/wp-includes/blocks/calendar/style-rtl.min.css
new file mode 100644
index 0000000..d41b153
--- /dev/null
+++ b/wp-includes/blocks/calendar/style-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table:where(:not(.has-text-color)){color:#40464d}.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{border-color:#ddd}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd} \ No newline at end of file
diff --git a/wp-includes/blocks/calendar/style.css b/wp-includes/blocks/calendar/style.css
new file mode 100644
index 0000000..1f43997
--- /dev/null
+++ b/wp-includes/blocks/calendar/style.css
@@ -0,0 +1,33 @@
+.wp-block-calendar{
+ text-align:center;
+}
+.wp-block-calendar td,.wp-block-calendar th{
+ border:1px solid;
+ padding:.25em;
+}
+.wp-block-calendar th{
+ font-weight:400;
+}
+.wp-block-calendar caption{
+ background-color:inherit;
+}
+.wp-block-calendar table{
+ border-collapse:collapse;
+ width:100%;
+}
+.wp-block-calendar table:where(:not(.has-text-color)){
+ color:#40464d;
+}
+.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{
+ border-color:#ddd;
+}
+.wp-block-calendar table.has-background th{
+ background-color:inherit;
+}
+.wp-block-calendar table.has-text-color th{
+ color:inherit;
+}
+
+:where(.wp-block-calendar table:not(.has-background) th){
+ background:#ddd;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/calendar/style.min.css b/wp-includes/blocks/calendar/style.min.css
new file mode 100644
index 0000000..d41b153
--- /dev/null
+++ b/wp-includes/blocks/calendar/style.min.css
@@ -0,0 +1 @@
+.wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table:where(:not(.has-text-color)){color:#40464d}.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{border-color:#ddd}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd} \ No newline at end of file