@edu-tosel/design 1.0.109 → 1.0.110

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;
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.110",
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.110