quirk-ui 0.0.479 → 0.0.481

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.
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * This source code is licensed under the ISC license.
5
5
  * See the LICENSE file in the root directory of this source tree.
6
- */const p=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],j=y.createLucideIcon("arrow-up-right",p),v="_item_1fhn6_1",I="_itemImage_1fhn6_14",N="_itemTitle_1fhn6_20",T="_callToAction_1fhn6_26",b="_icon_1fhn6_33",C="_single_1fhn6_39",E="_first_1fhn6_40",w="_itemContent_1fhn6_41",A="_itemExcerpt_1fhn6_88",$="_imagePlaceholder_1fhn6_179",L="_category_1fhn6_227",k="_itemEyebrow_1fhn6_246",i={item:v,itemImage:I,itemTitle:N,callToAction:T,icon:b,single:C,first:E,itemContent:w,itemExcerpt:A,imagePlaceholder:$,category:L,itemEyebrow:k};function q({article:e,className:_="",index:g,limit:h}){var a,l,m,d;const u=`/blog/articles/${e.slug.current}`,r=((a=e.categories)==null?void 0:a.find(c=>{var s,n;(n=(s=c.slug)==null?void 0:s.current)!=null&&n.startsWith("library/type")}))??null,o=(l=e.categories)==null?void 0:l.find(c=>{var s,n;(n=(s=c.slug)==null?void 0:s.current)==null||n.startsWith("library/type")});return t.jsxs(x.LocaleLink,{href:u,className:`${i.item} ${_??""} ${g===0?i.first:""} ${h===1?i.single:""}`,children:[t.jsxs("div",{className:i.itemImage,children:[o&&t.jsx("div",{className:i.category,children:o.title}),e.featuredImage&&e.featuredImage.imageUrl?t.jsx(f,{src:e.featuredImage.imageUrl??"",alt:((m=e.featuredImage)==null?void 0:m.asset.altText)||((d=e==null?void 0:e.featuredImage)==null?void 0:d.asset.description)||"Content image",width:600,height:400,priority:!0}):t.jsx("div",{className:i.imagePlaceholder})]}),t.jsxs("div",{className:i.itemContent,children:[r&&t.jsx("div",{className:i.itemEyebrow,children:r.title}),t.jsxs("div",{className:i.itemTitle,children:[t.jsx("h3",{children:e.title}),t.jsx("div",{className:i.callToAction,children:t.jsx("div",{className:i.icon,children:t.jsx(j,{size:45})})})]}),e.excerpt&&t.jsx("p",{className:i.itemExcerpt,children:e.excerpt})]})]})}exports.BlogArticleCard=q;
6
+ */const p=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],j=y.createLucideIcon("arrow-up-right",p),v="_item_1fhn6_1",I="_itemImage_1fhn6_14",N="_itemTitle_1fhn6_20",T="_callToAction_1fhn6_26",b="_icon_1fhn6_33",C="_single_1fhn6_39",E="_first_1fhn6_40",w="_itemContent_1fhn6_41",A="_itemExcerpt_1fhn6_88",$="_imagePlaceholder_1fhn6_179",L="_category_1fhn6_227",k="_itemEyebrow_1fhn6_246",i={item:v,itemImage:I,itemTitle:N,callToAction:T,icon:b,single:C,first:E,itemContent:w,itemExcerpt:A,imagePlaceholder:$,category:L,itemEyebrow:k};function q({article:e,className:_="",index:g,limit:h}){var a,l,m,d;const u=`/blog/articles/${e.slug.current}`,r=((a=e.categories)==null?void 0:a.find(c=>{var s,n;return!((n=(s=c.slug)==null?void 0:s.current)!=null&&n.startsWith("library/type"))}))??null,o=(l=e.categories)==null?void 0:l.find(c=>{var s,n;return(n=(s=c.slug)==null?void 0:s.current)==null?void 0:n.startsWith("library/type")});return t.jsxs(x.LocaleLink,{href:u,className:`${i.item} ${_??""} ${g===0?i.first:""} ${h===1?i.single:""}`,children:[t.jsxs("div",{className:i.itemImage,children:[o&&t.jsx("div",{className:i.category,children:o.title}),e.featuredImage&&e.featuredImage.imageUrl?t.jsx(f,{src:e.featuredImage.imageUrl??"",alt:((m=e.featuredImage)==null?void 0:m.asset.altText)||((d=e==null?void 0:e.featuredImage)==null?void 0:d.asset.description)||"Content image",width:600,height:400,priority:!0}):t.jsx("div",{className:i.imagePlaceholder})]}),t.jsxs("div",{className:i.itemContent,children:[r&&t.jsx("div",{className:i.itemEyebrow,children:r.title}),t.jsxs("div",{className:i.itemTitle,children:[t.jsx("h3",{children:e.title}),t.jsx("div",{className:i.callToAction,children:t.jsx("div",{className:i.icon,children:t.jsx(j,{size:45})})})]}),e.excerpt&&t.jsx("p",{className:i.itemExcerpt,children:e.excerpt})]})]})}exports.BlogArticleCard=q;
@@ -33,13 +33,17 @@ function B({
33
33
  limit: f
34
34
  }) {
35
35
  var m, l, h, _;
36
- const p = `/blog/articles/${e.slug.current}`, c = ((m = e.categories) == null ? void 0 : m.find((r) => {
37
- var n, o;
38
- (o = (n = r.slug) == null ? void 0 : n.current) != null && o.startsWith("library/type");
39
- })) ?? null, a = (l = e.categories) == null ? void 0 : l.find((r) => {
40
- var n, o;
41
- (o = (n = r.slug) == null ? void 0 : n.current) == null || o.startsWith("library/type");
42
- });
36
+ const p = `/blog/articles/${e.slug.current}`, c = ((m = e.categories) == null ? void 0 : m.find(
37
+ (r) => {
38
+ var n, o;
39
+ return !((o = (n = r.slug) == null ? void 0 : n.current) != null && o.startsWith("library/type"));
40
+ }
41
+ )) ?? null, a = (l = e.categories) == null ? void 0 : l.find(
42
+ (r) => {
43
+ var n, o;
44
+ return (o = (n = r.slug) == null ? void 0 : n.current) == null ? void 0 : o.startsWith("library/type");
45
+ }
46
+ );
43
47
  return /* @__PURE__ */ s(
44
48
  u,
45
49
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.479",
4
+ "version": "0.0.481",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {