@edu-tosel/design 1.0.42 → 1.0.44

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.
Files changed (135) hide show
  1. package/asset/SVG.d.ts +21 -0
  2. package/asset/SVG.js +19 -0
  3. package/asset/SVG.tsx +21 -0
  4. package/asset/svg/Close.d.ts +5 -0
  5. package/asset/svg/Close.js +9 -0
  6. package/asset/svg/Close.tsx +32 -0
  7. package/asset/svg/Direction.d.ts +8 -0
  8. package/asset/svg/Direction.js +8 -0
  9. package/asset/svg/Direction.tsx +36 -0
  10. package/asset/svg/Email.d.ts +1 -0
  11. package/asset/svg/Email.js +4 -0
  12. package/asset/svg/Email.tsx +20 -0
  13. package/asset/svg/Image.d.ts +6 -0
  14. package/asset/svg/Image.js +4 -0
  15. package/asset/svg/Image.tsx +24 -0
  16. package/asset/svg/Notification.d.ts +8 -0
  17. package/asset/svg/Notification.js +4 -0
  18. package/asset/svg/Notification.tsx +34 -0
  19. package/asset/svg/Phone.d.ts +1 -0
  20. package/asset/svg/Phone.js +4 -0
  21. package/asset/svg/Phone.tsx +20 -0
  22. package/asset/svg/Profile.d.ts +7 -0
  23. package/asset/svg/Profile.js +4 -0
  24. package/asset/svg/Profile.tsx +27 -0
  25. package/asset/svg/TOSEL.d.ts +3 -0
  26. package/asset/svg/TOSEL.js +4 -0
  27. package/asset/svg/TOSEL.tsx +63 -0
  28. package/board/design/Board.design.js +5 -3
  29. package/board/template/CanvasBoard.d.ts +1 -1
  30. package/board/template/CanvasBoard.js +5 -4
  31. package/board/template/ManageBoard.js +2 -3
  32. package/board/template/PaperBoard.js +1 -1
  33. package/board/widget/Header.js +2 -5
  34. package/card/design/Card.design.js +6 -16
  35. package/card/design/InfoCard.design.d.ts +1 -1
  36. package/card/design/InfoCard.design.js +2 -2
  37. package/card/template/InfoCard/Academy.d.ts +20 -0
  38. package/card/template/InfoCard/Academy.js +31 -0
  39. package/card/template/InfoCard/Grade.d.ts +1 -2
  40. package/card/template/InfoCard/Grade.js +3 -3
  41. package/card/template/InfoCard/PersonalInformation.js +1 -1
  42. package/card/template/InfoCard/Student.d.ts +1 -2
  43. package/card/template/InfoCard/Student.js +3 -3
  44. package/card/template/InfoCard/index.d.ts +2 -0
  45. package/card/template/InfoCard/index.js +2 -0
  46. package/html/design/Label.design.js +1 -1
  47. package/html/index.d.ts +1 -1
  48. package/html/index.js +1 -1
  49. package/html/template/Input.d.ts +6 -0
  50. package/html/template/Input.js +68 -0
  51. package/html/widget/DatePicker.d.ts +2 -2
  52. package/html/widget/EmailInput.d.ts +2 -2
  53. package/html/widget/EmailInput.js +1 -1
  54. package/html/widget/Toggle.js +8 -2
  55. package/index.d.ts +0 -1
  56. package/index.js +0 -1
  57. package/interface/Board.d.ts +4 -2
  58. package/interface/Card.d.ts +3 -1
  59. package/interface/HTMLElement.d.ts +8 -2
  60. package/interface/Layout.d.ts +30 -8
  61. package/interface/Modal.d.ts +18 -14
  62. package/interface/Overlay.d.ts +2 -2
  63. package/interface/Property.d.ts +5 -2
  64. package/interface/Widget.d.ts +4 -0
  65. package/layout/design/Tab.design.js +2 -2
  66. package/layout/index.d.ts +2 -1
  67. package/layout/index.js +2 -1
  68. package/layout/template/Dashboard.d.ts +18 -1
  69. package/layout/template/Dashboard.js +9 -1
  70. package/layout/template/Events.js +4 -2
  71. package/layout/template/Promotion.d.ts +5 -0
  72. package/layout/template/Promotion.js +5 -0
  73. package/layout/template/Shelf.d.ts +1 -1
  74. package/layout/template/Shelf.js +3 -2
  75. package/layout/template/Sign.d.ts +4 -2
  76. package/layout/template/Sign.js +4 -2
  77. package/layout/widget/dashboard/Header.d.ts +1 -1
  78. package/layout/widget/dashboard/Header.js +14 -7
  79. package/layout/widget/dashboard/Layout.js +4 -4
  80. package/layout/widget/dashboard/Menu.d.ts +2 -4
  81. package/layout/widget/dashboard/Menu.js +18 -8
  82. package/{navigation → layout/widget/dashboard}/Navigation.d.ts +0 -1
  83. package/layout/widget/dashboard/Navigation.js +20 -0
  84. package/layout/widget/dashboard/Notification.d.ts +1 -1
  85. package/layout/widget/dashboard/Notification.js +2 -1
  86. package/layout/widget/dashboard/buttonClassNames.d.ts +2 -0
  87. package/{navigation/Navigation.js → layout/widget/dashboard/buttonClassNames.js} +5 -13
  88. package/layout/widget/dashboard/mypage/Layout.d.ts +2 -0
  89. package/layout/widget/dashboard/mypage/Layout.js +30 -0
  90. package/layout/widget/dashboard/mypage/Navigate.d.ts +12 -0
  91. package/layout/widget/dashboard/mypage/Navigate.js +29 -0
  92. package/layout/widget/dashboard/mypage/Profile.d.ts +30 -0
  93. package/layout/widget/dashboard/mypage/Profile.js +59 -0
  94. package/layout/widget/promotion/Layout.d.ts +3 -0
  95. package/layout/widget/promotion/Layout.js +5 -0
  96. package/layout/widget/promotion/Thumbnail.d.ts +1 -0
  97. package/layout/widget/promotion/Thumbnail.js +10 -0
  98. package/layout/widget/sign/WithTitle.d.ts +6 -0
  99. package/layout/widget/sign/WithTitle.js +6 -0
  100. package/modal/design/ConfirmModal.design.d.ts +2 -0
  101. package/modal/design/ConfirmModal.design.js +18 -0
  102. package/modal/design/Modal.design.d.ts +1 -1
  103. package/modal/design/Modal.design.js +17 -24
  104. package/modal/index.d.ts +1 -0
  105. package/modal/index.js +1 -0
  106. package/modal/template/Alert.d.ts +1 -1
  107. package/modal/template/Alert.js +3 -3
  108. package/modal/template/ConfirmModal/Confirm.d.ts +9 -0
  109. package/modal/template/ConfirmModal/Confirm.js +15 -0
  110. package/modal/template/ConfirmModal/Input.d.ts +9 -0
  111. package/modal/template/ConfirmModal/Input.js +7 -0
  112. package/modal/template/ConfirmModal/Reimage.d.ts +10 -0
  113. package/modal/template/ConfirmModal/Reimage.js +34 -0
  114. package/modal/template/ConfirmModal/index.d.ts +7 -0
  115. package/modal/template/ConfirmModal/index.js +10 -0
  116. package/modal/template/Input.d.ts +1 -1
  117. package/modal/template/Input.js +3 -3
  118. package/overlay/design/Overlay.design.d.ts +2 -0
  119. package/overlay/{widget → design}/Overlay.design.js +2 -1
  120. package/overlay/template/Info.d.ts +1 -1
  121. package/overlay/template/Info.js +3 -3
  122. package/overlay/template/Manage.d.ts +1 -1
  123. package/overlay/template/Manage.js +4 -4
  124. package/package.json +1 -1
  125. package/tailwind.config.ts +19 -0
  126. package/version.txt +1 -1
  127. package/html/widget/Input.d.ts +0 -2
  128. package/html/widget/Input.js +0 -31
  129. package/layout/widget/sign/Input.d.ts +0 -15
  130. package/layout/widget/sign/Input.js +0 -33
  131. package/navigation/index.d.ts +0 -1
  132. package/navigation/index.js +0 -1
  133. package/overlay/widget/Overlay.design.d.ts +0 -2
  134. /package/overlay/{widget → design}/Frame.design.d.ts +0 -0
  135. /package/overlay/{widget → design}/Frame.design.js +0 -0
package/asset/SVG.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ import Close from "./svg/Close";
2
+ import Direction from "./svg/Direction";
3
+ import Email from "./svg/Email";
4
+ import Image from "./svg/Image";
5
+ import Notification from "./svg/Notification";
6
+ import Phone from "./svg/Phone";
7
+ import Profile from "./svg/Profile";
8
+ import TOSEL from "./svg/TOSEL";
9
+ declare const SVG: {
10
+ TOSEL: typeof TOSEL;
11
+ Close: typeof Close;
12
+ Direction: {
13
+ Right: ({ className }: Direction) => import("react/jsx-runtime").JSX.Element;
14
+ };
15
+ Email: typeof Email;
16
+ Image: typeof Image;
17
+ Notification: typeof Notification;
18
+ Phone: typeof Phone;
19
+ Profile: typeof Profile;
20
+ };
21
+ export default SVG;
package/asset/SVG.js ADDED
@@ -0,0 +1,19 @@
1
+ import Close from "./svg/Close";
2
+ import Direction from "./svg/Direction";
3
+ import Email from "./svg/Email";
4
+ import Image from "./svg/Image";
5
+ import Notification from "./svg/Notification";
6
+ import Phone from "./svg/Phone";
7
+ import Profile from "./svg/Profile";
8
+ import TOSEL from "./svg/TOSEL";
9
+ const SVG = {
10
+ TOSEL,
11
+ Close,
12
+ Direction,
13
+ Email,
14
+ Image,
15
+ Notification,
16
+ Phone,
17
+ Profile,
18
+ };
19
+ export default SVG;
package/asset/SVG.tsx ADDED
@@ -0,0 +1,21 @@
1
+ import Close from "./svg/Close";
2
+ import Direction from "./svg/Direction";
3
+ import Email from "./svg/Email";
4
+ import Image from "./svg/Image";
5
+ import Notification from "./svg/Notification";
6
+ import Phone from "./svg/Phone";
7
+ import Profile from "./svg/Profile";
8
+ import TOSEL from "./svg/TOSEL";
9
+
10
+ const SVG = {
11
+ TOSEL,
12
+ Close,
13
+ Direction,
14
+ Email,
15
+ Image,
16
+ Notification,
17
+ Phone,
18
+ Profile,
19
+ };
20
+
21
+ export default SVG;
@@ -0,0 +1,5 @@
1
+ import { OnClick } from "../../interface";
2
+ export default function Close({ onClick, className, }: {
3
+ onClick?: OnClick;
4
+ className?: string;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cn } from "../../util";
3
+ export default function Close({ onClick, className, }) {
4
+ const container = {
5
+ styles: onClick ? "cursor-pointer" : "",
6
+ className,
7
+ };
8
+ return (_jsxs("svg", { onClick: onClick, className: cn(container), xmlns: "http://www.w3.org/2000/svg", width: "36", height: "36", viewBox: "0 0 36 36", fill: "none", children: [_jsx("circle", { cx: "18", cy: "18", r: "18", fill: "#F0F0F0" }), _jsx("path", { d: "M19.7797 17.6997L23.8497 13.6397C24.4797 13.0997 24.5597 12.1597 24.0197 11.5297C23.4797 10.8997 22.5397 10.8197 21.9097 11.3597C21.8497 11.4097 21.7997 11.4597 21.7497 11.5197L17.6697 15.5797L13.5997 11.5097C13.0297 10.9097 12.0797 10.8697 11.4797 11.4397C10.8697 11.9997 10.8397 12.9497 11.3997 13.5597C11.4197 13.5897 11.4497 13.6097 11.4697 13.6297L15.5297 17.6997L11.4697 21.7597C10.8897 22.3497 10.8897 23.2897 11.4697 23.8797C12.0597 24.4697 13.0097 24.4697 13.5997 23.8797L17.6597 19.8197L21.7197 23.8897C21.9997 24.1797 22.3797 24.3397 22.7797 24.3297C23.6097 24.3297 24.2797 23.6597 24.2797 22.8297C24.2797 22.4297 24.1197 22.0497 23.8397 21.7697L19.7797 17.6997Z", fill: "#7F7F7F" })] }));
9
+ }
@@ -0,0 +1,32 @@
1
+ import { OnClick } from "../../interface";
2
+ import { cn } from "../../util";
3
+
4
+ export default function Close({
5
+ onClick,
6
+ className,
7
+ }: {
8
+ onClick?: OnClick;
9
+ className?: string;
10
+ }) {
11
+ const container = {
12
+ styles: onClick ? "cursor-pointer" : "",
13
+ className,
14
+ };
15
+ return (
16
+ <svg
17
+ onClick={onClick}
18
+ className={cn(container)}
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ width="36"
21
+ height="36"
22
+ viewBox="0 0 36 36"
23
+ fill="none"
24
+ >
25
+ <circle cx="18" cy="18" r="18" fill="#F0F0F0" />
26
+ <path
27
+ d="M19.7797 17.6997L23.8497 13.6397C24.4797 13.0997 24.5597 12.1597 24.0197 11.5297C23.4797 10.8997 22.5397 10.8197 21.9097 11.3597C21.8497 11.4097 21.7997 11.4597 21.7497 11.5197L17.6697 15.5797L13.5997 11.5097C13.0297 10.9097 12.0797 10.8697 11.4797 11.4397C10.8697 11.9997 10.8397 12.9497 11.3997 13.5597C11.4197 13.5897 11.4497 13.6097 11.4697 13.6297L15.5297 17.6997L11.4697 21.7597C10.8897 22.3497 10.8897 23.2897 11.4697 23.8797C12.0597 24.4697 13.0097 24.4697 13.5997 23.8797L17.6597 19.8197L21.7197 23.8897C21.9997 24.1797 22.3797 24.3397 22.7797 24.3297C23.6097 24.3297 24.2797 23.6597 24.2797 22.8297C24.2797 22.4297 24.1197 22.0497 23.8397 21.7697L19.7797 17.6997Z"
28
+ fill="#7F7F7F"
29
+ />
30
+ </svg>
31
+ );
32
+ }
@@ -0,0 +1,8 @@
1
+ interface Direction {
2
+ className?: string;
3
+ }
4
+ declare function Right({ className }: Direction): import("react/jsx-runtime").JSX.Element;
5
+ declare const Direction: {
6
+ Right: typeof Right;
7
+ };
8
+ export default Direction;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ function Right({ className }) {
3
+ return (_jsxs("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [_jsx("path", { d: "M21 12C21 13.1819 20.7672 14.3522 20.3149 15.4442C19.8626 16.5361 19.1997 17.5282 18.364 18.364C17.5282 19.1997 16.5361 19.8626 15.4442 20.3149C14.3522 20.7672 13.1819 21 12 21C10.8181 21 9.64778 20.7672 8.55585 20.3149C7.46392 19.8626 6.47177 19.1997 5.63604 18.364C4.80031 17.5282 4.13738 16.5361 3.68508 15.4442C3.23279 14.3522 3 13.1819 3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3C14.3869 3 16.6761 3.94821 18.364 5.63604C20.0518 7.32387 21 9.61305 21 12Z", fill: "#105652", stroke: "#105652", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M12.75 15L15.75 12M15.75 12L12.75 9M15.75 12H8.25", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] }));
4
+ }
5
+ const Direction = {
6
+ Right,
7
+ };
8
+ export default Direction;
@@ -0,0 +1,36 @@
1
+ interface Direction {
2
+ className?: string;
3
+ }
4
+ function Right({ className }: Direction) {
5
+ return (
6
+ <svg
7
+ className={className}
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ width="24"
10
+ height="24"
11
+ viewBox="0 0 24 24"
12
+ fill="none"
13
+ >
14
+ <path
15
+ d="M21 12C21 13.1819 20.7672 14.3522 20.3149 15.4442C19.8626 16.5361 19.1997 17.5282 18.364 18.364C17.5282 19.1997 16.5361 19.8626 15.4442 20.3149C14.3522 20.7672 13.1819 21 12 21C10.8181 21 9.64778 20.7672 8.55585 20.3149C7.46392 19.8626 6.47177 19.1997 5.63604 18.364C4.80031 17.5282 4.13738 16.5361 3.68508 15.4442C3.23279 14.3522 3 13.1819 3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3C14.3869 3 16.6761 3.94821 18.364 5.63604C20.0518 7.32387 21 9.61305 21 12Z"
16
+ fill="#105652"
17
+ stroke="#105652"
18
+ strokeWidth="1.5"
19
+ strokeLinecap="round"
20
+ strokeLinejoin="round"
21
+ />
22
+ <path
23
+ d="M12.75 15L15.75 12M15.75 12L12.75 9M15.75 12H8.25"
24
+ stroke="white"
25
+ strokeWidth="1.5"
26
+ strokeLinecap="round"
27
+ strokeLinejoin="round"
28
+ />
29
+ </svg>
30
+ );
31
+ }
32
+
33
+ const Direction = {
34
+ Right,
35
+ };
36
+ export default Direction;
@@ -0,0 +1 @@
1
+ export default function Email(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export default function Email() {
3
+ return (_jsx("svg", { className: "mr-3", xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: _jsx("path", { d: "M22.6562 9.37501V10.3188C22.6563 10.7419 22.5417 11.1572 22.3248 11.5205C22.1078 11.8838 21.7965 12.1816 21.424 12.3823L14.676 16.0156M2.34375 9.37501V10.3188C2.34373 10.7419 2.45828 11.1572 2.67525 11.5205C2.89221 11.8838 3.20348 12.1816 3.57604 12.3823L10.324 16.0156M10.324 16.0156L11.3885 15.4427C11.7301 15.2587 12.112 15.1624 12.5 15.1624C12.888 15.1624 13.2699 15.2587 13.6115 15.4427L14.6771 16.0156L19.5312 18.6302M10.324 16.0156L5.46875 18.6302M22.6562 20.3125C22.6562 20.9341 22.4093 21.5303 21.9698 21.9698C21.5302 22.4093 20.9341 22.6563 20.3125 22.6563H4.6875C4.0659 22.6563 3.46976 22.4093 3.03022 21.9698C2.59068 21.5303 2.34375 20.9341 2.34375 20.3125V9.21251C2.34373 8.78934 2.45828 8.37407 2.67525 8.01075C2.89221 7.64744 3.20348 7.34964 3.57604 7.14897L11.3885 2.94168C11.7301 2.75769 12.112 2.66138 12.5 2.66138C12.888 2.66138 13.2699 2.75769 13.6115 2.94168L21.424 7.14897C21.7964 7.34956 22.1075 7.64719 22.3245 8.01031C22.5414 8.37342 22.6561 8.78848 22.6562 9.21147V20.3125Z", stroke: "#105652", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }));
4
+ }
@@ -0,0 +1,20 @@
1
+ export default function Email() {
2
+ return (
3
+ <svg
4
+ className="mr-3"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="25"
7
+ height="25"
8
+ viewBox="0 0 25 25"
9
+ fill="none"
10
+ >
11
+ <path
12
+ d="M22.6562 9.37501V10.3188C22.6563 10.7419 22.5417 11.1572 22.3248 11.5205C22.1078 11.8838 21.7965 12.1816 21.424 12.3823L14.676 16.0156M2.34375 9.37501V10.3188C2.34373 10.7419 2.45828 11.1572 2.67525 11.5205C2.89221 11.8838 3.20348 12.1816 3.57604 12.3823L10.324 16.0156M10.324 16.0156L11.3885 15.4427C11.7301 15.2587 12.112 15.1624 12.5 15.1624C12.888 15.1624 13.2699 15.2587 13.6115 15.4427L14.6771 16.0156L19.5312 18.6302M10.324 16.0156L5.46875 18.6302M22.6562 20.3125C22.6562 20.9341 22.4093 21.5303 21.9698 21.9698C21.5302 22.4093 20.9341 22.6563 20.3125 22.6563H4.6875C4.0659 22.6563 3.46976 22.4093 3.03022 21.9698C2.59068 21.5303 2.34375 20.9341 2.34375 20.3125V9.21251C2.34373 8.78934 2.45828 8.37407 2.67525 8.01075C2.89221 7.64744 3.20348 7.34964 3.57604 7.14897L11.3885 2.94168C11.7301 2.75769 12.112 2.66138 12.5 2.66138C12.888 2.66138 13.2699 2.75769 13.6115 2.94168L21.424 7.14897C21.7964 7.34956 22.1075 7.64719 22.3245 8.01031C22.5414 8.37342 22.6561 8.78848 22.6562 9.21147V20.3125Z"
13
+ stroke="#105652"
14
+ strokeWidth="1.5"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ />
18
+ </svg>
19
+ );
20
+ }
@@ -0,0 +1,6 @@
1
+ interface ImageProps {
2
+ color?: string;
3
+ className?: string;
4
+ }
5
+ export default function Image({ color, className }: ImageProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export default function Image({ color, className }) {
3
+ return (_jsx("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: _jsx("path", { d: "M2.34375 16.4062L7.71771 11.0323C7.93535 10.8147 8.19372 10.642 8.47808 10.5242C8.76244 10.4064 9.06721 10.3458 9.375 10.3458C9.68279 10.3458 9.98756 10.4064 10.2719 10.5242C10.5563 10.642 10.8147 10.8147 11.0323 11.0323L16.4062 16.4062M14.8437 14.8437L16.3115 13.376C16.5291 13.1584 16.7875 12.9858 17.0718 12.868C17.3562 12.7502 17.661 12.6896 17.9687 12.6896C18.2765 12.6896 18.5813 12.7502 18.8657 12.868C19.15 12.9858 19.4084 13.1584 19.626 13.376L22.6562 16.4062M3.90625 20.3125H21.0937C21.5082 20.3125 21.9056 20.1479 22.1986 19.8549C22.4916 19.5618 22.6562 19.1644 22.6562 18.75V6.25C22.6562 5.8356 22.4916 5.43817 22.1986 5.14515C21.9056 4.85212 21.5082 4.6875 21.0937 4.6875H3.90625C3.49185 4.6875 3.09442 4.85212 2.8014 5.14515C2.50837 5.43817 2.34375 5.8356 2.34375 6.25V18.75C2.34375 19.1644 2.50837 19.5618 2.8014 19.8549C3.09442 20.1479 3.49185 20.3125 3.90625 20.3125ZM14.8437 8.59375H14.8521V8.60208H14.8437V8.59375ZM15.2344 8.59375C15.2344 8.69735 15.1932 8.79671 15.12 8.86996C15.0467 8.94322 14.9473 8.98437 14.8437 8.98437C14.7401 8.98437 14.6408 8.94322 14.5675 8.86996C14.4943 8.79671 14.4531 8.69735 14.4531 8.59375C14.4531 8.49015 14.4943 8.39079 14.5675 8.31754C14.6408 8.24428 14.7401 8.20312 14.8437 8.20312C14.9473 8.20312 15.0467 8.24428 15.12 8.31754C15.1932 8.39079 15.2344 8.49015 15.2344 8.59375Z", stroke: color ?? "#FFFFFF", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }));
4
+ }
@@ -0,0 +1,24 @@
1
+ interface ImageProps {
2
+ color?: string;
3
+ className?: string;
4
+ }
5
+ export default function Image({ color, className }: ImageProps) {
6
+ return (
7
+ <svg
8
+ className={className}
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ width="25"
11
+ height="25"
12
+ viewBox="0 0 25 25"
13
+ fill="none"
14
+ >
15
+ <path
16
+ d="M2.34375 16.4062L7.71771 11.0323C7.93535 10.8147 8.19372 10.642 8.47808 10.5242C8.76244 10.4064 9.06721 10.3458 9.375 10.3458C9.68279 10.3458 9.98756 10.4064 10.2719 10.5242C10.5563 10.642 10.8147 10.8147 11.0323 11.0323L16.4062 16.4062M14.8437 14.8437L16.3115 13.376C16.5291 13.1584 16.7875 12.9858 17.0718 12.868C17.3562 12.7502 17.661 12.6896 17.9687 12.6896C18.2765 12.6896 18.5813 12.7502 18.8657 12.868C19.15 12.9858 19.4084 13.1584 19.626 13.376L22.6562 16.4062M3.90625 20.3125H21.0937C21.5082 20.3125 21.9056 20.1479 22.1986 19.8549C22.4916 19.5618 22.6562 19.1644 22.6562 18.75V6.25C22.6562 5.8356 22.4916 5.43817 22.1986 5.14515C21.9056 4.85212 21.5082 4.6875 21.0937 4.6875H3.90625C3.49185 4.6875 3.09442 4.85212 2.8014 5.14515C2.50837 5.43817 2.34375 5.8356 2.34375 6.25V18.75C2.34375 19.1644 2.50837 19.5618 2.8014 19.8549C3.09442 20.1479 3.49185 20.3125 3.90625 20.3125ZM14.8437 8.59375H14.8521V8.60208H14.8437V8.59375ZM15.2344 8.59375C15.2344 8.69735 15.1932 8.79671 15.12 8.86996C15.0467 8.94322 14.9473 8.98437 14.8437 8.98437C14.7401 8.98437 14.6408 8.94322 14.5675 8.86996C14.4943 8.79671 14.4531 8.69735 14.4531 8.59375C14.4531 8.49015 14.4943 8.39079 14.5675 8.31754C14.6408 8.24428 14.7401 8.20312 14.8437 8.20312C14.9473 8.20312 15.0467 8.24428 15.12 8.31754C15.1932 8.39079 15.2344 8.49015 15.2344 8.59375Z"
17
+ stroke={color ?? "#FFFFFF"}
18
+ strokeWidth="1.5"
19
+ strokeLinecap="round"
20
+ strokeLinejoin="round"
21
+ />
22
+ </svg>
23
+ );
24
+ }
@@ -0,0 +1,8 @@
1
+ import { OnClick } from "../../interface";
2
+ interface Notification {
3
+ onClick: OnClick;
4
+ flag: boolean;
5
+ color?: string;
6
+ }
7
+ export default function Notification({ onClick, color, flag }: Notification): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export default function Notification({ onClick, color, flag }) {
3
+ return (_jsxs("button", { className: "relative", onClick: onClick, children: [_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: _jsx("path", { d: "M15.4759 17.7938C17.4168 17.564 19.3237 17.1059 21.1572 16.4292C19.6044 14.7092 18.7465 12.4734 18.7499 10.1562V9.375C18.7499 7.7174 18.0914 6.12769 16.9193 4.95558C15.7472 3.78348 14.1575 3.125 12.4999 3.125C10.8423 3.125 9.25257 3.78348 8.08047 4.95558C6.90837 6.12769 6.24989 7.7174 6.24989 9.375V10.1562C6.25303 12.4736 5.39466 14.7093 3.84155 16.4292C5.64676 17.0958 7.54989 17.5594 9.52384 17.7938M15.4759 17.7938C13.4988 18.0283 11.5009 18.0283 9.52384 17.7938M15.4759 17.7938C15.626 18.2624 15.6634 18.7598 15.5849 19.2455C15.5064 19.7313 15.3143 20.1917 15.0242 20.5891C14.7342 20.9866 14.3544 21.31 13.9157 21.5329C13.4771 21.7559 12.9919 21.8721 12.4999 21.8721C12.0078 21.8721 11.5227 21.7559 11.0841 21.5329C10.6454 21.31 10.2656 20.9866 9.97553 20.5891C9.68548 20.1917 9.49339 19.7313 9.4149 19.2455C9.33641 18.7598 9.37374 18.2624 9.52384 17.7938", stroke: color ?? "#910023", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), flag && (_jsxs("div", { className: "absolute top-0 right-0", children: [_jsx("div", { className: "absolute w-2 h-2 rounded-full bg-red-500" }), _jsx("div", { className: " w-2 h-2 rounded-full bg-red-400 animate-ping duration-1000" })] }))] }));
4
+ }
@@ -0,0 +1,34 @@
1
+ import { OnClick } from "../../interface";
2
+
3
+ interface Notification {
4
+ onClick: OnClick;
5
+ flag: boolean;
6
+ color?: string;
7
+ }
8
+ export default function Notification({ onClick, color, flag }: Notification) {
9
+ return (
10
+ <button className="relative" onClick={onClick}>
11
+ <svg
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ width="25"
14
+ height="25"
15
+ viewBox="0 0 25 25"
16
+ fill="none"
17
+ >
18
+ <path
19
+ d="M15.4759 17.7938C17.4168 17.564 19.3237 17.1059 21.1572 16.4292C19.6044 14.7092 18.7465 12.4734 18.7499 10.1562V9.375C18.7499 7.7174 18.0914 6.12769 16.9193 4.95558C15.7472 3.78348 14.1575 3.125 12.4999 3.125C10.8423 3.125 9.25257 3.78348 8.08047 4.95558C6.90837 6.12769 6.24989 7.7174 6.24989 9.375V10.1562C6.25303 12.4736 5.39466 14.7093 3.84155 16.4292C5.64676 17.0958 7.54989 17.5594 9.52384 17.7938M15.4759 17.7938C13.4988 18.0283 11.5009 18.0283 9.52384 17.7938M15.4759 17.7938C15.626 18.2624 15.6634 18.7598 15.5849 19.2455C15.5064 19.7313 15.3143 20.1917 15.0242 20.5891C14.7342 20.9866 14.3544 21.31 13.9157 21.5329C13.4771 21.7559 12.9919 21.8721 12.4999 21.8721C12.0078 21.8721 11.5227 21.7559 11.0841 21.5329C10.6454 21.31 10.2656 20.9866 9.97553 20.5891C9.68548 20.1917 9.49339 19.7313 9.4149 19.2455C9.33641 18.7598 9.37374 18.2624 9.52384 17.7938"
20
+ stroke={color ?? "#910023"}
21
+ strokeWidth="1.5"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ />
25
+ </svg>
26
+ {flag && (
27
+ <div className="absolute top-0 right-0">
28
+ <div className="absolute w-2 h-2 rounded-full bg-red-500" />
29
+ <div className=" w-2 h-2 rounded-full bg-red-400 animate-ping duration-1000" />
30
+ </div>
31
+ )}
32
+ </button>
33
+ );
34
+ }
@@ -0,0 +1 @@
1
+ export default function Phone(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export default function Phone() {
3
+ return (_jsx("svg", { className: "mr-3", xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: _jsx("path", { d: "M10.9375 1.5625H8.59375C7.97215 1.5625 7.37601 1.80943 6.93647 2.24897C6.49693 2.68851 6.25 3.28465 6.25 3.90625V21.0937C6.25 21.7154 6.49693 22.3115 6.93647 22.751C7.37601 23.1906 7.97215 23.4375 8.59375 23.4375H16.4062C17.0279 23.4375 17.624 23.1906 18.0635 22.751C18.5031 22.3115 18.75 21.7154 18.75 21.0937V3.90625C18.75 3.28465 18.5031 2.68851 18.0635 2.24897C17.624 1.80943 17.0279 1.5625 16.4062 1.5625H14.0625M10.9375 1.5625V3.125H14.0625V1.5625M10.9375 1.5625H14.0625M10.9375 21.0937H14.0625", stroke: "#105652", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }));
4
+ }
@@ -0,0 +1,20 @@
1
+ export default function Phone() {
2
+ return (
3
+ <svg
4
+ className="mr-3"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="25"
7
+ height="25"
8
+ viewBox="0 0 25 25"
9
+ fill="none"
10
+ >
11
+ <path
12
+ d="M10.9375 1.5625H8.59375C7.97215 1.5625 7.37601 1.80943 6.93647 2.24897C6.49693 2.68851 6.25 3.28465 6.25 3.90625V21.0937C6.25 21.7154 6.49693 22.3115 6.93647 22.751C7.37601 23.1906 7.97215 23.4375 8.59375 23.4375H16.4062C17.0279 23.4375 17.624 23.1906 18.0635 22.751C18.5031 22.3115 18.75 21.7154 18.75 21.0937V3.90625C18.75 3.28465 18.5031 2.68851 18.0635 2.24897C17.624 1.80943 17.0279 1.5625 16.4062 1.5625H14.0625M10.9375 1.5625V3.125H14.0625V1.5625M10.9375 1.5625H14.0625M10.9375 21.0937H14.0625"
13
+ stroke="#105652"
14
+ strokeWidth="1.5"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ />
18
+ </svg>
19
+ );
20
+ }
@@ -0,0 +1,7 @@
1
+ import { OnClick } from "../../interface";
2
+ interface Profile {
3
+ onClick: OnClick;
4
+ color?: string;
5
+ }
6
+ export default function Profile({ color, onClick }: Profile): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export default function Profile({ color, onClick }) {
3
+ return (_jsx("svg", { className: "cursor-pointer", onClick: onClick, xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: _jsx("path", { d: "M18.7313 19.5053C18.0034 18.5416 17.0618 17.7601 15.9804 17.2223C14.8991 16.6846 13.7077 16.4052 12.5 16.4063C11.2924 16.4052 10.101 16.6846 9.01964 17.2223C7.93832 17.7601 6.99664 18.5416 6.26878 19.5053M18.7313 19.5053C20.1516 18.2419 21.1533 16.5767 21.6054 14.7304C22.0576 12.884 21.9378 10.9439 21.262 9.16722C20.5862 7.39055 19.3862 5.86128 17.8213 4.78224C16.2564 3.7032 14.4004 3.12537 12.4995 3.12537C10.5986 3.12537 8.74267 3.7032 7.17775 4.78224C5.61282 5.86128 4.41288 7.39055 3.73705 9.16722C3.06122 10.9439 2.94144 12.884 3.3936 14.7304C3.84575 16.5767 4.84847 18.2419 6.26878 19.5053M18.7313 19.5053C17.0167 21.0346 14.7976 21.8783 12.5 21.8751C10.2021 21.8786 7.98361 21.0349 6.26878 19.5053M15.625 10.1563C15.625 10.9851 15.2958 11.78 14.7097 12.366C14.1237 12.9521 13.3288 13.2813 12.5 13.2813C11.6712 13.2813 10.8764 12.9521 10.2903 12.366C9.70427 11.78 9.37503 10.9851 9.37503 10.1563C9.37503 9.32751 9.70427 8.53265 10.2903 7.9466C10.8764 7.36055 11.6712 7.03131 12.5 7.03131C13.3288 7.03131 14.1237 7.36055 14.7097 7.9466C15.2958 8.53265 15.625 9.32751 15.625 10.1563Z", stroke: color ?? "#910023", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }));
4
+ }
@@ -0,0 +1,27 @@
1
+ import { OnClick } from "../../interface";
2
+
3
+ interface Profile {
4
+ onClick: OnClick;
5
+ color?: string;
6
+ }
7
+ export default function Profile({ color, onClick }: Profile) {
8
+ return (
9
+ <svg
10
+ className="cursor-pointer"
11
+ onClick={onClick}
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ width="25"
14
+ height="25"
15
+ viewBox="0 0 25 25"
16
+ fill="none"
17
+ >
18
+ <path
19
+ d="M18.7313 19.5053C18.0034 18.5416 17.0618 17.7601 15.9804 17.2223C14.8991 16.6846 13.7077 16.4052 12.5 16.4063C11.2924 16.4052 10.101 16.6846 9.01964 17.2223C7.93832 17.7601 6.99664 18.5416 6.26878 19.5053M18.7313 19.5053C20.1516 18.2419 21.1533 16.5767 21.6054 14.7304C22.0576 12.884 21.9378 10.9439 21.262 9.16722C20.5862 7.39055 19.3862 5.86128 17.8213 4.78224C16.2564 3.7032 14.4004 3.12537 12.4995 3.12537C10.5986 3.12537 8.74267 3.7032 7.17775 4.78224C5.61282 5.86128 4.41288 7.39055 3.73705 9.16722C3.06122 10.9439 2.94144 12.884 3.3936 14.7304C3.84575 16.5767 4.84847 18.2419 6.26878 19.5053M18.7313 19.5053C17.0167 21.0346 14.7976 21.8783 12.5 21.8751C10.2021 21.8786 7.98361 21.0349 6.26878 19.5053M15.625 10.1563C15.625 10.9851 15.2958 11.78 14.7097 12.366C14.1237 12.9521 13.3288 13.2813 12.5 13.2813C11.6712 13.2813 10.8764 12.9521 10.2903 12.366C9.70427 11.78 9.37503 10.9851 9.37503 10.1563C9.37503 9.32751 9.70427 8.53265 10.2903 7.9466C10.8764 7.36055 11.6712 7.03131 12.5 7.03131C13.3288 7.03131 14.1237 7.36055 14.7097 7.9466C15.2958 8.53265 15.625 9.32751 15.625 10.1563Z"
20
+ stroke={color ?? "#910023"}
21
+ strokeWidth="1.5"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ />
25
+ </svg>
26
+ );
27
+ }
@@ -0,0 +1,3 @@
1
+ export default function TOSEL({ className }: {
2
+ className?: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export default function TOSEL({ className }) {
3
+ return (_jsxs("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", width: "127", height: "28", viewBox: "0 0 127 28", fill: "none", children: [_jsxs("g", { clipPath: "url(#clip0_4049_13297)", children: [_jsx("path", { d: "M125.742 2.82682L125.211 2.07824H124.945V2.85802H124.613V0.842285H125.414C125.582 0.842285 125.746 0.908566 125.879 1.00604C126.011 1.1347 126.078 1.26727 126.078 1.42712C126.078 1.55578 126.043 1.68835 125.945 1.81701C125.879 1.91448 125.777 2.01195 125.644 2.04315L126.175 2.85412L125.742 2.82293V2.82682ZM125.574 1.65716C125.64 1.62596 125.676 1.52849 125.676 1.46221C125.676 1.36474 125.64 1.29846 125.574 1.26727C125.508 1.23607 125.406 1.20098 125.34 1.20098H124.941V1.75463H125.34C125.441 1.72344 125.508 1.68835 125.574 1.65716Z", fill: "black" }), _jsx("path", { d: "M125.242 0C124.207 0 123.41 0.810971 123.41 1.78959C123.41 2.76822 124.242 3.57919 125.242 3.57919C126.273 3.57919 127.073 2.76822 127.073 1.78959C127.109 0.81487 126.273 0 125.242 0ZM125.242 3.28287C124.41 3.28287 123.711 2.60057 123.711 1.78959C123.711 0.978624 124.41 0.292417 125.242 0.292417C126.074 0.292417 126.773 0.974725 126.773 1.78959C126.773 2.60446 126.074 3.28287 125.242 3.28287Z", fill: "black" }), _jsx("path", { d: "M99.561 11.1392H37.9883V16.2077H99.561V11.1392Z", fill: "url(#paint0_linear_4049_13297)" }), _jsx("path", { d: "M22.9794 5.86376H14.4266V26.9373H8.55285V5.86376H0V0.678223H22.9794V5.86766V5.86376Z", fill: "black" }), _jsx("path", { d: "M23.7871 13.7904C23.7871 5.83275 29.821 0 37.9872 0C46.1534 0 52.1872 5.83275 52.1872 13.7904C52.1872 21.7481 46.1534 27.5808 37.9872 27.5808C29.821 27.5808 23.7871 21.7481 23.7871 13.7904ZM46.3135 13.7904C46.3135 8.82711 42.7635 5.28301 37.9872 5.28301C33.2109 5.28301 29.6608 8.82711 29.6608 13.7904C29.6608 18.7186 33.2109 22.2978 37.9872 22.2978C42.7635 22.2978 46.3135 18.7225 46.3135 13.7904Z", fill: "black" }), _jsx("path", { d: "M76.4601 8.60493H70.3911C70.0357 6.31627 68.3251 4.93217 65.5171 4.93217C62.7092 4.93217 61.2563 6.02776 61.2563 7.60681C61.2563 9.57186 63.2911 10.2503 68.4228 11.3108C74.4918 12.5662 76.5577 15.5645 76.5577 19.4946C76.5577 24.5202 71.8127 27.5809 65.9389 27.5809C59.452 27.5809 54.707 24.068 54.4492 18.4613H60.4831C60.8072 20.9761 63.0021 22.6488 66.3568 22.6488C68.7469 22.6488 70.52 21.4557 70.52 19.748C70.52 17.6543 68.7469 16.816 64.0643 15.9466C58.3507 14.8822 55.2537 12.5311 55.2537 7.60291C55.2537 2.6747 59.9637 0.03125 65.9038 0.03125C71.7775 0.03125 76.1672 3.60654 76.4601 8.60103V8.60493Z", fill: "black" }), _jsx("path", { d: "M80.0059 0.678223H99.5641V5.77018H85.8796V21.8492H99.8531V26.9412H80.0059V0.682122V0.678223Z", fill: "black" }), _jsx("path", { d: "M109.669 0.678223V21.7518H122.806V26.9373H103.795V0.678223H109.669Z", fill: "black" })] }), _jsxs("defs", { children: [_jsxs("linearGradient", { id: "paint0_linear_4049_13297", x1: "37.9844", y1: "13.6734", x2: "99.5571", y2: "13.6734", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#760023", stopOpacity: "0" }), _jsx("stop", { offset: "1", stopColor: "#760023" })] }), _jsx("clipPath", { id: "clip0_4049_13297", children: _jsx("rect", { width: "127", height: "27.5808", fill: "white" }) })] })] }));
4
+ }
@@ -0,0 +1,63 @@
1
+ export default function TOSEL({ className }: { className?: string }) {
2
+ return (
3
+ <svg
4
+ className={className}
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="127"
7
+ height="28"
8
+ viewBox="0 0 127 28"
9
+ fill="none"
10
+ >
11
+ <g clipPath="url(#clip0_4049_13297)">
12
+ <path
13
+ d="M125.742 2.82682L125.211 2.07824H124.945V2.85802H124.613V0.842285H125.414C125.582 0.842285 125.746 0.908566 125.879 1.00604C126.011 1.1347 126.078 1.26727 126.078 1.42712C126.078 1.55578 126.043 1.68835 125.945 1.81701C125.879 1.91448 125.777 2.01195 125.644 2.04315L126.175 2.85412L125.742 2.82293V2.82682ZM125.574 1.65716C125.64 1.62596 125.676 1.52849 125.676 1.46221C125.676 1.36474 125.64 1.29846 125.574 1.26727C125.508 1.23607 125.406 1.20098 125.34 1.20098H124.941V1.75463H125.34C125.441 1.72344 125.508 1.68835 125.574 1.65716Z"
14
+ fill="black"
15
+ />
16
+ <path
17
+ d="M125.242 0C124.207 0 123.41 0.810971 123.41 1.78959C123.41 2.76822 124.242 3.57919 125.242 3.57919C126.273 3.57919 127.073 2.76822 127.073 1.78959C127.109 0.81487 126.273 0 125.242 0ZM125.242 3.28287C124.41 3.28287 123.711 2.60057 123.711 1.78959C123.711 0.978624 124.41 0.292417 125.242 0.292417C126.074 0.292417 126.773 0.974725 126.773 1.78959C126.773 2.60446 126.074 3.28287 125.242 3.28287Z"
18
+ fill="black"
19
+ />
20
+ <path
21
+ d="M99.561 11.1392H37.9883V16.2077H99.561V11.1392Z"
22
+ fill="url(#paint0_linear_4049_13297)"
23
+ />
24
+ <path
25
+ d="M22.9794 5.86376H14.4266V26.9373H8.55285V5.86376H0V0.678223H22.9794V5.86766V5.86376Z"
26
+ fill="black"
27
+ />
28
+ <path
29
+ d="M23.7871 13.7904C23.7871 5.83275 29.821 0 37.9872 0C46.1534 0 52.1872 5.83275 52.1872 13.7904C52.1872 21.7481 46.1534 27.5808 37.9872 27.5808C29.821 27.5808 23.7871 21.7481 23.7871 13.7904ZM46.3135 13.7904C46.3135 8.82711 42.7635 5.28301 37.9872 5.28301C33.2109 5.28301 29.6608 8.82711 29.6608 13.7904C29.6608 18.7186 33.2109 22.2978 37.9872 22.2978C42.7635 22.2978 46.3135 18.7225 46.3135 13.7904Z"
30
+ fill="black"
31
+ />
32
+ <path
33
+ d="M76.4601 8.60493H70.3911C70.0357 6.31627 68.3251 4.93217 65.5171 4.93217C62.7092 4.93217 61.2563 6.02776 61.2563 7.60681C61.2563 9.57186 63.2911 10.2503 68.4228 11.3108C74.4918 12.5662 76.5577 15.5645 76.5577 19.4946C76.5577 24.5202 71.8127 27.5809 65.9389 27.5809C59.452 27.5809 54.707 24.068 54.4492 18.4613H60.4831C60.8072 20.9761 63.0021 22.6488 66.3568 22.6488C68.7469 22.6488 70.52 21.4557 70.52 19.748C70.52 17.6543 68.7469 16.816 64.0643 15.9466C58.3507 14.8822 55.2537 12.5311 55.2537 7.60291C55.2537 2.6747 59.9637 0.03125 65.9038 0.03125C71.7775 0.03125 76.1672 3.60654 76.4601 8.60103V8.60493Z"
34
+ fill="black"
35
+ />
36
+ <path
37
+ d="M80.0059 0.678223H99.5641V5.77018H85.8796V21.8492H99.8531V26.9412H80.0059V0.682122V0.678223Z"
38
+ fill="black"
39
+ />
40
+ <path
41
+ d="M109.669 0.678223V21.7518H122.806V26.9373H103.795V0.678223H109.669Z"
42
+ fill="black"
43
+ />
44
+ </g>
45
+ <defs>
46
+ <linearGradient
47
+ id="paint0_linear_4049_13297"
48
+ x1="37.9844"
49
+ y1="13.6734"
50
+ x2="99.5571"
51
+ y2="13.6734"
52
+ gradientUnits="userSpaceOnUse"
53
+ >
54
+ <stop stopColor="#760023" stopOpacity="0" />
55
+ <stop offset="1" stopColor="#760023" />
56
+ </linearGradient>
57
+ <clipPath id="clip0_4049_13297">
58
+ <rect width="127" height="27.5808" fill="white" />
59
+ </clipPath>
60
+ </defs>
61
+ </svg>
62
+ );
63
+ }
@@ -23,7 +23,7 @@ const heightSize = {
23
23
  };
24
24
  export function Board({ children, widgets, options, debug, buttons, }) {
25
25
  const { shows } = widgets ?? {};
26
- const { width, height, isRounded, className, noMobile } = options ?? {};
26
+ const { width, height, isRounded, className, noMobile, background, border } = options ?? {};
27
27
  const container = {
28
28
  positions: "relative",
29
29
  width: widthSize[width ?? "full"],
@@ -33,13 +33,15 @@ export function Board({ children, widgets, options, debug, buttons, }) {
33
33
  const body = {
34
34
  positions: "relative",
35
35
  sizes: `w-full ${heightSize[height ?? "xl"]} overflow-hidden `,
36
- styles: "bg-white text-black",
36
+ background: `${background ?? "bg-white"} dark:bg-black/80`,
37
+ border: border && border,
38
+ styles: "text-black",
37
39
  rounded: `rounded-none ${isRounded ? "xl:rounded-xl" : ""}`,
38
40
  };
39
41
  const button = {
40
42
  positions: "fixed bottom-20 right-4 xl:absolute xl:-bottom-18.5 xl:right-0",
41
43
  };
42
- return (_jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(body), children: _jsx(Events.Show, { widgets: shows, children: _jsx("div", { className: "h-full " + className, children: children }) }) }), _jsx("div", { className: cn(button), children: buttons?.map(({ title, onClick, options }) => (_jsx(Label.Button, { title: title, onClick: onClick, options: {
44
+ return (_jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(body), children: _jsx(Events.Show, { widgets: shows, children: _jsx("div", { className: `h-full ${className}`, children: children }) }) }), _jsx("div", { className: cn(button), children: buttons?.map(({ title, onClick, options }) => (_jsx(Label.Button, { title: title, onClick: onClick, options: {
43
45
  ...options,
44
46
  text: "text-white",
45
47
  background: "bg-crimson-burgundy",
@@ -1,2 +1,2 @@
1
1
  import { CanvasBoardProps } from "../../interface/Board";
2
- export default function CanvasBoard<B>({ header, children, options, widgets, buttons, }: CanvasBoardProps<B>): import("react/jsx-runtime").JSX.Element;
2
+ export default function CanvasBoard<B>({ header, children, widgets, buttons, options, }: CanvasBoardProps<B>): import("react/jsx-runtime").JSX.Element;
@@ -3,12 +3,13 @@ import { Events } from "../..";
3
3
  import { cn } from "../../util";
4
4
  import { Board } from "../design/Board.design";
5
5
  import BoardHeader from "../widget/Header";
6
- export default function CanvasBoard({ header, children, options, widgets, buttons, }) {
6
+ export default function CanvasBoard({ header, children, widgets, buttons, options, }) {
7
7
  const body = {
8
- displays: "flex flex-col lg:flex-row lg:flex-wrap gap-7.5 ",
8
+ displays: "flex flex-col lg:flex-row lg:flex-wrap gap-7.5",
9
9
  sizes: "h-full",
10
- paddings: `${header ? "pb-55 xl:pb-25" : "pb-36 xl:pb-6"} px-2 xs:px-4 xl:pl-7.5 xl:pr-2 pt-2 xs:pt-4 xl:pt-7.5`,
10
+ paddings: `${header ? "pb-55 xl:pb-25" : "pb-36 xl:pb-6"} px-2 xs:px-4 xl:px-7.5 pt-2 xs:pt-4 xl:pt-7.5`,
11
11
  styles: "overflow-y-scroll",
12
+ classNames: options?.className,
12
13
  };
13
- return (_jsxs(Board, { widgets: widgets, buttons: buttons, options: { ...options, isRounded: true }, children: [header && _jsx(BoardHeader, { ...header }), _jsx(Events.Replace, { widgets: widgets?.replaces, children: _jsx("div", { className: cn(body), children: children }) })] }));
14
+ return (_jsxs(Board, { widgets: widgets, buttons: buttons, options: { ...options, className: "", isRounded: true }, children: [header && _jsx(BoardHeader, { ...header }), _jsx(Events.Replace, { widgets: widgets?.replaces, children: _jsx("div", { className: cn(body), children: children }) })] }));
14
15
  }
@@ -6,7 +6,7 @@ import { cn, sortByOrder } from "../../util";
6
6
  import { useWidgetStore } from "../../store";
7
7
  import { useId } from "react";
8
8
  export default function ManageBoard({ header, dataSets, dataField, widgets, options, buttons, }) {
9
- const { className, noPadding, width, noMobile } = options ?? {};
9
+ const { className, noPadding } = options ?? {};
10
10
  const { order } = useWidgetStore();
11
11
  const id = useId();
12
12
  const orders = order[id] ?? [];
@@ -17,9 +17,8 @@ export default function ManageBoard({ header, dataSets, dataField, widgets, opti
17
17
  styles: "overflow-y-scroll",
18
18
  };
19
19
  return (_jsxs(Board, { widgets: widgets, buttons: buttons, options: {
20
- width,
20
+ ...options,
21
21
  isRounded: true,
22
- noMobile,
23
22
  }, children: [header && _jsx(BoardHeader, { ...header }), dataField && _jsx(DataField.Board, { id: id, dataField: dataField }), _jsx("div", { className: cn(container), children: _jsx(Events.Replace, { widgets: widgets?.replaces, children: dataSets.map(({ titles, items, renderItem, interaction }, index) => (_jsxs(Shelf.Wrap, { titles: titles, options: { gap: "x" }, className: className, children: [items &&
24
23
  sortByOrder({ items, orders })?.map((item) => renderItem(item)), interaction] }, id + index))) }) })] }));
25
24
  }
@@ -6,5 +6,5 @@ export default function PaperBoard({ children, debug, options, }) {
6
6
  const container = {
7
7
  displays: "flex flex-col gap-7.5",
8
8
  };
9
- return (_jsx(Board, { options: { width: "lg", height: "full", isRounded: false, className }, debug: debug, children: _jsx("div", { className: cn(container), children: children }) }));
9
+ return (_jsx(Board, { options: { width: "full", height: "full", isRounded: false, className }, debug: debug, children: _jsx("div", { className: cn(container), children: children }) }));
10
10
  }
@@ -5,14 +5,11 @@ export default function BoardHeader({ titles, tag, options, }) {
5
5
  const { title, icon, titleColor } = titles ?? {};
6
6
  const { selects, inputs } = tag ?? {};
7
7
  const { colors, titleBorder } = options ?? {};
8
- const { bgColor, textColor } = colors ?? {
9
- bgColor: "white",
10
- textColor: "black",
11
- };
8
+ const { bgColor, textColor } = colors ?? {};
12
9
  const container = {
13
10
  positions: "fixed top-15 xl:top-0 left-0 z-30 xl:relative flex items-center",
14
11
  paddings: "px-7.5",
15
- styles: `${bgColor} ${textColor}`,
12
+ styles: `${bgColor ?? "bg-white"} ${textColor ?? "text-black"}`,
16
13
  sizes: "w-full h-19",
17
14
  border: `border-b-2 ${titleBorder ?? "border-green-dark"}`,
18
15
  };
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
2
2
  import { cn, isDebug } from "../../util";
3
3
  import { useWidgetStore } from "../../store";
4
4
  const widthSize = {
5
- "2xs": "w-20",
5
+ "2xs": "w-53.75",
6
6
  xs: "w-full md:w-60",
7
7
  sm: "w-full md:w-90",
8
8
  md: "w-full md:w-112.5",
@@ -13,6 +13,7 @@ const widthSize = {
13
13
  auto: "w-auto",
14
14
  };
15
15
  const heightSize = {
16
+ "2xs": "h-30",
16
17
  xs: "h-45",
17
18
  sm: "h-52.5",
18
19
  md: "h-67.5",
@@ -24,24 +25,13 @@ const heightSize = {
24
25
  };
25
26
  export default function CardDesign({ header, children, options, debug, }) {
26
27
  const { setIsOwn } = useWidgetStore();
27
- const { className, boundary, rounded, height, width, text, background, onClick, overflow, noShadow, } = options ?? {};
28
- const setBoundary = () => {
29
- if (noShadow)
30
- return "";
31
- if (boundary === "shadow")
32
- return "box-shadow";
33
- if (boundary?.includes("border"))
34
- return boundary;
35
- if (boundary === "none")
36
- return "";
37
- return "box-shadow";
38
- };
28
+ const { className, boundary, rounded, height, width, text, background, onClick, onMouse, overflow, } = options ?? {};
39
29
  const container = {
40
30
  positions: "relative",
41
31
  sizes: `${widthSize[width ?? "sm"]} ${heightSize[height ?? "xs"]}`,
42
32
  onClick: onClick ? "cursor-pointer" : "",
43
33
  text: `${text ?? "text-base"} text-black dark:text-white`,
44
- boundary: setBoundary(),
34
+ boundary: boundary ?? "box-shadow",
45
35
  rounded: `rounded-${rounded ?? "xl"}`,
46
36
  bgColor: `${background ?? "bg-white/80"} dark:bg-black/80`,
47
37
  styles: "duration-500 ",
@@ -49,9 +39,9 @@ export default function CardDesign({ header, children, options, debug, }) {
49
39
  overflow: "overflow-hidden",
50
40
  };
51
41
  const body = {
52
- sizes: "h-full",
42
+ sizes: "w-full h-full",
53
43
  overflow: `overflow-${overflow ?? "hidden"}`,
54
44
  className,
55
45
  };
56
- return (_jsxs("div", { className: cn(container), children: [header && _jsx(_Fragment, { children: header }), _jsx("div", { onClick: onClick && onClick, className: cn(body), children: children })] }));
46
+ return (_jsxs("div", { onMouseEnter: onMouse ? () => onMouse[1](true) : () => { }, onMouseLeave: onMouse ? () => onMouse[1](false) : () => { }, className: cn(container), children: [header && _jsx(_Fragment, { children: header }), _jsx("div", { onClick: onClick && onClick, className: cn(body), children: children })] }));
57
47
  }
@@ -1,2 +1,2 @@
1
1
  import { InfoCardProps } from "../../interface/Card";
2
- export declare function InfoCardDesign({ titles: { title, subtitle }, topRight, debug, options, children, }: InfoCardProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function InfoCardDesign({ titles: { title, subtitle }, topRight, debug, image, options, children, }: InfoCardProps): import("react/jsx-runtime").JSX.Element;