@daeryun/dr_components 1.1.16 → 1.1.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/asset/images/daeryuntalk/active_checkbox_blue.png +0 -0
- package/dist/asset/images/daeryuntalk/non_active_checkbox.png +0 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Daeryuntalk/ChatConversation.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatConversation.jsx +13 -5
- package/dist/components/Daeryuntalk/ChatConversation.tsx +23 -5
- package/dist/components/Daeryuntalk/ChatHomeView.jsx +2 -3
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +2 -1
- package/dist/components/Daeryuntalk/ChatInput.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatInput.jsx +7 -7
- package/dist/components/Daeryuntalk/ChatInput.tsx +30 -19
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.d.ts +6 -0
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.jsx +18 -0
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.tsx +26 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.jsx +7 -8
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +7 -7
- package/dist/components/Daeryuntalk/DaeryuntalkContext.d.ts +4 -0
- package/dist/components/Daeryuntalk/DaeryuntalkContext.jsx +15 -6
- package/dist/components/Daeryuntalk/DaeryuntalkContext.tsx +20 -7
- package/dist/components/Daeryuntalk/NoticeMessage.jsx +14 -5
- package/dist/components/Daeryuntalk/NoticeMessage.tsx +15 -5
- package/dist/components/Daeryuntalk/Tiptap/DisabledInput.d.ts +6 -0
- package/dist/components/Daeryuntalk/Tiptap/DisabledInput.jsx +17 -0
- package/dist/components/Daeryuntalk/Tiptap/DisabledInput.tsx +28 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.d.ts +2 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.js +24 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.ts +32 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/type/response.d.ts +2 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/type/response.ts +5 -0
- package/dist/components/Daeryuntalk/_enums/ags_check_status.d.ts +5 -0
- package/dist/components/Daeryuntalk/_enums/ags_check_status.js +9 -0
- package/dist/components/Daeryuntalk/_enums/ags_check_status.ts +9 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.d.ts +4 -1
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.js +49 -23
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.ts +52 -14
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useFullURL.jsx +4 -12
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useFullURL.tsx +6 -13
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.d.ts +3 -1
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.js +9 -5
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.ts +9 -1
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useWorkFlow.ts +1 -1
- package/dist/components/Daeryuntalk/_ui/buttons/Button4.d.ts +10 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button4.jsx +12 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button4.tsx +29 -0
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.d.ts +8 -0
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.jsx +20 -0
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.tsx +47 -0
- package/dist/styles/globals.css +45 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CheckBox2Props {
|
|
3
|
+
title: string;
|
|
4
|
+
checked: boolean;
|
|
5
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const CheckBox2: ({ title, checked, onChange }: CheckBox2Props) => React.JSX.Element;
|
|
8
|
+
export default CheckBox2;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Image from 'next/image';
|
|
4
|
+
import CheckActiveIconBlue from '../../../../asset/images/daeryuntalk/active_checkbox_blue.png';
|
|
5
|
+
import CheckNoneActiveIconBlue from '../../../../asset/images/daeryuntalk/non_active_checkbox.png';
|
|
6
|
+
const CheckBox2 = ({ title, checked, onChange }) => {
|
|
7
|
+
return (<label className="flex cursor-pointer flex-row items-center gap-[4px]">
|
|
8
|
+
{/* 실제 체크박스는 숨김 */}
|
|
9
|
+
<input type="checkbox" checked={checked} onChange={onChange} className="hidden"/>
|
|
10
|
+
|
|
11
|
+
{/* 커스텀 체크박스 (두 이미지를 겹치고 opacity 전환) */}
|
|
12
|
+
<div className="relative h-[13.5px] w-[13.5px]">
|
|
13
|
+
<Image src={CheckActiveIconBlue} alt="check active icon blue" width={1000} height={1000} className={`absolute left-0 top-0 h-[13.5px] w-[13.5px] transition-opacity duration-200 ${checked ? 'opacity-100' : 'opacity-0'}`}/>
|
|
14
|
+
<Image src={CheckNoneActiveIconBlue} alt="check none active icon blue" width={1000} height={1000} className={`absolute left-0 top-0 h-[13.5px] w-[13.5px] transition-opacity duration-200 ${checked ? 'opacity-0' : 'opacity-100'}`}/>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<span className="dr_talk_body_medium2 text-black">{title}</span>
|
|
18
|
+
</label>);
|
|
19
|
+
};
|
|
20
|
+
export default CheckBox2;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import Image from 'next/image';
|
|
5
|
+
import CheckActiveIconBlue from '../../../../asset/images/daeryuntalk/active_checkbox_blue.png';
|
|
6
|
+
import CheckNoneActiveIconBlue from '../../../../asset/images/daeryuntalk/non_active_checkbox.png';
|
|
7
|
+
|
|
8
|
+
interface CheckBox2Props {
|
|
9
|
+
title: string;
|
|
10
|
+
checked: boolean;
|
|
11
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const CheckBox2 = ({ title, checked, onChange }: CheckBox2Props) => {
|
|
15
|
+
return (
|
|
16
|
+
<label className="flex cursor-pointer flex-row items-center gap-[4px]">
|
|
17
|
+
{/* 실제 체크박스는 숨김 */}
|
|
18
|
+
<input type="checkbox" checked={checked} onChange={onChange} className="hidden" />
|
|
19
|
+
|
|
20
|
+
{/* 커스텀 체크박스 (두 이미지를 겹치고 opacity 전환) */}
|
|
21
|
+
<div className="relative h-[13.5px] w-[13.5px]">
|
|
22
|
+
<Image
|
|
23
|
+
src={CheckActiveIconBlue}
|
|
24
|
+
alt="check active icon blue"
|
|
25
|
+
width={1000}
|
|
26
|
+
height={1000}
|
|
27
|
+
className={`absolute left-0 top-0 h-[13.5px] w-[13.5px] transition-opacity duration-200 ${
|
|
28
|
+
checked ? 'opacity-100' : 'opacity-0'
|
|
29
|
+
}`}
|
|
30
|
+
/>
|
|
31
|
+
<Image
|
|
32
|
+
src={CheckNoneActiveIconBlue}
|
|
33
|
+
alt="check none active icon blue"
|
|
34
|
+
width={1000}
|
|
35
|
+
height={1000}
|
|
36
|
+
className={`absolute left-0 top-0 h-[13.5px] w-[13.5px] transition-opacity duration-200 ${
|
|
37
|
+
checked ? 'opacity-0' : 'opacity-100'
|
|
38
|
+
}`}
|
|
39
|
+
/>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
<span className="dr_talk_body_medium2 text-black">{title}</span>
|
|
43
|
+
</label>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export default CheckBox2;
|
package/dist/styles/globals.css
CHANGED
|
@@ -2288,6 +2288,10 @@ html {
|
|
|
2288
2288
|
height: 34px !important;
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
|
+
.\!h-\[50px\] {
|
|
2292
|
+
height: 50px !important;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2291
2295
|
.\!h-\[5px\] {
|
|
2292
2296
|
height: 5px !important;
|
|
2293
2297
|
}
|
|
@@ -2938,6 +2942,10 @@ html {
|
|
|
2938
2942
|
max-height: fit-content !important;
|
|
2939
2943
|
}
|
|
2940
2944
|
|
|
2945
|
+
.max-h-\[108px\] {
|
|
2946
|
+
max-height: 108px;
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2941
2949
|
.max-h-\[1200px\] {
|
|
2942
2950
|
max-height: 1200px;
|
|
2943
2951
|
}
|
|
@@ -3211,6 +3219,10 @@ html {
|
|
|
3211
3219
|
width: 13.16px;
|
|
3212
3220
|
}
|
|
3213
3221
|
|
|
3222
|
+
.w-\[13\.5px\] {
|
|
3223
|
+
width: 13.5px;
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3214
3226
|
.w-\[130px\] {
|
|
3215
3227
|
width: 130px;
|
|
3216
3228
|
}
|
|
@@ -3784,6 +3796,10 @@ html {
|
|
|
3784
3796
|
min-width: 177px;
|
|
3785
3797
|
}
|
|
3786
3798
|
|
|
3799
|
+
.min-w-\[18px\] {
|
|
3800
|
+
min-width: 18px;
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3787
3803
|
.min-w-\[230px\] {
|
|
3788
3804
|
min-width: 230px;
|
|
3789
3805
|
}
|
|
@@ -6020,6 +6036,11 @@ html {
|
|
|
6020
6036
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
|
|
6021
6037
|
}
|
|
6022
6038
|
|
|
6039
|
+
.bg-drTalkBtnActive1 {
|
|
6040
|
+
--tw-bg-opacity: 1;
|
|
6041
|
+
background-color: rgb(53 76 198 / var(--tw-bg-opacity, 1));
|
|
6042
|
+
}
|
|
6043
|
+
|
|
6023
6044
|
.bg-drTalkBtnActive2 {
|
|
6024
6045
|
--tw-bg-opacity: 1;
|
|
6025
6046
|
background-color: rgb(46 56 91 / var(--tw-bg-opacity, 1));
|
|
@@ -6183,6 +6204,10 @@ html {
|
|
|
6183
6204
|
--tw-bg-opacity: 55%;
|
|
6184
6205
|
}
|
|
6185
6206
|
|
|
6207
|
+
.\!bg-gradient-to-t {
|
|
6208
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops)) !important;
|
|
6209
|
+
}
|
|
6210
|
+
|
|
6186
6211
|
.bg-\[linear-gradient\(90deg\2c _\#3482F6_0\%\2c _\#A358FB_30\%\2c _\#E73B6A_55\%\2c _\#ED4914_100\%\)\] {
|
|
6187
6212
|
background-image: linear-gradient(90deg, #3482F6 0%, #A358FB 30%, #E73B6A 55%, #ED4914 100%);
|
|
6188
6213
|
}
|
|
@@ -6223,6 +6248,12 @@ html {
|
|
|
6223
6248
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
6224
6249
|
}
|
|
6225
6250
|
|
|
6251
|
+
.from-\[\#F7F7F7\]\/90 {
|
|
6252
|
+
--tw-gradient-from: rgb(247 247 247 / 0.9) var(--tw-gradient-from-position);
|
|
6253
|
+
--tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position);
|
|
6254
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
6255
|
+
}
|
|
6256
|
+
|
|
6226
6257
|
.from-\[\#eeeeee\] {
|
|
6227
6258
|
--tw-gradient-from: #eeeeee var(--tw-gradient-from-position);
|
|
6228
6259
|
--tw-gradient-to: rgb(238 238 238 / 0) var(--tw-gradient-to-position);
|
|
@@ -6267,6 +6298,10 @@ html {
|
|
|
6267
6298
|
--tw-gradient-stops: var(--tw-gradient-from), #E73B6A var(--tw-gradient-via-position), var(--tw-gradient-to);
|
|
6268
6299
|
}
|
|
6269
6300
|
|
|
6301
|
+
.\!to-\[\#F7F7F7\]\/0 {
|
|
6302
|
+
--tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position) !important;
|
|
6303
|
+
}
|
|
6304
|
+
|
|
6270
6305
|
.to-\[\#35FFF84D\] {
|
|
6271
6306
|
--tw-gradient-to: #35FFF84D var(--tw-gradient-to-position);
|
|
6272
6307
|
}
|
|
@@ -6706,6 +6741,11 @@ html {
|
|
|
6706
6741
|
padding-right: 60px;
|
|
6707
6742
|
}
|
|
6708
6743
|
|
|
6744
|
+
.px-\[6px\] {
|
|
6745
|
+
padding-left: 6px;
|
|
6746
|
+
padding-right: 6px;
|
|
6747
|
+
}
|
|
6748
|
+
|
|
6709
6749
|
.px-\[88px\] {
|
|
6710
6750
|
padding-left: 88px;
|
|
6711
6751
|
padding-right: 88px;
|
|
@@ -9953,6 +9993,11 @@ body {
|
|
|
9953
9993
|
background-color: rgb(210 210 210 / var(--tw-bg-opacity, 1));
|
|
9954
9994
|
}
|
|
9955
9995
|
|
|
9996
|
+
.disabled\:bg-drTalkGrayscale3:disabled {
|
|
9997
|
+
--tw-bg-opacity: 1;
|
|
9998
|
+
background-color: rgb(194 194 194 / var(--tw-bg-opacity, 1));
|
|
9999
|
+
}
|
|
10000
|
+
|
|
9956
10001
|
.disabled\:text-\[\#606060\]:disabled {
|
|
9957
10002
|
--tw-text-opacity: 1;
|
|
9958
10003
|
color: rgb(96 96 96 / var(--tw-text-opacity, 1));
|