This commit is contained in:
emmymayo
2025-02-05 23:15:46 +01:00
commit 7269c99357
16995 changed files with 3389680 additions and 0 deletions
@@ -0,0 +1,155 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "jetpack/business-hours",
"title": "Business Hours",
"description": "Display opening hours for your business.",
"keywords": [
"opening hours",
"closing time",
"schedule",
"working day"
],
"version": "12.5.0",
"textdomain": "jetpack",
"category": "grow",
"icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/></svg>",
"supports": {
"html": true,
"color": {
"gradients": true
},
"spacing": {
"margin": true,
"padding": true
},
"typography": {
"fontSize": true,
"lineHeight": true
},
"align": [
"wide",
"full"
]
},
"attributes": {
"days": {
"type": "array",
"default": [
{
"name": "Sun",
"hours": []
},
{
"name": "Mon",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Tue",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Wed",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Thu",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Fri",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Sat",
"hours": []
}
]
}
},
"example": {
"attributes": {
"days": [
{
"name": "Sun",
"hours": []
},
{
"name": "Mon",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Tue",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Wed",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Thu",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Fri",
"hours": [
{
"opening": "09:00",
"closing": "17:00"
}
]
},
{
"name": "Sat",
"hours": []
}
]
}
},
"editorScript": "jetpack-blocks-editor"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '015c90376027208061a7');
@@ -0,0 +1 @@
@media(min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-inline-end:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media(min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}
@@ -0,0 +1 @@
(()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})();
@@ -0,0 +1 @@
@media(min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-inline-end:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media(min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}