@julseb-lib/react 0.1.78 → 0.1.80
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2751,7 +2751,7 @@ var Wrapper = ({
|
|
|
2751
2751
|
{
|
|
2752
2752
|
ref,
|
|
2753
2753
|
className: clsx(
|
|
2754
|
-
"z-10 relative flex sm:flex-row flex-col justify-stretch sm:justify-center-safe gap-5 px-4 md:px-5 lg:px-12 w-full",
|
|
2754
|
+
"z-10 relative flex sm:flex-row flex-col justify-stretch sm:justify-center-safe gap-5 px-4 md:px-5 lg:px-12 w-full h-fit",
|
|
2755
2755
|
genBgAllColors[backgroundColor],
|
|
2756
2756
|
genMinHeight[minHeight],
|
|
2757
2757
|
genGap[gap],
|
|
@@ -69343,7 +69343,7 @@ var import_jsx_runtime364 = require("react/jsx-runtime");
|
|
|
69343
69343
|
var BackToTop = ({
|
|
69344
69344
|
className,
|
|
69345
69345
|
ref,
|
|
69346
|
-
icon = /* @__PURE__ */ (0, import_jsx_runtime364.jsx)(import_bi24.BiUpArrowAlt, {}),
|
|
69346
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime364.jsx)(import_bi24.BiUpArrowAlt, { size: 32 }),
|
|
69347
69347
|
color = "primary",
|
|
69348
69348
|
tooltip = "Back to top",
|
|
69349
69349
|
showTooltip,
|
|
@@ -69377,6 +69377,7 @@ var BackToTop = ({
|
|
|
69377
69377
|
className: clsx(
|
|
69378
69378
|
isVisible ? "opacity-100 visible " : "opacity-0 invisible",
|
|
69379
69379
|
genRingColor[color],
|
|
69380
|
+
!showTooltip && "fixed bottom-5 right-5",
|
|
69380
69381
|
"back-to-top",
|
|
69381
69382
|
className
|
|
69382
69383
|
),
|