directus-extension-csi-gallery-thumbnails 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{defineDisplay as e}from"@directus/extensions-sdk";import{defineComponent as n,reactive as t,computed as i,ref as a,watch as r,onBeforeUnmount as o,openBlock as l,createElementBlock as s,Fragment as d,renderList as u,unref as c,withKeys as p,withModifiers as f,createElementVNode as m,toDisplayString as g,createBlock as h,Teleport as v,normalizeStyle as b,createCommentVNode as y,nextTick as x}from"vue";const w="directus_files_id",k=["id","type","title","modified_on"];function z(e){return("string"==typeof e?e.trim().replace(/^\.+|\.+$/g,""):"")||w}function _(e){return e.type?.startsWith("image/")??!1}function j(e,n){return C(e,n,160,"contain")}function C(e,n,t,i="inside"){const a=new URL(`assets/${n.id}`,e);return a.searchParams.set("width",String(t)),a.searchParams.set("height",String(t)),a.searchParams.set("fit",i),a.searchParams.set("format","auto"),n.modified_on&&a.searchParams.set("v",n.modified_on),a.href}function E(e){const n=e.type?.split("/")[1]?.split(/[+.;-]/)[0];return(n||"file").slice(0,4).toUpperCase()}const P={key:0,class:"csi-gallery-thumbnails null"},T={key:1,class:"csi-gallery-thumbnails"},$=["aria-label","onPointerenter","onFocus","onClick","onKeydown"],M=["alt","src","onError"],S={key:1,class:"thumb file"},A=["src"],L={key:1},I=["src","alt"],O={key:1,role:"status"};var F=n({__name:"display",props:{value:{},type:{},filePath:{}},setup(e){const n=e,w=function(e){const n=e.split("/"),t=n.indexOf("admin");return`${n.slice(0,t).join("/")}/`}(window.location.href),k=t(new Set),F=i(()=>function(e,n,t){const i="uuid"===t?[e]:Array.isArray(e)?e:[],a=z(n);return i.flatMap(e=>{const n="uuid"===t?e:function(e,n){return n.split(".").reduce((e,n)=>{if(e&&"object"==typeof e)return e[n]},e)}(e,a);if(!n||"object"!=typeof n)return[];const{id:i,type:r,title:o,modified_on:l}=n;return"string"==typeof i&&i?[{id:i,type:"string"==typeof r?r:null,title:"string"==typeof o?o:null,modified_on:"string"==typeof l?l:null}]:[]})}(n.value,n.filePath,n.type)),B=a(null),D=a({}),K=a(!1),N=a(null),R=a(!1),U=a(null);let W;function q(){clearTimeout(W),B.value=null,window.removeEventListener("scroll",q,!0),window.removeEventListener("resize",q)}function H(e,n){if(q(),N.value||!e.isConnected)return;const t=function(e,n,t){const i=12,a=Math.max(1,Math.min(400,n-24,t-24)),r=e.right+i+a<=n-i?e.right+i:e.left-i-a;return{left:Math.max(i,Math.min(r,n-a-i)),top:Math.max(i,Math.min(e.top,t-a-i)),width:a,height:a}}(e.getBoundingClientRect(),window.innerWidth,window.innerHeight);D.value=Object.fromEntries(Object.entries(t).map(([e,n])=>[e,`${n}px`])),K.value=!1,B.value=n,window.addEventListener("scroll",q,!0),window.addEventListener("resize",q)}function V(){U.value?.close(),N.value=null}function G(e){e.target===U.value&&V()}return r(F,()=>{q(),V()}),o(()=>{q(),V()}),(e,n)=>(l(),s(d,null,[0===F.value.length?(l(),s("span",P,"--")):(l(),s("span",T,[(l(!0),s(d,null,u(F.value,(e,t)=>(l(),s(d,{key:`${e.id}-${t}`},[c(_)(e)&&!k.has(e.id)?(l(),s("button",{key:0,type:"button",class:"image-button","aria-label":`Enlarge ${e.title||`image ${t+1}`}`,"aria-haspopup":"dialog",onPointerenter:n=>function(e,n){if("touch"===e.pointerType)return;q();const t=e.currentTarget;W=setTimeout(()=>H(t,n),150)}(n,e),onPointerleave:q,onFocus:n=>function(e,n){H(e.currentTarget,n)}(n,e),onBlur:q,onClick:f(n=>async function(e){q(),R.value=!1,N.value=e,await x(),U.value?.showModal()}(e),["stop"]),onDblclick:n[0]||(n[0]=f(()=>{},["stop"])),onKeydown:[n[1]||(n[1]=p(f(()=>{},["stop"]),["enter"])),n[2]||(n[2]=p(f(()=>{},["stop"]),["space"])),p(f(q,["stop"]),["esc"])]},[m("img",{alt:e.title??"",src:c(j)(c(w),e),class:"thumb",loading:"lazy",onError:n=>{return t=e.id,k.add(t),void(B.value?.id===t&&q());var t}},null,40,M)],40,$)):(l(),s("span",S,g(c(E)(e)),1))],64))),128))])),(l(),h(v,{to:"body"},[B.value?(l(),s("div",{key:0,class:"csi-image-preview",style:b(D.value),"aria-hidden":"true"},[K.value?(l(),s("span",L,"Image preview unavailable")):(l(),s("img",{key:B.value.id,src:c(C)(c(w),B.value,800),alt:"",onError:n[3]||(n[3]=e=>K.value=!0)},null,40,A))],4)):y("v-if",!0),m("dialog",{ref_key:"dialog",ref:U,class:"csi-image-dialog","aria-label":"Image preview",onClick:f(G,["stop"]),onClose:n[5]||(n[5]=e=>N.value=null),onCancel:n[6]||(n[6]=e=>N.value=null)},[N.value?(l(),s(d,{key:0},[m("header",null,[m("span",null,g(N.value.title||"Image preview"),1),m("button",{type:"button",autofocus:"","aria-label":"Close image preview",onClick:V}," × ")]),R.value?(l(),s("p",O,"Image preview unavailable")):(l(),s("img",{key:N.value.id,src:c(C)(c(w),N.value,1600),alt:N.value.title??"",onError:n[4]||(n[4]=e=>R.value=!0)},null,40,I))],64)):y("v-if",!0)],544)]))],64))}}),B=[],D=[];!function(e,n){if(e&&"undefined"!=typeof document){var t,i=!0===n.prepend?"prepend":"append",a=!0===n.singleTag,r="string"==typeof n.container?document.querySelector(n.container):document.getElementsByTagName("head")[0];if(a){var o=B.indexOf(r);-1===o&&(o=B.push(r)-1,D[o]={}),t=D[o]&&D[o][i]?D[o][i]:D[o][i]=l()}else t=l();65279===e.charCodeAt(0)&&(e=e.substring(1)),t.styleSheet?t.styleSheet.cssText+=e:t.appendChild(document.createTextNode(e))}function l(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),n.attributes)for(var t=Object.keys(n.attributes),a=0;a<t.length;a++)e.setAttribute(t[a],n.attributes[t[a]]);var o="prepend"===i?"afterbegin":"beforeend";return r.insertAdjacentElement(o,e),e}}('\n.csi-gallery-thumbnails[data-v-dad23590] {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n max-inline-size: 100%;\n min-inline-size: 0;\n vertical-align: middle;\n}\n.image-button[data-v-dad23590] {\n display: inline-flex;\n flex: none;\n padding: 0;\n border: 0;\n border-radius: var(--theme--border-radius);\n background: transparent;\n cursor: zoom-in;\n}\n.image-button[data-v-dad23590]:focus-visible {\n outline: 2px solid var(--theme--primary, #6644ff);\n outline-offset: 2px;\n}\n.thumb[data-v-dad23590] {\n flex: none;\n inline-size: var(--csi-gallery-thumbnail-size, 32px);\n block-size: var(--csi-gallery-thumbnail-size, 32px);\n border-radius: var(--theme--border-radius);\n object-fit: contain;\n background-color: var(--theme--background-normal);\n}\n.file[data-v-dad23590] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--theme--foreground-subdued);\n font-size: 9px;\n font-weight: 600;\n}\n.null[data-v-dad23590] {\n color: var(--theme--foreground-subdued);\n}\n\n/* Directus 12.3 table rows expose their native spacing as Vue CSS variables:\n 29/43/58px plus a 2px border. Match those values without depending on the\n generated variable name. Leave the native variables intact so switching\n spacing continues to work; only rows containing this display grow. */\n.table-row:has(.csi-gallery-thumbnails) {\n --csi-gallery-thumbnail-size: 32px;\n block-size: auto;\n min-block-size: calc(var(--csi-gallery-thumbnail-size) + 16px);\n}\n.table-row[style*=": 45px;"]:has(.csi-gallery-thumbnails) {\n --csi-gallery-thumbnail-size: 56px;\n}\n.table-row[style*=": 60px;"]:has(.csi-gallery-thumbnails) {\n --csi-gallery-thumbnail-size: 80px;\n}\n.csi-image-preview[data-v-dad23590] {\n position: fixed;\n z-index: 10000;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px;\n box-sizing: border-box;\n border: 1px solid var(--theme--border-color, #dde4e8);\n border-radius: var(--theme--border-radius, 6px);\n background: var(--theme--background, #fff);\n color: var(--theme--foreground, #26333f);\n box-shadow: 0 8px 32px #0003;\n pointer-events: none;\n}\n.csi-image-preview img[data-v-dad23590] {\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n.csi-image-dialog[data-v-dad23590] {\n width: min(960px, calc(100vw - 32px));\n max-height: calc(100dvh - 32px);\n padding: 16px;\n box-sizing: border-box;\n border: 1px solid var(--theme--border-color, #dde4e8);\n border-radius: var(--theme--border-radius, 6px);\n background: var(--theme--background, #fff);\n color: var(--theme--foreground, #26333f);\n}\n.csi-image-dialog[data-v-dad23590]::backdrop {\n background: #0009;\n}\n.csi-image-dialog header[data-v-dad23590] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n margin-bottom: 12px;\n}\n.csi-image-dialog header span[data-v-dad23590] {\n overflow-wrap: anywhere;\n}\n.csi-image-dialog button[data-v-dad23590] {\n flex: none;\n width: 36px;\n height: 36px;\n border: 0;\n border-radius: 6px;\n font: 28px/1 sans-serif;\n cursor: pointer;\n color: inherit;\n background: var(--theme--background-normal, #f1f4f6);\n}\n.csi-image-dialog > img[data-v-dad23590] {\n display: block;\n width: 100%;\n height: min(700px, 70dvh);\n object-fit: contain;\n}\n',{});var K=e({id:"csi-gallery-thumbnails",name:"Image Thumbnails",icon:"photo_library",description:"Show every image with hover previews and click-to-enlarge.",component:((e,n)=>{const t=e.__vccOpts||e;for(const[e,i]of n)t[e]=i;return t})(F,[["__scopeId","data-v-dad23590"]]),types:["alias","uuid"],localTypes:["files","m2m","o2m","file"],fields:(e,n)=>function(e,n){if("uuid"===n)return[...k];const t=z(e);return k.map(e=>`${t}.${e}`)}(e?.filePath,n.type),options:e=>"uuid"===e.field?.type?[]:[{field:"filePath",name:"Path to the file",type:"string",meta:{interface:"input",width:"half",note:"From one gallery row to its file. Files field: directus_files_id. Asset Library: asset_library_id.file",options:{placeholder:w,font:"monospace"}},schema:{default_value:w}}]});export{K as default};
1
+ import{defineDisplay as e}from"@directus/extensions-sdk";import{defineComponent as n,reactive as t,computed as a,ref as i,watch as r,onBeforeUnmount as o,openBlock as l,createElementBlock as s,Fragment as d,renderList as u,unref as c,withKeys as p,withModifiers as g,createElementVNode as m,toDisplayString as f,createBlock as v,Teleport as h,normalizeStyle as b,normalizeClass as y,createCommentVNode as x,nextTick as w}from"vue";const k="directus_files_id",z=["id","type","title","modified_on"];function _(e){return("string"==typeof e?e.trim().replace(/^\.+|\.+$/g,""):"")||k}function j(e){return e.type?.startsWith("image/")??!1}function C(e,n){return E(e,n,160,"contain")}function E(e,n,t,a="inside"){const i=new URL(`assets/${n.id}`,e);return i.searchParams.set("width",String(t)),i.searchParams.set("height",String(t)),i.searchParams.set("fit",a),i.searchParams.set("format","auto"),n.modified_on&&i.searchParams.set("v",n.modified_on),i.href}function P(e){const n=e.type?.split("/")[1]?.split(/[+.;-]/)[0];return(n||"file").slice(0,4).toUpperCase()}const L={key:0,class:"csi-gallery-thumbnails null"},T={key:1,class:"csi-gallery-thumbnails"},$=["aria-label","onPointerenter","onFocus","onClick","onKeydown"],M=["alt","src","onError"],S={key:1,class:"thumb file"},A=["src"],I={key:1},O={key:2,class:"loading-message"},F=["onKeydown"],K=["src","alt"],B={key:1,role:"status"},D={key:2,class:"loading-message",role:"status"};var N=n({__name:"display",props:{value:{},type:{},filePath:{}},setup(e){const n=e,k=function(e){const n=e.split("/"),t=n.indexOf("admin");return`${n.slice(0,t).join("/")}/`}(window.location.href),z=t(new Set),N=a(()=>function(e,n,t){const a="uuid"===t?[e]:Array.isArray(e)?e:[],i=_(n);return a.flatMap(e=>{const n="uuid"===t?e:function(e,n){return n.split(".").reduce((e,n)=>{if(e&&"object"==typeof e)return e[n]},e)}(e,i);if(!n||"object"!=typeof n)return[];const{id:a,type:r,title:o,modified_on:l}=n;return"string"==typeof a&&a?[{id:a,type:"string"==typeof r?r:null,title:"string"==typeof o?o:null,modified_on:"string"==typeof l?l:null}]:[]})}(n.value,n.filePath,n.type)),R=i(null),U=i({}),W=i(!1),q=i(!1),H=i(null),V=i(!1),G=i(!1),J=i(null);let Q;function X(){clearTimeout(Q),R.value=null,window.removeEventListener("scroll",X,!0),window.removeEventListener("resize",X)}function Y(e,n){if(X(),H.value||!e.isConnected)return;const t=function(e,n,t){const a=12,i=Math.max(1,Math.min(400,n-24,t-24)),r=e.right+a+i<=n-a?e.right+a:e.left-a-i;return{left:Math.max(a,Math.min(r,n-i-a)),top:Math.max(a,Math.min(e.top,t-i-a)),width:i,height:i}}(e.getBoundingClientRect(),window.innerWidth,window.innerHeight);U.value=Object.fromEntries(Object.entries(t).map(([e,n])=>[e,`${n}px`])),W.value=!1,q.value=!1,R.value=n,window.addEventListener("scroll",X,!0),window.addEventListener("resize",X)}function Z(){J.value?.close(),H.value=null}function ee(e){e.target===J.value&&Z()}return r(N,()=>{X(),Z()}),o(()=>{X(),Z()}),(e,n)=>(l(),s(d,null,[0===N.value.length?(l(),s("span",L,"--")):(l(),s("span",T,[(l(!0),s(d,null,u(N.value,(e,t)=>(l(),s(d,{key:`${e.id}-${t}`},[c(j)(e)&&!z.has(e.id)?(l(),s("button",{key:0,type:"button",class:"image-button","aria-label":`Enlarge ${e.title||`image ${t+1}`}`,"aria-haspopup":"dialog",onPointerenter:n=>function(e,n){if("touch"===e.pointerType)return;X();const t=e.currentTarget;Q=setTimeout(()=>Y(t,n),150)}(n,e),onPointerleave:X,onFocus:n=>function(e,n){Y(e.currentTarget,n)}(n,e),onBlur:X,onClick:g(n=>async function(e){X(),V.value=!1,G.value=!1,H.value=e,await w(),J.value?.showModal()}(e),["stop"]),onDblclick:n[0]||(n[0]=g(()=>{},["stop"])),onKeydown:[n[1]||(n[1]=p(g(()=>{},["stop"]),["enter"])),n[2]||(n[2]=p(g(()=>{},["stop"]),["space"])),p(g(X,["stop"]),["esc"])]},[m("img",{alt:e.title??"",src:c(C)(c(k),e),class:"thumb",loading:"lazy",onError:n=>{return t=e.id,z.add(t),void(R.value?.id===t&&X());var t}},null,40,M)],40,$)):(l(),s("span",S,f(c(P)(e)),1))],64))),128))])),(l(),v(h,{to:"body"},[R.value?(l(),s("div",{key:0,class:"csi-image-preview",style:b(U.value),"aria-hidden":"true"},[W.value?(l(),s("span",I,"Image preview unavailable")):(l(),s("img",{key:R.value.id,src:c(E)(c(k),R.value,800),class:y({loading:!q.value}),onLoad:n[3]||(n[3]=e=>q.value=!0),alt:"",onError:n[4]||(n[4]=e=>W.value=!0)},null,42,A)),q.value||W.value?x("v-if",!0):(l(),s("span",O,"Loading image…"))],4)):x("v-if",!0),m("dialog",{ref_key:"dialog",ref:J,class:"csi-image-dialog","aria-label":"Image preview",onClick:g(ee,["stop"]),onKeydown:p(g(Z,["stop","prevent"]),["esc"]),onClose:n[7]||(n[7]=e=>H.value=null),onCancel:n[8]||(n[8]=e=>H.value=null)},[H.value?(l(),s(d,{key:0},[m("header",null,[m("span",null,f(H.value.title||"Image preview"),1),m("button",{type:"button",autofocus:"","aria-label":"Close image preview",onClick:Z}," × ")]),V.value?(l(),s("p",B,"Image preview unavailable")):(l(),s("img",{key:H.value.id,src:c(E)(c(k),H.value,1600),class:y({loading:!G.value}),onLoad:n[5]||(n[5]=e=>G.value=!0),alt:H.value.title??"",onError:n[6]||(n[6]=e=>V.value=!0)},null,42,K)),G.value||V.value?x("v-if",!0):(l(),s("span",D,"Loading image…"))],64)):x("v-if",!0)],40,F)]))],64))}}),R=[],U=[];!function(e,n){if(e&&"undefined"!=typeof document){var t,a=!0===n.prepend?"prepend":"append",i=!0===n.singleTag,r="string"==typeof n.container?document.querySelector(n.container):document.getElementsByTagName("head")[0];if(i){var o=R.indexOf(r);-1===o&&(o=R.push(r)-1,U[o]={}),t=U[o]&&U[o][a]?U[o][a]:U[o][a]=l()}else t=l();65279===e.charCodeAt(0)&&(e=e.substring(1)),t.styleSheet?t.styleSheet.cssText+=e:t.appendChild(document.createTextNode(e))}function l(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),n.attributes)for(var t=Object.keys(n.attributes),i=0;i<t.length;i++)e.setAttribute(t[i],n.attributes[t[i]]);var o="prepend"===a?"afterbegin":"beforeend";return r.insertAdjacentElement(o,e),e}}('\n.csi-gallery-thumbnails[data-v-e6996509] {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n max-inline-size: 100%;\n min-inline-size: 0;\n vertical-align: middle;\n}\n.image-button[data-v-e6996509] {\n display: inline-flex;\n flex: none;\n padding: 0;\n border: 0;\n border-radius: var(--theme--border-radius);\n background: transparent;\n cursor: zoom-in;\n}\n.image-button[data-v-e6996509]:focus-visible {\n outline: 2px solid var(--theme--primary, #6644ff);\n outline-offset: 2px;\n}\n.thumb[data-v-e6996509] {\n flex: none;\n inline-size: var(--csi-gallery-thumbnail-size, 32px);\n block-size: var(--csi-gallery-thumbnail-size, 32px);\n border-radius: var(--theme--border-radius);\n object-fit: contain;\n background-color: var(--theme--background-normal);\n}\n.file[data-v-e6996509] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--theme--foreground-subdued);\n font-size: 9px;\n font-weight: 600;\n}\n.null[data-v-e6996509] {\n color: var(--theme--foreground-subdued);\n}\n\n/* Directus 12.3 table rows expose their native spacing as Vue CSS variables:\n 29/43/58px plus a 2px border. Match those values without depending on the\n generated variable name. Leave the native variables intact so switching\n spacing continues to work; only rows containing this display grow. */\n.table-row:has(.csi-gallery-thumbnails) {\n --csi-gallery-thumbnail-size: 32px;\n block-size: auto;\n min-block-size: calc(var(--csi-gallery-thumbnail-size) + 16px);\n}\n.table-row[style*=": 45px;"]:has(.csi-gallery-thumbnails) {\n --csi-gallery-thumbnail-size: 56px;\n}\n.table-row[style*=": 60px;"]:has(.csi-gallery-thumbnails) {\n --csi-gallery-thumbnail-size: 80px;\n}\n.csi-image-preview[data-v-e6996509] {\n position: fixed;\n z-index: 10000;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px;\n box-sizing: border-box;\n border: 1px solid var(--theme--border-color, #dde4e8);\n border-radius: var(--theme--border-radius, 6px);\n background: var(--theme--background, #fff);\n color: var(--theme--foreground, #26333f);\n box-shadow: 0 8px 32px #0003;\n pointer-events: none;\n}\n.csi-image-preview img[data-v-e6996509] {\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n.csi-image-dialog[data-v-e6996509] {\n position: fixed;\n inset: 0;\n margin: auto;\n width: min(960px, calc(100vw - 32px));\n max-height: calc(100dvh - 32px);\n padding: 16px;\n box-sizing: border-box;\n border: 1px solid var(--theme--border-color, #dde4e8);\n border-radius: var(--theme--border-radius, 6px);\n background: var(--theme--background, #fff);\n color: var(--theme--foreground, #26333f);\n}\n.csi-image-dialog[data-v-e6996509]::backdrop {\n background: #0009;\n}\n.csi-image-dialog header[data-v-e6996509] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n margin-bottom: 12px;\n}\n.csi-image-dialog header span[data-v-e6996509] {\n overflow-wrap: anywhere;\n}\n.csi-image-dialog button[data-v-e6996509] {\n flex: none;\n width: 36px;\n height: 36px;\n border: 0;\n border-radius: 6px;\n font: 28px/1 sans-serif;\n cursor: pointer;\n color: inherit;\n background: var(--theme--background-normal, #f1f4f6);\n}\n.csi-image-dialog > img[data-v-e6996509] {\n display: block;\n width: 100%;\n height: min(700px, 70dvh);\n object-fit: contain;\n}\n.loading[data-v-e6996509] {\n visibility: hidden;\n}\n.loading-message[data-v-e6996509] {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n white-space: nowrap;\n}\n',{});var W=e({id:"csi-gallery-thumbnails",name:"Image Thumbnails",icon:"photo_library",description:"Show every image with hover previews and click-to-enlarge.",component:((e,n)=>{const t=e.__vccOpts||e;for(const[e,a]of n)t[e]=a;return t})(N,[["__scopeId","data-v-e6996509"]]),types:["alias","uuid"],localTypes:["files","m2m","o2m","file"],fields:(e,n)=>function(e,n){if("uuid"===n)return[...z];const t=_(e);return z.map(e=>`${t}.${e}`)}(e?.filePath,n.type),options:e=>"uuid"===e.field?.type?[]:[{field:"filePath",name:"Path to the file",type:"string",meta:{interface:"input",width:"half",note:"From one gallery row to its file. Files field: directus_files_id. Asset Library: asset_library_id.file",options:{placeholder:k,font:"monospace"}},schema:{default_value:k}}]});export{W as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "directus-extension-csi-gallery-thumbnails",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Directus display for single images and complete galleries, sized to table spacing.",
5
5
  "keywords": [
6
6
  "directus",