@ynput/ayon-react-components 1.9.2 → 1.9.3

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.
@@ -4246,7 +4246,7 @@ const Bn = Cc.exports.Fragment, w = Cc.exports.jsx, ce = Cc.exports.jsxs, w0 = (
4246
4246
  children: [/* @__PURE__ */ w(Ze, {
4247
4247
  icon: "done_all"
4248
4248
  }), " All Users"]
4249
- }) : (console.log(t), /* @__PURE__ */ w(p_, {
4249
+ }) : /* @__PURE__ */ w(p_, {
4250
4250
  onClick: n ? void 0 : (y) => r && r(y),
4251
4251
  disabled: n,
4252
4252
  $align: p,
@@ -4279,7 +4279,7 @@ const Bn = Cc.exports.Fragment, w = Cc.exports.jsx, ce = Cc.exports.jsxs, w0 = (
4279
4279
  children: l
4280
4280
  })]
4281
4281
  })
4282
- }));
4282
+ });
4283
4283
  }), __ = re.span`
4284
4284
  cursor: pointer;
4285
4285
  display: flex;
@@ -212,7 +212,7 @@ React keys must be passed directly to JSX without using spread:
212
212
  ${({$align:t})=>t==="right"&&be.css`
213
213
  justify-content: flex-end;
214
214
  `}
215
- `,al=F.forwardRef(({users:t=[],value:o=[],onClick:r,disabled:n,isMultiple:e,placeholder:i,emptyIcon:c="person_add",emptyMessage:l="",size:d=21,align:_,allSelected:p,...h},g)=>{var v;return p?le(e_,{onClick:n?void 0:y=>r&&r(y),disabled:n,$align:_,...h,ref:g,children:[w(Xe,{icon:"done_all"})," All Users"]}):(console.log(t),w(e_,{onClick:n?void 0:y=>r&&r(y),disabled:n,$align:_,...h,ref:g,className:We("assignee-field",h.className,{multiple:e&&(!n||!i)}),children:n&&i?w("span",{children:i}):t.length?le(An,{children:[w(Jd,{users:t,size:d,gap:-.3,userStyle:{minWidth:d,minHeight:d,maxHeight:d,maxWidth:d}}),t.length<2&&!e&&w("span",{className:"name",children:(v=t[0])==null?void 0:v.fullName})]}):le(An,{children:[c&&!e&&w(Xe,{icon:c}),l&&w("span",{children:l})]})}))}),t_=oe.default.span`
215
+ `,al=F.forwardRef(({users:t=[],value:o=[],onClick:r,disabled:n,isMultiple:e,placeholder:i,emptyIcon:c="person_add",emptyMessage:l="",size:d=21,align:_,allSelected:p,...h},g)=>{var v;return p?le(e_,{onClick:n?void 0:y=>r&&r(y),disabled:n,$align:_,...h,ref:g,children:[w(Xe,{icon:"done_all"})," All Users"]}):w(e_,{onClick:n?void 0:y=>r&&r(y),disabled:n,$align:_,...h,ref:g,className:We("assignee-field",h.className,{multiple:e&&(!n||!i)}),children:n&&i?w("span",{children:i}):t.length?le(An,{children:[w(Jd,{users:t,size:d,gap:-.3,userStyle:{minWidth:d,minHeight:d,maxHeight:d,maxWidth:d}}),t.length<2&&!e&&w("span",{className:"name",children:(v=t[0])==null?void 0:v.fullName})]}):le(An,{children:[c&&!e&&w(Xe,{icon:c}),l&&w("span",{children:l})]})})}),t_=oe.default.span`
216
216
  cursor: pointer;
217
217
  display: flex;
218
218
  align-items: center;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ynput/ayon-react-components",
3
3
  "private": false,
4
- "version": "1.9.2",
4
+ "version": "1.9.3",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",