@homebound/beam 2.394.0 → 2.394.1

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.
package/dist/index.js CHANGED
@@ -11798,7 +11798,7 @@ function Switch(props) {
11798
11798
  {
11799
11799
  "aria-hidden": "true",
11800
11800
  css: {
11801
- ...Css.wPx(40).hPx(toggleHeight(compact)).bgGray200.br12.relative.transition.$,
11801
+ ...Css.wPx(toggleWidth(compact)).hPx(toggleHeight(compact)).bgGray200.br12.relative.transition.$,
11802
11802
  ...isHovered && switchHoverStyles,
11803
11803
  ...isKeyboardFocus && switchFocusStyles,
11804
11804
  ...isDisabled && Css.bgGray300.$,
@@ -11825,6 +11825,7 @@ function Switch(props) {
11825
11825
  );
11826
11826
  }
11827
11827
  var toggleHeight = (isCompact) => isCompact ? 16 : 24;
11828
+ var toggleWidth = (isCompact) => isCompact ? 32 : 40;
11828
11829
  var circleDiameter = (isCompact) => isCompact ? 12 : 20;
11829
11830
  var switchHoverStyles = Css.bgGray400.$;
11830
11831
  var switchFocusStyles = Css.bshFocus.$;