@daeryun/dr_components 0.5.1 → 0.5.21
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/dist/asset/images/system/svg/Arrow_Right_LG.svg +3 -0
- package/dist/asset/images/system/svg/arrow_system.svg +3 -0
- package/dist/asset/images/system/system_allocation.webp +0 -0
- package/dist/asset/images/system/system_btn_1.webp +0 -0
- package/dist/asset/images/system/system_btn_2.webp +0 -0
- package/dist/asset/images/system/system_btn_3.webp +0 -0
- package/dist/asset/images/system/system_consult_now.webp +0 -0
- package/dist/asset/images/system/system_consult_now_m.webp +0 -0
- package/dist/asset/images/system/system_consult_now_t.webp +0 -0
- package/dist/asset/images/system/system_consultation.webp +0 -0
- package/dist/asset/images/system/system_consultation_img.webp +0 -0
- package/dist/asset/images/system/system_consultation_img_m.webp +0 -0
- package/dist/asset/images/system/system_consultation_img_t.webp +0 -0
- package/dist/asset/images/system/system_consultation_txt.webp +0 -0
- package/dist/asset/images/system/system_post.webp +0 -0
- package/dist/asset/images/system/system_sec1_bg.webp +0 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/common/system/index.d.ts +14 -0
- package/dist/components/common/system/index.jsx +37 -0
- package/dist/components/common/system/index.tsx +40 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.ts +1 -0
- package/dist/components/page/System/AllocationSystem.d.ts +2 -0
- package/dist/components/page/System/AllocationSystem.jsx +64 -0
- package/dist/components/page/System/AllocationSystem.tsx +94 -0
- package/dist/components/page/System/ConsultNow.d.ts +2 -0
- package/dist/components/page/System/ConsultNow.jsx +64 -0
- package/dist/components/page/System/ConsultNow.tsx +113 -0
- package/dist/components/page/System/ConsultationSystem.d.ts +2 -0
- package/dist/components/page/System/ConsultationSystem.jsx +96 -0
- package/dist/components/page/System/ConsultationSystem.tsx +163 -0
- package/dist/components/page/System/PostSystem.d.ts +2 -0
- package/dist/components/page/System/PostSystem.jsx +55 -0
- package/dist/components/page/System/PostSystem.tsx +79 -0
- package/dist/components/page/System/System.stories.d.ts +6 -0
- package/dist/components/page/System/System.stories.jsx +14 -0
- package/dist/components/page/System/System.stories.tsx +21 -0
- package/dist/components/page/System/SystemLayout.d.ts +7 -0
- package/dist/components/page/System/SystemLayout.jsx +49 -0
- package/dist/components/page/System/SystemLayout.tsx +89 -0
- package/dist/components/page/System/SystemPage.d.ts +1 -1
- package/dist/components/page/System/SystemPage.jsx +13 -1
- package/dist/components/page/System/SystemPage.tsx +17 -1
- package/dist/components/page/System/SystemTextBox.d.ts +7 -0
- package/dist/components/page/System/SystemTextBox.jsx +29 -0
- package/dist/components/page/System/SystemTextBox.tsx +35 -0
- package/dist/components/page/System/SystemTitle.d.ts +3 -0
- package/dist/components/page/System/SystemTitle.jsx +87 -0
- package/dist/components/page/System/SystemTitle.tsx +162 -0
- package/dist/components/page/System/SystemWrapper.d.ts +8 -0
- package/dist/components/page/System/SystemWrapper.jsx +31 -0
- package/dist/components/page/System/SystemWrapper.tsx +38 -0
- package/dist/styles/globals.css +680 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
interface SystemWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
noPaddingY?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const SystemWrapper: React.ForwardRefExoticComponent<SystemWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export default SystemWrapper;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import React, { forwardRef } from 'react';
|
|
13
|
+
const SystemWrapper = forwardRef((_a, ref) => {
|
|
14
|
+
var { children, noPaddingY, className = '' } = _a, others = __rest(_a, ["children", "noPaddingY", "className"]);
|
|
15
|
+
return (<div className={'relative mx-auto w-full max-w-[1920px] ' +
|
|
16
|
+
// PC ( ~ 1500px )
|
|
17
|
+
'px-[190px] ' +
|
|
18
|
+
// 1500px
|
|
19
|
+
'max-3xl:px-[80px] ' +
|
|
20
|
+
// 1024px - dev Tablets
|
|
21
|
+
'max-lg:px-[40px] ' +
|
|
22
|
+
// 900px - design Tablets
|
|
23
|
+
'max-md2:px-[40px] ' +
|
|
24
|
+
// 520px - dev Mobile ( 320px - design Mobile )
|
|
25
|
+
'max-2sm:px-[20px] ' +
|
|
26
|
+
className} ref={ref} {...others}>
|
|
27
|
+
{children}
|
|
28
|
+
</div>);
|
|
29
|
+
});
|
|
30
|
+
SystemWrapper.displayName = 'SystemWrapper';
|
|
31
|
+
export default SystemWrapper;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React, { ReactNode, forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
interface SystemWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
className?: string; // 스타일 추가
|
|
6
|
+
noPaddingY?: boolean;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const SystemWrapper = forwardRef<HTMLDivElement, SystemWrapperProps>(
|
|
10
|
+
({ children, noPaddingY, className = '', ...others }, ref) => {
|
|
11
|
+
return (
|
|
12
|
+
<div
|
|
13
|
+
className={
|
|
14
|
+
'relative mx-auto w-full max-w-[1920px] ' +
|
|
15
|
+
// PC ( ~ 1500px )
|
|
16
|
+
'px-[190px] ' +
|
|
17
|
+
// 1500px
|
|
18
|
+
'max-3xl:px-[80px] ' +
|
|
19
|
+
// 1024px - dev Tablets
|
|
20
|
+
'max-lg:px-[40px] ' +
|
|
21
|
+
// 900px - design Tablets
|
|
22
|
+
'max-md2:px-[40px] ' +
|
|
23
|
+
// 520px - dev Mobile ( 320px - design Mobile )
|
|
24
|
+
'max-2sm:px-[20px] ' +
|
|
25
|
+
className
|
|
26
|
+
}
|
|
27
|
+
ref={ref}
|
|
28
|
+
{...others}
|
|
29
|
+
>
|
|
30
|
+
{children}
|
|
31
|
+
</div>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
SystemWrapper.displayName = 'SystemWrapper';
|
|
37
|
+
|
|
38
|
+
export default SystemWrapper;
|