<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[13754] sites/trunk/wordpress.org/public_html/wp-content: Learn: Sync with git WordPress/learn@9535e1c</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/13754">13754</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/13754","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>adamwood</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-05-29 02:01:38 +0000 (Wed, 29 May 2024)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Learn: Sync with git WordPress/learn@9535e1c</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildblockstylesassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildblockstylesjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessonplanactionsassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessonplanactionsjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincblocksphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/blocks.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincpostmetaphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincsenseiphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/sensei.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjsblockstylesindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/block-styles/index.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnwebpackconfigjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/webpack.config.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnwporglearnphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildlearningpathwaycardsblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildlearningpathwaycardsstyleindexrtlcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index-rtl.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildlearningpathwaycardsstyleindexcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildstylestyleindexrtlcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index-rtl.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildstylestyleindexcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024functionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024partsfooterhtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/parts/footer.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfrontpagecontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwaycardsblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwaycardsblockphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwaycardsstylescss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/style.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_senseiscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstylestylescss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/style.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024stylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatesfrontpagehtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/front-page.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024themejson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/theme.json</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursegridassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursegridjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursestatusassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursestatusjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuilddurationmetaassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuilddurationmetajs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlearningdurationassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlearningdurationjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessoncountassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessoncountjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincutilsphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/utils.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-grid/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursegridindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-grid/index.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursestatusblockjson">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/block.json</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/src/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursestatussrcindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/src/index.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/duration-meta/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjsdurationmetaindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/duration-meta/index.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslearningdurationblockjson">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/block.json</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/src/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslearningdurationsrcindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/src/index.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslessoncountblockjson">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/block.json</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/src/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslessoncountsrcindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/src/index.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/shared/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjsshareddynamiceditjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/shared/dynamic-edit.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnviewsblockcoursestatusphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-course-status.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnviewsblocklearningdurationphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-learning-duration.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnviewsblocklessoncountphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-lesson-count.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024assetsiconlessonssvg">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/assets/icon-lessons.svg</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsindexassetphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsindexjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsstyleindexrtlcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index-rtl.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsstyleindexcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsviewassetphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsviewjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfootercontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/footer-content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_cardscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_card.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_coursegridscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_course-grid.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_tagscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_tag.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_wpcomponentsscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_wp-components.scss</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsblockphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsindexjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/index.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsstylescss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/style.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsviewjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/view.js</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_componentsscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_components.scss</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildblockstylesassetphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.asset.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php return array('dependencies' => array('wp-blocks', 'wp-i18n'), 'version' => '660ce474d4730f1ecd10');
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('wp-blocks', 'wp-i18n'), 'version' => 'fa0f82927f10b6fe63b1');
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildblockstylesjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.js 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/block-styles.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-(()=>{"use strict";var r,e={930:()=>{const r=window.wp.blocks,e=window.wp.i18n;(0,r.registerBlockStyle)("core/button",{name:"primary",label:(0,e.__)("Primary","wporg-learn")}),(0,r.registerBlockStyle)("core/button",{name:"primary-full-width",label:(0,e.__)("Primary (Full-width)","wporg-learn")}),(0,r.registerBlockStyle)("core/button",{name:"secondary",label:(0,e.__)("Secondary","wporg-learn")}),(0,r.registerBlockStyle)("core/button",{name:"secondary-full-width",label:(0,e.__)("Secondary (Full-width)","wporg-learn")})}},l={};function o(r){var n=l[r];if(void 0!==n)return n.exports;var a=l[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.m=e,r=[],o.O=(e,l,n,a)=>{if(!l){var t=1/0;for(s=0;s<r.length;s++){for
(var[l,n,a]=r[s],i=!0,p=0;p<l.length;p++)(!1&a||t>=a)&&Object.keys(o.O).every((r=>o.O[r](l[p])))?l.splice(p--,1):(i=!1,a<t&&(t=a));if(i){r.splice(s--,1);var c=n();void 0!==c&&(e=c)}}return e}a=a||0;for(var s=r.length;s>0&&r[s-1][2]>a;s--)r[s]=r[s-1];r[s]=[l,n,a]},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={157:0,204:0};o.O.j=e=>0===r[e];var e=(e,l)=>{var n,a,[t,i,p]=l,c=0;if(t.some((e=>0!==r[e]))){for(n in i)o.o(i,n)&&(o.m[n]=i[n]);if(p)var s=p(o)}for(e&&e(l);c<t.length;c++)a=t[c],o.o(r,a)&&r[a]&&r[a][0](),r[a]=0;return o.O(s)},l=globalThis.webpackChunkwporg_learn_plugin=globalThis.webpackChunkwporg_learn_plugin||[];l.forEach(e.bind(null,0)),l.push=e.bind(null,l.push.bind(l))})();var n=o.O(void 0,[204],(()=>o(930)));n=o.O(n)})();
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";var r,e={930:()=>{const r=window.wp.blocks,e=window.wp.i18n;(0,r.registerBlockStyle)("core/button",{name:"primary",label:(0,e.__)("Primary","wporg-learn")}),(0,r.registerBlockStyle)("core/button",{name:"primary-full-width",label:(0,e.__)("Primary (Full-width)","wporg-learn")}),(0,r.registerBlockStyle)("core/button",{name:"secondary",label:(0,e.__)("Secondary","wporg-learn")}),(0,r.registerBlockStyle)("core/button",{name:"secondary-full-width",label:(0,e.__)("Secondary (Full-width)","wporg-learn")}),(0,r.registerBlockStyle)("core/post-terms",{name:"tag",label:(0,e.__)("Tag","wporg-learn")})}},l={};function o(r){var a=l[r];if(void 0!==a)return a.exports;var t
=l[r]={exports:{}};return e[r](t,t.exports,o),t.exports}o.m=e,r=[],o.O=(e,l,a,t)=>{if(!l){var n=1/0;for(s=0;s<r.length;s++){for(var[l,a,t]=r[s],i=!0,p=0;p<l.length;p++)(!1&t||n>=t)&&Object.keys(o.O).every((r=>o.O[r](l[p])))?l.splice(p--,1):(i=!1,t<n&&(n=t));if(i){r.splice(s--,1);var c=a();void 0!==c&&(e=c)}}return e}t=t||0;for(var s=r.length;s>0&&r[s-1][2]>t;s--)r[s]=r[s-1];r[s]=[l,a,t]},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={157:0,204:0};o.O.j=e=>0===r[e];var e=(e,l)=>{var a,t,[n,i,p]=l,c=0;if(n.some((e=>0!==r[e]))){for(a in i)o.o(i,a)&&(o.m[a]=i[a]);if(p)var s=p(o)}for(e&&e(l);c<n.length;c++)t=n[c],o.o(r,t)&&r[t]&&r[t][0](),r[t]=0;return o.O(s)},l=globalThis.webpackChunkwporg_learn_plugin=globalThis.webpackChunkwporg_learn_plugin||[];l.forEach(e.bind(null,0)),l.push=e.bind(null,l.push.bind(l))})();var a=o.O(void 0,[204],(()=>o(930)));a=o.O(a)}
)();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursegridassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-hooks', 'wp-i18n'), 'version' => 'f83836d3f4c55a5e283f');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.asset.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursegridjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-grid.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";const e=window.React,t=window.wp.blocks,r=window.wp.hooks,o=window.wp.blockEditor,a=window.wp.components,l=window.wp.i18n,n="wporg-learn/course-grid";(0,t.registerBlockVariation)("core/query",{name:n,title:(0,l.__)("Learn Course Grid","wporg-learn"),icon:{src:(0,e.createElement)("svg",{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg",size:"24"},(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 9.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5ZM6 11h3a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2Zm12-1.5h-3a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5ZM15 11h3a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-3a2 2 0 0 0-2 2v3a2 2
0 0 0 2 2ZM4 14.5h7V16H4v-1.5Zm16 0h-7V16h7v-1.5Zm-16 4h5V20H4v-1.5Zm14 0h-5V20h5v-1.5Z",fill:"#1E1E1E"}))},description:(0,l.__)("Displays a cards grid of courses.","wporg-learn"),attributes:{className:"wporg-learn-course-grid",namespace:n,query:{perPage:6,postType:"course",courseFeatured:!1},align:"wide"},isActive:({namespace:e,query:t})=>e===n&&"course"===t.postType,innerBlocks:[["core/post-template",{style:{spacing:{blockGap:"var:preset|spacing|50"}},layout:{type:"grid",columnCount:null,minimumColumnWidth:"330px"}},[["core/group",{style:{border:{width:"1px",color:"var:preset|color|light-grey-1",radius:"2px"},spacing:{blockGap:"0"},dimensions:{minHeight:"100%"}},backgroundColor:"white",layout:{type:"flex",orientation:"vertical"}},[["core/post-featured-image",
{style:{spacing:{margin:{bottom:"0"}}}}],["core/group",{style:{spacing:{padding:{top:"var:preset|spacing|20",bottom:"var:preset|spacing|20",left:"20px",right:"20px"}}},layout:{type:"constrained"}},[["core/post-title",{level:3,isLink:!0,style:{typography:{fontStyle:"normal",fontWeight:"600",lineHeight:1.6},spacing:{margin:{bottom:"0"}},elements:{link:{color:{text:"var:preset|color|blueberry-1"}}}},fontSize:"normal",fontFamily:"inter"}],["core/post-excerpt",{showMoreOnNewLine:!1,excerptLength:16,style:{spacing:{margin:{top:"var:preset|spacing|10"}},typography:{lineHeight:1.6}}}],["core/group",{layout:{type:"flex",flexWrap:"wrap",justifyContent:"left"}},[["wporg-learn/learning-duration",{style:{elements:{link:{color:{text:"var:preset|color|charcoal-4"}}}},textColor:&quo
t;charcoal-4",fontSize:"small"}],["wporg-learn/lesson-count",{style:{layout:{selfStretch:"fill",flexSize:null}},fontSize:"extra-small"}],["wporg-learn/course-status",{fontSize:"extra-small"}]]]]]]]]],["core/query-no-results"]]});const i=({props:{attributes:{query:t},setAttributes:r}})=>(0,e.createElement)(a.PanelBody,{title:(0,l.__)("Featured","wporg-learn")},(0,e.createElement)(a.CheckboxControl,{label:(0,l.__)("Featured only","wporg-learn"),checked:t.courseFeatured||!1,onChange:e=>{r({query:{...t,courseFeatured:e}})}}));(0,r.addFilter)("editor.BlockEdit","core/query",(t=>r=>(({attributes:{namespace:e}})=>e&&e===n)(r)?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(t,{...r}),(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(i,{props:r}))):(0,e.createElement)(t,{...r})))})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursestatusassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-server-side-render'), 'version' => 'e71f99a15cb996c3c943');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.asset.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursestatusjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-status.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},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]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,r=window.React,o=window.wp.blockEditor,n=window.wp.serverSideRender;var s=e.n(n);const c=JSON.parse('{"UU":"wporg-learn/course-status"}');(0,t.registerBlockType)(c.UU,{edit:function({name:e,attributes:t,context:n}){const c=(0,o.useBlockProps)(),{postId:a}=n;return(0,r.createElement)("div",{...c},(0,r.createElement)(s(),{block:e,attributes:t,skipBlockSupportAttributes:!0,urlQueryArgs:{post_id:a}}))}})})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuilddurationmetaassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-components', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'a5eb0e06af29730df0b7');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.asset.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuilddurationmetajs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/duration-meta.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";const e=window.React,t=window.wp.components,n=window.wp.data,o=window.wp.editPost,r=window.wp.element,i=window.wp.i18n;(0,window.wp.plugins.registerPlugin)("wporg-learn-duration-meta",{render:()=>{const a=(0,n.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta")||{})),{editPost:w}=(0,n.useDispatch)("core/editor"),[l,d]=(0,r.useState)(a?._duration);return(0,e.createElement)(o.PluginDocumentSettingPanel,{title:(0,i.__)("Time to complete","wporg-learn")},(0,e.createElement)(t.PanelRow,null,(0,e.createElement)(t.TextControl,{label:(0,i.__)("Duration in hours","wporg-learn"),value:l||"",type:"number",onChange:e=>{d(e),w({meta:{...a,_duration:parseFloat(e)}})}})))}})})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlearningdurationassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-server-side-render'), 'version' => '300f289af8abc7926686');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.asset.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlearningdurationjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/learning-duration.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},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]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,r=window.React,o=window.wp.blockEditor,n=window.wp.serverSideRender;var i=e.n(n);const s=JSON.parse('{"UU":"wporg-learn/learning-duration"}');(0,t.registerBlockType)(s.UU,{edit:function({name:e,attributes:t,context:n}){const s=(0,o.useBlockProps)(),{postId:a}=n;return(0,r.createElement)("div",{...s},(0,r.createElement)(i(),{block:e,attributes:t,skipBlockSupportAttributes:!0,urlQueryArgs:{post_id:a}}))}})})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessoncountassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-server-side-render'), 'version' => '6c5839f04441c70be7b7');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.asset.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessoncountjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-count.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},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]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,r=window.React,o=window.wp.blockEditor,n=window.wp.serverSideRender;var s=e.n(n);const c=JSON.parse('{"UU":"wporg-learn/lesson-count"}');(0,t.registerBlockType)(c.UU,{edit:function({name:e,attributes:t,context:n}){const c=(0,o.useBlockProps)(),{postId:i}=n;return(0,r.createElement)("div",{...c},(0,r.createElement)(s(),{block:e,attributes:t,skipBlockSupportAttributes:!0,urlQueryArgs:{post_id:i}}))}})})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessonplanactionsassetphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.asset.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php return array('dependencies' => array('react', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => 'a284802cf213839bb1be');
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '78e1e79d9cfd099bb310');
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessonplanactionsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.js 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-plan-actions.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-(()=>{"use strict";var e,r={289:()=>{const e=window.wp.blocks,r=window.wp.i18n,o=window.React,n=window.wp.components,t=window.wp.data,l={BLOCK_SIDEBAR_TYPE_INCOMPATIBLE:(0,r.__)("Error: This block is not compatible with this sidebar.","wporg-learn"),BLOCK_POST_TYPE_INCOMPATIBLE:(0,r.__)("Error: This block is not compatible with this post type.","wporg-learn")},s=JSON.parse('{"L1":"widgets","Kk":"button","xY":{"html":false}}');(0,e.registerBlockType)("wporg-learn/lesson-plan-actions",{title:(0,r.__)("Lesson Plan Actions","wporg-learn"),description:(0,r.__)("Show actions for the Lesson Plan, depending on post media.","wporg-learn"),category:s.L1,icon:s.Kk,supports:s.xY,edit:function({clientId:e}){const s=((e,r,o,n)=>{if(nul
l===r){if(!o)return l.BLOCK_SIDEBAR_TYPE_INCOMPATIBLE}else if("lesson-plan"!==r)return l.BLOCK_POST_TYPE_INCOMPATIBLE;return n})(0,(0,t.useSelect)((e=>{const{getCurrentPostType:r}=e("core/editor");return r()})),((e,r)=>(0,t.useSelect)((r=>{const{getBlockAttributes:o,getBlockName:n,getBlockParents:t}=r("core/block-editor");return t(e).some((e=>{if("core/widget-area"!==n(e))return!1;const{id:r}=o(e);return"wporg-learn-lesson-plans"===r}))})))(e),(0,r.__)("This will be dynamically populated based on media attached to the Lesson Plan.","wporg-learn"));return(0,o.createElement)(n.Placeholder,{label:(0,r.__)("Lesson Plan Actions","wporg-learn")},(0,o.createElement)("p",null,s))},save:()=>null})}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var l=o[e]={exports:{}};return r[e](l,l.exports,n),l.exports}n.m=r,e=[],n.O=(r,o,t,l)=>{if(!o){var s=1/0;for(c=0;c<
e.length;c++){for(var[o,t,l]=e[c],i=!0,a=0;a<o.length;a++)(!1&l||s>=l)&&Object.keys(n.O).every((e=>n.O[e](o[a])))?o.splice(a--,1):(i=!1,l<s&&(s=l));if(i){e.splice(c--,1);var p=t();void 0!==p&&(r=p)}}return r}l=l||0;for(var c=e.length;c>0&&e[c-1][2]>l;c--)e[c]=e[c-1];e[c]=[o,t,l]},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={983:0,84:0};n.O.j=r=>0===e[r];var r=(r,o)=>{var t,l,[s,i,a]=o,p=0;if(s.some((r=>0!==e[r]))){for(t in i)n.o(i,t)&&(n.m[t]=i[t]);if(a)var c=a(n)}for(r&&r(o);p<s.length;p++)l=s[p],n.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return n.O(c)},o=globalThis.webpackChunkwporg_learn_plugin=globalThis.webpackChunkwporg_learn_plugin||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var t=n.O(void 0,[84],(()=>n(289)));t=n.O(t)})();
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";var e,r={289:()=>{const e=window.wp.blocks,r=window.wp.i18n,o=window.React,n=window.wp.components,t=window.wp.data,l={BLOCK_SIDEBAR_TYPE_INCOMPATIBLE:(0,r.__)("Error: This block is not compatible with this sidebar.","wporg-learn"),BLOCK_POST_TYPE_INCOMPATIBLE:(0,r.__)("Error: This block is not compatible with this post type.","wporg-learn")},s=JSON.parse('{"L1":"widgets","Kk":"button","xY":{"html":false}}');(0,e.registerBlockType)("wporg-learn/lesson-plan-actions",{title:(0,r.__)("Lesson Plan Actions","wporg-learn"),description:(0,r.__)("Show actions for the Lesson Plan, depending on post media.","wporg-learn"),category:s.L1,icon:s.Kk,supports:s.xY,edit:function({clientId:e}){const s=((e,r,o,n)=>{if(nul
l===r){if(!o)return l.BLOCK_SIDEBAR_TYPE_INCOMPATIBLE}else if("lesson-plan"!==r)return l.BLOCK_POST_TYPE_INCOMPATIBLE;return n})(0,(0,t.useSelect)((e=>{const{getCurrentPostType:r}=e("core/editor");return r()})),((e,r)=>(0,t.useSelect)((r=>{const{getBlockAttributes:o,getBlockName:n,getBlockParents:t}=r("core/block-editor");return t(e).some((e=>{if("core/widget-area"!==n(e))return!1;const{id:r}=o(e);return"wporg-learn-lesson-plans"===r}))})))(e),(0,r.__)("This will be dynamically populated based on media attached to the Lesson Plan.","wporg-learn"));return(0,o.createElement)(n.Placeholder,{label:(0,r.__)("Lesson Plan Actions","wporg-learn")},(0,o.createElement)("p",null,s))},save:()=>null})}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var l=o[e]={exports:{}};return r[e](l,l.exports,n),l.exports}n.m=r,e=[],n.O=(r,o,t,l)=>{if(!o){var s=1/0;for(c=0;c<
e.length;c++){for(var[o,t,l]=e[c],i=!0,a=0;a<o.length;a++)(!1&l||s>=l)&&Object.keys(n.O).every((e=>n.O[e](o[a])))?o.splice(a--,1):(i=!1,l<s&&(s=l));if(i){e.splice(c--,1);var p=t();void 0!==p&&(r=p)}}return r}l=l||0;for(var c=e.length;c>0&&e[c-1][2]>l;c--)e[c]=e[c-1];e[c]=[o,t,l]},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={364:0,84:0};n.O.j=r=>0===e[r];var r=(r,o)=>{var t,l,[s,i,a]=o,p=0;if(s.some((r=>0!==e[r]))){for(t in i)n.o(i,t)&&(n.m[t]=i[t]);if(a)var c=a(n)}for(r&&r(o);p<s.length;p++)l=s[p],n.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return n.O(c)},o=globalThis.webpackChunkwporg_learn_plugin=globalThis.webpackChunkwporg_learn_plugin||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var t=n.O(void 0,[84],(()=>n(289)));t=n.O(t)})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincblocksphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/blocks.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/blocks.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/blocks.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,7 +7,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> use Sensei_Utils;
</span><span class="cx" style="display: block; padding: 0 10px"> use Sensei_Reports_Overview_Service_Courses;
</span><span class="cx" style="display: block; padding: 0 10px"> use function WordPressdotorg\Locales\get_locale_name_from_code;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-use function WPOrg_Learn\{get_build_path, get_build_url, get_views_path};
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+use function WPOrg_Learn\{get_build_path, get_build_url, get_js_path, get_views_path};
</ins><span class="cx" style="display: block; padding: 0 10px"> use function WPOrg_Learn\Form\render_workshop_application_form;
</span><span class="cx" style="display: block; padding: 0 10px"> use function WPOrg_Learn\Post_Meta\get_workshop_duration;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,10 +14,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> defined( 'WPINC' ) || die();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Views.
+ */
+require_once get_views_path() . 'block-course-status.php';
+require_once get_views_path() . 'block-learning-duration.php';
+require_once get_views_path() . 'block-lesson-count.php';
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px"> * Actions and filters.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'init', __NAMESPACE__ . '\register_types' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'enqueue_block_editor_assets', __NAMESPACE__ . '\enqueue_block_style_assets' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_action( 'enqueue_block_editor_assets', __NAMESPACE__ . '\enqueue_course_grid_assets' );
</ins><span class="cx" style="display: block; padding: 0 10px"> add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_block_style_assets' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,9 +34,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return void
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function register_types() {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_course_data();
+ register_course_status();
+ register_learning_duration();
+ register_lesson_count();
</ins><span class="cx" style="display: block; padding: 0 10px"> register_lesson_plan_actions();
</span><span class="cx" style="display: block; padding: 0 10px"> register_lesson_plan_details();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- register_course_data();
</del><span class="cx" style="display: block; padding: 0 10px"> register_workshop_details();
</span><span class="cx" style="display: block; padding: 0 10px"> register_workshop_application_form();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -437,3 +448,69 @@
</span><span class="cx" style="display: block; padding: 0 10px"> filemtime( get_build_path() . 'style-block-styles.css' )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Enqueue course grid assets.
+ *
+ * @throws Error If the build files are not found.
+ */
+function enqueue_course_grid_assets() {
+ $script_asset_path = get_build_path() . 'course-grid.asset.php';
+ if ( ! is_readable( $script_asset_path ) ) {
+ throw new Error(
+ 'You need to run `npm start` or `npm run build` for the "wporg-learn/course-grid" block first.'
+ );
+ }
+
+ $script_asset = require $script_asset_path;
+ wp_enqueue_script(
+ 'wporg-learn-course-grid',
+ get_build_url() . 'course-grid.js',
+ $script_asset['dependencies'],
+ $script_asset['version'],
+ true
+ );
+}
+
+/**
+ * Register the learning duration block.
+ */
+function register_learning_duration() {
+ register_block_type(
+ get_js_path() . 'learning-duration/',
+ array(
+ 'render_callback' => function( $attributes, $content, $block ) {
+ return \WPOrg_Learn\View\Blocks\Learning_Duration\render( $attributes, $content, $block );
+ },
+ )
+ );
+}
+
+/**
+ * Register the lesson count block.
+ */
+function register_lesson_count() {
+ register_block_type(
+ get_js_path() . 'lesson-count/',
+ array(
+ 'render_callback' => function( $attributes, $content, $block ) {
+ return \WPOrg_Learn\View\Blocks\Lesson_Count\render( $attributes, $content, $block );
+ },
+ )
+ );
+}
+
+/**
+ * Register the course status block.
+ */
+function register_course_status() {
+ register_block_type(
+ get_js_path() . 'course-status/',
+ array(
+ 'render_callback' => function( $attributes, $content, $block ) {
+ return \WPOrg_Learn\View\Blocks\Course_Status\render( $attributes, $content, $block );
+ },
+ )
+ );
+}
+
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincpostmetaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -184,6 +184,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ // Duration field.
+ $post_types = array( 'course', 'lesson' );
+ foreach ( $post_types as $post_type ) {
+ register_post_meta(
+ $post_type,
+ '_duration',
+ array(
+ 'description' => __( 'The time required to complete the Course or Lesson.', 'wporg_learn' ),
+ 'type' => 'number',
+ 'single' => true,
+ 'default' => 0,
+ 'sanitize_callback' => function( $value ) {
+ return floatval( $value );
+ },
+ 'show_in_rest' => true,
+ 'auth_callback' => function() {
+ return current_user_can( 'edit_courses' ) || current_user_can( 'edit_lessons' );
+ },
+ )
+ );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -583,6 +605,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function enqueue_editor_assets() {
</span><span class="cx" style="display: block; padding: 0 10px"> enqueue_expiration_date_assets();
</span><span class="cx" style="display: block; padding: 0 10px"> enqueue_language_meta_assets();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ enqueue_duration_meta_assets();
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -637,3 +660,29 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_set_script_translations( 'wporg-learn-language-meta', 'wporg-learn' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Enqueue scripts for the duration meta block.
+ */
+function enqueue_duration_meta_assets() {
+ global $typenow;
+
+ $post_types_with_duration = array( 'course', 'lesson' );
+ if ( in_array( $typenow, $post_types_with_duration, true ) ) {
+ $script_asset_path = get_build_path() . 'duration-meta.asset.php';
+ if ( ! file_exists( $script_asset_path ) ) {
+ wp_die( 'You need to run `yarn start` or `yarn build` to build the required assets.' );
+ }
+
+ $script_asset = require( $script_asset_path );
+ wp_enqueue_script(
+ 'wporg-learn-duration-meta',
+ get_build_url() . 'duration-meta.js',
+ $script_asset['dependencies'],
+ $script_asset['version'],
+ true
+ );
+
+ wp_set_script_translations( 'wporg-learn-duration-meta', 'wporg-learn' );
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincsenseiphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/sensei.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/sensei.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/sensei.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'sensei_before_main_content', __NAMESPACE__ . '\theme_wrapper_start' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'sensei_after_main_content', __NAMESPACE__ . '\theme_wrapper_end' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'init', __NAMESPACE__ . '\wporg_correct_sensei_slugs' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_filter( 'pre_render_block', __NAMESPACE__ . '\modify_course_query', 10, 2 );
+add_filter( 'rest_course_query', __NAMESPACE__ . '\modify_course_rest_query', 10, 2 );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Slugs in Sensei are translatable, which won't work for our site and the language switcher.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -258,3 +260,58 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return get_permalink( $page_id );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Modify the course query to add the featured course meta query if set.
+ *
+ * @param mixed $pre_render The pre-render value.
+ * @param mixed $parsed_block The parsed block value.
+ * @return mixed The modified course query.
+ */
+function modify_course_query( $pre_render, $parsed_block ) {
+ if ( isset( $parsed_block['attrs']['namespace'] ) && 'wporg-learn/course-grid' === $parsed_block['attrs']['namespace']
+ ) {
+ add_filter(
+ 'query_loop_block_query_vars',
+ function( $query, $block ) use ( $parsed_block ) {
+ if ( 'course' !== $query['post_type'] || ! isset( $parsed_block['attrs']['query']['courseFeatured'] ) ) {
+ return $query;
+ }
+
+ $course_featured = $parsed_block['attrs']['query']['courseFeatured'];
+
+ if ( true === $course_featured ) {
+ $query['meta_key'] = '_course_featured';
+ $query['meta_value'] = 'featured';
+ }
+
+ return $query;
+ },
+ 10,
+ 2
+ );
+ }
+
+ return $pre_render;
+}
+
+/**
+ * Modify the course REST query to add the featured course meta query if set.
+ *
+ * @param array $args The query arguments.
+ * @param WP_REST_Request $request The REST request object.
+ * @return array The modified query arguments.
+ */
+function modify_course_rest_query( $args, $request ) {
+ $course_featured = $request->get_param( 'courseFeatured' );
+
+ if ( 'true' === $course_featured ) {
+ $args['meta_query'][] = array(
+ 'key' => '_course_featured',
+ 'value' => 'featured',
+ 'compare' => '=',
+ );
+ }
+
+ return $args;
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincutilsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/utils.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/utils.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/utils.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,23 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+namespace WPOrg_Learn\Utils;
+
+/**
+ * Ensures that the given value is a float.
+ *
+ * @param mixed $value The value to ensure as a float.
+ * @return float|string The float value if conversion is successful, otherwise an empty string.
+ */
+function ensure_float( $value ) {
+ // Check if the value is already a float
+ if ( is_float( $value ) ) {
+ return $value;
+ }
+
+ // Check if the value is numeric and can be converted to a float
+ if ( is_numeric( $value ) ) {
+ return floatval( $value );
+ }
+
+ return '';
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/utils.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjsblockstylesindexjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/block-styles/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/block-styles/index.js 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/block-styles/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,3 +22,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> name: 'secondary-full-width',
</span><span class="cx" style="display: block; padding: 0 10px"> label: __( 'Secondary (Full-width)', 'wporg-learn' ),
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+registerBlockStyle( 'core/post-terms', {
+ name: 'tag',
+ label: __( 'Tag', 'wporg-learn' ),
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursegridindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-grid/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-grid/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-grid/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,177 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+import { registerBlockVariation } from '@wordpress/blocks';
+import { addFilter } from '@wordpress/hooks';
+import { InspectorControls } from '@wordpress/block-editor';
+import { CheckboxControl, PanelBody } from '@wordpress/components';
+import { __ } from '@wordpress/i18n';
+
+const VARIATION_NAME = 'wporg-learn/course-grid';
+
+registerBlockVariation( 'core/query', {
+ name: VARIATION_NAME,
+ title: __( 'Learn Course Grid', 'wporg-learn' ),
+ icon: {
+ src: (
+ <svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg" size="24">
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M9 9.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5ZM6 11h3a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2Zm12-1.5h-3a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5ZM15 11h3a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-3a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2ZM4 14.5h7V16H4v-1.5Zm16 0h-7V16h7v-1.5Zm-16 4h5V20H4v-1.5Zm14 0h-5V20h5v-1.5Z"
+ fill="#1E1E1E"
+ ></path>
+ </svg>
+ ),
+ },
+ description: __( 'Displays a cards grid of courses.', 'wporg-learn' ),
+ attributes: {
+ className: 'wporg-learn-course-grid',
+ namespace: VARIATION_NAME,
+ query: {
+ perPage: 6,
+ postType: 'course',
+ courseFeatured: false,
+ },
+ align: 'wide',
+ },
+ isActive: ( { namespace, query } ) => namespace === VARIATION_NAME && query.postType === 'course',
+ innerBlocks: [
+ [
+ 'core/post-template',
+ {
+ style: { spacing: { blockGap: 'var:preset|spacing|50' } },
+ layout: { type: 'grid', columnCount: null, minimumColumnWidth: '330px' },
+ },
+ [
+ [
+ 'core/group',
+ {
+ style: {
+ border: { width: '1px', color: 'var:preset|color|light-grey-1', radius: '2px' },
+ spacing: { blockGap: '0' },
+ dimensions: { minHeight: '100%' },
+ },
+ backgroundColor: 'white',
+ layout: { type: 'flex', orientation: 'vertical' },
+ },
+ [
+ [ 'core/post-featured-image', { style: { spacing: { margin: { bottom: '0' } } } } ],
+ [
+ 'core/group',
+ {
+ style: {
+ spacing: {
+ padding: {
+ top: 'var:preset|spacing|20',
+ bottom: 'var:preset|spacing|20',
+ left: '20px',
+ right: '20px',
+ },
+ },
+ },
+ layout: { type: 'constrained' },
+ },
+ [
+ [
+ 'core/post-title',
+ {
+ level: 3,
+ isLink: true,
+ style: {
+ typography: {
+ fontStyle: 'normal',
+ fontWeight: '600',
+ lineHeight: 1.6,
+ },
+ spacing: { margin: { bottom: '0' } },
+ elements: {
+ link: { color: { text: 'var:preset|color|blueberry-1' } },
+ },
+ },
+ fontSize: 'normal',
+ fontFamily: 'inter',
+ },
+ ],
+ [
+ 'core/post-excerpt',
+ {
+ showMoreOnNewLine: false,
+ excerptLength: 16,
+ style: {
+ spacing: { margin: { top: 'var:preset|spacing|10' } },
+ typography: { lineHeight: 1.6 },
+ },
+ },
+ ],
+ [
+ 'core/group',
+ { layout: { type: 'flex', flexWrap: 'wrap', justifyContent: 'left' } },
+ [
+ [
+ 'wporg-learn/learning-duration',
+ {
+ style: {
+ elements: {
+ link: { color: { text: 'var:preset|color|charcoal-4' } },
+ },
+ },
+ textColor: 'charcoal-4',
+ fontSize: 'small',
+ },
+ ],
+ [
+ 'wporg-learn/lesson-count',
+ {
+ style: { layout: { selfStretch: 'fill', flexSize: null } },
+ fontSize: 'extra-small',
+ },
+ ],
+ [ 'wporg-learn/course-status', { fontSize: 'extra-small' } ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ [ 'core/query-no-results' ],
+ ],
+} );
+
+const isCourseGridVariation = ( { attributes: { namespace } } ) => namespace && namespace === VARIATION_NAME;
+
+const CourseGridControls = ( {
+ props: {
+ attributes: { query },
+ setAttributes,
+ },
+} ) => (
+ <PanelBody title={ __( 'Featured', 'wporg-learn' ) }>
+ <CheckboxControl
+ label={ __( 'Featured only', 'wporg-learn' ) }
+ checked={ query.courseFeatured || false }
+ onChange={ ( checked ) => {
+ setAttributes( {
+ query: {
+ ...query,
+ courseFeatured: checked,
+ },
+ } );
+ } }
+ />
+ </PanelBody>
+);
+
+export const withCourseGridControls = ( BlockEdit ) => ( props ) => {
+ return isCourseGridVariation( props ) ? (
+ <>
+ <BlockEdit { ...props } />
+ <InspectorControls>
+ <CourseGridControls props={ props } />
+ </InspectorControls>
+ </>
+ ) : (
+ <BlockEdit { ...props } />
+ );
+};
+
+addFilter( 'editor.BlockEdit', 'core/query', withCourseGridControls );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursestatusblockjson"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/block.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/block.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,21 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg-learn/course-status",
+ "version": "0.1.0",
+ "title": "Course Status",
+ "category": "widgets",
+ "icon": "saved",
+ "description": "Displays the completion status for a course.",
+ "usesContext": [ "postType", "postId" ],
+ "attributes": {},
+ "supports": {
+ "html": false,
+ "typography": {
+ "lineHeight": true,
+ "fontSize": true
+ }
+ },
+ "textdomain": "wporg-learn",
+ "editorScript": "file:../../build/course-status.js"
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursestatussrcindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/src/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/src/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-status/src/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { registerBlockType } from '@wordpress/blocks';
+
+/**
+ * Internal dependencies
+ */
+import Edit from '../../shared/dynamic-edit';
+import metadata from '../block.json';
+
+registerBlockType( metadata.name, {
+ /**
+ * @see ./edit.js
+ */
+ edit: Edit,
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjsdurationmetaindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/duration-meta/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/duration-meta/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/duration-meta/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,41 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { PanelRow, TextControl } from '@wordpress/components';
+import { useDispatch, useSelect } from '@wordpress/data';
+import { PluginDocumentSettingPanel } from '@wordpress/edit-post';
+import { useState } from '@wordpress/element';
+import { __ } from '@wordpress/i18n';
+import { registerPlugin } from '@wordpress/plugins';
+
+const DurationMeta = () => {
+ const postMetaData = useSelect( ( select ) => select( 'core/editor' ).getEditedPostAttribute( 'meta' ) || {} );
+ const { editPost } = useDispatch( 'core/editor' );
+ const [ duration, setDuration ] = useState( postMetaData?._duration );
+
+ return (
+ <PluginDocumentSettingPanel title={ __( 'Time to complete', 'wporg-learn' ) }>
+ <PanelRow>
+ <TextControl
+ label={ __( 'Duration in hours', 'wporg-learn' ) }
+ value={ duration || '' }
+ type={ 'number' }
+ onChange={ ( newDuration ) => {
+ setDuration( newDuration );
+
+ editPost( {
+ meta: {
+ ...postMetaData,
+ _duration: parseFloat( newDuration ),
+ },
+ } );
+ } }
+ />
+ </PanelRow>
+ </PluginDocumentSettingPanel>
+ );
+};
+
+registerPlugin( 'wporg-learn-duration-meta', {
+ render: DurationMeta,
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslearningdurationblockjson"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/block.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/block.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,24 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg-learn/learning-duration",
+ "version": "0.1.0",
+ "title": "Learning Duration",
+ "category": "widgets",
+ "icon": "clock",
+ "description": "Displays the duration of a learning resource.",
+ "usesContext": [ "postType", "postId" ],
+ "attributes": {},
+ "supports": {
+ "html": false,
+ "typography": {
+ "lineHeight": true,
+ "fontSize": true
+ },
+ "color": {
+ "text": true
+ }
+ },
+ "textdomain": "wporg-learn",
+ "editorScript": "file:../../build/learning-duration.js"
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslearningdurationsrcindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/src/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/src/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/learning-duration/src/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { registerBlockType } from '@wordpress/blocks';
+
+/**
+ * Internal dependencies
+ */
+import Edit from '../../shared/dynamic-edit';
+import metadata from '../block.json';
+
+registerBlockType( metadata.name, {
+ /**
+ * @see ./edit.js
+ */
+ edit: Edit,
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslessoncountblockjson"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/block.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/block.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,24 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg-learn/lesson-count",
+ "version": "0.1.0",
+ "title": "Lesson Count",
+ "category": "widgets",
+ "icon": "editor-ul",
+ "description": "Displays the number of a lessons in a course.",
+ "usesContext": [ "postType", "postId" ],
+ "attributes": {},
+ "supports": {
+ "html": false,
+ "typography": {
+ "lineHeight": true,
+ "fontSize": true
+ },
+ "color": {
+ "text": true
+ }
+ },
+ "textdomain": "wporg-learn",
+ "editorScript": "file:../../build/lesson-count.js"
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslessoncountsrcindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/src/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/src/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-count/src/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { registerBlockType } from '@wordpress/blocks';
+
+/**
+ * Internal dependencies
+ */
+import Edit from '../../shared/dynamic-edit';
+import metadata from '../block.json';
+
+registerBlockType( metadata.name, {
+ /**
+ * @see ./edit.js
+ */
+ edit: Edit,
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjsshareddynamiceditjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/shared/dynamic-edit.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/shared/dynamic-edit.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/shared/dynamic-edit.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,20 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { useBlockProps } from '@wordpress/block-editor';
+import ServerSideRender from '@wordpress/server-side-render';
+
+export default function Edit( { name, attributes, context } ) {
+ const blockProps = useBlockProps();
+ const { postId } = context;
+ return (
+ <div { ...blockProps }>
+ <ServerSideRender
+ block={ name }
+ attributes={ attributes }
+ skipBlockSupportAttributes
+ urlQueryArgs={ { post_id: postId } }
+ />
+ </div>
+ );
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnviewsblockcoursestatusphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-course-status.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-course-status.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-course-status.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,47 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+namespace WPOrg_Learn\View\Blocks\Course_Status;
+
+use Sensei_Utils;
+
+defined( 'WPINC' ) || die();
+
+/**
+ * Render the block output.
+ *
+ * @param array $attributes The block attributes.
+ * @param string $content The block content.
+ * @param WP_Block $block The block object.
+ * @return string The rendered output.
+ */
+function render( $attributes, $content, $block ) {
+ $post_type = $block->context['postType'];
+
+ if ( 'course' !== $post_type || ! class_exists( 'Sensei_Main' ) ) {
+ return '';
+ }
+
+ $course_id = $block->context['postId'];
+ $user_id = get_current_user_id();
+ $is_completed = Sensei_Utils::user_completed_course( $course_id, $user_id );
+
+ if ( $is_completed ) {
+ $content = __( 'Completed', 'wporg-learn' );
+ } elseif ( Sensei_Utils::user_started_course( $course_id, $user_id ) ) {
+ $content = __( 'In progress', 'wporg-learn' );
+ } else {
+ return '';
+ }
+
+ $wrapper_attributes = get_block_wrapper_attributes();
+
+ if ( $is_completed ) {
+ $wrapper_attributes = str_replace( 'class="', 'class="is-completed ', $wrapper_attributes );
+ }
+
+ return sprintf(
+ '<p %1$s>%2$s</p>',
+ $wrapper_attributes,
+ esc_html( $content )
+ );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-course-status.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnviewsblocklearningdurationphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-learning-duration.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-learning-duration.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-learning-duration.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,55 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+namespace WPOrg_Learn\View\Blocks\Learning_Duration;
+
+use function WPOrg_Learn\Utils\ensure_float;
+
+defined( 'WPINC' ) || die();
+
+
+/**
+ * Render the block output.
+ *
+ * @param array $attributes The block attributes.
+ * @param string $content The block content.
+ * @param WP_Block $block The block object.
+ * @return string The rendered output.
+ */
+function render( $attributes, $content, $block ) {
+ $post_type = $block->context['postType'];
+
+ if ( 'course' !== $post_type && 'lesson' !== $post_type ) {
+ return '';
+ }
+
+ $duration = ensure_float( get_post_meta( $block->context['postId'], '_duration', true ) );
+
+ if ( empty( $duration ) ) {
+ return '';
+ }
+
+ if ( 1 === $duration ) {
+ $content = __( '1 hour', 'wporg-learn' );
+ } elseif ( $duration > 1 ) {
+ $content = sprintf(
+ /* translators: %s: duration in hours */
+ __( '%s hours', 'wporg-learn' ),
+ $duration
+ );
+ } else {
+ // Display it in minutes.
+ $minutes = round( $duration * 60 );
+ $content = sprintf(
+ /* translators: %s: duration in minutes */
+ __( '%s minutes', 'wporg-learn' ),
+ $minutes
+ );
+ }
+
+ $wrapper_attributes = get_block_wrapper_attributes();
+ return sprintf(
+ '<p %1$s>%2$s</p>',
+ $wrapper_attributes,
+ esc_html( $content )
+ );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-learning-duration.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnviewsblocklessoncountphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-lesson-count.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-lesson-count.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-lesson-count.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,43 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+namespace WPOrg_Learn\View\Blocks\Lesson_Count;
+
+defined( 'WPINC' ) || die();
+
+
+/**
+ * Render the block output.
+ *
+ * @param array $attributes The block attributes.
+ * @param string $content The block content.
+ * @param WP_Block $block The block object.
+ * @return string The rendered output.
+ */
+function render( $attributes, $content, $block ) {
+ $post_type = $block->context['postType'];
+
+ if ( 'course' !== $post_type || ! class_exists( 'Sensei_Main' ) ) {
+ return '';
+ }
+
+ $lessons = Sensei()->course->course_lessons( $block->context['postId'] );
+
+ if ( empty( $lessons ) ) {
+ return '';
+ }
+
+ $lesson_count = count( $lessons );
+
+ $content = sprintf(
+ /* translators: %s: The number of lessons in the course. */
+ _n( '%s lesson', '%s lessons', $lesson_count, 'wporg-learn' ),
+ esc_html( $lesson_count )
+ );
+
+ $wrapper_attributes = get_block_wrapper_attributes();
+ return sprintf(
+ '<p %1$s>%2$s</p>',
+ $wrapper_attributes,
+ esc_html( $content )
+ );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/block-lesson-count.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnwebpackconfigjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/webpack.config.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/webpack.config.js 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/webpack.config.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,11 +5,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> config.entry = {
</span><span class="cx" style="display: block; padding: 0 10px"> 'block-styles': './js/block-styles/index.js',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'course-grid': './js/course-grid/index.js',
+ 'course-status': './js/course-status/src/index.js',
+ 'duration-meta': './js/duration-meta/index.js',
</ins><span class="cx" style="display: block; padding: 0 10px"> 'expiration-date': './js/expiration-date/index.js',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'lesson-count': './js/lesson-count/src/index.js',
</ins><span class="cx" style="display: block; padding: 0 10px"> 'workshop-application-form': './js/workshop-application-form/src/index.js',
</span><span class="cx" style="display: block; padding: 0 10px"> 'workshop-details': './js/workshop-details/src/index.js',
</span><span class="cx" style="display: block; padding: 0 10px"> event: './js/event.js',
</span><span class="cx" style="display: block; padding: 0 10px"> form: './js/form.js',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'learning-duration': './js/learning-duration/src/index.js',
</ins><span class="cx" style="display: block; padding: 0 10px"> 'locale-notice': './js/locale-notice.js',
</span><span class="cx" style="display: block; padding: 0 10px"> 'lesson-plan-actions': './js/lesson-plan-actions/src/index.js',
</span><span class="cx" style="display: block; padding: 0 10px"> 'lesson-plan-details': './js/lesson-plan-details/src/index.js',
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnwporglearnphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -50,6 +50,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Shortcut to the js directory.
+ *
+ * @return string
+ */
+function get_js_path() {
+ return PLUGIN_DIR . 'js/';
+}
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px"> * Shortcut to the views directory.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -78,6 +87,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'sensei.php';
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'taxonomy.php';
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'export.php';
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ require_once get_includes_path() . 'utils.php';
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024assetsiconlessonssvg"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/assets/icon-lessons.svg</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/assets/icon-lessons.svg (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/assets/icon-lessons.svg 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,12 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="lesson-plan">
+<g id="Shape">
+<path d="M8.85062 5.07081L7.6469 4.17578L5.56353 6.97769L4.44947 6.14687L3.55273 7.34931L5.87095 9.07813L8.85062 5.07081Z" fill="#656A71"/>
+<path d="M19.9999 7.99955H11.111V6.49955H19.9999V7.99955Z" fill="#656A71"/>
+<path d="M19.9999 12.9996H11.111V11.4996H19.9999V12.9996Z" fill="#656A71"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M5.99988 14.2496C7.10445 14.2496 7.99988 13.3541 7.99988 12.2496C7.99988 11.145 7.10445 10.2496 5.99988 10.2496C4.89531 10.2496 3.99988 11.145 3.99988 12.2496C3.99988 13.3541 4.89531 14.2496 5.99988 14.2496ZM5.99988 13.2496C6.55216 13.2496 6.99988 12.8018 6.99988 12.2496C6.99988 11.6973 6.55216 11.2496 5.99988 11.2496C5.44759 11.2496 4.99988 11.6973 4.99988 12.2496C4.99988 12.8018 5.44759 13.2496 5.99988 13.2496Z" fill="#656A71"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M7.99988 17.2496C7.99988 18.3541 7.10445 19.2496 5.99988 19.2496C4.89531 19.2496 3.99988 18.3541 3.99988 17.2496C3.99988 16.145 4.89531 15.2496 5.99988 15.2496C7.10445 15.2496 7.99988 16.145 7.99988 17.2496ZM6.99988 17.2496C6.99988 17.8018 6.55216 18.2496 5.99988 18.2496C5.44759 18.2496 4.99988 17.8018 4.99988 17.2496C4.99988 16.6973 5.44759 16.2496 5.99988 16.2496C6.55216 16.2496 6.99988 16.6973 6.99988 17.2496Z" fill="#656A71"/>
+<path d="M11.111 17.9996H19.9999V16.4996H11.111V17.9996Z" fill="#656A71"/>
+</g>
+</g>
+</svg>
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildlearningpathwaycardsblockjson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/block.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/block.json 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/block.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,7 +23,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ]
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "textdomain": "wporg",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "textdomain": "wporg-learn",
</ins><span class="cx" style="display: block; padding: 0 10px"> "editorScript": "file:./index.js",
</span><span class="cx" style="display: block; padding: 0 10px"> "style": "file:./style-index.css"
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildlearningpathwaycardsstyleindexrtlcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index-rtl.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index-rtl.css 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index-rtl.css 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.wp-block-wporg-learn-learning-pathway-cards .is-style-cards-grid{row-gap:var(--wp--preset--spacing--40)}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header{min-height:200px}@media screen and (max-width:768px){.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content{min-height:unset;padding-right:var(--wp--preset--spacing--20)!important}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content .wp-block-heading{font-family:var(--wp--preset--font-family--inter)!important;font-size:var(--wp--preset--font-size--small)!important;font-weight:600!important;line-height:var(--wp--custom--body--small--typography--line-height)!important}}.wp-block-wporg-learn-learning-pat
hway-cards .wporg-learn-learning-pathway-card-full .wp-block-query{display:flex;flex:1;flex-direction:column}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wp-block-query .wp-block-group{flex:1}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .course{border-bottom:unset;margin:unset;padding:unset}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wp-block-wporg-learn-learning-pathway-cards .is-style-cards-grid{row-gap:var(--wp--preset--spacing--40)}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header{min-height:200px}@media screen and (max-width:768px){.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content{min-height:unset;padding-right:var(--wp--preset--spacing--20)!important}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content .wp-block-heading{font-family:var(--wp--preset--font-family--inter)!important;font-size:var(--wp--preset--font-size--small)!important;font-weight:600!important;line-height:var(--wp--custom--body--small--typography--line-height)!important}}.wp-block-wporg-learn-learning-path
way-cards .wporg-learn-learning-pathway-card-full .wp-block-query{display:flex;flex:1;flex-direction:column}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wp-block-query .wp-block-group{flex:1}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildlearningpathwaycardsstyleindexcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index.css 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/learning-pathway-cards/style-index.css 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.wp-block-wporg-learn-learning-pathway-cards .is-style-cards-grid{row-gap:var(--wp--preset--spacing--40)}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header{min-height:200px}@media screen and (max-width:768px){.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content{min-height:unset;padding-left:var(--wp--preset--spacing--20)!important}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content .wp-block-heading{font-family:var(--wp--preset--font-family--inter)!important;font-size:var(--wp--preset--font-size--small)!important;font-weight:600!important;line-height:var(--wp--custom--body--small--typography--line-height)!important}}.wp-block-wporg-learn-learning-path
way-cards .wporg-learn-learning-pathway-card-full .wp-block-query{display:flex;flex:1;flex-direction:column}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wp-block-query .wp-block-group{flex:1}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .course{border-bottom:unset;margin:unset;padding:unset}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wp-block-wporg-learn-learning-pathway-cards .is-style-cards-grid{row-gap:var(--wp--preset--spacing--40)}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header{min-height:200px}@media screen and (max-width:768px){.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content{min-height:unset;padding-left:var(--wp--preset--spacing--20)!important}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wporg-learn-learning-pathway-card-header-content .wp-block-heading{font-family:var(--wp--preset--font-family--inter)!important;font-size:var(--wp--preset--font-size--small)!important;font-weight:600!important;line-height:var(--wp--custom--body--small--typography--line-height)!important}}.wp-block-wporg-learn-learning-pathw
ay-cards .wporg-learn-learning-pathway-card-full .wp-block-query{display:flex;flex:1;flex-direction:column}.wp-block-wporg-learn-learning-pathway-cards .wporg-learn-learning-pathway-card-full .wp-block-query .wp-block-group{flex:1}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildstylestyleindexrtlcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index-rtl.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index-rtl.css 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index-rtl.css 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.components-modal__frame{border-radius:unset;box-shadow:unset}.components-modal__content{padding:0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30)}.components-modal__header{padding:var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0}body.sensei{--content-size:var(--wp--style--global--content-size);--content-padding:var(--wp--preset--spacing--edge-space);--sensei-lm-header-height:60px;--sensei-lm-sidebar-width:calc(280px + var(--wp--preset--spacing--edge-space));--border-color:var(--wp--custom--color--border);--sensei-secondary-color:var(--wp--preset--color--blueberry-1);--sensei-button-text-color:var(--wp--preset--color--white);--sensei-course-progress-bar-color:var(--wp--custom--color--border);--sensei-course-progress-bar-inner-color:var(--wp--preset--color--blueberry-1);--sensei-lesson-meta-color:var(--wp--preset--color--charcoal-4);--sensei-module-lesson-colo
r:var(--wp--preset--color--charcoal-1)}body.sensei .sensei-course-theme-header-content>.wp-block-group{row-gap:0}body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{--sensei-lm-sidebar-width:calc(256px + var(--wp--preset--spacing--edge-space)*2)}@media(min-width:890px){body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{padding-left:calc(var(--wp--preset--spacing--edge-space) - 24px)}}body.sensei .sensei-lms-course-navigation-module__header .sensei-collapsible__toggle.sensei-lms-course-navigation-module__button{align-items:flex-start;flex-direction:row-reverse;gap:0}body.sensei .sensei-lms-course-navigation-module__title{color:var(--wp--preset--color--charcoal-1);font-size:var(--wp--preset--font-size--small);font-weight:700;margin-top:unset}body.sensei .sensei-lms-course-navigation-module__lessons.sensei-collapsible__content,body.sensei .sensei-lms-course-navigation-modul
e__summary{padding-right:24px}body.sensei .sensei-lms-course-navigation-module__summary{font-size:var(--wp--preset--font-size--xsmall)}body.sensei .sensei-lms-course-navigation-lesson{font-size:var(--wp--preset--font-size--small)}body.sensei .sensei-lms-course-navigation-lesson.status-in-progress,body.sensei .sensei-lms-course-navigation-lesson.status-not-started{--sensei-module-lesson-color:var(--wp--preset--color--charcoal-4)}@media screen and (max-width:782px){body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed{display:flex}body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed .wp-block-button__link{flex:1}}body.sensei.quiz #sensei-quiz-list .question-title{font-size:var(--wp--preset--font-size--heading-2)}.wporg-block-meeting-calendar .wporg-meeting-calendar__header{flex-direction:row;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__header h2{font-size:var(--wp--preset--font-size--heading-4);margin:unset;mar
gin-right:var(--wp--preset--spacing--20);text-align:unset}.wporg-block-meeting-calendar .components-button-group{display:flex;flex-direction:row-reverse}.wporg-block-meeting-calendar .components-button-group .components-button{background-color:unset;border-radius:2px;color:var(--wp--preset--color--white);height:40px;margin-right:unset;padding:unset;position:relative;width:40px}.wporg-block-meeting-calendar .components-button-group .components-button:not(:focus){box-shadow:unset}.wporg-block-meeting-calendar .components-button-group .components-button:before{background-color:var(--wp--preset--color--white);background-position:50%;background-repeat:no-repeat;border-radius:2px;content:"";display:block;height:100%;position:absolute;width:100%}.wporg-block-meeting-calendar .components-button-group .components-button:disabled{display:none}.wporg-block-meeting-calendar .components-button-group .components-button.is-primary:before{background-color:var(--wp--preset--color--charcoal
-1)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNOSAxNEg3VjE2SDlWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xMSAxMEgxM1YxMkgxMVYxMFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNMTEgMTRIMTNWMTZIMTFWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xNyAxNEgxNVYxNkgxN1YxNFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zIDVDMyAzLjg5NTQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpbGw9IiMxRTFFM
UUiLz4KPC9zdmc+Cg==)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTkgMTRIN1YxNkg5VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDEwSDEzVjEySDExVjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDE0SDEzVjE2SDExVjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDE0SDE1VjE2SDE3VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zIDVDMyAzLjg5NTQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpb
Gw9IndoaXRlIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy44OTU0IDggMTVaIiBmaWxsPSIjMUUxRTFFIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZ
SIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy44OTU0IDggMTVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K)}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter{background:unset;border:unset;flex-wrap:wrap;padding-right:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .wporg-meeting-calendar__filter-feed{display:none}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-base-control__field{margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-button.is-link{text-decoration:none}.wporg-block-
meeting-calendar .wporg-meeting-calendar__cell strong,.wporg-block-meeting-calendar table th{font-size:var(--wp--preset--font-size--normal);font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell,.wporg-block-meeting-calendar table th{border:1px solid var(--wp--custom--color--border)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell{padding:var(--wp--preset--spacing--10)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell>strong{margin:unset;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:first-child,.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:last-child{background-color:var(--wp--preset--color--light-grey-2)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell.is-today{background-color:var(--wp--preset--color--acid-green-3)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event{background-color:var(--wp--preset--color--blueberry-4)!important;border:1px solid var(--wp--custom--link--
color--text);color:var(--wp--custom--link--color--text)!important;font-size:var(--wp--preset--font-size--small);line-height:var(--wp--custom--body--small--typography--line-height);margin:var(--wp--preset--spacing--10) 0 0;padding:8px}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event:focus{box-shadow:none!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-time{font-weight:700}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-title{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-team{background-color:var(--wp--preset--color--acid-green-1);color:var(--wp--preset--color--charcoal-1)!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-copy{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list{padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-ca
lendar__list-event{border-radius:unset;flex-direction:column-reverse;margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event+.wporg-meeting-calendar__list-event{border-top:unset;margin-top:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:first-of-type{border-top-right-radius:2px;border-top-left-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:last-of-type{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event>div:first-child{color:var(--wp--preset--color--charcoal-4);display:flex;font-size:var(--wp--preset--font-size--small);gap:.5em;padding:0 var(--wp--preset--spacing--20) var(--wp--preset--spacing--20)}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-tz{color:unse
t;font-size:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:var(--wp--preset--spacing--20);margin-right:unset}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:unset}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details{padding:var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) 0}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{align-items:baseline;flex:1;font-size:var(--wp--preset--font-size--normal);gap:var(--wp--preset--spacing--20)}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{display:flex}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-de
tails .wporg-meeting-calendar__list-event-title{flex:1;font-size:inherit;font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details .wporg-meeting-calendar__list-event-title>a{font-size:inherit}body{--wp-components-color-accent:var(--wp--preset--color--blueberry-1);--wp-components-color-accent-darker-10:var(--wp--preset--color--deep-blueberry)}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.is-layout-grid .course .wp-block-wporg-learn-learning-duration,.is-layout-grid .lesson .wp-block-wporg-learn-learning-duration{align-items:center;display:flex}.is-layout-grid .course .wp-block-wporg-learn-learning-duration:before,.is-layout-grid .lesson .wp-block-wporg-learn-learning-duration:before{content:"ï‘©";display:block;font-family:dashicons;font-size:24px;height:24px;line-height:1;margin-left:6px;width:24px}.is-layout-grid .course .wp-block-wporg-learn-lesson-count,.is-layout-grid .lesson .wp-block-wporg-learn-lesson-count{align-items:center;display:flex}.is-layout-grid .course .wp-block-wporg-learn-lesson-count:before,.is-layout-grid .lesson .wp-block-wporg-learn-lesson-count:before{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Imxlc3Nvbi1w
bGFuIj4KPGcgaWQ9IlNoYXBlIj4KPHBhdGggZD0iTTguODUwNjIgNS4wNzA4MUw3LjY0NjkgNC4xNzU3OEw1LjU2MzUzIDYuOTc3NjlMNC40NDk0NyA2LjE0Njg3TDMuNTUyNzMgNy4zNDkzMUw1Ljg3MDk1IDkuMDc4MTNMOC44NTA2MiA1LjA3MDgxWiIgZmlsbD0iIzY1NkE3MSIvPgo8cGF0aCBkPSJNMTkuOTk5OSA3Ljk5OTU1SDExLjExMVY2LjQ5OTU1SDE5Ljk5OTlWNy45OTk1NVoiIGZpbGw9IiM2NTZBNzEiLz4KPHBhdGggZD0iTTE5Ljk5OTkgMTIuOTk5NkgxMS4xMTFWMTEuNDk5NkgxOS45OTk5VjEyLjk5OTZaIiBmaWxsPSIjNjU2QTcxIi8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNS45OTk4OCAxNC4yNDk2QzcuMTA0NDUgMTQuMjQ5NiA3Ljk5OTg4IDEzLjM1NDEgNy45OTk4OCAxMi4yNDk2QzcuOTk5ODggMTEuMTQ1IDcuMTA0NDUgMTAuMjQ5NiA1Ljk5OTg4IDEwLjI0OTZDNC44OTUzMSAxMC4yNDk2IDMuOTk5ODggMTEuMTQ1IDMuOTk5ODggMTIuMjQ5NkMzLjk5OTg4IDEzLjM1NDEgNC44OTUzMSAxNC4yNDk2IDUuOTk5ODggMTQuMjQ5NlpNNS45OTk4OCAxMy4yNDk2QzYuNTUyMTYgMTMuMjQ5NiA2Ljk5OTg4IDEyLjgwMTggNi45OTk4OCAxMi4yNDk2QzYuOTk5ODggMTEuNjk3MyA2LjU1MjE2IDExLjI0OTYgNS45OTk4OCAxMS4yNDk2QzUuNDQ3NTkgMTEuMjQ5NiA0Ljk5OTg4IDExLjY5NzMgNC45OTk4OCAxMi4yNDk2QzQuOTk5ODggMTIuODAxOCA1L
jQ0NzU5IDEzLjI0OTYgNS45OTk4OCAxMy4yNDk2WiIgZmlsbD0iIzY1NkE3MSIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuOTk5ODggMTcuMjQ5NkM3Ljk5OTg4IDE4LjM1NDEgNy4xMDQ0NSAxOS4yNDk2IDUuOTk5ODggMTkuMjQ5NkM0Ljg5NTMxIDE5LjI0OTYgMy45OTk4OCAxOC4zNTQxIDMuOTk5ODggMTcuMjQ5NkMzLjk5OTg4IDE2LjE0NSA0Ljg5NTMxIDE1LjI0OTYgNS45OTk4OCAxNS4yNDk2QzcuMTA0NDUgMTUuMjQ5NiA3Ljk5OTg4IDE2LjE0NSA3Ljk5OTg4IDE3LjI0OTZaTTYuOTk5ODggMTcuMjQ5NkM2Ljk5OTg4IDE3LjgwMTggNi41NTIxNiAxOC4yNDk2IDUuOTk5ODggMTguMjQ5NkM1LjQ0NzU5IDE4LjI0OTYgNC45OTk4OCAxNy44MDE4IDQuOTk5ODggMTcuMjQ5NkM0Ljk5OTg4IDE2LjY5NzMgNS40NDc1OSAxNi4yNDk2IDUuOTk5ODggMTYuMjQ5NkM2LjU1MjE2IDE2LjI0OTYgNi45OTk4OCAxNi42OTczIDYuOTk5ODggMTcuMjQ5NloiIGZpbGw9IiM2NTZBNzEiLz4KPHBhdGggZD0iTTExLjExMSAxNy45OTk2SDE5Ljk5OTlWMTYuNDk5NkgxMS4xMTFWMTcuOTk5NloiIGZpbGw9IiM2NTZBNzEiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=) no-repeat;content:"";display:block;height:24px;margin-left:6px;width:24px}.wporg-learn-course-grid.wp-block-query>.is-layout-grid{row-gap:var(--wp-
-preset--spacing--50)}.wporg-learn-course-grid .course{position:relative}.wporg-learn-course-grid .course:after,.wporg-learn-course-grid .course:before{background:var(--wp--preset--color--white);border:1px solid var(--wp--custom--color--border);border-radius:2px;content:"";display:block;height:10px;position:absolute}.wporg-learn-course-grid .course:before{right:12px;top:-6px;width:calc(100% - 24px);z-index:-1}.wporg-learn-course-grid .course:after{right:24px;top:-12px;width:calc(100% - 48px);z-index:-2}.wporg-learn-course-grid .sensei-lms-course-list-featured-label__text{display:none}.wporg-learn-course-grid .wp-block-post-title a{color:var(--wp--custom--link--color--text)}body.sensei{--content-size:var(--wp--style--global--content-size);--content-padding:var(--wp--preset--spacing--edge-space);--sensei-lm-header-height:60px;--sensei-lm-sidebar-width:calc(280px + var(--wp--preset--spacing--edge-space));--border-color:var(--wp--custom--color--border);--sensei-secondary-color
:var(--wp--preset--color--blueberry-1);--sensei-button-text-color:var(--wp--preset--color--white);--sensei-course-progress-bar-color:var(--wp--custom--color--border);--sensei-course-progress-bar-inner-color:var(--wp--preset--color--blueberry-1);--sensei-lesson-meta-color:var(--wp--preset--color--charcoal-4);--sensei-module-lesson-color:var(--wp--preset--color--charcoal-1)}body.sensei .sensei-course-theme-header-content>.wp-block-group{row-gap:0}body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{--sensei-lm-sidebar-width:calc(256px + var(--wp--preset--spacing--edge-space)*2)}@media(min-width:890px){body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{padding-left:calc(var(--wp--preset--spacing--edge-space) - 24px)}}body.sensei .sensei-lms-course-navigation-module__header .sensei-collapsible__toggle.sensei-lms-course-navigation-module__button{align-items:flex-start;flex-dir
ection:row-reverse;gap:0}body.sensei .sensei-lms-course-navigation-module__title{color:var(--wp--preset--color--charcoal-1);font-size:var(--wp--preset--font-size--small);font-weight:700;margin-top:unset}body.sensei .sensei-lms-course-navigation-module__lessons.sensei-collapsible__content,body.sensei .sensei-lms-course-navigation-module__summary{padding-right:24px}body.sensei .sensei-lms-course-navigation-module__summary{font-size:var(--wp--preset--font-size--xsmall)}body.sensei .sensei-lms-course-navigation-lesson{font-size:var(--wp--preset--font-size--small)}body.sensei .sensei-lms-course-navigation-lesson.status-in-progress,body.sensei .sensei-lms-course-navigation-lesson.status-not-started{--sensei-module-lesson-color:var(--wp--preset--color--charcoal-4)}@media screen and (max-width:782px){body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed{display:flex}body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed .wp-block-button__link
{flex:1}}body.sensei.quiz #sensei-quiz-list .question-title{font-size:var(--wp--preset--font-size--heading-2)}.course:not(body){border-bottom:unset;margin:unset;padding:unset}.wp-block-post-terms.is-style-tag a,.wp-block-wporg-learn-course-status{border-radius:2px;color:var(--wp--preset--color--charcoal-1);display:inline-block;padding:4px var(--wp--preset--spacing--10);text-decoration:none}.wp-block-post-terms.is-style-tag a{background-color:var(--wp--preset--color--blueberry-4)}.wp-block-post-terms.is-style-tag a:hover{text-decoration:underline}.wp-block-wporg-learn-course-status{background-color:var(--wp--preset--color--light-grey-2)}.wp-block-wporg-learn-course-status.is-completed{background-color:var(--wp--preset--color--acid-green-3);color:var(--wp--custom--color--green-70)}.components-modal__frame{border-radius:unset;box-shadow:unset}.components-modal__content{padding:0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30)}.components-modal__header{padding:var(--wp--pr
eset--spacing--20) var(--wp--preset--spacing--30) 0}.wporg-block-meeting-calendar .wporg-meeting-calendar__header{flex-direction:row;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__header h2{font-size:var(--wp--preset--font-size--heading-4);margin:unset;margin-right:var(--wp--preset--spacing--20);text-align:unset}.wporg-block-meeting-calendar .components-button-group{display:flex;flex-direction:row-reverse}.wporg-block-meeting-calendar .components-button-group .components-button{background-color:unset;border-radius:2px;color:var(--wp--preset--color--white);height:40px;margin-right:unset;padding:unset;position:relative;width:40px}.wporg-block-meeting-calendar .components-button-group .components-button:not(:focus){box-shadow:unset}.wporg-block-meeting-calendar .components-button-group .components-button:before{background-color:var(--wp--preset--color--white);background-position:50%;background-repeat:no-repeat;border-radius:2px;content:"";display:block;h
eight:100%;position:absolute;width:100%}.wporg-block-meeting-calendar .components-button-group .components-button:disabled{display:none}.wporg-block-meeting-calendar .components-button-group .components-button.is-primary:before{background-color:var(--wp--preset--color--charcoal-1)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNOSAxNEg3VjE2SDlWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xMSAxMEgxM1YxMkgxMVYxMFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNMTEgMTRIMTNWMTZIMTFWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xNyAxNEgxNVYxNkgxN1YxNFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zIDVDMyAzLjg
5NTQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpbGw9IiMxRTFFMUUiLz4KPC9zdmc+Cg==)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTkgMTRIN1YxNkg5VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDEwSDEzVjEySDExVjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDE0SDEzVjE2SDExVjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDE0SDE1VjE2SDE3VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0
zIDVDMyAzLjg5NTQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy4
4OTU0IDggMTVaIiBmaWxsPSIjMUUxRTFFIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy44OTU0IDggMTVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K)}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter{background:unset;border:unset;flex-wrap:wrap;padding-right:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .wporg-me
eting-calendar__filter-feed{display:none}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-base-control__field{margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-button.is-link{text-decoration:none}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell strong,.wporg-block-meeting-calendar table th{font-size:var(--wp--preset--font-size--normal);font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell,.wporg-block-meeting-calendar table th{border:1px solid var(--wp--custom--color--border)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell{padding:var(--wp--preset--spacing--10)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell>strong{margin:unset;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:first-child,.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:last-child{background-color:var(--wp--preset--color--light-grey-2)}.wporg-block-meetin
g-calendar .wporg-meeting-calendar__cell.is-today{background-color:var(--wp--preset--color--acid-green-3)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event{background-color:var(--wp--preset--color--blueberry-4)!important;border:1px solid var(--wp--custom--link--color--text);color:var(--wp--custom--link--color--text)!important;font-size:var(--wp--preset--font-size--small);line-height:var(--wp--custom--body--small--typography--line-height);margin:var(--wp--preset--spacing--10) 0 0;padding:8px}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event:focus{box-shadow:none!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-time{font-weight:700}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-title{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-team{background-color:var(--wp--preset--color--acid-green-1);color:var(--w
p--preset--color--charcoal-1)!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-copy{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list{padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event{border-radius:unset;flex-direction:column-reverse;margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event+.wporg-meeting-calendar__list-event{border-top:unset;margin-top:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:first-of-type{border-top-right-radius:2px;border-top-left-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:last-of-type{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event>div:first-child{color:var(--wp
--preset--color--charcoal-4);display:flex;font-size:var(--wp--preset--font-size--small);gap:.5em;padding:0 var(--wp--preset--spacing--20) var(--wp--preset--spacing--20)}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-tz{color:unset;font-size:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:var(--wp--preset--spacing--20);margin-right:unset}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:unset}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details{padding:var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) 0}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{align-items:baseline;flex:1;font-size:var(--wp--preset--font-size--normal);gap:var(--wp--pr
eset--spacing--20)}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{display:flex}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details .wporg-meeting-calendar__list-event-title{flex:1;font-size:inherit;font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details .wporg-meeting-calendar__list-event-title>a{font-size:inherit}body{--wp-components-color-accent:var(--wp--preset--color--blueberry-1);--wp-components-color-accent-darker-10:var(--wp--preset--color--deep-blueberry)}.wp-block-query>.is-layout-grid{container-type:normal;grid-auto-rows:1fr;row-gap:var(--wp--preset--spacing--40)}[style*="border-radius:2px"]{overflow:hidden}@media screen and (max-width:781px){.wporg-learn-footer-signup{border-right:none;padding-right:unset!important;padding-top:unset!important}
}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildstylestyleindexcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index.css 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/style/style-index.css 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.components-modal__frame{border-radius:unset;box-shadow:unset}.components-modal__content{padding:0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30)}.components-modal__header{padding:var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0}body.sensei{--content-size:var(--wp--style--global--content-size);--content-padding:var(--wp--preset--spacing--edge-space);--sensei-lm-header-height:60px;--sensei-lm-sidebar-width:calc(280px + var(--wp--preset--spacing--edge-space));--border-color:var(--wp--custom--color--border);--sensei-secondary-color:var(--wp--preset--color--blueberry-1);--sensei-button-text-color:var(--wp--preset--color--white);--sensei-course-progress-bar-color:var(--wp--custom--color--border);--sensei-course-progress-bar-inner-color:var(--wp--preset--color--blueberry-1);--sensei-lesson-meta-color:var(--wp--preset--color--charcoal-4);--sensei-module-lesson-colo
r:var(--wp--preset--color--charcoal-1)}body.sensei .sensei-course-theme-header-content>.wp-block-group{row-gap:0}body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{--sensei-lm-sidebar-width:calc(256px + var(--wp--preset--spacing--edge-space)*2)}@media(min-width:890px){body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{padding-right:calc(var(--wp--preset--spacing--edge-space) - 24px)}}body.sensei .sensei-lms-course-navigation-module__header .sensei-collapsible__toggle.sensei-lms-course-navigation-module__button{align-items:flex-start;flex-direction:row-reverse;gap:0}body.sensei .sensei-lms-course-navigation-module__title{color:var(--wp--preset--color--charcoal-1);font-size:var(--wp--preset--font-size--small);font-weight:700;margin-top:unset}body.sensei .sensei-lms-course-navigation-module__lessons.sensei-collapsible__content,body.sensei .sensei-lms-course-navigation-modu
le__summary{padding-left:24px}body.sensei .sensei-lms-course-navigation-module__summary{font-size:var(--wp--preset--font-size--xsmall)}body.sensei .sensei-lms-course-navigation-lesson{font-size:var(--wp--preset--font-size--small)}body.sensei .sensei-lms-course-navigation-lesson.status-in-progress,body.sensei .sensei-lms-course-navigation-lesson.status-not-started{--sensei-module-lesson-color:var(--wp--preset--color--charcoal-4)}@media screen and (max-width:782px){body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed{display:flex}body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed .wp-block-button__link{flex:1}}body.sensei.quiz #sensei-quiz-list .question-title{font-size:var(--wp--preset--font-size--heading-2)}.wporg-block-meeting-calendar .wporg-meeting-calendar__header{flex-direction:row;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__header h2{font-size:var(--wp--preset--font-size--heading-4);margin:unset;mar
gin-left:var(--wp--preset--spacing--20);text-align:unset}.wporg-block-meeting-calendar .components-button-group{display:flex;flex-direction:row-reverse}.wporg-block-meeting-calendar .components-button-group .components-button{background-color:unset;border-radius:2px;color:var(--wp--preset--color--white);height:40px;margin-left:unset;padding:unset;position:relative;width:40px}.wporg-block-meeting-calendar .components-button-group .components-button:not(:focus){box-shadow:unset}.wporg-block-meeting-calendar .components-button-group .components-button:before{background-color:var(--wp--preset--color--white);background-position:50%;background-repeat:no-repeat;border-radius:2px;content:"";display:block;height:100%;position:absolute;width:100%}.wporg-block-meeting-calendar .components-button-group .components-button:disabled{display:none}.wporg-block-meeting-calendar .components-button-group .components-button.is-primary:before{background-color:var(--wp--preset--color--charcoal-1
)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNOSAxNEg3VjE2SDlWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xMSAxMEgxM1YxMkgxMVYxMFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNMTEgMTRIMTNWMTZIMTFWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xNyAxNEgxNVYxNkgxN1YxNFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zIDVDMyAzLjg5NTQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpbGw9IiMxRTFFMUU
iLz4KPC9zdmc+Cg==)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTkgMTRIN1YxNkg5VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDEwSDEzVjEySDExVjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDE0SDEzVjE2SDExVjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDE0SDE1VjE2SDE3VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zIDVDMyAzLjg5NTQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpbGw
9IndoaXRlIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy44OTU0IDggMTVaIiBmaWxsPSIjMUUxRTFFIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSI
geG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy44OTU0IDggMTVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K)}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter{background:unset;border:unset;flex-wrap:wrap;padding-left:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .wporg-meeting-calendar__filter-feed{display:none}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-base-control__field{margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-button.is-link{text-decoration:none}.wporg-block-mee
ting-calendar .wporg-meeting-calendar__cell strong,.wporg-block-meeting-calendar table th{font-size:var(--wp--preset--font-size--normal);font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell,.wporg-block-meeting-calendar table th{border:1px solid var(--wp--custom--color--border)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell{padding:var(--wp--preset--spacing--10)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell>strong{margin:unset;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:first-child,.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:last-child{background-color:var(--wp--preset--color--light-grey-2)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell.is-today{background-color:var(--wp--preset--color--acid-green-3)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event{background-color:var(--wp--preset--color--blueberry-4)!important;border:1px solid var(--wp--custom--link--col
or--text);color:var(--wp--custom--link--color--text)!important;font-size:var(--wp--preset--font-size--small);line-height:var(--wp--custom--body--small--typography--line-height);margin:var(--wp--preset--spacing--10) 0 0;padding:8px}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event:focus{box-shadow:none!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-time{font-weight:700}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-title{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-team{background-color:var(--wp--preset--color--acid-green-1);color:var(--wp--preset--color--charcoal-1)!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-copy{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list{padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calen
dar__list-event{border-radius:unset;flex-direction:column-reverse;margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event+.wporg-meeting-calendar__list-event{border-top:unset;margin-top:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:first-of-type{border-top-left-radius:2px;border-top-right-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:last-of-type{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event>div:first-child{color:var(--wp--preset--color--charcoal-4);display:flex;font-size:var(--wp--preset--font-size--small);gap:.5em;padding:0 var(--wp--preset--spacing--20) var(--wp--preset--spacing--20)}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-tz{color:unset;f
ont-size:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:var(--wp--preset--spacing--20);margin-left:unset}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:unset}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details{padding:var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) 0}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{align-items:baseline;flex:1;font-size:var(--wp--preset--font-size--normal);gap:var(--wp--preset--spacing--20)}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{display:flex}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-detail
s .wporg-meeting-calendar__list-event-title{flex:1;font-size:inherit;font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details .wporg-meeting-calendar__list-event-title>a{font-size:inherit}body{--wp-components-color-accent:var(--wp--preset--color--blueberry-1);--wp-components-color-accent-darker-10:var(--wp--preset--color--deep-blueberry)}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.is-layout-grid .course .wp-block-wporg-learn-learning-duration,.is-layout-grid .lesson .wp-block-wporg-learn-learning-duration{align-items:center;display:flex}.is-layout-grid .course .wp-block-wporg-learn-learning-duration:before,.is-layout-grid .lesson .wp-block-wporg-learn-learning-duration:before{content:"ï‘©";display:block;font-family:dashicons;font-size:24px;height:24px;line-height:1;margin-right:6px;width:24px}.is-layout-grid .course .wp-block-wporg-learn-lesson-count,.is-layout-grid .lesson .wp-block-wporg-learn-lesson-count{align-items:center;display:flex}.is-layout-grid .course .wp-block-wporg-learn-lesson-count:before,.is-layout-grid .lesson .wp-block-wporg-learn-lesson-count:before{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Imxlc3Nvbi1
wbGFuIj4KPGcgaWQ9IlNoYXBlIj4KPHBhdGggZD0iTTguODUwNjIgNS4wNzA4MUw3LjY0NjkgNC4xNzU3OEw1LjU2MzUzIDYuOTc3NjlMNC40NDk0NyA2LjE0Njg3TDMuNTUyNzMgNy4zNDkzMUw1Ljg3MDk1IDkuMDc4MTNMOC44NTA2MiA1LjA3MDgxWiIgZmlsbD0iIzY1NkE3MSIvPgo8cGF0aCBkPSJNMTkuOTk5OSA3Ljk5OTU1SDExLjExMVY2LjQ5OTU1SDE5Ljk5OTlWNy45OTk1NVoiIGZpbGw9IiM2NTZBNzEiLz4KPHBhdGggZD0iTTE5Ljk5OTkgMTIuOTk5NkgxMS4xMTFWMTEuNDk5NkgxOS45OTk5VjEyLjk5OTZaIiBmaWxsPSIjNjU2QTcxIi8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNS45OTk4OCAxNC4yNDk2QzcuMTA0NDUgMTQuMjQ5NiA3Ljk5OTg4IDEzLjM1NDEgNy45OTk4OCAxMi4yNDk2QzcuOTk5ODggMTEuMTQ1IDcuMTA0NDUgMTAuMjQ5NiA1Ljk5OTg4IDEwLjI0OTZDNC44OTUzMSAxMC4yNDk2IDMuOTk5ODggMTEuMTQ1IDMuOTk5ODggMTIuMjQ5NkMzLjk5OTg4IDEzLjM1NDEgNC44OTUzMSAxNC4yNDk2IDUuOTk5ODggMTQuMjQ5NlpNNS45OTk4OCAxMy4yNDk2QzYuNTUyMTYgMTMuMjQ5NiA2Ljk5OTg4IDEyLjgwMTggNi45OTk4OCAxMi4yNDk2QzYuOTk5ODggMTEuNjk3MyA2LjU1MjE2IDExLjI0OTYgNS45OTk4OCAxMS4yNDk2QzUuNDQ3NTkgMTEuMjQ5NiA0Ljk5OTg4IDExLjY5NzMgNC45OTk4OCAxMi4yNDk2QzQuOTk5ODggMTIuODAxOCA1
LjQ0NzU5IDEzLjI0OTYgNS45OTk4OCAxMy4yNDk2WiIgZmlsbD0iIzY1NkE3MSIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuOTk5ODggMTcuMjQ5NkM3Ljk5OTg4IDE4LjM1NDEgNy4xMDQ0NSAxOS4yNDk2IDUuOTk5ODggMTkuMjQ5NkM0Ljg5NTMxIDE5LjI0OTYgMy45OTk4OCAxOC4zNTQxIDMuOTk5ODggMTcuMjQ5NkMzLjk5OTg4IDE2LjE0NSA0Ljg5NTMxIDE1LjI0OTYgNS45OTk4OCAxNS4yNDk2QzcuMTA0NDUgMTUuMjQ5NiA3Ljk5OTg4IDE2LjE0NSA3Ljk5OTg4IDE3LjI0OTZaTTYuOTk5ODggMTcuMjQ5NkM2Ljk5OTg4IDE3LjgwMTggNi41NTIxNiAxOC4yNDk2IDUuOTk5ODggMTguMjQ5NkM1LjQ0NzU5IDE4LjI0OTYgNC45OTk4OCAxNy44MDE4IDQuOTk5ODggMTcuMjQ5NkM0Ljk5OTg4IDE2LjY5NzMgNS40NDc1OSAxNi4yNDk2IDUuOTk5ODggMTYuMjQ5NkM2LjU1MjE2IDE2LjI0OTYgNi45OTk4OCAxNi42OTczIDYuOTk5ODggMTcuMjQ5NloiIGZpbGw9IiM2NTZBNzEiLz4KPHBhdGggZD0iTTExLjExMSAxNy45OTk2SDE5Ljk5OTlWMTYuNDk5NkgxMS4xMTFWMTcuOTk5NloiIGZpbGw9IiM2NTZBNzEiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=) no-repeat;content:"";display:block;height:24px;margin-right:6px;width:24px}.wporg-learn-course-grid.wp-block-query>.is-layout-grid{row-gap:var(--w
p--preset--spacing--50)}.wporg-learn-course-grid .course{position:relative}.wporg-learn-course-grid .course:after,.wporg-learn-course-grid .course:before{background:var(--wp--preset--color--white);border:1px solid var(--wp--custom--color--border);border-radius:2px;content:"";display:block;height:10px;position:absolute}.wporg-learn-course-grid .course:before{left:12px;top:-6px;width:calc(100% - 24px);z-index:-1}.wporg-learn-course-grid .course:after{left:24px;top:-12px;width:calc(100% - 48px);z-index:-2}.wporg-learn-course-grid .sensei-lms-course-list-featured-label__text{display:none}.wporg-learn-course-grid .wp-block-post-title a{color:var(--wp--custom--link--color--text)}body.sensei{--content-size:var(--wp--style--global--content-size);--content-padding:var(--wp--preset--spacing--edge-space);--sensei-lm-header-height:60px;--sensei-lm-sidebar-width:calc(280px + var(--wp--preset--spacing--edge-space));--border-color:var(--wp--custom--color--border);--sensei-secondary-color
:var(--wp--preset--color--blueberry-1);--sensei-button-text-color:var(--wp--preset--color--white);--sensei-course-progress-bar-color:var(--wp--custom--color--border);--sensei-course-progress-bar-inner-color:var(--wp--preset--color--blueberry-1);--sensei-lesson-meta-color:var(--wp--preset--color--charcoal-4);--sensei-module-lesson-color:var(--wp--preset--color--charcoal-1)}body.sensei .sensei-course-theme-header-content>.wp-block-group{row-gap:0}body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{--sensei-lm-sidebar-width:calc(256px + var(--wp--preset--spacing--edge-space)*2)}@media(min-width:890px){body.sensei .sensei-course-theme__columns .sensei-course-theme__sidebar~.sensei-course-theme__main-content{padding-right:calc(var(--wp--preset--spacing--edge-space) - 24px)}}body.sensei .sensei-lms-course-navigation-module__header .sensei-collapsible__toggle.sensei-lms-course-navigation-module__button{align-items:flex-start;flex-di
rection:row-reverse;gap:0}body.sensei .sensei-lms-course-navigation-module__title{color:var(--wp--preset--color--charcoal-1);font-size:var(--wp--preset--font-size--small);font-weight:700;margin-top:unset}body.sensei .sensei-lms-course-navigation-module__lessons.sensei-collapsible__content,body.sensei .sensei-lms-course-navigation-module__summary{padding-left:24px}body.sensei .sensei-lms-course-navigation-module__summary{font-size:var(--wp--preset--font-size--xsmall)}body.sensei .sensei-lms-course-navigation-lesson{font-size:var(--wp--preset--font-size--small)}body.sensei .sensei-lms-course-navigation-lesson.status-in-progress,body.sensei .sensei-lms-course-navigation-lesson.status-not-started{--sensei-module-lesson-color:var(--wp--preset--color--charcoal-4)}@media screen and (max-width:782px){body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed{display:flex}body.sensei .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed .wp-block-button__link
{flex:1}}body.sensei.quiz #sensei-quiz-list .question-title{font-size:var(--wp--preset--font-size--heading-2)}.course:not(body){border-bottom:unset;margin:unset;padding:unset}.wp-block-post-terms.is-style-tag a,.wp-block-wporg-learn-course-status{border-radius:2px;color:var(--wp--preset--color--charcoal-1);display:inline-block;padding:4px var(--wp--preset--spacing--10);text-decoration:none}.wp-block-post-terms.is-style-tag a{background-color:var(--wp--preset--color--blueberry-4)}.wp-block-post-terms.is-style-tag a:hover{text-decoration:underline}.wp-block-wporg-learn-course-status{background-color:var(--wp--preset--color--light-grey-2)}.wp-block-wporg-learn-course-status.is-completed{background-color:var(--wp--preset--color--acid-green-3);color:var(--wp--custom--color--green-70)}.components-modal__frame{border-radius:unset;box-shadow:unset}.components-modal__content{padding:0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30)}.components-modal__header{padding:var(--wp--pr
eset--spacing--20) var(--wp--preset--spacing--30) 0}.wporg-block-meeting-calendar .wporg-meeting-calendar__header{flex-direction:row;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__header h2{font-size:var(--wp--preset--font-size--heading-4);margin:unset;margin-left:var(--wp--preset--spacing--20);text-align:unset}.wporg-block-meeting-calendar .components-button-group{display:flex;flex-direction:row-reverse}.wporg-block-meeting-calendar .components-button-group .components-button{background-color:unset;border-radius:2px;color:var(--wp--preset--color--white);height:40px;margin-left:unset;padding:unset;position:relative;width:40px}.wporg-block-meeting-calendar .components-button-group .components-button:not(:focus){box-shadow:unset}.wporg-block-meeting-calendar .components-button-group .components-button:before{background-color:var(--wp--preset--color--white);background-position:50%;background-repeat:no-repeat;border-radius:2px;content:"";display:block;hei
ght:100%;position:absolute;width:100%}.wporg-block-meeting-calendar .components-button-group .components-button:disabled{display:none}.wporg-block-meeting-calendar .components-button-group .components-button.is-primary:before{background-color:var(--wp--preset--color--charcoal-1)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNOSAxNEg3VjE2SDlWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xMSAxMEgxM1YxMkgxMVYxMFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0iIzFFMUUxRSIvPgo8cGF0aCBkPSJNMTEgMTRIMTNWMTZIMTFWMTRaIiBmaWxsPSIjMUUxRTFFIi8+CjxwYXRoIGQ9Ik0xNyAxNEgxNVYxNkgxN1YxNFoiIGZpbGw9IiMxRTFFMUUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zIDVDMyAzLjg5N
TQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpbGw9IiMxRTFFMUUiLz4KPC9zdmc+Cg==)}.wporg-block-meeting-calendar .components-button-group .components-button:first-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMTBIOVYxMkg3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTkgMTRIN1YxNkg5VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDEwSDEzVjEySDExVjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDEwSDE1VjEySDE3VjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExIDE0SDEzVjE2SDExVjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE3IDE0SDE1VjE2SDE3VjE0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zI
DVDMyAzLjg5NTQzIDMuODk1NDMgMyA1IDNIMTlDMjAuMTA0NiAzIDIxIDMuODk1NDMgMjEgNVYxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVaTTE5LjUgN0g0LjVWMTlDNC41IDE5LjI3NjEgNC43MjM4NiAxOS41IDUgMTkuNUgxOUMxOS4yNzYxIDE5LjUgMTkuNSAxOS4yNzYxIDE5LjUgMTlWN1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy44O
TU0IDggMTVaIiBmaWxsPSIjMUUxRTFFIi8+Cjwvc3ZnPgo=)}.wporg-block-meeting-calendar .components-button-group .components-button:last-child.is-primary:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEwQzcuMTA0NTcgMTAgOCA5LjEwNDU3IDggOEM4IDYuODk1NDMgNy4xMDQ1NyA2IDYgNkM0Ljg5NTQzIDYgNCA2Ljg5NTQzIDQgOEM0IDkuMTA0NTcgNC44OTU0MyAxMCA2IDEwWk0yMCA4Ljc1SDExLjExMTFWNy4yNUgyMFY4Ljc1Wk0yMCAxNS43NUgxMS4xMTExVjE0LjI1SDIwVjE1Ljc1Wk04IDE1QzggMTYuMTA0NiA3LjEwNDU3IDE3IDYgMTdDNC44OTU0MyAxNyA0IDE2LjEwNDYgNCAxNUM0IDEzLjg5NTQgNC44OTU0MyAxMyA2IDEzQzcuMTA0NTcgMTMgOCAxMy44OTU0IDggMTVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K)}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter{background:unset;border:unset;flex-wrap:wrap;padding-left:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .wporg-meeti
ng-calendar__filter-feed{display:none}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-base-control__field{margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__filter .components-button.is-link{text-decoration:none}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell strong,.wporg-block-meeting-calendar table th{font-size:var(--wp--preset--font-size--normal);font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell,.wporg-block-meeting-calendar table th{border:1px solid var(--wp--custom--color--border)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell{padding:var(--wp--preset--spacing--10)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell>strong{margin:unset;padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:first-child,.wporg-block-meeting-calendar .wporg-meeting-calendar__cell:last-child{background-color:var(--wp--preset--color--light-grey-2)}.wporg-block-meeting-c
alendar .wporg-meeting-calendar__cell.is-today{background-color:var(--wp--preset--color--acid-green-3)}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event{background-color:var(--wp--preset--color--blueberry-4)!important;border:1px solid var(--wp--custom--link--color--text);color:var(--wp--custom--link--color--text)!important;font-size:var(--wp--preset--font-size--small);line-height:var(--wp--custom--body--small--typography--line-height);margin:var(--wp--preset--spacing--10) 0 0;padding:8px}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event:focus{box-shadow:none!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-time{font-weight:700}.wporg-block-meeting-calendar .wporg-meeting-calendar__cell-event .wporg-meeting-calendar__cell-event-title{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-team{background-color:var(--wp--preset--color--acid-green-1);color:var(--wp--
preset--color--charcoal-1)!important}.wporg-block-meeting-calendar .wporg-meeting-calendar__list-event-copy{font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list{padding:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event{border-radius:unset;flex-direction:column-reverse;margin-bottom:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event+.wporg-meeting-calendar__list-event{border-top:unset;margin-top:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:first-of-type{border-top-left-radius:2px;border-top-right-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event:last-of-type{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event>div:first-child{color:var(--wp--p
reset--color--charcoal-4);display:flex;font-size:var(--wp--preset--font-size--small);gap:.5em;padding:0 var(--wp--preset--spacing--20) var(--wp--preset--spacing--20)}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-tz{color:unset;font-size:unset}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:var(--wp--preset--spacing--20);margin-left:unset}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-team{margin-bottom:unset}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details{padding:var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) 0}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{align-items:baseline;flex:1;font-size:var(--wp--preset--font-size--normal);gap:var(--wp--preset
--spacing--20)}@media screen and (min-width:768px){.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details>div{display:flex}}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details .wporg-meeting-calendar__list-event-title{flex:1;font-size:inherit;font-weight:400}.wporg-block-meeting-calendar .wporg-meeting-calendar__list .wporg-meeting-calendar__list-event-details .wporg-meeting-calendar__list-event-title>a{font-size:inherit}body{--wp-components-color-accent:var(--wp--preset--color--blueberry-1);--wp-components-color-accent-darker-10:var(--wp--preset--color--deep-blueberry)}.wp-block-query>.is-layout-grid{container-type:normal;grid-auto-rows:1fr;row-gap:var(--wp--preset--spacing--40)}[style*="border-radius:2px"]{overflow:hidden}@media screen and (max-width:781px){.wporg-learn-footer-signup{border-left:none;padding-left:unset!important;padding-top:unset!important}}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsblockjson"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/block.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/block.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,25 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg-learn/upcoming-online-workshops",
+ "version": "0.1.0",
+ "title": "Upcoming Online Workshop Cards",
+ "category": "widgets",
+ "icon": "smiley",
+ "description": "Show a cards grid of upcoming online workshops.",
+ "usesContext": [],
+ "attributes": {},
+ "supports": {
+ "html": false,
+ "spacing": {
+ "margin": [
+ "top",
+ "bottom"
+ ]
+ }
+ },
+ "textdomain": "wporg-learn",
+ "editorScript": "file:./index.js",
+ "style": "file:./style-index.css",
+ "viewScript": "file:./view.js"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsindexassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-server-side-render'), 'version' => 'a8b5374d811586546749');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.asset.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";var r,e={115:(r,e,o)=>{const t=window.wp.blocks,n=window.React,i=window.wp.blockEditor,a=window.wp.serverSideRender;var s=o.n(a);const l=JSON.parse('{"UU":"wporg-learn/upcoming-online-workshops"}');(0,t.registerBlockType)(l.UU,{edit:function({name:r,attributes:e,context:o}){const t=(0,i.useBlockProps)(),{postId:a}=o;return(0,n.createElement)("div",{...t},(0,n.createElement)(s(),{block:r,attributes:e,skipBlockSupportAttributes:!0,urlQueryArgs:{post_id:a}}))}})}},o={};function t(r){var n=o[r];if(void 0!==n)return n.exports;var i=o[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.m=e,r=[],t.O=(e,o,n,i)=>{if(!o){var a=1/0;for(c=0;c<r.length;c++){for(var[o,n,i]=r[c],s=!0,l=0;l<o.length;l++)(!1&i||a>=i)&&Object.keys(t.O).every((r=>t.O[r](o[l])))?o.splice(l--,1):(s=!1,i<a&&(a=i));if(s){r
.splice(c--,1);var p=n();void 0!==p&&(e=p)}}return e}i=i||0;for(var c=r.length;c>0&&r[c-1][2]>i;c--)r[c]=r[c-1];r[c]=[o,n,i]},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={183:0,799:0};t.O.j=e=>0===r[e];var e=(e,o)=>{var n,i,[a,s,l]=o,p=0;if(a.some((e=>0!==r[e]))){for(n in s)t.o(s,n)&&(t.m[n]=s[n]);if(l)var c=l(t)}for(e&&e(o);p<a.length;p++)i=a[p],t.o(r,i)&&r[i]&&r[i][0](),r[i]=0;return t.O(c)},o=globalThis.webpackChunkwporg_learn_2024=globalThis.webpackChunkwporg_learn_2024||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var n=t.O(void 0,[799],(()=>t(115)));n=t.O(n)})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsstyleindexrtlcss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index-rtl.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index-rtl.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index-rtl.css 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wp-block-wporg-learn-upcoming-online-workshops .is-style-cards-grid{row-gap:var(--wp--preset--spacing--40)}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index-rtl.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsstyleindexcss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index.css 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wp-block-wporg-learn-upcoming-online-workshops .is-style-cards-grid{row-gap:var(--wp--preset--spacing--40)}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/style-index.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsviewassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.asset.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.asset.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('wp-date'), 'version' => '664ca4e91d7099eda550');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.asset.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildupcomingonlineworkshopsviewjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/upcoming-online-workshops/view.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";const t=window.wp.date;(()=>{const a=document.querySelectorAll("[data-date-utc]");Array.from(a).forEach((a=>{const e=a.dataset.dateUtc;a.textContent=(0,t.format)("g:i a (\\U\\T\\CP)",e)}))})()})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024functionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Block files
</span><span class="cx" style="display: block; padding: 0 10px"> require_once __DIR__ . '/src/learning-pathway-cards/block.php';
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+require_once __DIR__ . '/src/upcoming-online-workshops/block.php';
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Actions and filters.
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024partsfooterhtml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/parts/footer.html</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/parts/footer.html 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/parts/footer.html 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1,3 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:pattern {"slug":"wporg-learn-2024/footer-content"} /-->
+
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:wporg/global-footer /-->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfootercontentphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/footer-content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/footer-content.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/footer-content.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,56 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Title: Footer Content
+ * Slug: wporg-learn-2024/footer-content
+ * Inserter: no
+ */
+
+?>
+
+<!-- wp:group {"align":"full","style":{"border":{"bottom":{"color":"var:preset|color|white-opacity-15","width":"1px"}},"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}},"backgroundColor":"charcoal-2","layout":{"type":"constrained"}} -->
+<div class="wp-block-group alignfull has-charcoal-2-background-color has-background" style="border-bottom-color:var(--wp--preset--color--white-opacity-15);border-bottom-width:1px;padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
+
+ <!-- wp:columns {"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"blockGap":{"left":"0"}}},"textColor":"white"} -->
+ <div class="wp-block-columns has-white-color has-text-color has-link-color">
+
+ <!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","right":"var:preset|spacing|edge-space"}}}} -->
+ <div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--50)">
+
+ <!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"margin":{"top":"0"}}},"fontSize":"huge","fontFamily":"eb-garamond"} -->
+ <h2 class="wp-block-heading has-eb-garamond-font-family has-huge-font-size" style="margin-top:0;font-style:normal;font-weight:400">TBD heading</h2>
+ <!-- /wp:heading -->
+
+ <!-- wp:paragraph {"fontSize":"large"} -->
+ <p class="has-large-font-size"><a href="https://wordpress.org/documentation"><?php esc_html_e( 'Documentation', 'wporg-learn' ); ?></a></p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph {"fontSize":"large"} -->
+ <p class="has-large-font-size"><a href="https://developer.wordpress.org"><?php esc_html_e( 'Developer Resources', 'wporg-learn' ); ?></a></p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph {"fontSize":"large"} -->
+ <p class="has-large-font-size"><a href="https://wordpress.org/support/forums"><?php esc_html_e( 'Support Forums', 'wporg-learn' ); ?></a></p>
+ <!-- /wp:paragraph -->
+
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|edge-space","right":"0"}},"border":{"left":{"color":"var:preset|color|white-opacity-15","width":"1px"},"top":{},"right":{},"bottom":{}}},"className":"wporg-learn-footer-signup"} -->
+ <div class="wp-block-column wporg-learn-footer-signup" style="border-left-color:var(--wp--preset--color--white-opacity-15);border-left-width:1px;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--edge-space)">
+
+ <!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"margin":{"top":"0"}}},"fontSize":"huge","fontFamily":"eb-garamond"} -->
+ <h2 class="wp-block-heading has-eb-garamond-font-family has-huge-font-size" style="margin-top:0;font-style:normal;font-weight:400">TBD heading</h2>
+ <!-- /wp:heading -->
+
+ <!-- wp:paragraph {"fontSize":"small"} -->
+ <p class="has-small-font-size"><?php esc_html_e( 'Sign up for the free Learn WordPress newsletter and get a monthly dose of what\'s new in the world of WordPress courses, lessons, and online workshops.', 'wporg-learn' ); ?></p>
+ <!-- /wp:paragraph -->
+
+ </div>
+ <!-- /wp:column -->
+
+ </div>
+ <!-- /wp:columns -->
+
+</div>
+<!-- /wp:group -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/footer-content.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfrontpagecontentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,6 +11,173 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <h2 class="wp-block-heading" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Get Started', 'wporg-learn' ); ?></h2>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:heading -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0"}}}} -->
-<p style="margin-top:0"><?php esc_html_e( 'Dive into our learning pathways which will take you from beginner to expert at your own pace.', 'wporg-learn' ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
+<p class="has-charcoal-4-color has-text-color has-link-color" style="margin-top:0"><?php esc_html_e( 'Dive into our learning pathways which will take you from beginner to expert at your own pace.', 'wporg-learn' ); ?></p>
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:paragraph -->
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+<!-- wp:wporg-learn/learning-pathway-cards {"isMini":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->
+
+<!-- wp:heading {"style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|10"}}}} -->
+<h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Featured Courses', 'wporg-learn' ); ?></h2>
+<!-- /wp:heading -->
+
+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
+<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40)">
+
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
+ <p class="has-charcoal-4-color has-text-color has-link-color"><?php esc_html_e( 'Courses take you through a series of lessons.', 'wporg-learn' ); ?></p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"textColor":"charcoal-4"} -->
+ <p class="has-charcoal-4-color has-text-color has-link-color"><a href="<?php echo esc_url( site_url( '/courses/' ) ); ?>"><?php esc_html_e( 'See all Courses', 'wporg-learn' ); ?></a></p>
+ <!-- /wp:paragraph -->
+
+</div>
+<!-- /wp:group -->
+
+<!-- wp:query {"queryId":0,"query":{"perPage":6,"postType":"course","courseFeatured":true},"namespace":"wporg-learn/course-grid","align":"wide","className":"wporg-learn-course-grid"} -->
+<div class="wp-block-query alignwide wporg-learn-course-grid">
+
+ <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"330px"}} -->
+
+ <!-- wp:group {"style":{"border":{"width":"1px","color":"var:preset|color|light-grey-1","radius":"2px"},"spacing":{"blockGap":"0"},"dimensions":{"minHeight":"100%"}},"backgroundColor":"white","layout":{"type":"flex","orientation":"vertical"}} -->
+ <div class="wp-block-group has-border-color has-white-background-color has-background" style="border-color:var(--wp--preset--color--light-grey-1);border-width:1px;border-radius:2px;min-height:100%">
+
+ <!-- wp:post-featured-image {"style":{"spacing":{"margin":{"bottom":"0"}}}} /-->
+
+ <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"20px","right":"20px"}}},"layout":{"type":"constrained"}} -->
+ <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--20);padding-right:20px;padding-bottom:var(--wp--preset--spacing--20);padding-left:20px">
+
+ <!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"600","lineHeight":1.6},"spacing":{"margin":{"bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"fontSize":"normal","fontFamily":"inter"} /-->
+
+ <!-- wp:post-excerpt {"showMoreOnNewLine":false,"excerptLength":16,"style":{"spacing":{"margin":{"top":"var:preset|spacing|10"}},"typography":{"lineHeight":1.6}}} /-->
+
+ <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"left"}} -->
+ <div class="wp-block-group">
+
+ <!-- wp:wporg-learn/learning-duration {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4","fontSize":"small"} /-->
+
+ <!-- wp:wporg-learn/lesson-count {"style":{"layout":{"selfStretch":"fill","flexSize":null}},"fontSize":"extra-small"} /-->
+
+ <!-- wp:wporg-learn/course-status {"fontSize":"extra-small"} /-->
+
+ </div>
+ <!-- /wp:group -->
+
+ </div>
+ <!-- /wp:group -->
+
+ <!-- /wp:post-template -->
+
+ <!-- wp:query-no-results -->
+
+ <!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
+ <p><?php esc_html_e( 'No featured courses found.', 'wporg-learn' ); ?></p>
+ <!-- /wp:paragraph -->
+
+ <!-- /wp:query-no-results -->
+
+</div>
+<!-- /wp:query -->
+
+<!-- wp:heading {"style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|10"}}}} -->
+<h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Lessons', 'wporg-learn' ); ?></h2>
+<!-- /wp:heading -->
+
+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
+<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40)">
+
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
+ <p class="has-charcoal-4-color has-text-color has-link-color"><?php esc_html_e( 'Lessons are short video tutorials that teach you about a specific topic.', 'wporg-learn' ); ?></p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"textColor":"charcoal-4"} -->
+ <p class="has-charcoal-4-color has-text-color has-link-color"><a href="<?php echo esc_url( site_url( '/lessons/' ) ); ?>"><?php esc_html_e( 'See all Lessons', 'wporg-learn' ); ?></a></p>
+ <!-- /wp:paragraph -->
+
+</div>
+<!-- /wp:group -->
+
+<!-- wp:query {"queryId":1,"query":{"perPage":"6","pages":0,"offset":0,"postType":"lesson","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"parents":[]}} -->
+<div class="wp-block-query">
+
+ <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"330px"}} -->
+
+ <!-- wp:group {"style":{"border":{"width":"1px","color":"var:preset|color|light-grey-1","radius":"2px"},"spacing":{"blockGap":"0"},"dimensions":{"minHeight":"100%"}},"backgroundColor":"white","layout":{"type":"flex","orientation":"vertical"}} -->
+ <div class="wp-block-group has-border-color has-white-background-color has-background" style="border-color:var(--wp--preset--color--light-grey-1);border-width:1px;border-radius:2px;min-height:100%">
+
+ <!-- wp:post-featured-image {"style":{"spacing":{"margin":{"bottom":"0"}}}} /-->
+
+ <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"20px","right":"20px"}}},"layout":{"type":"constrained"}} -->
+ <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--20);padding-right:20px;padding-bottom:var(--wp--preset--spacing--20);padding-left:20px">
+
+ <!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"fontSize":"normal","fontFamily":"inter"} /-->
+
+ <!-- wp:post-excerpt {"showMoreOnNewLine":false,"excerptLength":16,"style":{"spacing":{"margin":{"top":"var:preset|spacing|10"}},"typography":{"lineHeight":1.6}}} /-->
+
+ <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
+ <div class="wp-block-group">
+
+ <!-- wp:wporg-learn/learning-duration {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4","fontSize":"small"} /-->
+
+ <!-- wp:post-terms {"term":"level","separator":" ","className":"is-style-tag","fontSize":"extra-small"} /-->
+
+ </div>
+ <!-- /wp:group -->
+
+ </div>
+ <!-- /wp:group -->
+
+ </div>
+ <!-- /wp:group -->
+
+ <!-- /wp:post-template -->
+
+ <!-- wp:query-no-results -->
+
+ <!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
+ <p><?php esc_html_e( 'No lessons found.', 'wporg-learn' ); ?></p>
+ <!-- /wp:paragraph -->
+
+ <!-- /wp:query-no-results -->
+
+</div>
+<!-- /wp:query -->
+
+<!-- wp:heading {"style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|10"}}}} -->
+<h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Upcoming Online Workshops', 'wporg-learn' ); ?></h2>
+<!-- /wp:heading -->
+
+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
+<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40)">
+
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
+ <p class="has-charcoal-4-color has-text-color has-link-color"><?php esc_html_e( 'Hands-on learning experiences where you can learn about a WordPress topic with fellow WordPress enthusiasts.', 'wporg-learn' ); ?></p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"textColor":"charcoal-4"} -->
+ <p class="has-charcoal-4-color has-text-color has-link-color"><a href="<?php echo esc_url( site_url( '/online-workshops' ) ); ?>"><?php esc_html_e( 'See all Online Workshops', 'wporg-learn' ); ?></a></p>
+ <!-- /wp:paragraph -->
+
+</div>
+<!-- /wp:group -->
+
+<!-- wp:wporg-learn/upcoming-online-workshops {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|50"}}}} /-->
+
+<!-- wp:paragraph {"fontSize":"huge","fontFamily":"eb-garamond"} -->
+<p class="has-eb-garamond-font-family has-huge-font-size">[TBD. Paragraph about inviting users to join the Training team to contribute with content creation]</p>
+<!-- /wp:paragraph -->
+
+<!-- wp:buttons {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
+<div class="wp-block-buttons" style="margin-bottom:var(--wp--preset--spacing--50)">
+
+ <!-- wp:button -->
+ <div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="/contribute">Contribute</a></div>
+ <!-- /wp:button -->
+
+ <!-- wp:button {"className":"is-style-outline"} -->
+ <div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="https://make.wordpress.org/training/handbook/"><?php esc_html_e( 'See the Training team\'s handbook', 'wporg-learn' ); ?></a></div>
+ <!-- /wp:button -->
+
+</div>
+<!-- /wp:buttons -->
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwaycardsblockjson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.json 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,7 +23,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ]
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "textdomain": "wporg",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "textdomain": "wporg-learn",
</ins><span class="cx" style="display: block; padding: 0 10px"> "editorScript": "file:./index.js",
</span><span class="cx" style="display: block; padding: 0 10px"> "style": "file:./style-index.css"
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwaycardsblockphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.php 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/block.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -41,7 +41,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return __( 'No learning pathways found.', 'wporg-learn' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $content = '<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"className":"is-style-cards-grid","layout":{"type":"grid","columnCount":"2","minimumColumnWidth":null}} --><div class="wp-block-group is-style-cards-grid">';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $content = '<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"className":"is-style-cards-grid","layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"350px"}} --><div class="wp-block-group is-style-cards-grid">';
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $learning_pathways as $learning_pathway ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $content .= $is_mini ? render_mini_card( $learning_pathway ) : render_full_card( $learning_pathway );
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwaycardsstylescss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/style.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/style.scss 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-cards/style.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,11 +32,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> flex: 1;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
- .course {
- border-bottom: unset;
- margin: unset;
- padding: unset;
- }
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_cardscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_card.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_card.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_card.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,36 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.is-layout-grid {
+ .course,
+ .lesson {
+ .wp-block-wporg-learn-learning-duration {
+ display: flex;
+ align-items: center;
+
+ &::before {
+ // 'clock' icon
+ content: "\f469";
+ /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
+ font-family: dashicons;
+ display: block;
+ width: 24px;
+ height: 24px;
+ font-size: 24px;
+ line-height: 1;
+ margin-right: 6px;
+ }
+ }
+
+ .wp-block-wporg-learn-lesson-count {
+ display: flex;
+ align-items: center;
+
+ &::before {
+ content: "";
+ display: block;
+ width: 24px;
+ height: 24px;
+ margin-right: 6px;
+ background: url(../../assets/icon-lessons.svg) no-repeat;
+ }
+ }
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_componentsscss"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_components.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_components.scss 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_components.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.components-modal__frame {
- box-shadow: unset;
- border-radius: unset;
-}
-
-.components-modal__content {
- padding: 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
-}
-
-.components-modal__header {
- padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0;
-}
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_coursegridscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_course-grid.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_course-grid.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_course-grid.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,42 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wporg-learn-course-grid {
+ &.wp-block-query > .is-layout-grid {
+ row-gap: var(--wp--preset--spacing--50);
+ }
+
+ .course {
+ position: relative;
+
+ &::before,
+ &::after {
+ content: "";
+ position: absolute;
+ display: block;
+ border: 1px solid var(--wp--custom--color--border);
+ border-radius: 2px;
+ background: var(--wp--preset--color--white);
+ height: 10px;
+ }
+
+ &::before {
+ top: -6px;
+ z-index: -1;
+ width: calc(100% - 24px);
+ left: 12px;
+ }
+
+ &::after {
+ top: -12px;
+ z-index: -2;
+ width: calc(100% - 48px);
+ left: 24px;
+ }
+ }
+
+ .sensei-lms-course-list-featured-label__text {
+ display: none;
+ }
+
+ .wp-block-post-title a {
+ color: var(--wp--custom--link--color--text);
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_senseiscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -74,3 +74,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+.course:not(body) {
+ border-bottom: unset;
+ margin: unset;
+ padding: unset;
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_tagscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_tag.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_tag.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_tag.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,30 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+%wporg-learn-tag {
+ display: inline-block;
+ padding: 4px var(--wp--preset--spacing--10);
+ border-radius: 2px;
+ text-decoration: none;
+ color: var(--wp--preset--color--charcoal-1);
+}
+
+.wp-block-post-terms.is-style-tag a {
+
+ @extend %wporg-learn-tag;
+
+ background-color: var(--wp--preset--color--blueberry-4);
+
+ &:hover {
+ text-decoration: underline;
+ }
+}
+
+.wp-block-wporg-learn-course-status {
+
+ @extend %wporg-learn-tag;
+
+ background-color: var(--wp--preset--color--light-grey-2);
+
+ &.is-completed {
+ background-color: var(--wp--preset--color--acid-green-3);
+ color: var(--wp--custom--color--green-70);
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstyle_wpcomponentsscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_wp-components.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_wp-components.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_wp-components.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,12 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.components-modal__frame {
+ box-shadow: unset;
+ border-radius: unset;
+}
+
+.components-modal__content {
+ padding: 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
+}
+
+.components-modal__header {
+ padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0;
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcstylestylescss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/style.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/style.scss 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/style.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,8 +3,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * templates or theme.json settings.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-@import "components";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@import "card";
+@import "course-grid";
</ins><span class="cx" style="display: block; padding: 0 10px"> @import "sensei";
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@import "tag";
+@import "wp-components";
</ins><span class="cx" style="display: block; padding: 0 10px"> @import "wporg-meeting-calendar";
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> body {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,3 +14,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> --wp-components-color-accent: var(--wp--preset--color--blueberry-1);
</span><span class="cx" style="display: block; padding: 0 10px"> --wp-components-color-accent-darker-10: var(--wp--preset--color--deep-blueberry);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+// For all post grids, make the grid items the same height
+.wp-block-query > .is-layout-grid {
+ grid-auto-rows: 1fr;
+ container-type: normal;
+ row-gap: var(--wp--preset--spacing--40);
+}
+
+// Ensure nested elements in containers with rounded corners are cropped to match
+// eg. card featured images
+[style*="border-radius:2px"] {
+ overflow: hidden;
+}
+
+.wporg-learn-footer-signup {
+
+ @media screen and (max-width: 781px) {
+ border-left: none;
+ padding-left: unset !important;
+ padding-top: unset !important;
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsblockjson"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,25 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg-learn/upcoming-online-workshops",
+ "version": "0.1.0",
+ "title": "Upcoming Online Workshop Cards",
+ "category": "widgets",
+ "icon": "smiley",
+ "description": "Show a cards grid of upcoming online workshops.",
+ "usesContext": [],
+ "attributes": {},
+ "supports": {
+ "html": false,
+ "spacing": {
+ "margin": [
+ "top",
+ "bottom"
+ ]
+ }
+ },
+ "textdomain": "wporg-learn",
+ "editorScript": "file:./index.js",
+ "style": "file:./style-index.css",
+ "viewScript": "file:./view.js"
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsblockphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.php 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,82 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+namespace WordPressdotorg\Theme\Learn_2024\Upcoming_Online_Workshops;
+
+use function WPOrg_Learn\Events\{get_discussion_events};
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type(
+ dirname( dirname( __DIR__ ) ) . '/build/upcoming-online-workshops',
+ array(
+ 'render_callback' => __NAMESPACE__ . '\render',
+ )
+ );
+}
+
+/**
+ * Render the block content.
+ *
+ * @param array $attributes Block attributes.
+ * @param string $content Block default content.
+ * @param WP_Block $block Block instance.
+ *
+ * @return string Returns the block markup.
+ */
+function render( $attributes, $content, $block ) {
+ $upcoming_online_workshops = get_discussion_events();
+
+ if ( empty( $upcoming_online_workshops ) || is_wp_error( $upcoming_online_workshops ) ) {
+ $content = '<!-- wp:group {"layout":{"type":"constrained"}} -->
+ <div class="wp-block-group"><!-- wp:paragraph -->
+ <p>' . __( 'No upcoming online workshops found.', 'wporg-learn' ) . '</p>
+ <!-- /wp:paragraph --></div>
+ <!-- /wp:group -->';
+ } else {
+ $content = '<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"className":"is-style-cards-grid","layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"330px"}} --><div class="wp-block-group is-style-cards-grid">';
+
+ foreach ( $upcoming_online_workshops as $workshop ) {
+ $timestamp = strtotime( $workshop['date_utc'] ) - (int) $workshop['date_utc_offset'];
+
+ $content .= sprintf(
+ '<!-- wp:wporg/link-wrapper -->
+ <a class="wp-block-wporg-link-wrapper" href="%1$s">
+
+ <!-- wp:heading {"level":3,"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|20"}},"typography":{"lineHeight":1.6}},"fontSize":"normal"} -->
+ <h3 class="wp-block-heading has-normal-font-size" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--20);line-height:1.6">%2$s</h3>
+ <!-- /wp:heading -->
+
+ <!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"className":"is-style-short-text","fontSize":"small"} -->
+ <p class="is-style-short-text has-small-font-size" style="font-style:normal;font-weight:700">%3$s</p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4","className":"is-style-short-text","fontSize":"small"} -->
+ <p class="is-style-short-text has-charcoal-4-color has-text-color has-link-color has-small-font-size" data-date-utc="%4$s"></p>
+ <!-- /wp:paragraph -->
+
+ </a>
+ <!-- /wp:wporg/link-wrapper -->',
+ esc_url( $workshop['url'] ),
+ esc_html( $workshop['title'] ),
+ esc_html( gmdate( 'l F j, Y', $timestamp ) ),
+ esc_attr( gmdate( 'c', $timestamp ) ),
+ );
+ }
+
+ $content .= '</div><!-- /wp:group -->';
+ }
+
+ $wrapper_attributes = get_block_wrapper_attributes();
+ return sprintf(
+ '<div %1$s>%2$s</div>',
+ $wrapper_attributes,
+ do_blocks( $content )
+ );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/block.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/index.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/index.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { registerBlockType } from '@wordpress/blocks';
+
+/**
+ * Internal dependencies
+ */
+import Edit from '../shared/dynamic-edit';
+import metadata from './block.json';
+import './style.scss';
+
+registerBlockType( metadata.name, {
+ /**
+ * @see ./edit.js
+ */
+ edit: Edit,
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsstylescss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/style.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/style.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/style.scss 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,5 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.wp-block-wporg-learn-upcoming-online-workshops {
+ .is-style-cards-grid {
+ row-gap: var(--wp--preset--spacing--40);
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcupcomingonlineworkshopsviewjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/view.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/view.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/upcoming-online-workshops/view.js 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,14 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { format } from '@wordpress/date';
+
+( () => {
+ const utcDates = document.querySelectorAll( '[data-date-utc]' );
+
+ Array.from( utcDates ).forEach( ( date ) => {
+ const utc = date.dataset.dateUtc;
+
+ date.textContent = format( 'g:i a (\\U\\T\\CP)', utc );
+ } );
+} )();
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024stylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Author: WordPress.org
</span><span class="cx" style="display: block; padding: 0 10px"> * Author URI: http://wordpress.org/
</span><span class="cx" style="display: block; padding: 0 10px"> * Description: A theme for learn.wordpress.org, built in 2024.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Version: 1.0.0-16ac699
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Version: 1.0.0-56fc00f
</ins><span class="cx" style="display: block; padding: 0 10px"> * License: GNU General Public License v2 or later
</span><span class="cx" style="display: block; padding: 0 10px"> * License URI: http://www.gnu.org/licenses/gpl-2.0.html
</span><span class="cx" style="display: block; padding: 0 10px"> * Text Domain: wporg-learn
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatesfrontpagehtml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/front-page.html</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/front-page.html 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/front-page.html 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,13 +3,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"tagName":"main","layout":{"type":"constrained"},"className":"entry-content","style":{"spacing":{"blockGap":"0px"}}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <main class="wp-block-group entry-content">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
- <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--edge-space)">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
+ <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:pattern {"slug":"wporg-learn-2024/front-page-content"} /-->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <!-- wp:wporg-learn/learning-pathway-cards {"isMini":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->
-
</del><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:group -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024themejson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/theme.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/theme.json 2024-05-28 11:52:23 UTC (rev 13753)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/theme.json 2024-05-29 02:01:38 UTC (rev 13754)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,7 +7,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "aligned-max-width": "unset"
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "color": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "border": "var(--wp--preset--color--light-grey-1)"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "border": "var(--wp--preset--color--light-grey-1)",
+ "green-70": "#005C12"
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "heading": {
</span><span class="cx" style="display: block; padding: 0 10px"> "typography": {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -97,6 +98,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "layout": {
</span><span class="cx" style="display: block; padding: 0 10px"> "contentSize": "1160px"
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "spacing": {
+ "spacingSizes": [
+ {
+ "name": "Large",
+ "slug": "60",
+ "size": "clamp(40px, calc(10vw - 40px), 80px)"
+ }
+ ]
+ },
</ins><span class="cx" style="display: block; padding: 0 10px"> "typography": {
</span><span class="cx" style="display: block; padding: 0 10px"> "fontSizes": [
</span><span class="cx" style="display: block; padding: 0 10px"> {
</span></span></pre>
</div>
</div>
</body>
</html>