@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.cjs CHANGED
@@ -12161,7 +12161,7 @@ function Switch(props) {
12161
12161
  {
12162
12162
  "aria-hidden": "true",
12163
12163
  css: {
12164
- ...Css.wPx(40).hPx(toggleHeight(compact)).bgGray200.br12.relative.transition.$,
12164
+ ...Css.wPx(toggleWidth(compact)).hPx(toggleHeight(compact)).bgGray200.br12.relative.transition.$,
12165
12165
  ...isHovered && switchHoverStyles,
12166
12166
  ...isKeyboardFocus && switchFocusStyles,
12167
12167
  ...isDisabled && Css.bgGray300.$,
@@ -12188,6 +12188,7 @@ function Switch(props) {
12188
12188
  );
12189
12189
  }
12190
12190
  var toggleHeight = (isCompact) => isCompact ? 16 : 24;
12191
+ var toggleWidth = (isCompact) => isCompact ? 32 : 40;
12191
12192
  var circleDiameter = (isCompact) => isCompact ? 12 : 20;
12192
12193
  var switchHoverStyles = Css.bgGray400.$;
12193
12194
  var switchFocusStyles = Css.bshFocus.$;