@riosst100/pwa-marketplace 2.0.8 → 2.1.0

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.
Files changed (57) hide show
  1. package/.github/workflows/dependabot.yml +28 -28
  2. package/i18n/en_US.json +508 -509
  3. package/i18n/id_ID.json +508 -509
  4. package/package.json +18 -22
  5. package/src/componentOverrideMapping.js +1 -0
  6. package/src/components/AccountLayout/index.js +15 -0
  7. package/src/components/OrderDetail/components/itemsOrdered.js +128 -0
  8. package/src/components/OrderDetail/components/rmaList.js +114 -0
  9. package/src/components/OrderDetail/orderDetail.js +204 -0
  10. package/src/components/OrderDetail/orderDetailPage.js +14 -0
  11. package/src/components/RMAPage/RMACreate.js +238 -0
  12. package/src/components/RMAPage/RMACreatePage.js +14 -0
  13. package/src/components/RMAPage/RMADetail.js +318 -0
  14. package/src/components/RMAPage/RMADetailPage.js +14 -0
  15. package/src/components/RMAPage/RMAList.js +241 -0
  16. package/src/components/RMAPage/RMASelect.js +36 -0
  17. package/src/components/RMAPage/RMASelectPage.js +13 -0
  18. package/src/components/RMAPage/components/productItem.js +114 -0
  19. package/src/components/RMAPage/components/rmaList.js +250 -0
  20. package/src/components/RMAPage/index.js +14 -0
  21. package/src/components/RMAPage/orderRow.js +318 -0
  22. package/src/components/commons/Checkbox/index.js +57 -0
  23. package/src/components/commons/Collapsible/index.js +51 -0
  24. package/src/components/commons/Select/index.js +29 -0
  25. package/src/components/commons/Textfield/index.js +20 -0
  26. package/src/intercept.js +35 -0
  27. package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenu.js +2 -1
  28. package/src/overwrites/venia-ui/lib/components/Breadcrumbs/breadcrumbs.module.css +38 -0
  29. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/product.js +9 -2
  30. package/src/overwrites/venia-ui/lib/components/Footer/footer.js +1 -1
  31. package/src/overwrites/venia-ui/lib/components/Header/header.js +12 -1
  32. package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.js +1 -1
  33. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderRow.js +11 -3
  34. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.js +34 -3
  35. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.module.css +9 -0
  36. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.module.css +1 -1
  37. package/src/overwrites/venia-ui/lib/components/WishlistPage/actionMenu.ee.js +54 -0
  38. package/src/overwrites/venia-ui/lib/components/WishlistPage/actionMenu.js +7 -0
  39. package/src/overwrites/venia-ui/lib/components/WishlistPage/createWishlist.ee.js +129 -0
  40. package/src/overwrites/venia-ui/lib/components/WishlistPage/createWishlist.js +3 -0
  41. package/src/overwrites/venia-ui/lib/components/WishlistPage/createWishlist.module.css +63 -0
  42. package/src/overwrites/venia-ui/lib/components/WishlistPage/index.js +14 -0
  43. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlist.js +193 -0
  44. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlist.module.css +78 -0
  45. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistConfirmRemoveProductDialog.js +84 -0
  46. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistConfirmRemoveProductDialog.module.css +20 -0
  47. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistEditFavoritesListDialog.js +96 -0
  48. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistEditFavoritesListDialog.module.css +22 -0
  49. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistItem.js +138 -0
  50. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistItem.module.css +78 -0
  51. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistItems.js +45 -0
  52. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistItems.module.css +9 -0
  53. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistListActionsDialog.js +61 -0
  54. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistMoreActionsDialog.js +84 -0
  55. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistMoreActionsDialog.module.css +19 -0
  56. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistPage.js +120 -0
  57. package/src/overwrites/venia-ui/lib/components/WishlistPage/wishlistPage.module.css +31 -0
@@ -0,0 +1,238 @@
1
+ import React from 'react';
2
+ import { useIntl } from 'react-intl';
3
+ import { StoreTitle } from '@magento/venia-ui/lib/components/Head';
4
+ import Button from '@magento/venia-ui/lib/components/Button';
5
+ import ChatContent from '../LiveChat/chatContent';
6
+ import cn from 'classnames';
7
+ import { Send } from 'iconsax-react';
8
+ import Item from './components/productItem';
9
+
10
+ const RMACreate = () => {
11
+ const { formatMessage } = useIntl();
12
+ const PAGE_TITLE = formatMessage({
13
+ id: 'Quotes.pageTitleTextRMACreate',
14
+ defaultMessage: 'New Return'
15
+ });
16
+
17
+ const urlImage = 'https://pwa-tcgcollective.local:8255/media/catalog/product/s/-/s-l1600_6__1.jpg?auto=webp&format=pjpg&width=495&height=618.75&fit=cover';
18
+ const dummyChat = [
19
+ {
20
+ "message": "May I help you",
21
+ "type": "seller",
22
+ "timeStamp": "03-06-2024 2:59 pm"
23
+ },
24
+ {
25
+ "message": "Yes",
26
+ "type": "buyer",
27
+ "timeStamp": "03-06-2024 2:59 pm"
28
+ },
29
+ {
30
+ "message": "can i get a discount",
31
+ "type": "buyer",
32
+ "timeStamp": "03-06-2024 2:59 pm"
33
+ },
34
+ {
35
+ "message": "you can redeem this code 'JunePlay'",
36
+ "type": "seller",
37
+ "timeStamp": "03-06-2024 2:59 pm"
38
+ },
39
+ {
40
+ "message": "or this code 'collectfest'",
41
+ "type": "seller",
42
+ "timeStamp": "03-06-2024 2:59 pm"
43
+ },
44
+ {
45
+ "message": "May I help you",
46
+ "type": "seller",
47
+ "timeStamp": "03-06-2024 2:59 pm"
48
+ },
49
+ {
50
+ "message": "Yes",
51
+ "type": "buyer",
52
+ "timeStamp": "03-06-2024 2:59 pm"
53
+ },
54
+ {
55
+ "message": "can i get a discount",
56
+ "type": "buyer",
57
+ "timeStamp": "03-06-2024 2:59 pm"
58
+ },
59
+ {
60
+ "message": "you can redeem this code 'JunePlay'",
61
+ "type": "seller",
62
+ "timeStamp": "03-06-2024 2:59 pm"
63
+ },
64
+ {
65
+ "message": "or this code 'collectfest'",
66
+ "type": "seller",
67
+ "timeStamp": "03-06-2024 2:59 pm"
68
+ },
69
+ ]
70
+
71
+ return (
72
+ <div className='relative grid gap-y-md'>
73
+ <StoreTitle>{PAGE_TITLE}</StoreTitle>
74
+ <div aria-live="polite" className="text-xl font-medium text-left">
75
+ {PAGE_TITLE} - DEV123123123
76
+ </div>
77
+ <div className='block relative'>
78
+ <div aria-live="polite" className="text-lg font-medium text-left mb-4">
79
+ {
80
+ formatMessage({
81
+ id: 'RMA.requestReturnInformation',
82
+ defaultMessage: 'Request Return Information'
83
+ })
84
+ }
85
+ </div>
86
+ <div className='rounded-md border border-gray-100 px-4 py-6 flex flex-col md_flex-row justify-between gap-x-10'>
87
+ <div className='flex flex-col gap-y-4 w-full mb-4 md_0 md_w-6/12'>
88
+ <div className='block p-2 -ml-2 -mr-2 bg-[#F1EFF6] rounded-md'>
89
+ <p className='text-[13px] text-blue-700 flex justify-between'>
90
+ <span className='font-medium block'>
91
+ {
92
+ formatMessage({
93
+ id: 'RMA.Status',
94
+ defaultMessage: 'Status'
95
+ })
96
+ }
97
+ </span>
98
+ <span className='font-medium block text-blue-700'>
99
+ Pending Approval
100
+ </span>
101
+ </p>
102
+ </div>
103
+ <div className='block'>
104
+ <p className='text-[13px] text-colorDefault flex justify-between'>
105
+ <span className='font-medium block'>
106
+ {
107
+ formatMessage({
108
+ id: 'RMA.RMANumber',
109
+ defaultMessage: 'RMA'
110
+ })
111
+ }
112
+ </span>
113
+ <span className='font-normal block'>
114
+ DEV123123123-12
115
+ </span>
116
+ </p>
117
+ </div>
118
+ <div className='block'>
119
+ <p className='text-[13px] text-colorDefault flex justify-between'>
120
+ <span className='font-medium block'>
121
+ {
122
+ formatMessage({
123
+ id: 'RMA.OrderNumber',
124
+ defaultMessage: 'Order Number'
125
+ })
126
+ }
127
+ </span>
128
+ <span className='font-normal block'>
129
+ DEV123123123 at Nov 8, 2024
130
+ </span>
131
+ </p>
132
+ </div>
133
+ <div className='block'>
134
+ <p className='text-[13px] text-colorDefault flex justify-between'>
135
+ <span className='font-medium block'>
136
+ {
137
+ formatMessage({
138
+ id: 'RMA.dateRequested',
139
+ defaultMessage: 'Date Requested'
140
+ })
141
+ }
142
+ </span>
143
+ <span className='font-normal block'>
144
+ Nov 17, 2024
145
+ </span>
146
+ </p>
147
+ </div>
148
+ </div>
149
+ <div className='relative flex w-full md_w-6/12 flex-col md_mb-0'>
150
+ <div className='flex flex-col'>
151
+ <p className='text-[13px] text-colorDefault flex justify-between'>
152
+ <span className='font-medium block'>
153
+ {
154
+ formatMessage({
155
+ id: 'RMA.ContactInformation',
156
+ defaultMessage: 'Contact Information'
157
+ })
158
+ }
159
+ </span>
160
+ </p>
161
+ <p className='text-[13px] text-colorDefault whitespace-pre-wrap'>
162
+ John Doe{'\n'}
163
+ johndoe@email.com{'\n'}
164
+ 1233123412{'\n'}
165
+ 6164 Honey Bluff Parkway{'\n'}
166
+ Calder{'\n'}
167
+ Michigan{'\n'}
168
+ UnitedState{'\n'}
169
+ </p>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ <div className=' flex flex-col'>
175
+ <div aria-live="polite" className="text-lg font-medium text-left mb-4">
176
+ Items
177
+ </div>
178
+ <div className='border-t border-gray-100 py-4 flex flex-col gap-y-4'>
179
+ {[...Array(2)].map((item) => (
180
+ <Item withCheckbox />
181
+ ))}
182
+ </div>
183
+ </div>
184
+ <div className=' flex flex-col mb-10'>
185
+ <div aria-live="polite" className="text-lg font-medium text-left mb-4">
186
+ Messages
187
+ </div>
188
+ <div className='rounded-md border border-gray-100 p-4 pr-0 pt-0 flex flex-col gap-y-6'>
189
+ <div className='max-h-[600px] overflow-auto relative chat-container pr-4 pt-4'>
190
+ <ChatContent chatData={dummyChat} />
191
+ </div>
192
+ <div className='flex gap-2 pr-4'>
193
+ <textarea
194
+ className='w-full focus-visible_outline-none border border-gray-100 p-1 rounded-md'
195
+ cols={5}
196
+ />
197
+ <Button
198
+ priority='high'
199
+ classes={{
200
+ content: "flex justify-center gap-x-2.5 items-center text-[14px] font-medium capitalize"
201
+ }}
202
+ className={cn(
203
+ "bg-blue-600 px-6 py-2 rounded-full text-white border ",
204
+ "border-blue-600 hover_bg-blue-700 hover_border-blue-700 focus-visible_outline-none"
205
+ )}
206
+ >
207
+ <Send
208
+ size="24"
209
+ className='text-white'
210
+ />
211
+ </Button>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ <style jsx>
216
+ {`
217
+ .chat-container::-webkit-scrollbar {
218
+ width: 8px;
219
+ border-radius: 5px;
220
+ }
221
+
222
+ .chat-container::-webkit-scrollbar-track {
223
+ background: #f2f2f2;
224
+ border-radius: 8px;
225
+ }
226
+
227
+ .chat-container::-webkit-scrollbar-thumb {
228
+ background-color: #c3c3c3;
229
+ border-radius: 20px;
230
+ border: 2px solid #f2f2f2;
231
+ }
232
+ `}
233
+ </style>
234
+ </div>
235
+ )
236
+ }
237
+
238
+ export default RMACreate;
@@ -0,0 +1,14 @@
1
+ import AccountLayout from '@riosst100/pwa-marketplace/src/components/AccountLayout';
2
+ import RMACreate from '@riosst100/pwa-marketplace/src/components/RMAPage/RMACreate';
3
+
4
+ import React from 'react';
5
+
6
+ const index = () => {
7
+ return (
8
+ <AccountLayout>
9
+ <RMACreate />
10
+ </AccountLayout>
11
+ )
12
+ }
13
+
14
+ export default index;
@@ -0,0 +1,318 @@
1
+ import React from 'react';
2
+ import { useIntl } from 'react-intl';
3
+ import { StoreTitle } from '@magento/venia-ui/lib/components/Head';
4
+ import Image from '@magento/venia-ui/lib/components/Image';
5
+ import { Link } from 'react-router-dom';
6
+ import Button from '@magento/venia-ui/lib/components/Button';
7
+ import ChatContent from '../LiveChat/chatContent';
8
+ import cn from 'classnames';
9
+ import { Send, Printer } from 'iconsax-react';
10
+ import Item from './components/productItem';
11
+
12
+ const RMADetail = () => {
13
+ const { formatMessage } = useIntl();
14
+ const PAGE_TITLE = formatMessage({
15
+ id: 'Quotes.pageTitleTextRMADetail',
16
+ defaultMessage: 'Return Detail'
17
+ });
18
+
19
+ const urlImage = 'https://pwa-tcgcollective.local:8255/media/catalog/product/s/-/s-l1600_6__1.jpg?auto=webp&format=pjpg&width=495&height=618.75&fit=cover';
20
+ const dummyChat = [
21
+ {
22
+ "message": "May I help you",
23
+ "type": "seller",
24
+ "timeStamp": "03-06-2024 2:59 pm"
25
+ },
26
+ {
27
+ "message": "Yes",
28
+ "type": "buyer",
29
+ "timeStamp": "03-06-2024 2:59 pm"
30
+ },
31
+ {
32
+ "message": "can i get a discount",
33
+ "type": "buyer",
34
+ "timeStamp": "03-06-2024 2:59 pm"
35
+ },
36
+ {
37
+ "message": "you can redeem this code 'JunePlay'",
38
+ "type": "seller",
39
+ "timeStamp": "03-06-2024 2:59 pm"
40
+ },
41
+ {
42
+ "message": "or this code 'collectfest'",
43
+ "type": "seller",
44
+ "timeStamp": "03-06-2024 2:59 pm"
45
+ },
46
+ {
47
+ "message": "May I help you",
48
+ "type": "seller",
49
+ "timeStamp": "03-06-2024 2:59 pm"
50
+ },
51
+ {
52
+ "message": "Yes",
53
+ "type": "buyer",
54
+ "timeStamp": "03-06-2024 2:59 pm"
55
+ },
56
+ {
57
+ "message": "can i get a discount",
58
+ "type": "buyer",
59
+ "timeStamp": "03-06-2024 2:59 pm"
60
+ },
61
+ {
62
+ "message": "you can redeem this code 'JunePlay'",
63
+ "type": "seller",
64
+ "timeStamp": "03-06-2024 2:59 pm"
65
+ },
66
+ {
67
+ "message": "or this code 'collectfest'",
68
+ "type": "seller",
69
+ "timeStamp": "03-06-2024 2:59 pm"
70
+ },
71
+ ]
72
+
73
+ return (
74
+ <div className='relative grid gap-y-md'>
75
+ <StoreTitle>{PAGE_TITLE}</StoreTitle>
76
+ <div aria-live="polite" className="text-xl font-medium text-left">
77
+ {PAGE_TITLE} - DEV123123123
78
+ </div>
79
+ <div className='block relative'>
80
+ <div className='flex gap-x-4 justify-end mb-2'>
81
+ <Button
82
+ priority='high'
83
+ classes={{
84
+ content: "flex justify-center gap-x-2.5 items-center text-[14px] font-medium capitalize"
85
+ }}
86
+ className={cn(
87
+ "bg-white px-6 py-2 rounded-md text-gray-900 hover_!text-white border border-solid",
88
+ "border-gray-900 focus-visible_outline-none hover_bg-gray-900"
89
+ )}
90
+ >
91
+ <span className='flex gap-x-3 justify-center group-hover_!text-white'>
92
+ <Printer
93
+ size="24"
94
+ className=''
95
+ />
96
+ {
97
+ formatMessage({
98
+ id: 'RMA.printRMAPackingSlip',
99
+ defaultMessage: 'Print RMA Packing Slip'
100
+ })
101
+ }
102
+ </span>
103
+ </Button>
104
+
105
+ <Button
106
+ priority='high'
107
+ classes={{
108
+ content: "flex justify-center gap-x-2.5 items-center text-[14px] font-medium capitalize"
109
+ }}
110
+ className={cn(
111
+ "bg-blue-600 px-6 py-2 rounded-md text-white border ",
112
+ "border-blue-600 hover_bg-blue-700 hover_border-blue-700 focus-visible_outline-none"
113
+ )}
114
+ >
115
+ <span className='flex gap-x-3 justify-center'>
116
+ {
117
+ formatMessage({
118
+ id: 'RMA.confirmShipping',
119
+ defaultMessage: 'Confirm Shipping'
120
+ })
121
+ }
122
+ </span>
123
+ </Button>
124
+ </div>
125
+ <div aria-live="polite" className="text-lg font-medium text-left mb-4">
126
+ {
127
+ formatMessage({
128
+ id: 'RMA.requestReturnInformation',
129
+ defaultMessage: 'Request Return Information'
130
+ })
131
+ }
132
+ </div>
133
+ <div className='rounded-md border border-gray-100 px-4 py-6 flex flex-col md_flex-row justify-between gap-x-10'>
134
+ <div className='flex flex-col gap-y-4 w-full mb-4 md_0 md_w-6/12'>
135
+ <div className='block p-2 -ml-2 -mr-2 bg-[#F1EFF6] rounded-md'>
136
+ <p className='text-[13px] text-blue-700 flex justify-between'>
137
+ <span className='font-medium block'>
138
+ {
139
+ formatMessage({
140
+ id: 'RMA.Status',
141
+ defaultMessage: 'Status'
142
+ })
143
+ }
144
+ </span>
145
+ <span className='font-medium block text-blue-700'>
146
+ Pending Approval
147
+ </span>
148
+ </p>
149
+ </div>
150
+ <div className='block'>
151
+ <p className='text-[13px] text-colorDefault flex justify-between'>
152
+ <span className='font-medium block'>
153
+ {
154
+ formatMessage({
155
+ id: 'RMA.RMANumber',
156
+ defaultMessage: 'RMA'
157
+ })
158
+ }
159
+ </span>
160
+ <span className='font-normal block'>
161
+ DEV123123123-12
162
+ </span>
163
+ </p>
164
+ </div>
165
+ <div className='block'>
166
+ <p className='text-[13px] text-colorDefault flex justify-between'>
167
+ <span className='font-medium block'>
168
+ {
169
+ formatMessage({
170
+ id: 'RMA.OrderNumber',
171
+ defaultMessage: 'Order Number'
172
+ })
173
+ }
174
+ </span>
175
+ <span className='font-normal block'>
176
+ DEV123123123 at Nov 8, 2024
177
+ </span>
178
+ </p>
179
+ </div>
180
+ <div className='block'>
181
+ <p className='text-[13px] text-colorDefault flex justify-between'>
182
+ <span className='font-medium block'>
183
+ {
184
+ formatMessage({
185
+ id: 'RMA.dateRequested',
186
+ defaultMessage: 'Date Requested'
187
+ })
188
+ }
189
+ </span>
190
+ <span className='font-normal block'>
191
+ Nov 17, 2024
192
+ </span>
193
+ </p>
194
+ </div>
195
+ </div>
196
+ <div className='relative flex w-full md_w-6/12 flex-col md_mb-0'>
197
+ <div className='flex flex-col'>
198
+ <p className='text-[13px] text-colorDefault flex justify-between'>
199
+ <span className='font-medium block'>
200
+ {
201
+ formatMessage({
202
+ id: 'RMA.ContactInformation',
203
+ defaultMessage: 'Contact Information'
204
+ })
205
+ }
206
+ </span>
207
+ </p>
208
+ <p className='text-[13px] text-colorDefault whitespace-pre-wrap'>
209
+ John Doe{'\n'}
210
+ johndoe@email.com{'\n'}
211
+ 1233123412{'\n'}
212
+ 6164 Honey Bluff Parkway{'\n'}
213
+ Calder{'\n'}
214
+ Michigan{'\n'}
215
+ UnitedState{'\n'}
216
+ </p>
217
+ </div>
218
+ </div>
219
+ {/* <div className='relative flex w-full md_w-6/12 justify-center flex-col mb-10 md_mb-0'>
220
+ <Image
221
+ alt='product image'
222
+ className="relative max-w-[300px]"
223
+ src={urlImage}
224
+ classes={{
225
+ root: ' relative self-center mb-5'
226
+ }}
227
+ />
228
+
229
+ <p className='text-[16px] font-medium text-colorDefault text-center'>
230
+ $60.00
231
+ </p>
232
+
233
+ <Link to="/pop-mart-star-wars-series-blind-box-confirmed-figures-designer-art-new-toys-gift.html" className="max-w-[360px] self-center mb-5">
234
+ <span className=" text-[13px] block text-center font-medium text-colorDefault w-full">
235
+ POP MART Star Wars Series Blind Box Confirmed Figures Designer Art New Toys Gift
236
+ </span>
237
+ </Link>
238
+ <Button
239
+ priority='high'
240
+ classes={{
241
+ content: 'capitalize text-[16px] font-semibold'
242
+ }}
243
+ >
244
+ {
245
+ formatMessage({
246
+ id: 'Quotes.addToCart',
247
+ defaultMessage: 'Add To Cart'
248
+ })
249
+ }
250
+ </Button>
251
+ </div> */}
252
+ </div>
253
+ </div>
254
+ <div className=' flex flex-col'>
255
+ <div aria-live="polite" className="text-lg font-medium text-left mb-4">
256
+ Items
257
+ </div>
258
+ <div className='border-t border-gray-100 py-4 flex flex-col gap-y-4'>
259
+ {[...Array(2)].map((item) => (
260
+ <Item />
261
+ ))}
262
+ </div>
263
+ </div>
264
+ <div className=' flex flex-col mb-10'>
265
+ <div aria-live="polite" className="text-lg font-medium text-left mb-4">
266
+ Messages
267
+ </div>
268
+ <div className='rounded-md border border-gray-100 p-4 pr-0 pt-0 flex flex-col gap-y-6'>
269
+ <div className='max-h-[600px] overflow-auto relative chat-container pr-4 pt-4'>
270
+ <ChatContent chatData={dummyChat} />
271
+ </div>
272
+ <div className='flex gap-2 pr-4'>
273
+ <textarea
274
+ className='w-full focus-visible_outline-none border border-gray-100 p-1 rounded-md'
275
+ cols={5}
276
+ />
277
+ <Button
278
+ priority='high'
279
+ classes={{
280
+ content: "flex justify-center gap-x-2.5 items-center text-[14px] font-medium capitalize"
281
+ }}
282
+ className={cn(
283
+ "bg-blue-600 px-6 py-2 rounded-full text-white border ",
284
+ "border-blue-600 hover_bg-blue-700 hover_border-blue-700 focus-visible_outline-none"
285
+ )}
286
+ >
287
+ <Send
288
+ size="24"
289
+ className='text-white'
290
+ />
291
+ </Button>
292
+ </div>
293
+ </div>
294
+ </div>
295
+ <style jsx>
296
+ {`
297
+ .chat-container::-webkit-scrollbar {
298
+ width: 8px;
299
+ border-radius: 5px;
300
+ }
301
+
302
+ .chat-container::-webkit-scrollbar-track {
303
+ background: #f2f2f2;
304
+ border-radius: 8px;
305
+ }
306
+
307
+ .chat-container::-webkit-scrollbar-thumb {
308
+ background-color: #c3c3c3;
309
+ border-radius: 20px;
310
+ border: 2px solid #f2f2f2;
311
+ }
312
+ `}
313
+ </style>
314
+ </div>
315
+ )
316
+ }
317
+
318
+ export default RMADetail;
@@ -0,0 +1,14 @@
1
+ import AccountLayout from '@riosst100/pwa-marketplace/src/components/AccountLayout';
2
+ import RMADetail from '@riosst100/pwa-marketplace/src/components/RMAPage/RMADetail';
3
+
4
+ import React from 'react'
5
+
6
+ const index = () => {
7
+ return (
8
+ <AccountLayout>
9
+ <RMADetail />
10
+ </AccountLayout>
11
+ )
12
+ }
13
+
14
+ export default index;