@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
- displays: "hidden md:block",
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",
@@ -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 }) {
@@ -70,6 +70,7 @@ interface NavCardImage {
70
70
  path: string;
71
71
  size?: string;
72
72
  position?: string;
73
+ className?: string;
73
74
  }
74
75
  export interface NavCardProps extends Omit<CardProps, "children"> {
75
76
  titles: Titles;
@@ -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 border-2 border-red-500",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edu-tosel/design",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.109
1
+ 1.0.111