@edu-tosel/design 1.0.271 → 1.0.273
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.
|
@@ -51,7 +51,7 @@ export function Header({ title, logo, notification, menu, option, isOpen, }) {
|
|
|
51
51
|
], children: menu?.profile ? (_jsx(SVG.Profile, { onClick: () => {
|
|
52
52
|
setIsOwn(true);
|
|
53
53
|
return setView("menu");
|
|
54
|
-
}, color: iconColor })) : (_jsx(Label.Button, { title: "\
|
|
54
|
+
}, color: iconColor })) : (_jsx(Label.Button, { title: "\uB300\uC2DC\uBCF4\uB4DC", onClick: () => option?.onClick && option.onClick(), option: {
|
|
55
55
|
width: "sm",
|
|
56
56
|
height: "xs",
|
|
57
57
|
background: gradient.bg.greenToRed,
|
|
@@ -2,14 +2,17 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn } from "../../../util";
|
|
3
3
|
export default function Float({ contents }) {
|
|
4
4
|
const container = {
|
|
5
|
-
displays: "fixed bottom-
|
|
5
|
+
displays: "fixed flex flex-col bottom-16 right-16 z-40 overflow-visible",
|
|
6
|
+
spacings: "gap-5",
|
|
6
7
|
};
|
|
7
8
|
const buttonBox = (background) => ({
|
|
8
|
-
displays: "flex justify-center items-center",
|
|
9
|
-
|
|
9
|
+
displays: "flex flex-col justify-center items-center",
|
|
10
|
+
spacings: "p-3",
|
|
11
|
+
sizes: "w-16 h-16",
|
|
10
12
|
styles: "rounded-full bg-black overflow-hidden",
|
|
11
13
|
backgrounds: background ?? "bg-white",
|
|
12
|
-
shadows: "
|
|
14
|
+
shadows: "shadow-main",
|
|
15
|
+
animation: "hover:scale-110 duration-300 hover:shadow-icon-hover",
|
|
13
16
|
});
|
|
14
17
|
return (_jsx("div", { className: cn(container), children: contents.map(({ image, onClick, background }) => (_jsx("button", { onClick: onClick, className: cn(buttonBox(background)), children: _jsx("img", { src: image, alt: "image", className: "object-contain" }) }, image))) }));
|
|
15
18
|
}
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.273
|