@edu-tosel/design 1.0.134 → 1.0.136

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.
@@ -15,6 +15,6 @@ interface StudentCardProps extends Omit<InfoCardProps, "titles" | "children"> {
15
15
  }
16
16
  declare function Academy({ titles, data, buttons, option }: AcademyCardProps): import("react/jsx-runtime").JSX.Element;
17
17
  declare namespace Academy {
18
- var Digital: ({ image, data }: StudentCardProps) => import("react/jsx-runtime").JSX.Element;
18
+ var Digital: ({ image, data, option }: StudentCardProps) => import("react/jsx-runtime").JSX.Element;
19
19
  }
20
20
  export default Academy;
@@ -16,12 +16,13 @@ function Academy({ titles, data, buttons, option }) {
16
16
  height: "xs",
17
17
  } }, index))) })] }) }));
18
18
  }
19
- function Digital({ image, data }) {
19
+ function Digital({ image, data, option }) {
20
20
  return (_jsx(InfoCardDesign, { option: {
21
21
  width: "md",
22
22
  height: "md",
23
23
  titleBorder: "border-crimson-burgundy",
24
24
  boundary: "border-2 border-crimson-burgundy",
25
+ onClick: option?.onClick,
25
26
  }, titles: {
26
27
  title: "Digital Student Card",
27
28
  subtitle: "디지털 학생증",
@@ -1,5 +1,5 @@
1
1
  import { BbsLayoutProps } from "../BbsLayout";
2
2
  interface LayoutProps extends Omit<BbsLayoutProps, "title"> {
3
3
  }
4
- export default function Layout({ children }: LayoutProps): import("react/jsx-runtime").JSX.Element;
4
+ export default function Layout({ children, topRight }: LayoutProps): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import BbsLayout from "../BbsLayout";
3
- export default function Layout({ children }) {
4
- return (_jsx(BbsLayout, { title: "\uACF5\uC9C0\uC0AC\uD56D", icon: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", children: _jsx("path", { d: "M31.332 7.776C31.0653 6.8326 30.4979 6.0021 29.716 5.41077C28.934 4.81944 27.9804 4.49964 27 4.5H21C18.94 4.5 17.2 5.886 16.668 7.776M31.332 7.776C31.442 8.164 31.5 8.576 31.5 9C31.5 9.39783 31.342 9.77936 31.0607 10.0607C30.7794 10.342 30.3978 10.5 30 10.5H18C17.6022 10.5 17.2206 10.342 16.9393 10.0607C16.658 9.77936 16.5 9.39783 16.5 9C16.5 8.576 16.56 8.164 16.668 7.776M31.332 7.776C32.624 7.874 33.908 7.996 35.186 8.144C37.386 8.4 39 10.298 39 12.514V39C39 40.1935 38.5259 41.3381 37.682 42.182C36.8381 43.0259 35.6935 43.5 34.5 43.5H13.5C12.3065 43.5 11.1619 43.0259 10.318 42.182C9.47411 41.3381 9 40.1935 9 39V12.514C9 10.298 10.612 8.4 12.814 8.144C14.0961 7.99555 15.381 7.87286 16.668 7.776", stroke: "#105652", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) }), children: children }));
3
+ export default function Layout({ children, topRight }) {
4
+ return (_jsx(BbsLayout, { title: "\uACF5\uC9C0\uC0AC\uD56D", topRight: topRight, icon: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", children: _jsx("path", { d: "M31.332 7.776C31.0653 6.8326 30.4979 6.0021 29.716 5.41077C28.934 4.81944 27.9804 4.49964 27 4.5H21C18.94 4.5 17.2 5.886 16.668 7.776M31.332 7.776C31.442 8.164 31.5 8.576 31.5 9C31.5 9.39783 31.342 9.77936 31.0607 10.0607C30.7794 10.342 30.3978 10.5 30 10.5H18C17.6022 10.5 17.2206 10.342 16.9393 10.0607C16.658 9.77936 16.5 9.39783 16.5 9C16.5 8.576 16.56 8.164 16.668 7.776M31.332 7.776C32.624 7.874 33.908 7.996 35.186 8.144C37.386 8.4 39 10.298 39 12.514V39C39 40.1935 38.5259 41.3381 37.682 42.182C36.8381 43.0259 35.6935 43.5 34.5 43.5H13.5C12.3065 43.5 11.1619 43.0259 10.318 42.182C9.47411 41.3381 9 40.1935 9 39V12.514C9 10.298 10.612 8.4 12.814 8.144C14.0961 7.99555 15.381 7.87286 16.668 7.776", stroke: "#105652", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) }), children: children }));
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { BbsLayoutProps } from "../BbsLayout";
2
2
  interface LayoutProps extends Omit<BbsLayoutProps, "title"> {
3
3
  }
4
- export default function Layout({ children }: LayoutProps): import("react/jsx-runtime").JSX.Element;
4
+ export default function Layout({ children, topRight }: LayoutProps): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import BbsLayout from "../BbsLayout";
3
- export default function Layout({ children }) {
4
- return (_jsx(BbsLayout, { title: "\uC790\uB8CC\uC2E4", icon: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", children: _jsx("path", { d: "M36.7501 25.478L21.3641 40.864C19.6762 42.5519 17.387 43.5001 15.0001 43.5001C12.6131 43.5001 10.3239 42.5519 8.63605 40.864C6.94822 39.1762 6 36.887 6 34.5C6 32.1131 6.94822 29.8239 8.63605 28.136L30.5161 6.25602C31.0734 5.69895 31.735 5.25711 32.4631 4.95573C33.1912 4.65435 33.9715 4.49933 34.7595 4.49951C35.5475 4.4997 36.3277 4.65509 37.0557 4.95681C37.7836 5.25854 38.445 5.70069 39.0021 6.25802C39.5591 6.81535 40.001 7.47695 40.3023 8.20503C40.6037 8.93312 40.7587 9.71344 40.7586 10.5014C40.7584 11.2894 40.603 12.0697 40.3013 12.7976C39.9995 13.5256 39.5574 14.187 39.0001 14.744L17.1041 36.64C16.536 37.1846 15.7768 37.4821 14.9899 37.4722C14.2031 37.4622 13.4517 37.1435 12.8977 36.5847C12.3436 36.0259 12.0313 35.2719 12.028 34.485C12.0247 33.6981 12.3307 32.9414 12.8801 32.378L28.5001 16.758M17.1221 36.62L17.1021 36.64", stroke: "#105652", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), children: children }));
3
+ export default function Layout({ children, topRight }) {
4
+ return (_jsx(BbsLayout, { title: "\uC790\uB8CC\uC2E4", topRight: topRight, icon: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", children: _jsx("path", { d: "M36.7501 25.478L21.3641 40.864C19.6762 42.5519 17.387 43.5001 15.0001 43.5001C12.6131 43.5001 10.3239 42.5519 8.63605 40.864C6.94822 39.1762 6 36.887 6 34.5C6 32.1131 6.94822 29.8239 8.63605 28.136L30.5161 6.25602C31.0734 5.69895 31.735 5.25711 32.4631 4.95573C33.1912 4.65435 33.9715 4.49933 34.7595 4.49951C35.5475 4.4997 36.3277 4.65509 37.0557 4.95681C37.7836 5.25854 38.445 5.70069 39.0021 6.25802C39.5591 6.81535 40.001 7.47695 40.3023 8.20503C40.6037 8.93312 40.7587 9.71344 40.7586 10.5014C40.7584 11.2894 40.603 12.0697 40.3013 12.7976C39.9995 13.5256 39.5574 14.187 39.0001 14.744L17.1041 36.64C16.536 37.1846 15.7768 37.4821 14.9899 37.4722C14.2031 37.4622 13.4517 37.1435 12.8977 36.5847C12.3436 36.0259 12.0313 35.2719 12.028 34.485C12.0247 33.6981 12.3307 32.9414 12.8801 32.378L28.5001 16.758M17.1221 36.62L17.1021 36.64", stroke: "#105652", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), children: children }));
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edu-tosel/design",
3
- "version": "1.0.134",
3
+ "version": "1.0.136",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.134
1
+ 1.0.136