This commit is contained in:
2026-07-02 15:54:39 -06:00
commit 9883323161
17470 changed files with 4470592 additions and 0 deletions
@@ -0,0 +1,56 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "jetpack/rating-star",
"title": "Star Rating",
"description": "Rate movies, books, songs, recipes — anything you can put a number on.",
"keywords": [
"star",
"rating",
"review"
],
"version": "12.5.0",
"textdomain": "jetpack",
"category": "widgets",
"icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z'/></svg>",
"supports": {
"html": false
},
"styles": [
{
"name": "filled",
"label": "Filled",
"isDefault": true
},
{
"name": "outlined",
"label": "Outlined"
}
],
"attributes": {
"rating": {
"type": "number",
"default": 1
},
"maxRating": {
"type": "number",
"default": 5
},
"color": {
"type": "string"
},
"ratingStyle": {
"type": "string",
"default": "star"
},
"className": {
"type": "string"
},
"align": {
"type": "string",
"default": "left"
}
},
"example": {},
"editorScript": "jetpack-blocks-editor"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'b6b6b3c9fbe17a2e2d4d');
@@ -0,0 +1 @@
.wp-block-jetpack-rating-star{line-height:0;margin-bottom:1.5em;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{border-radius:2px;display:inline-flex;margin-inline-end:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid #0000}.wp-block-jetpack-rating-star>p{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;overflow-wrap:normal!important;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-inline-end:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{display:inline-flex;flex-shrink:0;overflow:hidden;width:12px}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:#0000}
@@ -0,0 +1 @@
(()=>{var r={73163(){},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(73163)})()})();
@@ -0,0 +1 @@
.wp-block-jetpack-rating-star{line-height:0;margin-bottom:1.5em;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{border-radius:2px;display:inline-flex;margin-inline-end:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid #0000}.wp-block-jetpack-rating-star>p{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;overflow-wrap:normal!important;padding:0;position:absolute;width:1px}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-inline-end:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{display:inline-flex;flex-shrink:0;overflow:hidden;width:12px}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:#0000}