@ynput/ayon-react-components 0.5.11 → 0.5.12
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.
|
@@ -21190,7 +21190,7 @@ const Dge = ve(kge)`
|
|
|
21190
21190
|
onError: () => {
|
|
21191
21191
|
Q(!0), pe(!1);
|
|
21192
21192
|
},
|
|
21193
|
-
onLoad: () => pe(!
|
|
21193
|
+
onLoad: () => pe(!1)
|
|
21194
21194
|
}), /* @__PURE__ */ be(Hf, {
|
|
21195
21195
|
className: "row",
|
|
21196
21196
|
children: [!ne && /* @__PURE__ */ be(ns, {
|
|
@@ -2189,4 +2189,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2189
2189
|
transform: translate(-50%, -50%);
|
|
2190
2190
|
font-size: 40px;
|
|
2191
2191
|
color: var(--md-sys-color-outline);
|
|
2192
|
-
`,Kk={comment:{color:"var(--md-sys-color-primary)",icon:"mark_unread_chat_alt"},due:{color:"var(--md-custom-color-warning)",icon:"schedule"},overdue:{color:"var(--md-sys-color-error-container)",icon:"alarm"}},Qk=q.forwardRef(({title:r="",titleIcon:a,subTitle:o,description:t,imageUrl:e,imageAlt:i,icon:c,iconColor:u,notification:d,isActive:_=!1,isSecondary:f=!1,isLoading:h=!1,isError:y=!1,isHover:w=!1,disabled:b=!1,variant:T="full",isDragging:O=!1,isDraggable:R=!1,isFullHighlight:A=!1,isActiveAnimate:M=!1,onThumbnailKeyDown:N,onActivate:L,assignees:$,...Q},se)=>{const oe=d&&Kk[d],te=T==="basic"||T==="thumbnail",W=T==="basic"||T==="thumbnail",re=T==="thumbnail",[j,G]=q.useState(!e),[ie,pe]=q.useState(!0);return be(qk,{...Q,ref:se,$isActive:_,$variant:T,$isSecondary:f,$isLoading:h,$isError:y,$disabled:b,$isHover:w,$isDragging:O,$isDraggable:R,$isFullHighlight:A,$isActiveAnimate:M,tabIndex:0,onClick:he=>{L&&L(),Q.onClick&&Q.onClick(he)},onKeyDown:he=>{Q.onKeyDown&&Q.onKeyDown(he),!R&&(he.code==="Enter"||he.code==="Space")&&L&&L()},children:[be(Hk,{className:"thumbnail",tabIndex:R?0:void 0,onKeyDown:he=>{!R||(he.stopPropagation(),N&&N(he),(he.code==="Enter"||he.code==="Space")&&L&&L())},children:[!h&&!ie&&x(Vk,{icon:a||"image",className:"no-image"}),!h&&e&&!j&&x(Bk,{src:e,onError:()=>{G(!0),pe(!1)},onLoad:()=>pe(!
|
|
2192
|
+
`,Kk={comment:{color:"var(--md-sys-color-primary)",icon:"mark_unread_chat_alt"},due:{color:"var(--md-custom-color-warning)",icon:"schedule"},overdue:{color:"var(--md-sys-color-error-container)",icon:"alarm"}},Qk=q.forwardRef(({title:r="",titleIcon:a,subTitle:o,description:t,imageUrl:e,imageAlt:i,icon:c,iconColor:u,notification:d,isActive:_=!1,isSecondary:f=!1,isLoading:h=!1,isError:y=!1,isHover:w=!1,disabled:b=!1,variant:T="full",isDragging:O=!1,isDraggable:R=!1,isFullHighlight:A=!1,isActiveAnimate:M=!1,onThumbnailKeyDown:N,onActivate:L,assignees:$,...Q},se)=>{const oe=d&&Kk[d],te=T==="basic"||T==="thumbnail",W=T==="basic"||T==="thumbnail",re=T==="thumbnail",[j,G]=q.useState(!e),[ie,pe]=q.useState(!0);return be(qk,{...Q,ref:se,$isActive:_,$variant:T,$isSecondary:f,$isLoading:h,$isError:y,$disabled:b,$isHover:w,$isDragging:O,$isDraggable:R,$isFullHighlight:A,$isActiveAnimate:M,tabIndex:0,onClick:he=>{L&&L(),Q.onClick&&Q.onClick(he)},onKeyDown:he=>{Q.onKeyDown&&Q.onKeyDown(he),!R&&(he.code==="Enter"||he.code==="Space")&&L&&L()},children:[be(Hk,{className:"thumbnail",tabIndex:R?0:void 0,onKeyDown:he=>{!R||(he.stopPropagation(),N&&N(he),(he.code==="Enter"||he.code==="Space")&&L&&L())},children:[!h&&!ie&&x(Vk,{icon:a||"image",className:"no-image"}),!h&&e&&!j&&x(Bk,{src:e,onError:()=>{G(!0),pe(!1)},onLoad:()=>pe(!1)}),be(cf,{className:"row",children:[!re&&be(as,{className:"inner-card title",children:[a&&x(Rt,{icon:a}),r&&x("span",{className:"title",children:r})]}),!te&&x(as,{className:"inner-card status",children:c&&x(Rt,{icon:c,style:{color:u}})})]}),be(cf,{className:"row",children:[!re&&x(as,{className:"inner-card subTitle",children:x("span",{children:o})}),oe&&!te&&!($!=null&&$.length)&&x(as,{className:"notification",children:x(Rt,{icon:oe==null?void 0:oe.icon,style:{color:oe==null?void 0:oe.color}})}),!!($!=null&&$.length)&&x(as,{className:"inner-card assignees",children:x(_c,{users:$,size:26,gap:-.5})})]})]}),t&&!W&&x(jk,{className:"description",children:x("span",{children:t})})]})});ze.AssigneeField=pc,ze.AssigneeSelect=Ig,ze.Button=dr,ze.DefaultValueTemplate=za,ze.Dialog=b_,ze.Divider=Dk,ze.Dropdown=ta,ze.EntityCard=Qk,ze.FileCard=f_,ze.FileUpload=iv,ze.FormLayout=Ck,ze.FormRow=Tk,ze.Icon=Rt,ze.IconSelect=$g,ze.InputColor=Cv,ze.InputDate=kk,ze.InputNumber=Vs,ze.InputPassword=k_,ze.InputSwitch=w_,ze.InputText=Ua,ze.InputTextarea=h_,ze.LockedInput=Mv,ze.OverflowField=af,ze.Panel=$k,ze.SaveButton=d_,ze.ScrollPanel=Uk,ze.Section=Rk,ze.SortingDropdown=jg,ze.Spacer=Vc,ze.TablePanel=zk,ze.TableRow=Lk,ze.TagsSelect=Yg,ze.Toolbar=Fk,ze.UserImage=dc,ze.UserImagesStacked=_c,ze.VersionSelect=Ug,ze.getShimmerStyles=js,ze.theme=Gh,Object.defineProperties(ze,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|