@daeryun/dr_components 0.2.15 → 0.2.17
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/BrochureBtn/BrochureBtn.d.ts +1 -0
- package/dist/components/BrochureBtn/BrochureBtn.jsx +5 -4
- package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +1 -0
- package/dist/components/BrochureBtn/BrochureBtn.tsx +12 -5
- package/dist/components/Fix/index.jsx +2 -2
- package/dist/components/Fix/index.tsx +8 -1
- package/dist/components/Footer/Footer.stories.jsx +2 -1
- package/dist/components/Footer/Footer.stories.tsx +2 -1
- package/dist/components/Footer/IFooterTypes.d.ts +1 -0
- package/dist/components/Footer/IFooterTypes.ts +1 -0
- package/dist/components/Footer/index.d.ts +1 -1
- package/dist/components/Footer/index.jsx +4 -4
- package/dist/components/Footer/index.tsx +4 -1
- package/dist/components/Header/Header.d.ts +1 -1
- package/dist/components/Header/Header.jsx +2 -2
- package/dist/components/Header/Header.tsx +5 -1
- package/dist/components/Header/Menu.d.ts +1 -1
- package/dist/components/Header/Menu.jsx +3 -3
- package/dist/components/Header/Menu.tsx +15 -1
- package/dist/components/Header/MobileMenu.d.ts +1 -1
- package/dist/components/Header/MobileMenu.jsx +2 -2
- package/dist/components/Header/MobileMenu.tsx +3 -1
- package/dist/components/Header/PCMenu.d.ts +1 -1
- package/dist/components/Header/PCMenu.jsx +2 -2
- package/dist/components/Header/PCMenu.tsx +7 -2
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.ts +10 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/header.d.ts +4 -0
- package/dist/types/header.ts +4 -0
- package/package.json +1 -1
package/dist/types/header.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface IHeaderType {
|
|
|
11
11
|
keywordArr: string[];
|
|
12
12
|
routes: IRouteType[];
|
|
13
13
|
isBrochureBtn?: boolean;
|
|
14
|
+
isMedical?: boolean;
|
|
14
15
|
}
|
|
15
16
|
export interface IRouteType {
|
|
16
17
|
path: string;
|
|
@@ -31,6 +32,7 @@ export interface IMenuType {
|
|
|
31
32
|
logo: string;
|
|
32
33
|
tel: string;
|
|
33
34
|
isBrochureBtn?: boolean;
|
|
35
|
+
isMedical?: boolean;
|
|
34
36
|
}
|
|
35
37
|
export interface IMobileMenuType {
|
|
36
38
|
handleMenuToggle: (url?: string) => void;
|
|
@@ -41,6 +43,7 @@ export interface IMobileMenuType {
|
|
|
41
43
|
keywordArr: string[];
|
|
42
44
|
logo: string;
|
|
43
45
|
isBrochureBtn?: boolean;
|
|
46
|
+
isMedical?: boolean;
|
|
44
47
|
}
|
|
45
48
|
export interface IPcMenuType {
|
|
46
49
|
handleMenuToggle: (url?: string) => void;
|
|
@@ -49,5 +52,6 @@ export interface IPcMenuType {
|
|
|
49
52
|
tel: string;
|
|
50
53
|
routes: IRouteType[];
|
|
51
54
|
isBrochureBtn?: boolean;
|
|
55
|
+
isMedical?: boolean;
|
|
52
56
|
}
|
|
53
57
|
export declare const blankArr: string[];
|
package/dist/types/header.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface IHeaderType {
|
|
|
12
12
|
keywordArr: string[];
|
|
13
13
|
routes: IRouteType[];
|
|
14
14
|
isBrochureBtn?: boolean;
|
|
15
|
+
isMedical?: boolean;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export interface IRouteType {
|
|
@@ -30,6 +31,7 @@ export interface IMenuType {
|
|
|
30
31
|
logo: string;
|
|
31
32
|
tel: string;
|
|
32
33
|
isBrochureBtn?: boolean;
|
|
34
|
+
isMedical?: boolean;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
export interface IMobileMenuType {
|
|
@@ -41,6 +43,7 @@ export interface IMobileMenuType {
|
|
|
41
43
|
keywordArr: string[];
|
|
42
44
|
logo: string;
|
|
43
45
|
isBrochureBtn?: boolean;
|
|
46
|
+
isMedical?: boolean;
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
export interface IPcMenuType {
|
|
@@ -50,6 +53,7 @@ export interface IPcMenuType {
|
|
|
50
53
|
tel: string;
|
|
51
54
|
routes: IRouteType[];
|
|
52
55
|
isBrochureBtn?: boolean;
|
|
56
|
+
isMedical?: boolean;
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
export const blankArr = ['통합검색', '판결분석', '만화로 보는 사례', '인재채용'];
|