@daeryun/dr_components 1.0.39 → 1.0.40

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.
@@ -39,7 +39,7 @@ const ChatButton = ({ isOpen, onClick, apiVersion, isMobile = false, hashValue =
39
39
  return (<button aria-label="채팅 상담 열기" onClick={handleClick} className={`
40
40
  ${isOpen ? ' hidden xs:block ' : ''}
41
41
  ${hashValue ? 'pointer-events-none opacity-0' : ''}
42
- fixed bottom-[85px] right-[20px] h-[70px] w-[70px] rounded-[10px] border lg:bottom-[20px] lg:right-[25px] lg:h-[100px] lg:w-[100px]
42
+ fixed bottom-[85px] right-[20px] h-[60px] w-[60px] rounded-[10px] border lg:bottom-[20px] lg:right-[25px]
43
43
  ${isOpen ? 'border-gray-200 bg-white' : 'border-[#AA1D36] bg-[#AA1D36]'}
44
44
  z-[999999] flex transform cursor-pointer items-center justify-center
45
45
  p-0 shadow-lg outline-none transition-all duration-300 ease-in-out
@@ -55,33 +55,18 @@ const ChatButton = ({ isOpen, onClick, apiVersion, isMobile = false, hashValue =
55
55
  }}/>)}
56
56
 
57
57
  <div className={`
58
- absolute inset-0 flex flex-col items-center justify-center
59
- gap-[4px] transition-opacity duration-300 ease-in-out
58
+ absolute inset-0 flex items-center justify-center
59
+ transition-opacity duration-300 ease-in-out
60
60
  ${isOpen ? 'opacity-0' : 'opacity-100'}
61
61
  `}>
62
- {/* <svg width="34" height="32" viewBox="0 0 34 32" fill="none" xmlns="http://www.w3.org/2000/svg">
63
- <path
64
- d="M24.9835 0.886475H3.69698C2.22812 0.886475 1.03467 2.07593 1.03467 3.54878V19.5147C1.03467 20.9835 2.22413 22.177 3.69698 22.177H4.51923V25.7893L9.96759 22.177H24.9835C26.4524 22.177 27.6458 20.9875 27.6458 19.5147V3.54878C27.6458 2.07992 26.4564 0.886475 24.9835 0.886475Z"
65
- fill="white"
66
- />
67
- <path
68
- d="M4.51861 26.6754C4.37492 26.6754 4.23123 26.6395 4.09951 26.5716C3.81212 26.416 3.63251 26.1166 3.63251 25.7893V23.0631C1.70462 23.0272 0.147949 21.4505 0.147949 19.5147V3.54877C0.147949 1.59295 1.74055 0.000366211 3.69637 0.000366211H24.9829C26.9387 0.000366211 28.5313 1.59295 28.5313 3.54877V19.5147C28.5313 21.4705 26.9387 23.0631 24.9829 23.0631H10.2384L5.01356 26.5277C4.86587 26.6235 4.69424 26.6754 4.52261 26.6754H4.51861ZM3.69637 1.77258C2.71846 1.77258 1.92416 2.56689 1.92416 3.5448V19.5107C1.92416 20.4886 2.71846 21.2829 3.69637 21.2829H4.51861C5.00957 21.2829 5.40472 21.6781 5.40472 22.169V24.1288L9.47603 21.4306C9.61972 21.3348 9.79135 21.2829 9.96698 21.2829H24.9829C25.9608 21.2829 26.7551 20.4886 26.7551 19.5107V3.5448C26.7551 2.56689 25.9608 1.77258 24.9829 1.77258H3.69637Z"
69
- fill="white"
70
- />
71
- <path
72
- d="M29.4813 31.996C29.3097 31.996 29.138 31.9441 28.9904 31.8483L23.7655 28.3837H14.3376C13.3597 28.3837 12.5654 27.5894 12.5654 26.6115V25.7254C12.5654 25.2345 12.9606 24.8393 13.4515 24.8393C13.9425 24.8393 14.3376 25.2345 14.3376 25.7254V26.6115H24.0329C24.2086 26.6115 24.3762 26.6634 24.5239 26.7592L28.5952 29.4575V27.4976C28.5952 27.0067 28.9904 26.6115 29.4813 26.6115H31.1936C31.6846 26.6115 32.0798 26.2124 32.0798 25.7254V10.6456H31.1936C30.7027 10.6456 30.3075 10.2505 30.3075 9.75951C30.3075 9.26856 30.7027 8.87341 31.1936 8.87341H32.0798C33.0577 8.87341 33.852 9.66772 33.852 10.6456V25.7254C33.852 27.1943 32.6585 28.3877 31.1897 28.3877H30.3634V31.1139C30.3634 31.4412 30.1838 31.7406 29.8964 31.8962C29.7647 31.9681 29.621 32 29.4773 32L29.4813 31.996Z"
73
- fill="white"
74
- />
75
- <circle cx="6.89941" cy="11.5537" r="1.5" fill="#AA1D36" />
76
- <circle cx="14.3271" cy="11.5537" r="1.5" fill="#AA1D36" />
77
- <circle cx="21.7549" cy="11.5537" r="1.5" fill="#AA1D36" />
78
- </svg> */}
79
- <svg width="40" height="39" viewBox="0 0 40 39" fill="none" xmlns="http://www.w3.org/2000/svg">
80
- <path d="M36.5048 11.4403C36.4671 11.4403 36.4357 11.4403 36.4044 11.4403C33.7626 5.17055 27.5191 0.75 20.2527 0.75C12.9864 0.75 6.74281 5.17055 4.10106 11.4403C4.06969 11.4403 4.03205 11.4403 4.00068 11.4403C2.17468 11.4403 0.6875 12.9159 0.6875 14.7277V21.5079C0.6875 23.3197 2.17468 24.7953 4.00068 24.7953C5.82668 24.7953 7.31382 23.3197 7.31382 21.5079V14.7277C7.31382 13.8373 6.95616 13.0342 6.37886 12.4427C8.63156 7.0384 14.0029 3.22178 20.2527 3.22178C26.5025 3.22178 31.8739 7.03217 34.1266 12.4427C33.5493 13.0342 33.1916 13.8373 33.1916 14.7277V21.5079C33.1916 22.3983 33.5493 23.2014 34.1266 23.7929C32.2692 28.2508 28.2909 31.6192 23.453 32.6652C22.8004 31.5818 21.6144 30.8533 20.2527 30.8533C18.2008 30.8533 16.5254 32.5095 16.5254 34.5517C16.5254 36.5938 18.1945 38.25 20.2527 38.25C22.1226 38.25 23.6725 36.874 23.9361 35.0871C29.5773 33.8793 34.2207 29.9692 36.4044 24.7891C36.4357 24.7891 36.4734 24.7891 36.5048 24.7891C38.3308 24.7891 39.8179 23.3135 39.8179 21.5017V14.7214C39.8179 12.9096 38.3308 11.434 36.5048 11.434V11.4403Z" fill="white"/>
81
- <path d="M23.1823 25.5673V21.6261H24.4623C27.1166 21.6261 29.2752 19.4906 29.2752 16.8507C29.2752 14.2108 27.1229 12.0753 24.4623 12.0753H16.0414C13.3871 12.0753 11.2285 14.2108 11.2285 16.8507C11.2285 19.4906 13.3808 21.6261 16.0414 21.6261H19.342L23.1823 25.5673Z" fill="white"/>
62
+ <svg width="34" height="32" viewBox="0 0 34 32" fill="none" xmlns="http://www.w3.org/2000/svg">
63
+ <path d="M24.9835 0.886475H3.69698C2.22812 0.886475 1.03467 2.07593 1.03467 3.54878V19.5147C1.03467 20.9835 2.22413 22.177 3.69698 22.177H4.51923V25.7893L9.96759 22.177H24.9835C26.4524 22.177 27.6458 20.9875 27.6458 19.5147V3.54878C27.6458 2.07992 26.4564 0.886475 24.9835 0.886475Z" fill="white"/>
64
+ <path d="M4.51861 26.6754C4.37492 26.6754 4.23123 26.6395 4.09951 26.5716C3.81212 26.416 3.63251 26.1166 3.63251 25.7893V23.0631C1.70462 23.0272 0.147949 21.4505 0.147949 19.5147V3.54877C0.147949 1.59295 1.74055 0.000366211 3.69637 0.000366211H24.9829C26.9387 0.000366211 28.5313 1.59295 28.5313 3.54877V19.5147C28.5313 21.4705 26.9387 23.0631 24.9829 23.0631H10.2384L5.01356 26.5277C4.86587 26.6235 4.69424 26.6754 4.52261 26.6754H4.51861ZM3.69637 1.77258C2.71846 1.77258 1.92416 2.56689 1.92416 3.5448V19.5107C1.92416 20.4886 2.71846 21.2829 3.69637 21.2829H4.51861C5.00957 21.2829 5.40472 21.6781 5.40472 22.169V24.1288L9.47603 21.4306C9.61972 21.3348 9.79135 21.2829 9.96698 21.2829H24.9829C25.9608 21.2829 26.7551 20.4886 26.7551 19.5107V3.5448C26.7551 2.56689 25.9608 1.77258 24.9829 1.77258H3.69637Z" fill="white"/>
65
+ <path d="M29.4813 31.996C29.3097 31.996 29.138 31.9441 28.9904 31.8483L23.7655 28.3837H14.3376C13.3597 28.3837 12.5654 27.5894 12.5654 26.6115V25.7254C12.5654 25.2345 12.9606 24.8393 13.4515 24.8393C13.9425 24.8393 14.3376 25.2345 14.3376 25.7254V26.6115H24.0329C24.2086 26.6115 24.3762 26.6634 24.5239 26.7592L28.5952 29.4575V27.4976C28.5952 27.0067 28.9904 26.6115 29.4813 26.6115H31.1936C31.6846 26.6115 32.0798 26.2124 32.0798 25.7254V10.6456H31.1936C30.7027 10.6456 30.3075 10.2505 30.3075 9.75951C30.3075 9.26856 30.7027 8.87341 31.1936 8.87341H32.0798C33.0577 8.87341 33.852 9.66772 33.852 10.6456V25.7254C33.852 27.1943 32.6585 28.3877 31.1897 28.3877H30.3634V31.1139C30.3634 31.4412 30.1838 31.7406 29.8964 31.8962C29.7647 31.9681 29.621 32 29.4773 32L29.4813 31.996Z" fill="white"/>
66
+ <circle cx="6.89941" cy="11.5537" r="1.5" fill="#AA1D36"/>
67
+ <circle cx="14.3271" cy="11.5537" r="1.5" fill="#AA1D36"/>
68
+ <circle cx="21.7549" cy="11.5537" r="1.5" fill="#AA1D36"/>
82
69
  </svg>
83
-
84
- <span className="text-[12px] font-[800] tracking-[-4%] lg:text-[16px]">1:1 상담문의</span>
85
70
  </div>
86
71
 
87
72
  <div className={`
@@ -36,7 +36,6 @@ const ChatButton: React.FC<ChatButtonProps> = ({ isOpen, onClick, apiVersion, is
36
36
  init();
37
37
  }
38
38
  }, [hashValue, apiVersion, initializeDaeryuntalk]);
39
-
40
39
  return (
41
40
  <button
42
41
  aria-label="채팅 상담 열기"
@@ -44,7 +43,7 @@ const ChatButton: React.FC<ChatButtonProps> = ({ isOpen, onClick, apiVersion, is
44
43
  className={`
45
44
  ${isOpen ? ' hidden xs:block ' : ''}
46
45
  ${hashValue ? 'pointer-events-none opacity-0' : ''}
47
- fixed bottom-[85px] right-[20px] h-[70px] w-[70px] rounded-[10px] border lg:bottom-[20px] lg:right-[25px] lg:h-[100px] lg:w-[100px]
46
+ fixed bottom-[85px] right-[20px] h-[60px] w-[60px] rounded-[10px] border lg:bottom-[20px] lg:right-[25px]
48
47
  ${isOpen ? 'border-gray-200 bg-white' : 'border-[#AA1D36] bg-[#AA1D36]'}
49
48
  z-[999999] flex transform cursor-pointer items-center justify-center
50
49
  p-0 shadow-lg outline-none transition-all duration-300 ease-in-out
@@ -66,12 +65,12 @@ const ChatButton: React.FC<ChatButtonProps> = ({ isOpen, onClick, apiVersion, is
66
65
 
67
66
  <div
68
67
  className={`
69
- absolute inset-0 flex flex-col items-center justify-center
70
- gap-[4px] transition-opacity duration-300 ease-in-out
68
+ absolute inset-0 flex items-center justify-center
69
+ transition-opacity duration-300 ease-in-out
71
70
  ${isOpen ? 'opacity-0' : 'opacity-100'}
72
71
  `}
73
72
  >
74
- {/* <svg width="34" height="32" viewBox="0 0 34 32" fill="none" xmlns="http://www.w3.org/2000/svg">
73
+ <svg width="34" height="32" viewBox="0 0 34 32" fill="none" xmlns="http://www.w3.org/2000/svg">
75
74
  <path
76
75
  d="M24.9835 0.886475H3.69698C2.22812 0.886475 1.03467 2.07593 1.03467 3.54878V19.5147C1.03467 20.9835 2.22413 22.177 3.69698 22.177H4.51923V25.7893L9.96759 22.177H24.9835C26.4524 22.177 27.6458 20.9875 27.6458 19.5147V3.54878C27.6458 2.07992 26.4564 0.886475 24.9835 0.886475Z"
77
76
  fill="white"
@@ -87,19 +86,7 @@ const ChatButton: React.FC<ChatButtonProps> = ({ isOpen, onClick, apiVersion, is
87
86
  <circle cx="6.89941" cy="11.5537" r="1.5" fill="#AA1D36" />
88
87
  <circle cx="14.3271" cy="11.5537" r="1.5" fill="#AA1D36" />
89
88
  <circle cx="21.7549" cy="11.5537" r="1.5" fill="#AA1D36" />
90
- </svg> */}
91
- <svg width="40" height="39" viewBox="0 0 40 39" fill="none" xmlns="http://www.w3.org/2000/svg">
92
- <path
93
- d="M36.5048 11.4403C36.4671 11.4403 36.4357 11.4403 36.4044 11.4403C33.7626 5.17055 27.5191 0.75 20.2527 0.75C12.9864 0.75 6.74281 5.17055 4.10106 11.4403C4.06969 11.4403 4.03205 11.4403 4.00068 11.4403C2.17468 11.4403 0.6875 12.9159 0.6875 14.7277V21.5079C0.6875 23.3197 2.17468 24.7953 4.00068 24.7953C5.82668 24.7953 7.31382 23.3197 7.31382 21.5079V14.7277C7.31382 13.8373 6.95616 13.0342 6.37886 12.4427C8.63156 7.0384 14.0029 3.22178 20.2527 3.22178C26.5025 3.22178 31.8739 7.03217 34.1266 12.4427C33.5493 13.0342 33.1916 13.8373 33.1916 14.7277V21.5079C33.1916 22.3983 33.5493 23.2014 34.1266 23.7929C32.2692 28.2508 28.2909 31.6192 23.453 32.6652C22.8004 31.5818 21.6144 30.8533 20.2527 30.8533C18.2008 30.8533 16.5254 32.5095 16.5254 34.5517C16.5254 36.5938 18.1945 38.25 20.2527 38.25C22.1226 38.25 23.6725 36.874 23.9361 35.0871C29.5773 33.8793 34.2207 29.9692 36.4044 24.7891C36.4357 24.7891 36.4734 24.7891 36.5048 24.7891C38.3308 24.7891 39.8179 23.3135 39.8179 21.5017V14.7214C39.8179 12.9096 38.3308 11.434 36.5048 11.434V11.4403Z"
94
- fill="white"
95
- />
96
- <path
97
- d="M23.1823 25.5673V21.6261H24.4623C27.1166 21.6261 29.2752 19.4906 29.2752 16.8507C29.2752 14.2108 27.1229 12.0753 24.4623 12.0753H16.0414C13.3871 12.0753 11.2285 14.2108 11.2285 16.8507C11.2285 19.4906 13.3808 21.6261 16.0414 21.6261H19.342L23.1823 25.5673Z"
98
- fill="white"
99
- />
100
89
  </svg>
101
-
102
- <span className="text-[12px] font-[800] tracking-[-4%] lg:text-[16px]">1:1 상담문의</span>
103
90
  </div>
104
91
 
105
92
  <div
@@ -19034,10 +19034,6 @@ body {
19034
19034
  display: none;
19035
19035
  }
19036
19036
 
19037
- .lg\:h-\[100px\] {
19038
- height: 100px;
19039
- }
19040
-
19041
19037
  .lg\:h-\[12px\] {
19042
19038
  height: 12px;
19043
19039
  }
@@ -19174,10 +19170,6 @@ body {
19174
19170
  width: 100%;
19175
19171
  }
19176
19172
 
19177
- .lg\:w-\[100px\] {
19178
- width: 100px;
19179
- }
19180
-
19181
19173
  .lg\:w-\[10px\] {
19182
19174
  width: 10px;
19183
19175
  }