react-better-html 1.1.128 → 1.1.129

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.mjs CHANGED
@@ -1667,7 +1667,7 @@ import styled5, { css } from "styled-components";
1667
1667
  import { memo as memo3 } from "react";
1668
1668
  import styled3 from "styled-components";
1669
1669
  import { jsx as jsx3, jsxs } from "react/jsx-runtime";
1670
- var StyledDiv = styled3(Div_default)`
1670
+ var StyledDiv = styled3.div`
1671
1671
  @keyframes loaderAnimation {
1672
1672
  to {
1673
1673
  transform: rotate(360deg);
@@ -1691,8 +1691,8 @@ var LoaderComponent = function Loader({
1691
1691
  const readyColor = color ?? theme2.colors.textPrimary;
1692
1692
  const readyWidth = width ?? size / 3;
1693
1693
  const mask = `radial-gradient(farthest-side, #0000 calc(100% - ${readyWidth}px), #000 0)`;
1694
- return /* @__PURE__ */ jsx3(
1695
- StyledDiv,
1694
+ return /* @__PURE__ */ jsx3(StyledDiv, { children: /* @__PURE__ */ jsx3(
1695
+ Div_default,
1696
1696
  {
1697
1697
  width: size + readyWidth * 2,
1698
1698
  height: size + readyWidth * 2,
@@ -1704,7 +1704,7 @@ var LoaderComponent = function Loader({
1704
1704
  animation: !disabled ? "loaderAnimation .6s infinite linear" : void 0,
1705
1705
  ...props
1706
1706
  }
1707
- );
1707
+ ) });
1708
1708
  };
1709
1709
  LoaderComponent.box = function Box({ text = "Loading...", size = 20, ...props }) {
1710
1710
  const theme2 = useTheme();