@edu-tosel/design 1.0.109 → 1.0.111
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.
|
@@ -27,7 +27,7 @@ export default function NavCardDesign({ titles, option }) {
|
|
|
27
27
|
default: "absolute",
|
|
28
28
|
positions: image?.position ?? "bottom-0 right-0",
|
|
29
29
|
sizes: image?.size,
|
|
30
|
-
|
|
30
|
+
className: image?.className,
|
|
31
31
|
};
|
|
32
32
|
return (_jsxs(Card, { option: option, children: [_jsxs("div", { className: cn(textBox.container), children: [_jsx("div", { className: cn(textBox.title), children: title }), _jsx(LineBreaks, { className: cn(textBox.subtitle), texts: subtitle ?? "" })] }), buttonInLay && (_jsx(Label.Button, { title: buttonInLay.title, onClick: buttonInLay.onClick, option: {
|
|
33
33
|
className: "absolute bottom-7.5 left-7.5",
|
package/card/template/NavCard.js
CHANGED
|
@@ -5,6 +5,10 @@ function Banner({ titles, option }) {
|
|
|
5
5
|
...option,
|
|
6
6
|
width: option?.width ?? "xl",
|
|
7
7
|
height: option?.height ?? "sm",
|
|
8
|
+
image: option?.image && {
|
|
9
|
+
...option?.image,
|
|
10
|
+
className: "hidden md:block",
|
|
11
|
+
},
|
|
8
12
|
} }));
|
|
9
13
|
}
|
|
10
14
|
function _Button({ titles, onClick, option }) {
|
package/interface/Card.d.ts
CHANGED
package/layout/template/Shelf.js
CHANGED
|
@@ -28,7 +28,7 @@ function Wrap({ className, titles, children, debug, option, }) {
|
|
|
28
28
|
}
|
|
29
29
|
function Row({ titles, children, className, debug, }) {
|
|
30
30
|
const container = {
|
|
31
|
-
displays: "flex flex-row",
|
|
31
|
+
displays: "flex flex-col lg:flex-row",
|
|
32
32
|
className: className ?? "gap-x-7.5",
|
|
33
33
|
};
|
|
34
34
|
return (_jsx(ShelfDesign, { titles: titles, className: cn(container), option: {
|
|
@@ -5,7 +5,7 @@ export default function Header({ logo, rightButton, contents, }) {
|
|
|
5
5
|
const container = {
|
|
6
6
|
displays: "flex justify-center items-center",
|
|
7
7
|
sizes: "w-full",
|
|
8
|
-
styles: "bg-white box-shadow
|
|
8
|
+
styles: "bg-white box-shadow ",
|
|
9
9
|
};
|
|
10
10
|
const body = {
|
|
11
11
|
displays: "flex items-center justify-center md:justify-between",
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.111
|