0?c.join(","):"any",type:t});await Rn()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>s?s:t,e.json()})).then((t=>{g((e=>[...e,...t])),b(!1),(n&&n>e||e>=1&&i&&x.length>0)&&E(e+1)})).catch((e=>h(e.message)))}),[k,t,s,i,c,x.length,p]);(0,hn.useEffect)((()=>{C(u)}),[u]),(0,hn.useEffect)((()=>{k&&p<=k.length?E():g([])}),[k,E,p]);const R=e=>{v(S.current.contains(e.target))},T=e=>{"Escape"===e.key&&v(!1)};(0,hn.useEffect)((()=>(document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)))),(0,hn.useEffect)((()=>(S&&document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R))));const I=e=>{let t=[];if(x.some((t=>t.id===e.id))){const n=x.findIndex((t=>t.id===e.id));t=[...x.slice(0,n),...x.slice(n+1,x.length)]}else i?t=[...x,e]:(t=[e],v(!1));C(t),a(t)};return(0,e.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,e.jsxs)("div",{className:Qn()("components-base-control","autocomplete-base-control",n),ref:S,children:[(0,e.jsxs)("div",{"aria-expanded":y,"aria-haspopup":"listbox","aria-owns":`listbox-${d}`,className:Qn()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,e.jsx)("label",{className:Qn()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${d}`,children:(0,e.jsx)("div",{children:o})}),x.length>0?(0,e.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${d}`,id:`selected-items-${d}`,className:Qn()("autocomplete__selection--results","autocomplete__selection-list"),children:x.map((t=>(0,e.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,e.jsx)(Ht.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>I(t),type:"button",children:t.title})},t.title)))}):null,(0,e.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:Qn()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":y}),id:`autocomplete-${d}`,onChange:e=>w(e.target.value),onFocus:()=>v(!0),placeholder:l,type:"text",value:_})]}),(0,e.jsx)(yr,{emptyLabel:r,error:f,labelledById:`autocomplete-${d}`,id:`listbox-${d}`,isOpen:y,loading:A&&k,onSelect:I,options:m,selectedItems:x,threshold:p,value:k})]})})};br.defaultProps={type:"post",className:"",emptyLabel:(0,Yt.__)("No items found","alley-scripts"),label:(0,Yt.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,Yt.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},br.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const _r=br,wr=({className:t,emptyLabel:n,label:r,maxPages:o,multiple:s,onSelect:i,placeholder:a,subTypes:l,selected:c,threshold:u})=>(0,e.jsx)(_r,{type:"term",className:t,emptyLabel:n,label:r,maxPages:o,multiple:s,onSelect:i,placeholder:a,subTypes:l,selected:c,threshold:u});wr.defaultProps={className:"",emptyLabel:(0,Yt.__)("No terms found","alley-scripts"),label:(0,Yt.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,Yt.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},wr.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const xr=wr,Cr=Bt.div`
+ height: auto;
+ width: 100%;
+`,Sr=({src:t})=>(0,e.jsx)(Cr,{children:(0,e.jsx)("video",{className:"edit-video-preview",controls:!0,src:t})});Sr.propTypes={src:o().string.isRequired};const kr=({className:t,onReset:n,onUpdate:r,onUpdateURL:o,value:s,valueURL:i})=>(0,e.jsx)(cn,{allowedTypes:["video"],className:t,icon:"format-video",onReset:n,onUpdate:r,onUpdateURL:o,preview:Sr,value:s,valueURL:i});kr.defaultProps={className:"",onUpdateURL:null,valueURL:""},kr.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const Er=kr})(),r})(),e.exports=t()},184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t 0?c.join(","):"any",type:t});await Rn()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>s?s:t,e.json()})).then((t=>{g((e=>[...e,...t])),_(!1),(n&&n>e||e>=1&&i&&C.length>0)&&k(e+1)})).catch((e=>h(e.message)))}),[E,t,s,i,c,C.length,p]);(0,hn.useEffect)((()=>{x(u)}),[u]),(0,hn.useEffect)((()=>{E&&p<=E.length?k():g([])}),[E,k,p]);const R=e=>{v(S.current.contains(e.target))},T=e=>{"Escape"===e.key&&v(!1)};(0,hn.useEffect)((()=>(document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)))),(0,hn.useEffect)((()=>(S&&document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R))));const I=e=>{let t=[];if(C.some((t=>t.id===e.id))){const n=C.findIndex((t=>t.id===e.id));t=[...C.slice(0,n),...C.slice(n+1,C.length)]}else i?t=[...C,e]:(t=[e],v(!1));x(t),a(t)};return(0,e.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,e.jsxs)("div",{className:Kn()("components-base-control","autocomplete-base-control",n),ref:S,children:[(0,e.jsxs)("div",{"aria-expanded":y,"aria-haspopup":"listbox","aria-owns":`listbox-${d}`,className:Kn()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,e.jsx)("label",{className:Kn()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${d}`,children:(0,e.jsx)("div",{children:o})}),C.length>0?(0,e.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${d}`,id:`selected-items-${d}`,className:Kn()("autocomplete__selection--results","autocomplete__selection-list"),children:C.map((t=>(0,e.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,e.jsx)(Ht.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>I(t),type:"button",children:t.title})},t.title)))}):null,(0,e.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:Kn()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":y}),id:`autocomplete-${d}`,onChange:e=>w(e.target.value),onFocus:()=>v(!0),placeholder:l,type:"text",value:A})]}),(0,e.jsx)(yr,{emptyLabel:r,error:f,labelledById:`autocomplete-${d}`,id:`listbox-${d}`,isOpen:y,loading:b&&E,onSelect:I,options:m,selectedItems:C,threshold:p,value:E})]})})};_r.defaultProps={type:"post",className:"",emptyLabel:(0,Yt.__)("No items found","alley-scripts"),label:(0,Yt.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,Yt.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},_r.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const Ar=_r,wr=({className:t,emptyLabel:n,label:r,maxPages:o,multiple:s,onSelect:i,placeholder:a,subTypes:l,selected:c,threshold:u})=>(0,e.jsx)(Ar,{type:"term",className:t,emptyLabel:n,label:r,maxPages:o,multiple:s,onSelect:i,placeholder:a,subTypes:l,selected:c,threshold:u});wr.defaultProps={className:"",emptyLabel:(0,Yt.__)("No terms found","alley-scripts"),label:(0,Yt.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,Yt.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},wr.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const Cr=wr,xr=Bt.div`
+ height: auto;
+ width: 100%;
+`,Sr=({src:t})=>(0,e.jsx)(xr,{children:(0,e.jsx)("video",{className:"edit-video-preview",controls:!0,src:t})});Sr.propTypes={src:o().string.isRequired};const Er=({className:t,onReset:n,onUpdate:r,onUpdateURL:o,value:s,valueURL:i})=>(0,e.jsx)(cn,{allowedTypes:["video"],className:t,icon:"format-video",onReset:n,onUpdate:r,onUpdateURL:o,preview:Sr,value:s,valueURL:i});Er.defaultProps={className:"",onUpdateURL:null,valueURL:""},Er.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const kr=Er})(),r})(),e.exports=t()},254:function(e,t,n){"use strict";var r=window.React,o=window.wp.blocks,s=window.wp.blockEditor,i=n(373),a=n(184),l=n.n(a),c=window.wp.apiFetch,u=n.n(c),p=window.wp.components,d=window.wp.data,f=window.wp.element,h=window.wp.i18n,m=window.wp.url;const g=new Map,y=new Map;let v=!1,b=!1;function _(e){if(!e)return!0;const t="string"==typeof e?parseInt(e,10):e;return!g.has(t)&&(g.set(t,!0),!0)}function A(e){if(!e)return;const t="string"==typeof e?parseInt(e,10):e;g.set(t,!0)}const w=(e,t)=>{e.forEach((e=>{if("wp-curate/query"===e.name)t.push(e);else{const{innerBlocks:n}=e;if(!n)return;w(n,t)}}))};function C(){if(v)return void(b=!0);v=!0,b=!1,g.clear(),y.clear();const e=(0,d.select)("core/block-editor").getBlocks(),{wp_curate_deduplication:t=!0}=(0,d.select)("core/editor").getEditedPostAttribute("meta")||{},n=[];w(e,n),n.forEach((e=>{const{attributes:n}=e,{backfillPosts:r=null,deduplication:o="inherit",posts:s=[],numberOfPosts:i=5,postTypes:a=["post"]}=n;if(!r)return;const l=a.join(",");let c=0;const u=[],p=s,f=r.filter((e=>!p.includes(e)));for(let e=0;e{let r,s,i=!1;if(null!==p[n])r=p[n],A(r);else do{f[c]&&(s=f[c],t&&"inherit"===o?i=_(s):(i=!0,A(s))),c+=1}while(!1===i&&c<=f.length);u.push(r||s)})),(0,d.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,{query:{perPage:i,postType:"post",type:l,include:u.join(","),orderby:"include"},queryId:0})})),v=!1,b&&C()}var x=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-curate/query","version":"0.1.0","title":"Query","category":"theme","icon":"filter","description":"Custom queries for WP Curate","textdomain":"wp-curate","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"providesContext":{"query":"query","displayLayout":"displayLayout","heading":"heading","curation":"curation"},"attributes":{"deduplication":{"default":"inherit","enum":["inherit","never"],"type":"string"},"maxNumberOfPosts":{"default":10,"type":"number"},"minNumberOfPosts":{"default":1,"type":"number"},"numberOfPosts":{"default":5,"type":"number"},"offset":{"default":0,"type":"number"},"postTypes":{"default":["post"],"items":{"type":"string"},"type":"array"},"posts":{"default":[],"items":{"type":"number"},"type":"array"},"searchTerm":{"default":"","type":"string"},"terms":{"default":{},"items":{"default":[],"items":{"type":"object"},"type":"array"},"type":"object"},"termRelations":{"default":{},"items":{"default":"AND","enum":["AND","OR"],"type":"string"},"type":"object"},"taxRelation":{"default":"AND","enum":["AND","OR"],"type":"string"}}}');(0,o.registerBlockType)(x,{edit:function(e){let{attributes:{backfillPosts:t=[],deduplication:n="inherit",maxNumberOfPosts:o=10,minNumberOfPosts:a=1,numberOfPosts:c=5,offset:g=0,posts:y=[],postTypes:v=["post"],searchTerm:b="",terms:_={},termRelations:A={},taxRelation:w="AND"},setAttributes:x}=e;const{wpCurateQueryBlock:{allowedPostTypes:S=[],allowedTaxonomies:E=[]}={}}=window,k=[{label:(0,h.__)("AND","wp-curate"),value:"AND"},{label:(0,h.__)("OR","wp-curate"),value:"OR"}],[R,T]=(0,d.useSelect)((e=>{const t=e("core/editor"),n=t.getEditedPostAttribute("type"),r=t.getEditedPostAttribute("meta");return[Boolean(r?.wp_curate_deduplication),n?e("core").getPostType(n):null]})),I=function(e,t){const[n,o]=r.useState(e);return r.useEffect((()=>{const t=setTimeout((()=>{o(e)}),500);return()=>{clearTimeout(t)}}),[e,500]),n}(null!=b?b:""),[N,O]=(0,f.useState)({}),[P,L]=(0,f.useState)({}),j=E.filter((e=>_[e]?.length>0)).length,D=function(e,t,n,r,o){const s=e.filter((e=>t[e]?.length>0)).length,i=[];return Object.keys(n).length>0&&(e.forEach((e=>{if(t[e]?.length>0){const o=n[e].rest_base;o&&(i.push(`${o}[terms]=${t[e].map((e=>e.id)).join(",")}`),""!==r[e]&&void 0!==r[e]&&i.push(`${o}[operator]=${r[e]}`))}})),s>1&&i.push(`tax_relation=${o}`)),i.join("&")}(E,_,N,A,w),U=y.map((e=>null!=e?e:null)).join(","),M=v.join(",");(0,f.useEffect)((()=>{(async()=>{u()({path:"/wp/v2/taxonomies"}).then((e=>{O(e)}))})()}),[]),(0,f.useEffect)((()=>{(async()=>{u()({path:"/wp/v2/types"}).then((e=>{L(e)}))})()}),[]),(0,f.useEffect)((()=>{Object.keys(N).length<=0||(async()=>{let e=(0,m.addQueryArgs)("/wp/v2/posts",{search:I,offset:g,type:M,status:"publish",per_page:20});e+=`&${D}`,u()({path:e}).then((e=>{const t=e.map((e=>e.id));x({backfillPosts:t})}))})()}),[I,D,g,M,N,x]),(0,f.useEffect)((()=>{C()}),[U,t,c,x,M,R,n]);const B=(e,t)=>{const n=[...y];n.splice(t,1,e),x({posts:n})};for(let e=0;e 0?c.join(","):"any",type:t});await Rn()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>s?s:t,e.json()})).then((t=>{g((e=>[...e,...t])),b(!1),(n&&n>e||e>=1&&i&&C.length>0)&&k(e+1)})).catch((e=>h(e.message)))}),[E,t,s,i,c,C.length,p]);(0,hn.useEffect)((()=>{x(u)}),[u]),(0,hn.useEffect)((()=>{E&&p<=E.length?k():g([])}),[E,k,p]);const R=e=>{v(S.current.contains(e.target))},T=e=>{"Escape"===e.key&&v(!1)};(0,hn.useEffect)((()=>(document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)))),(0,hn.useEffect)((()=>(S&&document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R))));const I=e=>{let t=[];if(C.some((t=>t.id===e.id))){const n=C.findIndex((t=>t.id===e.id));t=[...C.slice(0,n),...C.slice(n+1,C.length)]}else i?t=[...C,e]:(t=[e],v(!1));x(t),a(t)};return(0,e.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,e.jsxs)("div",{className:Qn()("components-base-control","autocomplete-base-control",n),ref:S,children:[(0,e.jsxs)("div",{"aria-expanded":y,"aria-haspopup":"listbox","aria-owns":`listbox-${d}`,className:Qn()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,e.jsx)("label",{className:Qn()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${d}`,children:(0,e.jsx)("div",{children:o})}),C.length>0?(0,e.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${d}`,id:`selected-items-${d}`,className:Qn()("autocomplete__selection--results","autocomplete__selection-list"),children:C.map((t=>(0,e.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,e.jsx)(Ht.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>I(t),type:"button",children:t.title})},t.title)))}):null,(0,e.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:Qn()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":y}),id:`autocomplete-${d}`,onChange:e=>w(e.target.value),onFocus:()=>v(!0),placeholder:l,type:"text",value:_})]}),(0,e.jsx)(yr,{emptyLabel:r,error:f,labelledById:`autocomplete-${d}`,id:`listbox-${d}`,isOpen:y,loading:A&&E,onSelect:I,options:m,selectedItems:C,threshold:p,value:E})]})})};br.defaultProps={type:"post",className:"",emptyLabel:(0,Yt.__)("No items found","alley-scripts"),label:(0,Yt.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,Yt.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},br.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const _r=br,wr=({className:t,emptyLabel:n,label:r,maxPages:o,multiple:s,onSelect:i,placeholder:a,subTypes:l,selected:c,threshold:u})=>(0,e.jsx)(_r,{type:"term",className:t,emptyLabel:n,label:r,maxPages:o,multiple:s,onSelect:i,placeholder:a,subTypes:l,selected:c,threshold:u});wr.defaultProps={className:"",emptyLabel:(0,Yt.__)("No terms found","alley-scripts"),label:(0,Yt.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,Yt.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},wr.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const Cr=wr,xr=Bt.div`
+ height: auto;
+ width: 100%;
+`,Sr=({src:t})=>(0,e.jsx)(xr,{children:(0,e.jsx)("video",{className:"edit-video-preview",controls:!0,src:t})});Sr.propTypes={src:o().string.isRequired};const Er=({className:t,onReset:n,onUpdate:r,onUpdateURL:o,value:s,valueURL:i})=>(0,e.jsx)(cn,{allowedTypes:["video"],className:t,icon:"format-video",onReset:n,onUpdate:r,onUpdateURL:o,preview:Sr,value:s,valueURL:i});Er.defaultProps={className:"",onUpdateURL:null,valueURL:""},Er.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const kr=Er})(),r})(),e.exports=t()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}!function(){"use strict";var e=window.wp.plugins,t=window.React,r=window.wp.components,o=window.wp.editPost,s=window.wp.i18n,i=n(373),a=window.lodash,l=window.wp.data;function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;for(const r of e)r.name===t&&(n+=1),r.innerBlocks&&r.innerBlocks.length>0&&(n=c(r.innerBlocks,t,n));return n}window.cloneDeepTemp=a.cloneDeep;(0,e.registerPlugin)("wp-curate-deduplication",{icon:"",render:function(){const[e,n]=(0,i.usePostMetaValue)("wp_curate_deduplication");return c((0,l.useSelect)((e=>e("core/block-editor").getBlocks()),[]),"wp-curate/query")<2?null:(0,t.createElement)(o.PluginDocumentSettingPanel,{icon:"",name:"deduplication",title:(0,s.__)("Deduplication","wp-curate")},(0,t.createElement)(r.ToggleControl,{label:(0,s.__)("Enable deduplication","wp-curate"),checked:e,onChange:e=>n(e)}))}})}()}();
\ No newline at end of file
diff --git a/build/slotfills/index.php b/build/slotfills/index.php
new file mode 100644
index 00000000..e7917f36
--- /dev/null
+++ b/build/slotfills/index.php
@@ -0,0 +1,53 @@
+should_register_block() ) {
+ return;
+ }
+
+ // Automatically load dependencies and version.
+ $asset_file = include __DIR__ . '/index.asset.php';
+
+ wp_register_script(
+ 'wp-curate_slotfills',
+ plugins_url( 'index.js', __FILE__ ),
+ $asset_file['dependencies'],
+ $asset_file['version'],
+ true
+ );
+
+ wp_set_script_translations( 'wp-curate_slotfills', 'wp-curate' );
+}
+add_action( 'init', __NAMESPACE__ . '\register_slotfills_scripts' );
+
+/**
+ * Enqueue block editor assets for this slotfill.
+ */
+function action_enqueue_slotfills_assets(): void {
+ wp_enqueue_script( 'wp-curate_slotfills' );
+}
+add_action(
+ 'enqueue_block_editor_assets',
+ __NAMESPACE__ . '\action_enqueue_slotfills_assets'
+);
diff --git a/phpunit.xml b/phpunit.xml
deleted file mode 100644
index ab2a15ee..00000000
--- a/phpunit.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-