initial
This commit is contained in:
@@ -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' => 'e96847e0a6d510c5a009');
|
||||
@@ -0,0 +1 @@
|
||||
@media(min-width:480px){.jetpack-business-hours :is(dd,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 r={82805(){},79366(r,e,t){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(t.p=window.Jetpack_Block_Assets_Base_Url)}},e={};function t(o){var a=e[o];if(void 0!==a)return a.exports;var s=e[o]={exports:{}};return r[o](s,s.exports,t),s.exports}t.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return t.d(e,{a:e}),e},t.d=(r,e)=>{for(var o in e)t.o(e,o)&&!t.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},t.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r;globalThis.importScripts&&(r=globalThis.location+"");var e=globalThis.document;if(!r&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(r=e.currentScript.src),!r)){var o=e.getElementsByTagName("script");if(o.length)for(var a=o.length-1;a>-1&&(!r||!/^http(s?):/.test(r));)r=o[a--].src}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=r+"../"})(),(()=>{"use strict";t(79366)})(),(()=>{"use strict";t(82805)})()})();
|
||||
@@ -0,0 +1 @@
|
||||
@media(min-width:480px){.jetpack-business-hours :is(dd,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}
|
||||
Reference in New Issue
Block a user