@daeryun/dr_components 0.2.54 → 0.2.55
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/components/BrochureBtn/BrochureBtn.stories.d.ts +6 -3
- package/dist/components/BrochureBtn/BrochureBtn.stories.tsx +1 -1
- package/dist/components/CountingSection/CountingSection.jsx +1 -1
- package/dist/components/CountingSection/CountingSection.tsx +2 -0
- package/dist/components/Fix/index.jsx +1 -0
- package/dist/components/Fix/index.tsx +2 -0
- package/dist/components/Footer/TopBtn.jsx +1 -0
- package/dist/components/Footer/TopBtn.tsx +2 -0
- package/dist/components/Footer/index.jsx +1 -0
- package/dist/components/Footer/index.tsx +2 -0
- package/dist/components/Layout/Wrapper.jsx +1 -0
- package/dist/components/Layout/Wrapper.tsx +2 -0
- package/dist/components/LogoSection/LogoSection.jsx +1 -0
- package/dist/components/LogoSection/LogoSection.tsx +2 -0
- package/dist/components/MapFix/AreaImage.jsx +1 -0
- package/dist/components/MapFix/AreaImage.tsx +2 -0
- package/dist/components/MapFix/MapFix.jsx +1 -0
- package/dist/components/MapFix/MapFix.tsx +2 -0
- package/dist/components/MapSection/Map.jsx +1 -0
- package/dist/components/MapSection/Map.tsx +2 -0
- package/dist/components/MapSection/MapSection.jsx +1 -0
- package/dist/components/MapSection/MapSection.tsx +2 -0
- package/dist/components/Mark/Mark.jsx +1 -0
- package/dist/components/Mark/Mark.tsx +2 -0
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.jsx +1 -0
- package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.tsx +2 -0
- package/dist/components/SelectBox/SelectBox.jsx +1 -0
- package/dist/components/SelectBox/SelectBox.tsx +2 -0
- package/dist/components/Seo/SeoStrength.jsx +1 -0
- package/dist/components/Seo/SeoStrength.tsx +2 -0
- package/dist/components/ViewMoreSection/ViewMoreSection.jsx +1 -0
- package/dist/components/ViewMoreSection/ViewMoreSection.tsx +2 -0
- package/dist/components/banner/TopBanner.jsx +1 -0
- package/dist/components/banner/TopBanner.tsx +2 -0
- package/dist/components/categoryView/CategoryComponent.jsx +2 -1
- package/dist/components/categoryView/CategoryComponent.tsx +3 -1
- package/dist/components/categoryView/CategoryView.jsx +1 -0
- package/dist/components/categoryView/CategoryView.tsx +2 -0
- package/dist/components/categoryView/CenterComponent.jsx +1 -0
- package/dist/components/categoryView/CenterComponent.tsx +2 -0
- package/dist/components/hook/useBrowser.js +1 -0
- package/dist/components/hook/useBrowser.ts +2 -0
- package/dist/components/hook/useCountNum.jsx +1 -0
- package/dist/components/hook/useCountNum.tsx +2 -0
- package/dist/components/hook/useElementObserve.js +1 -0
- package/dist/components/hook/useElementObserve.ts +2 -0
- package/dist/components/hook/useScrollRestoration.js +1 -0
- package/dist/components/hook/useScrollRestoration.ts +2 -0
- package/dist/components/hook/useScrollRestorationException.js +1 -0
- package/dist/components/hook/useScrollRestorationException.ts +2 -0
- package/dist/components/myCase/MyCase.jsx +7 -6
- package/dist/components/myCase/MyCase.tsx +7 -6
- package/dist/components/page/Choice/Choice.jsx +1 -0
- package/dist/components/page/Choice/Choice.tsx +2 -0
- package/dist/components/page/Consulting/Consulting.jsx +1 -0
- package/dist/components/page/Consulting/Consulting.tsx +2 -0
- package/dist/components/page/Strength/Strength.jsx +1 -0
- package/dist/components/page/Strength/Strength.tsx +2 -0
- package/dist/components/page/Strength/StrengthIntro.jsx +1 -0
- package/dist/components/page/Strength/StrengthIntro.tsx +2 -0
- package/dist/components/page/Strength/StrengthList.jsx +1 -0
- package/dist/components/page/Strength/StrengthList.tsx +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
1
|
import '../../styles/globals.css';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
component: (props: {
|
|
@@ -17,5 +16,9 @@ declare const meta: {
|
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
export default meta;
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
export declare const Default: {
|
|
20
|
+
args: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
render: (args: any) => JSX.Element;
|
|
24
|
+
};
|
|
@@ -18,7 +18,7 @@ const meta = {
|
|
|
18
18
|
export default meta;
|
|
19
19
|
type Story = StoryObj<typeof meta>;
|
|
20
20
|
|
|
21
|
-
export const Default:
|
|
21
|
+
export const Default: { args: { type: string }; render: (args: any) => JSX.Element } = {
|
|
22
22
|
render: args => (
|
|
23
23
|
<>
|
|
24
24
|
<div className={'h-[100vh] w-full pt-10'}>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import React, { useEffect, useState, useRef } from 'react';
|
|
2
3
|
import Image from 'next/image';
|
|
3
4
|
import useCountNum from '../common/hook/useCountNum';
|
|
@@ -139,4 +140,3 @@ const CountingSection = (props) => {
|
|
|
139
140
|
</section>);
|
|
140
141
|
};
|
|
141
142
|
export default CountingSection;
|
|
142
|
-
//text-[40px] font-[800] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[38px] max-xs:text-[30px]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import Link from 'next/link';
|
|
2
3
|
import Image from 'next/image';
|
|
3
4
|
import React from 'react';
|
|
@@ -31,7 +32,7 @@ const CategoryComponent = (props) => {
|
|
|
31
32
|
'max-md2:auto-rows-[minmax(0,60px)] max-md2:grid-cols-1 ' +
|
|
32
33
|
//520px
|
|
33
34
|
'max-2sm:auto-rows-[minmax(0,50px)]'}>
|
|
34
|
-
{showCategory.map((item, index) => (<Link href={linkString(item.idx, item.pathname)} key={index} className={'group/category flex h-full w-full items-center gap-[6px]
|
|
35
|
+
{showCategory.map((item, index) => (<Link href={linkString(item.idx, item.pathname)} key={index} className={'group/category flex h-full w-full items-center justify-between gap-[6px] rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
|
|
35
36
|
//900px
|
|
36
37
|
'max-md2:rounded-none max-md2:border-0' +
|
|
37
38
|
//520px
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import Link from 'next/link';
|
|
2
4
|
import Image from 'next/image';
|
|
3
5
|
import React from 'react';
|
|
@@ -65,7 +67,7 @@ const CategoryComponent = (props: {
|
|
|
65
67
|
href={linkString(item.idx, item.pathname)}
|
|
66
68
|
key={index}
|
|
67
69
|
className={
|
|
68
|
-
'group/category flex h-full w-full items-center gap-[6px]
|
|
70
|
+
'group/category flex h-full w-full items-center justify-between gap-[6px] rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
|
|
69
71
|
//900px
|
|
70
72
|
'max-md2:rounded-none max-md2:border-0' +
|
|
71
73
|
//520px
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import React, { useEffect } from 'react';
|
|
2
3
|
const MyCase = (props) => {
|
|
3
4
|
//전체 body 스크롤 잠금
|
|
@@ -8,14 +9,14 @@ const MyCase = (props) => {
|
|
|
8
9
|
};
|
|
9
10
|
}, []);
|
|
10
11
|
return (<>
|
|
11
|
-
<div className={'
|
|
12
|
-
<div className={'
|
|
13
|
-
<div className={'
|
|
12
|
+
<div className={'fixed left-0 top-0 z-[900] h-[100vh] w-full'}>
|
|
13
|
+
<div className={'absolute left-0 top-0 z-[1] h-full w-full bg-black bg-opacity-80'}></div>
|
|
14
|
+
<div className={'absolute bottom-[50%] left-[50%] z-[2] h-[80%] max-h-[1200px] w-[80%] max-w-[1000px] translate-x-[-50%] translate-y-[50%] bg-white px-[20px] ' +
|
|
14
15
|
//1024px
|
|
15
|
-
'max-lg:
|
|
16
|
-
<button type={'button'} className={'
|
|
16
|
+
'max-lg:bottom-0 max-lg:h-[calc(100%-60px)] max-lg:w-full max-lg:translate-y-0 max-lg:px-[10px] max-lg:pb-[100px] max-lg:pt-[10px]'}>
|
|
17
|
+
<button type={'button'} className={'absolute right-[-40px] top-[-50px] text-[35px] text-white ' +
|
|
17
18
|
//1024px
|
|
18
|
-
' max-lg:
|
|
19
|
+
' max-lg:right-[10px] max-lg:top-[-45px] max-lg:text-[25px]'} onClick={props.onClick}>
|
|
19
20
|
✕
|
|
20
21
|
</button>
|
|
21
22
|
<iframe width="100%" height="100%" title="나의 사건검색" src="https://safind.scourt.go.kr/sf/mysafind.jsp?sch_sa_gbn=&sch_bub_nm=&sa_year=&sa_gubun=&sa_serial=&x=&y=&saveCookie="></iframe>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import React, { useEffect } from 'react';
|
|
2
3
|
|
|
3
4
|
const MyCase = (props: { onClick: () => void }) => {
|
|
@@ -12,21 +13,21 @@ const MyCase = (props: { onClick: () => void }) => {
|
|
|
12
13
|
|
|
13
14
|
return (
|
|
14
15
|
<>
|
|
15
|
-
<div className={'
|
|
16
|
-
<div className={'
|
|
16
|
+
<div className={'fixed left-0 top-0 z-[900] h-[100vh] w-full'}>
|
|
17
|
+
<div className={'absolute left-0 top-0 z-[1] h-full w-full bg-black bg-opacity-80'}></div>
|
|
17
18
|
<div
|
|
18
19
|
className={
|
|
19
|
-
'
|
|
20
|
+
'absolute bottom-[50%] left-[50%] z-[2] h-[80%] max-h-[1200px] w-[80%] max-w-[1000px] translate-x-[-50%] translate-y-[50%] bg-white px-[20px] ' +
|
|
20
21
|
//1024px
|
|
21
|
-
'max-lg:
|
|
22
|
+
'max-lg:bottom-0 max-lg:h-[calc(100%-60px)] max-lg:w-full max-lg:translate-y-0 max-lg:px-[10px] max-lg:pb-[100px] max-lg:pt-[10px]'
|
|
22
23
|
}
|
|
23
24
|
>
|
|
24
25
|
<button
|
|
25
26
|
type={'button'}
|
|
26
27
|
className={
|
|
27
|
-
'
|
|
28
|
+
'absolute right-[-40px] top-[-50px] text-[35px] text-white ' +
|
|
28
29
|
//1024px
|
|
29
|
-
' max-lg:
|
|
30
|
+
' max-lg:right-[10px] max-lg:top-[-45px] max-lg:text-[25px]'
|
|
30
31
|
}
|
|
31
32
|
onClick={props.onClick}
|
|
32
33
|
>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|