@edu-tosel/design 1.0.86 → 1.0.87
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.
|
@@ -24,7 +24,7 @@ export default function RollCardDesign({ titles, state, disabled, isFixed, child
|
|
|
24
24
|
};
|
|
25
25
|
return (_jsxs(Card, { option: {
|
|
26
26
|
width: "2xl",
|
|
27
|
-
height: !isFixed && isOpen ? "
|
|
27
|
+
height: !isFixed && isOpen ? "2xs" : "4xs",
|
|
28
28
|
background: isDisabled || flag ? "bg-green-dark/10" : "bg-white",
|
|
29
29
|
className: "p-7.5 flex flex-col gap-y-6",
|
|
30
30
|
}, children: [_jsxs(Shelf.Row, { className: "justify-between", children: [_jsxs(Shelf.Col, { className: "gap-y-2.5", children: [_jsxs(Shelf.Row, { className: "gap-x-2.5 items-center", children: [titles.icon && _jsx("img", { src: titles.icon, alt: "icon" }), _jsx("div", { className: "text-xl leading-none font-pretendard-bold text-green-dark", children: titles.title })] }), _jsx("div", { className: "leading-none", children: titles.subtitle })] }), _jsxs("div", { className: "flex gap-3.5 items-center", children: [_jsx(Label, { title: !isDisabled
|
package/layout/template/Tab.js
CHANGED
|
@@ -20,7 +20,7 @@ export default function Tab({ tabs, option, state, }) {
|
|
|
20
20
|
displays: "hidden xl:flex xl:items-center xl:gap-2.5",
|
|
21
21
|
sizes: "w-auto",
|
|
22
22
|
paddings: "p-2.5",
|
|
23
|
-
backgrounds: boundary ?? "bg-
|
|
23
|
+
backgrounds: boundary ?? "bg-gray-light",
|
|
24
24
|
styles: "rounded-xl ",
|
|
25
25
|
};
|
|
26
26
|
const button = {
|
|
@@ -35,11 +35,12 @@ export default function ModalDesign({ titles, showAction, children, option, debu
|
|
|
35
35
|
}, []);
|
|
36
36
|
const background = {
|
|
37
37
|
positions: "z-50 fixed top-0 left-0",
|
|
38
|
-
displays: position
|
|
38
|
+
displays: !position && "flex items-center justify-center ",
|
|
39
39
|
sizes: "min-h-screen w-full ",
|
|
40
40
|
styles: !noBackground && "bg-black/10 backdrop-blur-sm ",
|
|
41
41
|
};
|
|
42
42
|
const container = {
|
|
43
|
+
positions: position,
|
|
43
44
|
paddings: "p-5",
|
|
44
45
|
sizes: `${heightSize[height ?? "lg"]} ${widthSize[width ?? "md"]}`,
|
|
45
46
|
styles: "rounded-xl bg-white relative overflow-hidden",
|
|
@@ -12,6 +12,7 @@ export default function Confirm(props) {
|
|
|
12
12
|
sizes: "w-full h-60",
|
|
13
13
|
};
|
|
14
14
|
return (_jsx(ConfirmModalDesign, { ...props, children: _jsx("div", { className: cn(container), children: props.widgets?.map((widget, index) => (_createElement(ConfirmModalWidget, { ...widget, key: index }))) }), option: {
|
|
15
|
+
...props.option,
|
|
15
16
|
width: "md",
|
|
16
17
|
height: "lg",
|
|
17
18
|
} }));
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.87
|