@nextlevel_korea/design-system 2.0.1 → 2.0.3

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.
@@ -1,6 +1,11 @@
1
1
  import React from 'react';
2
2
  export interface IProps {
3
3
  logo?: string;
4
+ logoSize?: {
5
+ width?: number;
6
+ height?: number;
7
+ className?: string;
8
+ };
4
9
  companyInfo?: {
5
10
  name: string;
6
11
  ceo: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,MAAM;IAErB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,cAAc,EAAE,MAAM,CAAC;QACvB,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IAGF,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,MAAM,CAAC,EAAE;QAEP,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAG1B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;QAGvB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,CAAC,EAAE,MAAM,CAAC;QAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;QAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,QAAA,MAAM,MAA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AC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Image from 'next/image';
3
3
  import Link from 'next/link';
4
- const Footer = ({ logo, companyInfo, colors }) => {
4
+ const Footer = ({ logo, logoSize, companyInfo, colors, }) => {
5
5
  // 기본 색상값
6
6
  const defaultColors = {
7
7
  footerBg: 'bg-gray-900',
@@ -19,6 +19,14 @@ const Footer = ({ logo, companyInfo, colors }) => {
19
19
  };
20
20
  // 사용자 정의 색상과 기본 색상 병합
21
21
  const finalColors = { ...defaultColors, ...(colors || {}) };
22
+ // 기본 로고 사이즈값
23
+ const defaultLogoSize = {
24
+ width: 160,
25
+ height: 40,
26
+ className: 'h-10 w-auto object-contain',
27
+ };
28
+ // 사용자 정의 로고 사이즈와 기본값 병합
29
+ const finalLogoSize = { ...defaultLogoSize, ...(logoSize || {}) };
22
30
  // 상단으로 스크롤하는 함수
23
31
  const scrollToTop = () => {
24
32
  window.scrollTo({
@@ -28,7 +36,7 @@ const Footer = ({ logo, companyInfo, colors }) => {
28
36
  };
29
37
  return (_jsxs("footer", { className: `w-full ${finalColors.footerBg} ${finalColors.shadow} relative`, children: [_jsx("div", { className: "max-w-[1240px] mx-auto px-5 relative", children: _jsx("div", { className: "absolute -top-6 right-5 z-20", children: _jsx("button", { onClick: scrollToTop, className: `p-3 rounded-full ${finalColors.linkText} ${finalColors.linkTextHover} transition-all duration-300 hover:scale-110 bg-gray-800/80 backdrop-blur-md border border-gray-600/50 shadow-lg`, "aria-label": "\uB9E8 \uC704\uB85C \uC774\uB3D9", children: _jsx("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 10l7-7m0 0l7 7m-7-7v18" }) }) }) }) }), _jsxs("div", { className: `bg-gradient-to-b ${finalColors.footerGradientFrom} ${finalColors.footerGradientTo} relative overflow-hidden`, children: [_jsx("div", { className: "absolute inset-0 pointer-events-none", style: {
30
38
  background: 'radial-gradient(ellipse 600px 300px at center top, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.01) 70%, transparent 85%)',
31
- } }), _jsxs("div", { className: "max-w-[1240px] mx-auto px-5 pt-12 pb-4 relative z-10", children: [_jsxs("div", { className: "flex flex-col lg:flex-row justify-between items-start gap-8 mb-8", children: [_jsxs("div", { className: "flex-1 max-w-md", children: [logo && (_jsx("div", { className: "mb-4", children: _jsx(Image, { src: logo, alt: "Logo", width: 160, height: 40, className: "h-10 w-auto object-contain" }) })), companyInfo && (_jsxs("div", { className: "mb-4 break-all", children: [_jsx("p", { className: `text-sm ${finalColors.linkText} `, children: [
39
+ } }), _jsxs("div", { className: "max-w-[1240px] mx-auto px-5 pt-12 pb-4 relative z-10", children: [_jsxs("div", { className: "flex flex-col lg:flex-row justify-between items-start gap-8 mb-8", children: [_jsxs("div", { className: "flex-1 max-w-md", children: [logo && (_jsx("div", { className: "mb-4", children: _jsx(Image, { src: logo, alt: "Logo", width: finalLogoSize.width, height: finalLogoSize.height, className: finalLogoSize.className }) })), companyInfo && (_jsxs("div", { className: "mb-4 break-all", children: [_jsx("p", { className: `text-sm ${finalColors.linkText} `, children: [
32
40
  companyInfo.name && `회사명: ${companyInfo.name}`,
33
41
  companyInfo.ceo && `대표자: ${companyInfo.ceo}`,
34
42
  companyInfo.businessNumber &&
@@ -1,6 +1,16 @@
1
1
  import React from 'react';
2
2
  export interface IProps {
3
3
  logo?: string;
4
+ logoSize?: {
5
+ width?: number;
6
+ height?: number;
7
+ className?: string;
8
+ };
9
+ sidebarLogoSize?: {
10
+ width?: number;
11
+ height?: number;
12
+ className?: string;
13
+ };
4
14
  navList?: {
5
15
  idx: number;
6
16
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO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AAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAE1B,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA6a5B,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -2,7 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
2
2
  import { useState, useEffect, useRef } from 'react';
3
3
  import Image from 'next/image';
4
4
  import Link from 'next/link';
5
- const Header = ({ logo, navList, eventButton, colors, sidebarPosition = 'left', }) => {
5
+ const Header = ({ logo, logoSize, sidebarLogoSize, navList, eventButton, colors, sidebarPosition = 'left', }) => {
6
6
  const [openDropdown, setOpenDropdown] = useState(null);
7
7
  const [isSidebarOpen, setIsSidebarOpen] = useState(false);
8
8
  const [openSidebarDropdown, setOpenSidebarDropdown] = useState(null);
@@ -36,6 +36,23 @@ const Header = ({ logo, navList, eventButton, colors, sidebarPosition = 'left',
36
36
  };
37
37
  // 사용자 정의 색상과 기본 색상 병합
38
38
  const finalColors = { ...defaultColors, ...(colors || {}) };
39
+ // 기본 로고 사이즈값
40
+ const defaultLogoSize = {
41
+ width: 160,
42
+ height: 40,
43
+ className: 'h-7 w-auto object-contain md:h-8 cursor-pointer',
44
+ };
45
+ const defaultSidebarLogoSize = {
46
+ width: 120,
47
+ height: 30,
48
+ className: 'h-6 w-auto object-contain',
49
+ };
50
+ // 사용자 정의 로고 사이즈와 기본값 병합
51
+ const finalLogoSize = { ...defaultLogoSize, ...(logoSize || {}) };
52
+ const finalSidebarLogoSize = {
53
+ ...defaultSidebarLogoSize,
54
+ ...(sidebarLogoSize || {}),
55
+ };
39
56
  const handleDropdownClick = (idx) => {
40
57
  setOpenDropdown(openDropdown === idx ? null : idx);
41
58
  };
@@ -80,7 +97,7 @@ const Header = ({ logo, navList, eventButton, colors, sidebarPosition = 'left',
80
97
  document.body.style.overflow = 'unset';
81
98
  };
82
99
  }, [isSidebarOpen]);
83
- return (_jsxs(_Fragment, { children: [_jsx("header", { className: `w-full ${finalColors.headerBg} ${finalColors.shadow} border-b ${finalColors.border} sticky top-0 z-99`, children: _jsxs("div", { className: "w-full max-w-[1240px] px-5 mx-auto flex items-center justify-between h-14 md:h-16", children: [_jsx("div", { className: "flex items-center space-x-4", children: logo && (_jsx(Link, { href: "/", children: _jsx(Image, { src: logo, alt: "Logo", width: 300, height: 300, className: "h-7 w-auto object-contain md:h-8 cursor-pointer" }) })) }), _jsxs("div", { className: "flex items-center space-x-6", ref: dropdownRef, children: [_jsx("nav", { className: "hidden md:flex items-center space-x-6", children: navList?.map((nav) => (_jsxs("div", { className: "relative", children: [_jsx("button", { onClick: () => nav.sub ? handleDropdownClick(nav.idx) : undefined, className: `${finalColors.navText} ${finalColors.navTextHover} transition-colors duration-200 font-medium flex items-center`, children: nav.sub ? (_jsx(_Fragment, { children: nav.name })) : (_jsx(Link, { href: nav.path, children: nav.name })) }), _jsxs("div", { className: `absolute top-[44px] min-w-[100px] w-auto ${finalColors.dropdownBg} border ${finalColors.dropdownBorder} rounded-lg shadow-lg z-50 transition-all duration-300 ease-in-out transform ${nav.idx === navList?.length
100
+ return (_jsxs(_Fragment, { children: [_jsx("header", { className: `w-full ${finalColors.headerBg} ${finalColors.shadow} border-b ${finalColors.border} sticky top-0 z-99`, children: _jsxs("div", { className: "w-full max-w-[1240px] px-5 mx-auto flex items-center justify-between h-14 md:h-16", children: [_jsx("div", { className: "flex items-center space-x-4", children: logo && (_jsx(Link, { href: "/", children: _jsx(Image, { src: logo, alt: "Logo", width: finalLogoSize.width, height: finalLogoSize.height, className: finalLogoSize.className }) })) }), _jsxs("div", { className: "flex items-center space-x-6", ref: dropdownRef, children: [_jsx("nav", { className: "hidden md:flex items-center space-x-6", children: navList?.map((nav) => (_jsxs("div", { className: "relative", children: [_jsx("button", { onClick: () => nav.sub ? handleDropdownClick(nav.idx) : undefined, className: `${finalColors.navText} ${finalColors.navTextHover} transition-colors duration-200 font-medium flex items-center`, children: nav.sub ? (_jsx(_Fragment, { children: nav.name })) : (_jsx(Link, { href: nav.path, children: nav.name })) }), _jsxs("div", { className: `absolute top-[44px] min-w-[100px] w-auto ${finalColors.dropdownBg} border ${finalColors.dropdownBorder} rounded-lg shadow-lg z-50 transition-all duration-300 ease-in-out transform ${nav.idx === navList?.length
84
101
  ? 'right-0'
85
102
  : 'left-1/2 transform -translate-x-1/2'} ${openDropdown === nav.idx
86
103
  ? 'opacity-100 translate-y-0 pointer-events-auto'
@@ -96,7 +113,7 @@ const Header = ({ logo, navList, eventButton, colors, sidebarPosition = 'left',
96
113
  ? 'translate-x-0'
97
114
  : sidebarPosition === 'left'
98
115
  ? '-translate-x-full'
99
- : 'translate-x-full'} ${isAnimating ? 'transition-all duration-300 ease-in-out' : ''}`, children: _jsxs("div", { className: `flex flex-col h-full bg-gradient-to-b ${finalColors.sidebarGradientFrom} ${finalColors.sidebarGradientTo}`, children: [_jsxs("div", { className: `flex items-center justify-between p-4 border-b ${finalColors.border} ${finalColors.sidebarBg}/80 backdrop-blur-sm`, children: [_jsx("div", { className: "flex items-center space-x-3", children: logo ? (_jsx(Image, { src: logo, alt: "Logo", width: 120, height: 30, className: "h-6 w-auto object-contain" })) : (_jsx("h2", { className: `text-xl font-bold ${finalColors.sidebarTitleText}`, children: "Menu" })) }), _jsx("button", { onClick: closeSidebarWithAnimation, className: "p-2 rounded-full text-gray-400 hover:text-gray-600 hover:bg-gray-100 transition-all duration-200", children: _jsx("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) })] }), _jsx("nav", { className: "flex-1 overflow-y-auto", children: _jsx("ul", { className: "", children: navList?.map((nav) => (_jsx("li", { children: nav.sub ? (_jsxs("div", { className: `${finalColors.dropdownBg} ${finalColors.shadow} border-b ${finalColors.border} overflow-hidden`, children: [_jsxs("button", { onClick: () => handleSidebarDropdownClick(nav.idx), className: `w-full flex items-center justify-between p-4 text-left ${finalColors.sidebarNavText} hover:bg-gray-50 transition-all duration-200 group`, children: [_jsxs("div", { className: "flex items-center space-x-3", children: [_jsx("div", { className: `w-1.5 h-1.5 ${finalColors.accent} rounded-full opacity-60 group-hover:opacity-100 transition-opacity duration-200` }), _jsx("span", { className: `font-semibold text-gray-800 ${finalColors.sidebarNavTextHover} transition-colors duration-200`, children: nav.name })] }), _jsx("svg", { className: `shrink-0 w-4 h-4 text-gray-400 transition-all duration-200 ${openSidebarDropdown === nav.idx
116
+ : 'translate-x-full'} ${isAnimating ? 'transition-all duration-300 ease-in-out' : ''}`, children: _jsxs("div", { className: `flex flex-col h-full bg-gradient-to-b ${finalColors.sidebarGradientFrom} ${finalColors.sidebarGradientTo}`, children: [_jsxs("div", { className: `flex items-center justify-between p-4 border-b ${finalColors.border} ${finalColors.sidebarBg}/80 backdrop-blur-sm`, children: [_jsxs("div", { className: "flex items-center space-x-3", children: [_jsx("div", { className: `w-2 h-8 bg-gradient-to-b ${finalColors.primary} ${finalColors.primaryDark} rounded-full` }), logo ? (_jsx(Image, { src: logo, alt: "Logo", width: finalSidebarLogoSize.width, height: finalSidebarLogoSize.height, className: finalSidebarLogoSize.className })) : (_jsx("h2", { className: `text-xl font-bold ${finalColors.sidebarTitleText}`, children: "Menu" }))] }), _jsx("button", { onClick: closeSidebarWithAnimation, className: "p-2 rounded-full text-gray-400 hover:text-gray-600 hover:bg-gray-100 transition-all duration-200", children: _jsx("svg", { className: "w-5 h-5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) })] }), _jsx("nav", { className: "flex-1 overflow-y-auto", children: _jsx("ul", { className: "", children: navList?.map((nav) => (_jsx("li", { children: nav.sub ? (_jsxs("div", { className: `${finalColors.dropdownBg} ${finalColors.shadow} border-b ${finalColors.border} overflow-hidden`, children: [_jsxs("button", { onClick: () => handleSidebarDropdownClick(nav.idx), className: `w-full flex items-center justify-between p-4 text-left ${finalColors.sidebarNavText} hover:bg-gray-50 transition-all duration-200 group`, children: [_jsxs("div", { className: "flex items-center space-x-3", children: [_jsx("div", { className: `w-1.5 h-1.5 ${finalColors.accent} rounded-full opacity-60 group-hover:opacity-100 transition-opacity duration-200` }), _jsx("span", { className: `font-semibold text-gray-800 ${finalColors.sidebarNavTextHover} transition-colors duration-200`, children: nav.name })] }), _jsx("svg", { className: `shrink-0 w-4 h-4 text-gray-400 transition-all duration-200 ${openSidebarDropdown === nav.idx
100
117
  ? 'rotate-180 text-primary'
101
118
  : 'group-hover:text-gray-600'}`, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) })] }), _jsx("div", { className: `overflow-hidden transition-all duration-300 ease-in-out ${openSidebarDropdown === nav.idx
102
119
  ? 'max-h-96 opacity-100'
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { default as Header } from './components/Header/Header';
2
2
  export { default as Footer } from './components/Footer/Footer';
3
+ import './index.css';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAG/D,OAAO,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,4 @@
1
1
  export { default as Header } from './components/Header/Header';
2
2
  export { default as Footer } from './components/Footer/Footer';
3
+ // Import CSS to ensure styles are included
4
+ import './index.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextlevel_korea/design-system",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "A modern React design system built with TypeScript and Tailwind CSS - The NextLevel Design System",
5
5
  "keywords": [
6
6
  "nextlevel"