@ynput/ayon-react-components 1.3.3 → 1.3.5

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.
@@ -11296,7 +11296,7 @@ const ys = at(({
11296
11296
  /* padding */
11297
11297
  padding: 6px 16px;
11298
11298
 
11299
- &.icon {
11299
+ &.hasIcon {
11300
11300
  padding-left: 12px;
11301
11301
 
11302
11302
  /* icon only */
@@ -11592,7 +11592,7 @@ const ys = at(({
11592
11592
  className: mn(i, e, Fbe.labelLarge, {
11593
11593
  selected: c,
11594
11594
  link: t,
11595
- icon: !!a
11595
+ hasIcon: !!a
11596
11596
  }),
11597
11597
  ...p,
11598
11598
  ref: _,
@@ -786,7 +786,7 @@ function print() { __p += __j.call(arguments, '') }
786
786
  /* padding */
787
787
  padding: 6px 16px;
788
788
 
789
- &.icon {
789
+ &.hasIcon {
790
790
  padding-left: 12px;
791
791
 
792
792
  /* icon only */
@@ -1034,7 +1034,7 @@ function print() { __p += __j.call(arguments, '') }
1034
1034
  margin-left: auto;
1035
1035
  margin-right: 0;
1036
1036
  }
1037
- `,m_=z.forwardRef(({children:r,align:a,className:o="",...t},e)=>x(o1,{ref:e,className:_n("shortcut",o,a),...t,children:r})),Kn=z.forwardRef(({label:r,icon:a,tooltip:o,link:t,variant:e="surface",className:i,selected:c,iconProps:u,shortcut:d,..._},f)=>{const h=(d==null?void 0:d.children)&&x(m_,{align:(d==null?void 0:d.align)||"right",children:d.children}),v=d!=null&&d.children?(d==null?void 0:d.side)||"right":void 0;return be(n1,{title:o,$variant:e,className:_n(i,e,r1.labelLarge,{selected:c,link:t,icon:!!a}),..._,ref:f,children:[v==="left"&&h,!t&&a&&x(St,{icon:a,...u})," ",r," ",_.children,v==="right"&&h]})}),a1=_e.keyframes`
1037
+ `,m_=z.forwardRef(({children:r,align:a,className:o="",...t},e)=>x(o1,{ref:e,className:_n("shortcut",o,a),...t,children:r})),Kn=z.forwardRef(({label:r,icon:a,tooltip:o,link:t,variant:e="surface",className:i,selected:c,iconProps:u,shortcut:d,..._},f)=>{const h=(d==null?void 0:d.children)&&x(m_,{align:(d==null?void 0:d.align)||"right",children:d.children}),v=d!=null&&d.children?(d==null?void 0:d.side)||"right":void 0;return be(n1,{title:o,$variant:e,className:_n(i,e,r1.labelLarge,{selected:c,link:t,hasIcon:!!a}),..._,ref:f,children:[v==="left"&&h,!t&&a&&x(St,{icon:a,...u})," ",r," ",_.children,v==="right"&&h]})}),a1=_e.keyframes`
1038
1038
  from {
1039
1039
  transform: rotate(0deg);
1040
1040
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ynput/ayon-react-components",
3
3
  "private": false,
4
- "version": "1.3.3",
4
+ "version": "1.3.5",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",