@edu-tosel/design 1.0.346 → 1.0.348
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.
- package/layout/template/home/Announcement.js +5 -5
- package/layout/template/home/NewsPaper.js +5 -5
- package/layout/template/home/Service.js +5 -5
- package/layout/template/home/Session.d.ts +9 -0
- package/layout/template/home/Session.js +38 -0
- package/layout/template/home/Shortcut.d.ts +11 -0
- package/layout/template/home/Shortcut.js +58 -14
- package/layout/template/home/index.d.ts +2 -0
- package/layout/template/home/index.js +2 -0
- package/package.json +1 -1
- package/version.txt +1 -1
|
@@ -64,8 +64,8 @@ export default function Announcement({ banners, browse }) {
|
|
|
64
64
|
};
|
|
65
65
|
const deckTitle = {
|
|
66
66
|
displays: "flex items-center gap-x-4 xl:pl-5 md:pl-[76px] pl-5",
|
|
67
|
-
sizes: "max-w-
|
|
68
|
-
textstyles: "font-pretendard-var font-bold text-2xl text-
|
|
67
|
+
sizes: "max-w-7xl w-full",
|
|
68
|
+
textstyles: "font-pretendard-var font-bold text-xl md:text-2xl lg:text-3xl text-teal-800 text-center md:text-left leading-tight",
|
|
69
69
|
};
|
|
70
70
|
const cardPositioning = {
|
|
71
71
|
displays: "flex flex-nowrap",
|
|
@@ -80,7 +80,7 @@ export default function Announcement({ banners, browse }) {
|
|
|
80
80
|
//adjust the responsive right margin of scroller
|
|
81
81
|
const cardDeck = {
|
|
82
82
|
displays: "inline-flex",
|
|
83
|
-
spacings: "gap-5 xl:mr-[calc(100vw-
|
|
83
|
+
spacings: "gap-5 xl:mr-[calc(100vw-900px)]",
|
|
84
84
|
};
|
|
85
85
|
const buttonPositioning = {
|
|
86
86
|
displays: "flex flex-row",
|
|
@@ -99,7 +99,7 @@ export default function Announcement({ banners, browse }) {
|
|
|
99
99
|
animation: "duration-300",
|
|
100
100
|
test: "bg-gray-medium/20 pointer-events-none backdrop-blur-sm opacity-30",
|
|
101
101
|
};
|
|
102
|
-
return (_jsx("div", { className: cn(bgWrapper), children: _jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(deckTitlePositioning), children: _jsxs("div", { className: cn(deckTitle), children: [_jsx("div", { children: "\
|
|
102
|
+
return (_jsx("div", { className: cn(bgWrapper), children: _jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(deckTitlePositioning), children: _jsxs("div", { className: cn(deckTitle), children: [_jsx("div", { children: "\uB354 \uB098\uC740 \uACBD\uD5D8\uC744 \uC704\uD55C \uC548\uB0B4" }), browse && (_jsx(Label.Button, { title: "\uB354 \uBCF4\uAE30", onClick: browse, option: {
|
|
103
103
|
width: "xs",
|
|
104
104
|
height: "xs",
|
|
105
105
|
text: "text-white hover:text-green-dark font-bold",
|
|
@@ -120,7 +120,7 @@ function Banner({ onClick, titles }) {
|
|
|
120
120
|
sizes: "w-65 h-40 xxxs:w-76 md:w-80 md:h-40 rounded-lg md:rounded-lg",
|
|
121
121
|
backgrounds: "bg-white",
|
|
122
122
|
hover: "hover:shadow-main-hover hover:scale-[1.03]",
|
|
123
|
-
position: "xl:translate-x-[calc(50vw-
|
|
123
|
+
position: "xl:translate-x-[calc(50vw-770px)] md:translate-x-[56px]",
|
|
124
124
|
transition: "duration-300",
|
|
125
125
|
displays: "relative display-block overflow-hidden",
|
|
126
126
|
fonts: "font-pretendard-var",
|
|
@@ -60,8 +60,8 @@ export default function NewsPaper({ banners, browse, option, }) {
|
|
|
60
60
|
};
|
|
61
61
|
const deckTitle = {
|
|
62
62
|
displays: "flex items-center gap-x-4 xl:pl-5 md:pl-[76px] pl-5",
|
|
63
|
-
sizes: "max-w-
|
|
64
|
-
textStyles: "font-pretendard-var font-bold text-2xl text-
|
|
63
|
+
sizes: "max-w-7xl w-full",
|
|
64
|
+
textStyles: "font-pretendard-var font-bold text-xl md:text-2xl lg:text-3xl text-teal-800 text-center md:text-left leading-tight",
|
|
65
65
|
};
|
|
66
66
|
const cardPositioning = {
|
|
67
67
|
displays: "flex flex-nowrap",
|
|
@@ -76,7 +76,7 @@ export default function NewsPaper({ banners, browse, option, }) {
|
|
|
76
76
|
//adjust the responsive right margin of scroller
|
|
77
77
|
const cardDeck = {
|
|
78
78
|
displays: "inline-flex",
|
|
79
|
-
spacings: "gap-5 xl:mr-[calc(100vw-
|
|
79
|
+
spacings: "gap-5 xl:mr-[calc(100vw-900px)]",
|
|
80
80
|
};
|
|
81
81
|
const buttonPositioning = {
|
|
82
82
|
displays: "flex flex-row",
|
|
@@ -95,7 +95,7 @@ export default function NewsPaper({ banners, browse, option, }) {
|
|
|
95
95
|
animation: "duration-300",
|
|
96
96
|
test: "bg-gray-medium/20 pointer-events-none backdrop-blur-sm opacity-30",
|
|
97
97
|
};
|
|
98
|
-
return (_jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(deckTitlePositioning), children: _jsxs("div", { className: cn(deckTitle), children: [_jsx("div", { children: "\
|
|
98
|
+
return (_jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(deckTitlePositioning), children: _jsxs("div", { className: cn(deckTitle), children: [_jsx("div", { children: "\uB0B4\uC77C\uC758 \uC601\uC5B4 \uAE30\uC900\uC744 \uB9CC\uB4DC\uB294 TOSEL\uC758 \uC624\uB298" }), _jsx(Label.Button, { title: "\uB354 \uBCF4\uAE30", onClick: browse, option: {
|
|
99
99
|
width: "xs",
|
|
100
100
|
height: "xs",
|
|
101
101
|
text: "text-white hover:text-green-dark font-bold",
|
|
@@ -117,7 +117,7 @@ function Banner({ onClick, image, option }) {
|
|
|
117
117
|
sizes: "w-65 h-40 xxxs:w-76 xxxs:h-47.5 md:w-120 md:h-75 rounded-xl md:rounded-2xl",
|
|
118
118
|
backgrounds: background,
|
|
119
119
|
hover: "hover:shadow-main-hover hover:scale-[1.03]",
|
|
120
|
-
position: "xl:translate-x-[calc(50vw-
|
|
120
|
+
position: "xl:translate-x-[calc(50vw-770px)] md:translate-x-[56px]",
|
|
121
121
|
transition: "duration-300",
|
|
122
122
|
displays: "relative display-block overflow-hidden",
|
|
123
123
|
fonts: "font-pretendard-var",
|
|
@@ -59,8 +59,8 @@ export default function Service({ banners }) {
|
|
|
59
59
|
};
|
|
60
60
|
const deckTitle = {
|
|
61
61
|
displays: "xl:pl-5 md:pl-[76px] pl-5",
|
|
62
|
-
sizes: "max-w-
|
|
63
|
-
textstyles: "font-pretendard-var font-bold text-2xl text-
|
|
62
|
+
sizes: "max-w-7xl w-full",
|
|
63
|
+
textstyles: "font-pretendard-var font-bold text-xl md:text-2xl lg:text-3xl text-teal-800 text-center md:text-left leading-tight",
|
|
64
64
|
};
|
|
65
65
|
const cardPositioning = {
|
|
66
66
|
displays: "flex flex-nowrap",
|
|
@@ -75,7 +75,7 @@ export default function Service({ banners }) {
|
|
|
75
75
|
//adjust the responsive right margin of scroller
|
|
76
76
|
const cardDeck = {
|
|
77
77
|
displays: "inline-flex",
|
|
78
|
-
spacings: "gap-5 xl:mr-[calc(100vw-
|
|
78
|
+
spacings: "gap-5 xl:mr-[calc(100vw-900px)]",
|
|
79
79
|
};
|
|
80
80
|
const buttonPositioning = {
|
|
81
81
|
displays: "flex flex-row",
|
|
@@ -94,7 +94,7 @@ export default function Service({ banners }) {
|
|
|
94
94
|
animation: "duration-300",
|
|
95
95
|
test: "bg-gray-medium/20 pointer-events-none backdrop-blur-sm opacity-30",
|
|
96
96
|
};
|
|
97
|
-
return (_jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(deckTitlePositioning), children: _jsx("div", { className: cn(deckTitle), children: "\
|
|
97
|
+
return (_jsxs("div", { className: cn(container), children: [_jsx("div", { className: cn(deckTitlePositioning), children: _jsx("div", { className: cn(deckTitle), children: "TOSEL\uB9CC\uC758 \uC815\uAD50\uD55C \uD559\uC2B5 \uC2DC\uC2A4\uD15C \uC194\uB8E8\uC158\uC744 \uC18C\uAC1C\uD569\uB2C8\uB2E4." }) }), _jsx("div", { className: cn(cardPositioning), children: _jsx("div", { className: cn(cardWrapper), ref: scrollContainerRef, children: _jsx("div", { className: cn(cardDeck), children: banners.map((banner) => (_jsx(Banner, { ...banner }, banner.titles.title))) }) }) }), _jsxs("div", { className: cn(buttonPositioning), children: [_jsx("div", { className: cn(canScrollLeft ? hoverButton : disabledButton), onClick: canScrollLeft ? () => handleScroll("left") : undefined, children: _jsx("img", { src: "images/home/handle-left.svg", alt: "" }) }), _jsx("div", { className: cn(canScrollRight ? hoverButton : disabledButton), onClick: canScrollRight ? () => handleScroll("right") : undefined, children: _jsx("img", { src: "images/home/handle-right.svg", alt: "" }) })] })] }));
|
|
98
98
|
}
|
|
99
99
|
function Banner({ titles, onClick, image, option }) {
|
|
100
100
|
const { background } = option ?? {};
|
|
@@ -111,7 +111,7 @@ function Banner({ titles, onClick, image, option }) {
|
|
|
111
111
|
sizes: "h-100 w-65 xxxs:w-76 md:w-100 md:h-125 rounded-xl md:rounded-2xl",
|
|
112
112
|
backgrounds: background,
|
|
113
113
|
hover: "hover:shadow-main-hover hover:scale-[1.03]",
|
|
114
|
-
position: "xl:translate-x-[calc(50vw-
|
|
114
|
+
position: "xl:translate-x-[calc(50vw-770px)] md:translate-x-[56px]",
|
|
115
115
|
transition: "duration-300",
|
|
116
116
|
displays: "relative display-block overflow-hidden",
|
|
117
117
|
fonts: "font-pretendard-var",
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../../util";
|
|
3
|
+
export default function Session({ sessions, }) {
|
|
4
|
+
const container = {
|
|
5
|
+
displays: "flex flex-col md:flex-row justify-center items-stretch",
|
|
6
|
+
sizes: "w-full max-w-7xl mx-auto",
|
|
7
|
+
spacings: "px-5 md:px-0 mt-4 md:mt-8 mb-6 md:mb-8 gap-4 md:gap-6",
|
|
8
|
+
};
|
|
9
|
+
const card = {
|
|
10
|
+
displays: "flex flex-col relative group cursor-pointer",
|
|
11
|
+
sizes: "w-full md:w-1/3 h-auto min-h-[200px]",
|
|
12
|
+
spacings: "p-6 md:p-8",
|
|
13
|
+
backgrounds: "rounded-2xl",
|
|
14
|
+
shadows: "shadow-sm",
|
|
15
|
+
animation: "transition-all duration-300 hover:shadow-lg hover:scale-[1.02]",
|
|
16
|
+
};
|
|
17
|
+
const header = {
|
|
18
|
+
displays: "flex flex-row justify-between items-start",
|
|
19
|
+
sizes: "w-full",
|
|
20
|
+
spacings: "mb-4",
|
|
21
|
+
};
|
|
22
|
+
const labelStyle = {
|
|
23
|
+
fonts: "text-base md:text-lg font-bold text-black",
|
|
24
|
+
};
|
|
25
|
+
const iconStyle = {
|
|
26
|
+
displays: "flex justify-center items-center",
|
|
27
|
+
sizes: "w-6 h-6",
|
|
28
|
+
fonts: "text-black",
|
|
29
|
+
};
|
|
30
|
+
const titleStyle = {
|
|
31
|
+
fonts: "text-xl md:text-2xl lg:text-3xl font-bold text-black",
|
|
32
|
+
spacings: "mb-3",
|
|
33
|
+
};
|
|
34
|
+
const contentStyle = {
|
|
35
|
+
fonts: "text-sm md:text-base text-black leading-relaxed",
|
|
36
|
+
};
|
|
37
|
+
return (_jsx("div", { className: cn(container), children: sessions.map((session, index) => (_jsxs("div", { onClick: session.onClick, className: cn(card, session.background), children: [_jsxs("div", { className: cn(header), children: [_jsx("div", { className: cn(labelStyle), children: session.label }), _jsx("div", { className: cn(iconStyle), children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "w-5 h-5", children: _jsx("path", { d: "M7 17L17 7M7 7h10v10" }) }) })] }), _jsx("div", { className: cn(titleStyle), children: session.title }), _jsx("div", { className: cn(contentStyle), children: session.content })] }, index))) }));
|
|
38
|
+
}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import { Button } from "../../../interface";
|
|
2
|
+
type ShortcutContent = {
|
|
3
|
+
image?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
content?: string;
|
|
7
|
+
};
|
|
2
8
|
export default function ShortcutBanner({ shortcuts, }: {
|
|
3
9
|
shortcuts: (Button & {
|
|
4
10
|
icon: string;
|
|
5
11
|
background?: string;
|
|
12
|
+
content?: ShortcutContent;
|
|
6
13
|
})[];
|
|
7
14
|
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function ShortcutContent({ content }: {
|
|
16
|
+
content: ShortcutContent;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -2,23 +2,23 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { toSelectOption } from "../../../interface";
|
|
3
3
|
import { cn } from "../../../util";
|
|
4
4
|
import { useResponsive } from "../../../hook";
|
|
5
|
-
import { useState } from "react";
|
|
5
|
+
import { useState, useEffect } from "react";
|
|
6
6
|
export default function ShortcutBanner({ shortcuts, }) {
|
|
7
7
|
const isXS = useResponsive("xs");
|
|
8
8
|
const [isExpanded, setIsExpanded] = useState(false);
|
|
9
|
+
const [selectedIndex, setSelectedIndex] = useState(0);
|
|
9
10
|
const container = {
|
|
10
11
|
displays: "flex flex-col justify-start justify-start xs:justify-center xs:items-center",
|
|
11
|
-
spacings: "pt-10 pb-15",
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
const selectedShortcut = shortcuts[selectedIndex];
|
|
14
|
+
return (_jsxs("div", { className: cn(container), children: [!isExpanded ? (_jsx(ScrollMode, { shortcuts: shortcuts, selectedIndex: selectedIndex, setSelectedIndex: setSelectedIndex })) : (_jsx(GridMode, { shortcuts: shortcuts, selectedIndex: selectedIndex, setSelectedIndex: setSelectedIndex })), selectedShortcut?.content && (_jsx(ShortcutContent, { content: selectedShortcut.content }, selectedIndex))] }));
|
|
14
15
|
}
|
|
15
|
-
function ScrollMode({ shortcuts, }) {
|
|
16
|
+
function ScrollMode({ shortcuts, selectedIndex, setSelectedIndex, }) {
|
|
16
17
|
const scrollWrapper = {
|
|
17
18
|
displays: "flex justify-start items-center overflow-x-scroll scrollbar-hidden",
|
|
18
19
|
sizes: "w-full h-fit",
|
|
19
20
|
spacings: "px-5 pb-10",
|
|
20
21
|
graphics: "antialiased",
|
|
21
|
-
boundaries: "border-b-1 border-gray-200",
|
|
22
22
|
};
|
|
23
23
|
const buttonWrapper = {
|
|
24
24
|
displays: "flex justify-center items-center",
|
|
@@ -34,7 +34,7 @@ function ScrollMode({ shortcuts, }) {
|
|
|
34
34
|
};
|
|
35
35
|
const buttonSet = {
|
|
36
36
|
displays: "group flex flex-col justify-center items-center",
|
|
37
|
-
sizes: "w-
|
|
37
|
+
sizes: "w-22",
|
|
38
38
|
spacings: "gap-2",
|
|
39
39
|
};
|
|
40
40
|
const tagBox = {
|
|
@@ -44,17 +44,20 @@ function ScrollMode({ shortcuts, }) {
|
|
|
44
44
|
animation: "duration-100",
|
|
45
45
|
};
|
|
46
46
|
const iconContainer = {
|
|
47
|
-
sizes: "size-
|
|
47
|
+
sizes: "size-18 xs:size-20 rounded-lg overflow-hidden",
|
|
48
48
|
shadows: "shadow-none",
|
|
49
49
|
animation: "duration-100",
|
|
50
50
|
hoveraction: "group-hover:shadow-icon-hover group-hover:scale-103",
|
|
51
51
|
};
|
|
52
|
-
return (_jsx("div", { className: cn(scrollWrapper), children: _jsx("div", { className: cn(buttonWrapper), children: shortcuts.map((shortcut) => (_jsxs("button", { onClick:
|
|
52
|
+
return (_jsx("div", { className: cn(scrollWrapper), children: _jsx("div", { className: cn(buttonWrapper), children: shortcuts.map((shortcut, index) => (_jsxs("button", { onClick: () => {
|
|
53
|
+
setSelectedIndex(index);
|
|
54
|
+
shortcut.onClick?.();
|
|
55
|
+
}, className: cn(buttonSet, selectedIndex === index ? "border-b-[3px] border-black" : ""), children: [_jsx("div", { className: cn(iconContainer, shortcut.background ?? "bg-gray-100"), children: _jsx("img", { src: shortcut.icon, alt: shortcut.title }) }), _jsx("div", { className: cn(tagBox), children: shortcut.title })] }, shortcut.title))) }) }));
|
|
53
56
|
}
|
|
54
|
-
function GridMode({ shortcuts, }) {
|
|
57
|
+
function GridMode({ shortcuts, selectedIndex, setSelectedIndex, }) {
|
|
55
58
|
const container = {
|
|
56
59
|
displays: "flex flex-col justify-center items-center",
|
|
57
|
-
spacings: "gap-y-10
|
|
60
|
+
spacings: "gap-y-10",
|
|
58
61
|
sizes: "w-full h-fit",
|
|
59
62
|
};
|
|
60
63
|
const gridWrapper = {
|
|
@@ -70,7 +73,7 @@ function GridMode({ shortcuts, }) {
|
|
|
70
73
|
};
|
|
71
74
|
const buttonSet = {
|
|
72
75
|
displays: "group flex flex-col justify-center items-center",
|
|
73
|
-
sizes: "w-
|
|
76
|
+
sizes: "w-24",
|
|
74
77
|
spacings: "gap-2",
|
|
75
78
|
};
|
|
76
79
|
const tagBox = {
|
|
@@ -80,12 +83,53 @@ function GridMode({ shortcuts, }) {
|
|
|
80
83
|
animation: "duration-100",
|
|
81
84
|
};
|
|
82
85
|
const iconContainer = {
|
|
83
|
-
sizes: "size-
|
|
86
|
+
sizes: "size-20 xs:size-22 rounded-lg overflow-hidden",
|
|
84
87
|
shadows: "shadow-none",
|
|
85
88
|
animation: "duration-100",
|
|
86
|
-
hoveraction: "group-hover:
|
|
89
|
+
hoveraction: "group-hover:scale-103",
|
|
90
|
+
};
|
|
91
|
+
return (_jsx("div", { className: cn(container), children: _jsx("div", { className: cn(gridWrapper), children: shortcuts.map((shortcut, index) => (_jsxs("button", { onClick: () => {
|
|
92
|
+
setSelectedIndex(index);
|
|
93
|
+
shortcut.onClick?.();
|
|
94
|
+
}, className: cn(buttonSet, selectedIndex === index ? "border-b-[3px] border-black" : ""), children: [_jsx("div", { className: cn(iconContainer, shortcut.background ?? "bg-gray-100"), children: _jsx("img", { src: shortcut.icon, alt: shortcut.title }) }), _jsx("div", { className: cn(tagBox), children: shortcut.title })] }, shortcut.title))) }) }));
|
|
95
|
+
}
|
|
96
|
+
function ShortcutContent({ content }) {
|
|
97
|
+
const [isVisible, setIsVisible] = useState(false);
|
|
98
|
+
useEffect(() => {
|
|
99
|
+
setIsVisible(false);
|
|
100
|
+
const timer = setTimeout(() => {
|
|
101
|
+
setIsVisible(true);
|
|
102
|
+
}, 10);
|
|
103
|
+
return () => clearTimeout(timer);
|
|
104
|
+
}, [content]);
|
|
105
|
+
const container = {
|
|
106
|
+
displays: "flex flex-col md:flex-row items-stretch",
|
|
107
|
+
sizes: "w-full max-w-7xl h-auto",
|
|
108
|
+
spacings: "px-2 md:px-0 py-0 mt-3 md:mt-5 mb-3 md:mb-5 gap-0 md:gap-6",
|
|
109
|
+
backgrounds: "bg-transparent rounded-2xl",
|
|
110
|
+
boundaries: "overflow-hidden",
|
|
111
|
+
animation: `transition-all duration-500 ease-in-out ${isVisible ? "opacity-100 translate-y-0" : "opacity-0 translate-y-4"}`,
|
|
112
|
+
};
|
|
113
|
+
const imageContainer = {
|
|
114
|
+
displays: "flex justify-center items-center",
|
|
115
|
+
sizes: "w-full md:w-1/2 h-auto min-h-[200px] md:min-h-[300px]",
|
|
116
|
+
spacings: "p-4 md:p-0"
|
|
117
|
+
};
|
|
118
|
+
const textContainer = {
|
|
119
|
+
displays: "flex flex-col justify-center",
|
|
120
|
+
sizes: "w-full md:w-1/2 h-auto min-h-[200px] md:min-h-[300px]",
|
|
121
|
+
spacings: "p-4 md:p-8 gap-3 md:gap-4",
|
|
122
|
+
};
|
|
123
|
+
const labelStyle = {
|
|
124
|
+
fonts: "text-sm md:text-base text-gray-500 font-medium",
|
|
125
|
+
};
|
|
126
|
+
const titleStyle = {
|
|
127
|
+
fonts: "text-3xl md:text-3xl font-bold text-gray-900",
|
|
128
|
+
};
|
|
129
|
+
const contentStyle = {
|
|
130
|
+
fonts: "text-base md:text-lg text-gray-600 leading-relaxed",
|
|
87
131
|
};
|
|
88
|
-
return (
|
|
132
|
+
return (_jsxs("div", { className: cn(container), children: [content.image && (_jsx("div", { className: cn(imageContainer), children: _jsx("img", { src: content.image, alt: content.title || "Content image", className: "w-full h-auto object-contain" }) })), _jsxs("div", { className: cn(textContainer), children: [content.label && (_jsx("div", { className: cn(labelStyle), children: content.label })), content.title && (_jsx("div", { className: cn(titleStyle), children: content.title })), content.content && (_jsx("div", { className: cn(contentStyle), children: content.content }))] })] }));
|
|
89
133
|
}
|
|
90
134
|
function ModeToggle({ state, selectOptions: selectOptionsInput, option, }) {
|
|
91
135
|
const selectOptions = selectOptionsInput?.map(toSelectOption);
|
|
@@ -6,6 +6,7 @@ import NewsPaper from "./NewsPaper";
|
|
|
6
6
|
import Service from "./Service";
|
|
7
7
|
import Shortcut from "./Shortcut";
|
|
8
8
|
import Float from "./Float";
|
|
9
|
+
import Session from "./Session";
|
|
9
10
|
declare const Home: {
|
|
10
11
|
Layout: typeof Layout;
|
|
11
12
|
Navigation: typeof Navigation;
|
|
@@ -15,5 +16,6 @@ declare const Home: {
|
|
|
15
16
|
Service: typeof Service;
|
|
16
17
|
NewsPaper: typeof NewsPaper;
|
|
17
18
|
Float: typeof Float;
|
|
19
|
+
Session: typeof Session;
|
|
18
20
|
};
|
|
19
21
|
export default Home;
|
|
@@ -6,6 +6,7 @@ import NewsPaper from "./NewsPaper";
|
|
|
6
6
|
import Service from "./Service";
|
|
7
7
|
import Shortcut from "./Shortcut";
|
|
8
8
|
import Float from "./Float";
|
|
9
|
+
import Session from "./Session";
|
|
9
10
|
const Home = {
|
|
10
11
|
Layout,
|
|
11
12
|
Navigation,
|
|
@@ -15,5 +16,6 @@ const Home = {
|
|
|
15
16
|
Service,
|
|
16
17
|
NewsPaper,
|
|
17
18
|
Float,
|
|
19
|
+
Session
|
|
18
20
|
};
|
|
19
21
|
export default Home;
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.348
|