@ynput/ayon-react-components 1.5.1 → 1.5.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.
@@ -11335,7 +11335,6 @@ const Ds = at(({
11335
11335
  icon: "notifications_active",
11336
11336
  selected: i,
11337
11337
  onClick: () => c(_),
11338
- "data-tooltip": "Notify me to changes.",
11339
11338
  children: /* @__PURE__ */ he("div", {
11340
11339
  className: "content",
11341
11340
  children: [/* @__PURE__ */ x("span", {
@@ -11351,7 +11350,6 @@ const Ds = at(({
11351
11350
  icon: "notifications_off",
11352
11351
  selected: !i,
11353
11352
  onClick: () => u(_),
11354
- "data-import": "Notify me only on @mentions or assignment.",
11355
11353
  children: /* @__PURE__ */ he("div", {
11356
11354
  className: "content",
11357
11355
  children: [/* @__PURE__ */ x("span", {
@@ -972,7 +972,7 @@ function print() { __p += __j.call(arguments, '') }
972
972
  [icon='notifications_active'] {
973
973
  font-variation-settings: 'FILL' 1, 'wght' 200, 'GRAD' 200, 'opsz' 20;
974
974
  }
975
- `,Jv=$.forwardRef(({currentUser:r,isWatching:a,onSelectionChange:o,...t},e)=>{const i=r&&t.value.includes(r)||a,c=_=>{if(!i&&r){const f=[..._,r];t.onChange&&t.onChange(f)}},u=_=>{if(i){const f=_.filter(h=>h!==r);t.onChange&&t.onChange(f)}},d=_=>{const f=_.includes(r);f!==i&&(f?c(_):u(_)),o&&o(_)};return x(Gv,{ref:e,valueTemplate:(_,f,h)=>x(Xv,{variant:"text",selected:h,icon:i?"notifications_active":"notifications",className:jt({watching:i})}),selectAllKey:null,startContent:(_,f)=>he(Zv,{children:[x(k_,{variant:"text",icon:"notifications_active",selected:i,onClick:()=>c(f),"data-tooltip":"Notify me to changes.",children:he("div",{className:"content",children:[x("span",{className:"title",children:"Watch"}),x("span",{className:"description",children:"Notify me to all changes."})]})}),x(k_,{variant:"text",icon:"notifications_off",selected:!i,onClick:()=>u(f),"data-import":"Notify me only on @mentions or assignment.",children:he("div",{className:"content",children:[x("span",{className:"title",children:"Unwatch"}),x("span",{className:"description",children:"Notify me only on @mentions."})]})})]}),onSelectionChange:_=>d(_),multiSelectClose:void 0,...t})}),e1=pe.default(sa)`
975
+ `,Jv=$.forwardRef(({currentUser:r,isWatching:a,onSelectionChange:o,...t},e)=>{const i=r&&t.value.includes(r)||a,c=_=>{if(!i&&r){const f=[..._,r];t.onChange&&t.onChange(f)}},u=_=>{if(i){const f=_.filter(h=>h!==r);t.onChange&&t.onChange(f)}},d=_=>{const f=_.includes(r);f!==i&&(f?c(_):u(_)),o&&o(_)};return x(Gv,{ref:e,valueTemplate:(_,f,h)=>x(Xv,{variant:"text",selected:h,icon:i?"notifications_active":"notifications",className:jt({watching:i})}),selectAllKey:null,startContent:(_,f)=>he(Zv,{children:[x(k_,{variant:"text",icon:"notifications_active",selected:i,onClick:()=>c(f),children:he("div",{className:"content",children:[x("span",{className:"title",children:"Watch"}),x("span",{className:"description",children:"Notify me to all changes."})]})}),x(k_,{variant:"text",icon:"notifications_off",selected:!i,onClick:()=>u(f),children:he("div",{className:"content",children:[x("span",{className:"title",children:"Unwatch"}),x("span",{className:"description",children:"Notify me only on @mentions."})]})})]}),onSelectionChange:_=>d(_),multiSelectClose:void 0,...t})}),e1=pe.default(sa)`
976
976
  .options {
977
977
  flex-direction: row;
978
978
  width: ${({width:r})=>r?`${r}px`:"100%"};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ynput/ayon-react-components",
3
3
  "private": false,
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",