react-better-html 1.1.127 → 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.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1753,7 +1753,7 @@ var import_styled_components5 = __toESM(require("styled-components"));
|
|
|
1753
1753
|
var import_react4 = require("react");
|
|
1754
1754
|
var import_styled_components3 = __toESM(require("styled-components"));
|
|
1755
1755
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
1756
|
-
var StyledDiv =
|
|
1756
|
+
var StyledDiv = import_styled_components3.default.div`
|
|
1757
1757
|
@keyframes loaderAnimation {
|
|
1758
1758
|
to {
|
|
1759
1759
|
transform: rotate(360deg);
|
|
@@ -1777,8 +1777,8 @@ var LoaderComponent = function Loader({
|
|
|
1777
1777
|
const readyColor = color ?? theme2.colors.textPrimary;
|
|
1778
1778
|
const readyWidth = width ?? size / 3;
|
|
1779
1779
|
const mask = `radial-gradient(farthest-side, #0000 calc(100% - ${readyWidth}px), #000 0)`;
|
|
1780
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1781
|
-
|
|
1780
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(StyledDiv, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1781
|
+
Div_default,
|
|
1782
1782
|
{
|
|
1783
1783
|
width: size + readyWidth * 2,
|
|
1784
1784
|
height: size + readyWidth * 2,
|
|
@@ -1790,7 +1790,7 @@ var LoaderComponent = function Loader({
|
|
|
1790
1790
|
animation: !disabled ? "loaderAnimation .6s infinite linear" : void 0,
|
|
1791
1791
|
...props
|
|
1792
1792
|
}
|
|
1793
|
-
);
|
|
1793
|
+
) });
|
|
1794
1794
|
};
|
|
1795
1795
|
LoaderComponent.box = function Box({ text = "Loading...", size = 20, ...props }) {
|
|
1796
1796
|
const theme2 = useTheme();
|
|
@@ -2141,7 +2141,7 @@ var Button_default = Button2;
|
|
|
2141
2141
|
|
|
2142
2142
|
// src/components/alerts/Alert.tsx
|
|
2143
2143
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
2144
|
-
var StyledDiv2 =
|
|
2144
|
+
var StyledDiv2 = import_styled_components6.default.div.withConfig({
|
|
2145
2145
|
shouldForwardProp: (prop) => !["theme"].includes(prop)
|
|
2146
2146
|
})`
|
|
2147
2147
|
@keyframes fadeInFromLeft {
|