@ynput/ayon-react-components 0.4.4 → 0.4.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.
@@ -3926,7 +3926,13 @@ const co = Li.exports.Fragment, w = Li.exports.jsx, ne = Li.exports.jsxs, k0 = q
3926
3926
  user-select: none;
3927
3927
 
3928
3928
  ${({ $usingKeyboard: a, $disabled: i }) => !a && (i ? z`
3929
- cursor: not-allowed;
3929
+ text-decoration: line-through;
3930
+ background-color: var(--md-sys-color-surface-container-low-hover);
3931
+ &,
3932
+ & > * {
3933
+ cursor: not-allowed;
3934
+ }
3935
+ opacity: 0.3;
3930
3936
  ` : z`
3931
3937
  &:hover {
3932
3938
  background-color: var(--md-sys-color-surface-container-low-hover);
@@ -9976,7 +9982,7 @@ const Uce = re.div`
9976
9982
  justify-content: flex-start;
9977
9983
 
9978
9984
  .switch-body {
9979
- --bheight: calc(var(--base-input-size) * 0.75);
9985
+ --bheight: calc(var(--base-input-size) * 0.7);
9980
9986
  --bwidth: calc(var(--bheight) * 1.75);
9981
9987
  position: relative;
9982
9988
  display: inline-block;
@@ -10004,13 +10010,12 @@ const Uce = re.div`
10004
10010
  &:before {
10005
10011
  position: absolute;
10006
10012
  content: '';
10007
- height: calc(var(--bheight) * 0.8);
10008
- width: calc(var(--bheight) * 0.8);
10009
- left: calc(var(--bheight) * 0.05);
10010
- bottom: calc(var(--bheight) * 0.06);
10013
+ height: calc(var(--bheight) * 0.7);
10014
+ width: calc(var(--bheight) * 0.7);
10015
+ left: calc(var(--bheight) * 0.11);
10016
+ bottom: calc(var(--bheight) * 0.1);
10011
10017
  transition: 0.2s;
10012
10018
  border-radius: 50%;
10013
- scale: 0.7;
10014
10019
  }
10015
10020
  }
10016
10021
 
@@ -10032,7 +10037,6 @@ const Uce = re.div`
10032
10037
  border-color: var(--md-sys-color-primary);
10033
10038
  &::before {
10034
10039
  transform: translateX(calc(var(--bheight) * 0.75));
10035
- scale: 1;
10036
10040
  background-color: var(--md-sys-color-on-primary);
10037
10041
  }
10038
10042
 
@@ -18153,6 +18157,7 @@ const Xpe = re(Gpe)`
18153
18157
 
18154
18158
  opacity: 0;
18155
18159
  padding: 0 4px;
18160
+ padding-bottom: 6px;
18156
18161
 
18157
18162
  .copy {
18158
18163
  display: none;
@@ -380,7 +380,13 @@ Check the top-level render call using <`+j+">.")}return W}}function So(D,W){{if(
380
380
  user-select: none;
381
381
 
382
382
  ${({$usingKeyboard:a,$disabled:i})=>!a&&(i?U.css`
383
- cursor: not-allowed;
383
+ text-decoration: line-through;
384
+ background-color: var(--md-sys-color-surface-container-low-hover);
385
+ &,
386
+ & > * {
387
+ cursor: not-allowed;
388
+ }
389
+ opacity: 0.3;
384
390
  `:U.css`
385
391
  &:hover {
386
392
  background-color: var(--md-sys-color-surface-container-low-hover);
@@ -1399,7 +1405,7 @@ function print() { __p += __j.call(arguments, '') }
1399
1405
  justify-content: flex-start;
1400
1406
 
1401
1407
  .switch-body {
1402
- --bheight: calc(var(--base-input-size) * 0.75);
1408
+ --bheight: calc(var(--base-input-size) * 0.7);
1403
1409
  --bwidth: calc(var(--bheight) * 1.75);
1404
1410
  position: relative;
1405
1411
  display: inline-block;
@@ -1427,13 +1433,12 @@ function print() { __p += __j.call(arguments, '') }
1427
1433
  &:before {
1428
1434
  position: absolute;
1429
1435
  content: '';
1430
- height: calc(var(--bheight) * 0.8);
1431
- width: calc(var(--bheight) * 0.8);
1432
- left: calc(var(--bheight) * 0.05);
1433
- bottom: calc(var(--bheight) * 0.06);
1436
+ height: calc(var(--bheight) * 0.7);
1437
+ width: calc(var(--bheight) * 0.7);
1438
+ left: calc(var(--bheight) * 0.11);
1439
+ bottom: calc(var(--bheight) * 0.1);
1434
1440
  transition: 0.2s;
1435
1441
  border-radius: 50%;
1436
- scale: 0.7;
1437
1442
  }
1438
1443
  }
1439
1444
 
@@ -1455,7 +1460,6 @@ function print() { __p += __j.call(arguments, '') }
1455
1460
  border-color: var(--md-sys-color-primary);
1456
1461
  &::before {
1457
1462
  transform: translateX(calc(var(--bheight) * 0.75));
1458
- scale: 1;
1459
1463
  background-color: var(--md-sys-color-on-primary);
1460
1464
  }
1461
1465
 
@@ -1625,6 +1629,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1625
1629
 
1626
1630
  opacity: 0;
1627
1631
  padding: 0 4px;
1632
+ padding-bottom: 6px;
1628
1633
 
1629
1634
  .copy {
1630
1635
  display: none;