@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.js
CHANGED
|
@@ -2569,7 +2569,7 @@ var Wrapper = ({
|
|
|
2569
2569
|
{
|
|
2570
2570
|
ref,
|
|
2571
2571
|
className: clsx(
|
|
2572
|
-
"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",
|
|
2572
|
+
"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",
|
|
2573
2573
|
genBgAllColors[backgroundColor],
|
|
2574
2574
|
genMinHeight[minHeight],
|
|
2575
2575
|
genGap[gap],
|
|
@@ -69181,7 +69181,7 @@ import { jsx as jsx363 } from "react/jsx-runtime";
|
|
|
69181
69181
|
var BackToTop = ({
|
|
69182
69182
|
className,
|
|
69183
69183
|
ref,
|
|
69184
|
-
icon = /* @__PURE__ */ jsx363(BiUpArrowAlt, {}),
|
|
69184
|
+
icon = /* @__PURE__ */ jsx363(BiUpArrowAlt, { size: 32 }),
|
|
69185
69185
|
color = "primary",
|
|
69186
69186
|
tooltip = "Back to top",
|
|
69187
69187
|
showTooltip,
|
|
@@ -69215,6 +69215,7 @@ var BackToTop = ({
|
|
|
69215
69215
|
className: clsx(
|
|
69216
69216
|
isVisible ? "opacity-100 visible " : "opacity-0 invisible",
|
|
69217
69217
|
genRingColor[color],
|
|
69218
|
+
!showTooltip && "fixed bottom-5 right-5",
|
|
69218
69219
|
"back-to-top",
|
|
69219
69220
|
className
|
|
69220
69221
|
),
|