pds-dev-kit-web-test 0.0.11 → 0.0.12

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 (364) hide show
  1. package/.vscode/settings.json +1 -1
  2. package/dist/index.d.ts +8 -6
  3. package/dist/index.js +17 -6
  4. package/dist/src/common/assets/icons/fill/Bookmark.d.ts +4 -0
  5. package/dist/src/common/assets/icons/fill/Bookmark.js +34 -0
  6. package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
  7. package/dist/src/common/assets/icons/fill/index.js +2 -0
  8. package/dist/src/common/assets/icons/line/BellNotification.js +2 -2
  9. package/dist/src/common/assets/icons/line/Bookmark.d.ts +4 -0
  10. package/dist/src/common/assets/icons/line/Bookmark.js +34 -0
  11. package/dist/src/common/assets/icons/line/HeartCare.d.ts +4 -0
  12. package/dist/src/common/assets/icons/line/HeartCare.js +36 -0
  13. package/dist/src/common/assets/icons/line/PhotoMultiple.d.ts +4 -0
  14. package/dist/src/common/assets/icons/line/PhotoMultiple.js +37 -0
  15. package/dist/src/common/assets/icons/line/PostArticle.d.ts +4 -0
  16. package/dist/src/common/assets/icons/line/PostArticle.js +36 -0
  17. package/dist/src/common/assets/icons/line/Unlock.d.ts +4 -0
  18. package/dist/src/common/assets/icons/line/Unlock.js +36 -0
  19. package/dist/src/common/assets/icons/line/VodShorts.d.ts +4 -0
  20. package/dist/src/common/assets/icons/line/VodShorts.js +36 -0
  21. package/dist/src/common/assets/icons/line/index.d.ts +6 -0
  22. package/dist/src/common/assets/icons/line/index.js +12 -0
  23. package/dist/src/common/assets/lotties/Confetti.json +1 -0
  24. package/dist/src/common/assets/lotties/Fire.json +1 -0
  25. package/dist/src/common/assets/lotties/Heart.json +1 -0
  26. package/dist/src/common/assets/lotties/Sad.json +1 -0
  27. package/dist/src/common/assets/lotties/ThumbUp.json +1 -0
  28. package/dist/src/common/assets/lotties/index.d.ts +2513 -0
  29. package/dist/src/common/assets/lotties/index.js +18 -0
  30. package/dist/src/common/components/CircularProgress/CircularProgress.d.ts +8 -0
  31. package/dist/src/common/components/CircularProgress/CircularProgress.js +74 -0
  32. package/dist/src/common/components/CircularProgress/index.d.ts +1 -0
  33. package/dist/src/common/components/CircularProgress/index.js +8 -0
  34. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +7 -0
  35. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +26 -0
  36. package/dist/src/common/components/ThreeBarProgress/index.d.ts +1 -0
  37. package/dist/src/common/components/ThreeBarProgress/index.js +8 -0
  38. package/dist/src/common/components/index.d.ts +3 -1
  39. package/dist/src/common/components/index.js +5 -1
  40. package/dist/src/common/styles/ToneTest/ToneTest.js +12 -0
  41. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +33 -1
  42. package/dist/src/common/styles/colorSet/PaletteColor_light.json +33 -1
  43. package/dist/src/common/styles/colorSet/SemanticColor.json +13 -1
  44. package/dist/src/common/styles/colorSet/UIColor.json +62 -2
  45. package/dist/src/common/styles/colorSet/index.d.ts +316 -180
  46. package/dist/src/common/styles/colorSet/index.js +3 -3
  47. package/dist/src/common/styles/colorSet/ui-type.d.ts +60 -0
  48. package/dist/src/common/styles/index.d.ts +49 -0
  49. package/dist/src/common/styles/index.js +9 -1
  50. package/dist/src/common/styles/loading/index.d.ts +1 -0
  51. package/dist/src/common/styles/loading/index.js +5 -0
  52. package/dist/src/common/styles/loading/skeletonLoadingStyle.d.ts +1 -0
  53. package/dist/src/common/styles/loading/skeletonLoadingStyle.js +28 -0
  54. package/dist/src/common/types/components.d.ts +1 -1
  55. package/dist/src/common/utils/numberHelper.d.ts +2 -0
  56. package/dist/src/common/utils/numberHelper.js +11 -0
  57. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -1
  58. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +8 -4
  59. package/dist/src/desktop/components/AdminList/AdminList.d.ts +2 -1
  60. package/dist/src/desktop/components/AdminList/AdminList.js +7 -4
  61. package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +2 -1
  62. package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
  63. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +4 -3
  64. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +30 -6
  65. package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.d.ts +1 -1
  66. package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.js +7 -3
  67. package/dist/src/desktop/components/BasicList/BasicList.d.ts +2 -1
  68. package/dist/src/desktop/components/BasicList/BasicList.js +4 -4
  69. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +5 -1
  70. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +58 -22
  71. package/dist/src/desktop/components/Card/Card.d.ts +2 -2
  72. package/dist/src/desktop/components/Card/Card.js +2 -2
  73. package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
  74. package/dist/src/desktop/components/ChatList/Body.js +2 -1
  75. package/dist/src/desktop/components/ChatList/ChatList.d.ts +2 -1
  76. package/dist/src/desktop/components/ChatList/ChatList.js +8 -8
  77. package/dist/src/desktop/components/ChatList/ChatTextField.d.ts +2 -2
  78. package/dist/src/desktop/components/ChatList/ChatTextField.js +2 -2
  79. package/dist/src/desktop/components/ChatList/Footer.d.ts +2 -2
  80. package/dist/src/desktop/components/ChatList/Footer.js +2 -2
  81. package/dist/src/desktop/components/ChatList/Header.d.ts +2 -2
  82. package/dist/src/desktop/components/ChatList/Header.js +5 -5
  83. package/dist/src/desktop/components/Chip/Chip.d.ts +7 -5
  84. package/dist/src/desktop/components/Chip/Chip.js +16 -17
  85. package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.d.ts +3 -3
  86. package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
  87. package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.d.ts +4 -1
  88. package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.js +28 -11
  89. package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/PrimaryMenu.js +1 -1
  90. package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.d.ts +4 -2
  91. package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.js +8 -4
  92. package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/InternalLinkMenuItemNav.js +4 -1
  93. package/dist/src/desktop/components/DynamicDesktopNavBar/utils.d.ts +1 -0
  94. package/dist/src/desktop/components/DynamicDesktopNavBar/utils.js +19 -0
  95. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +1 -1
  96. package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.d.ts +3 -3
  97. package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +4 -4
  98. package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.d.ts +18 -0
  99. package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.js +154 -0
  100. package/dist/src/desktop/components/LottieReactionButton/index.d.ts +1 -0
  101. package/dist/src/desktop/components/LottieReactionButton/index.js +8 -0
  102. package/dist/src/desktop/components/MainButton/MainButton.d.ts +6 -4
  103. package/dist/src/desktop/components/MainButton/MainButton.js +47 -15
  104. package/dist/src/desktop/components/ReactionButton/ReactionButton.d.ts +4 -4
  105. package/dist/src/desktop/components/ReactionButton/ReactionButton.js +10 -20
  106. package/dist/src/desktop/components/TextButton/TextButton.d.ts +2 -2
  107. package/dist/src/desktop/components/TextButton/TextButton.js +2 -2
  108. package/dist/src/desktop/components/TextField/TextField.d.ts +1 -1
  109. package/dist/src/desktop/components/TextField/TextField.js +81 -31
  110. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +1 -0
  111. package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +3 -1
  112. package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +72 -31
  113. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +1 -0
  114. package/dist/src/desktop/components/index.d.ts +2 -1
  115. package/dist/src/desktop/components/index.js +3 -1
  116. package/dist/src/desktop/index.d.ts +4 -4
  117. package/dist/src/desktop/index.js +6 -2
  118. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.d.ts +3 -1
  119. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.js +24 -24
  120. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.d.ts +2 -1
  121. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +8 -6
  122. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.d.ts +2 -1
  123. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +4 -3
  124. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.d.ts +2 -1
  125. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.js +4 -4
  126. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.d.ts +2 -1
  127. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.js +4 -4
  128. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.d.ts +2 -1
  129. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +4 -3
  130. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.d.ts +2 -1
  131. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.js +4 -4
  132. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.d.ts +3 -1
  133. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.js +6 -7
  134. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.d.ts +2 -1
  135. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.js +4 -4
  136. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.d.ts +3 -1
  137. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.js +6 -7
  138. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.d.ts +2 -1
  139. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.js +4 -4
  140. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.d.ts +3 -1
  141. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.js +6 -7
  142. package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.d.ts +3 -1
  143. package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.js +3 -3
  144. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +4 -2
  145. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +19 -18
  146. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.d.ts +2 -1
  147. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.js +4 -4
  148. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.d.ts +2 -1
  149. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.js +4 -4
  150. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.d.ts +2 -1
  151. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.js +4 -4
  152. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.d.ts +2 -1
  153. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.js +4 -4
  154. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.d.ts +2 -1
  155. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.js +5 -5
  156. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.d.ts +3 -1
  157. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +6 -7
  158. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.d.ts +3 -1
  159. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +6 -7
  160. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSH.d.ts +12 -0
  161. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSH.js +80 -0
  162. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.d.ts +1 -0
  163. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.js +3 -1
  164. package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +4 -2
  165. package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.js +2 -2
  166. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +4 -2
  167. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +44 -43
  168. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.d.ts +2 -1
  169. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.js +4 -4
  170. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.d.ts +2 -1
  171. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.js +4 -4
  172. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.d.ts +2 -1
  173. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.js +4 -4
  174. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.d.ts +3 -1
  175. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.js +6 -7
  176. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.d.ts +2 -1
  177. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.js +4 -4
  178. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.d.ts +3 -1
  179. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.js +6 -7
  180. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.d.ts +2 -1
  181. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.js +4 -4
  182. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.d.ts +2 -1
  183. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.js +4 -4
  184. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.d.ts +2 -1
  185. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.js +4 -4
  186. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTJ.d.ts +3 -1
  187. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTJ.js +6 -7
  188. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.d.ts +5 -3
  189. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.js +48 -13
  190. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTL.d.ts +2 -1
  191. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTL.js +4 -4
  192. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.d.ts +2 -1
  193. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.js +4 -4
  194. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.d.ts +2 -1
  195. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.js +4 -4
  196. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTO.d.ts +2 -1
  197. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTO.js +4 -4
  198. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTP.d.ts +2 -1
  199. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTP.js +4 -4
  200. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.d.ts +3 -1
  201. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.js +6 -7
  202. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.d.ts +2 -1
  203. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.js +4 -3
  204. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTT.d.ts +2 -1
  205. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTT.js +4 -3
  206. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.d.ts +3 -1
  207. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +6 -7
  208. package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +4 -2
  209. package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +6 -2
  210. package/dist/src/desktop/panels/AnnotationSheet/AnnotationSheet.d.ts +57 -0
  211. package/dist/src/desktop/panels/AnnotationSheet/AnnotationSheet.js +134 -0
  212. package/dist/src/desktop/panels/AnnotationSheet/index.d.ts +1 -0
  213. package/dist/src/desktop/panels/AnnotationSheet/index.js +8 -0
  214. package/dist/src/desktop/panels/ContentSheet/ContentSheet.d.ts +60 -0
  215. package/dist/src/desktop/panels/ContentSheet/ContentSheet.js +142 -0
  216. package/dist/src/desktop/panels/ContentSheet/index.d.ts +1 -0
  217. package/dist/src/desktop/panels/ContentSheet/index.js +8 -0
  218. package/dist/src/desktop/panels/SectionSheet/SectionSheet.d.ts +57 -0
  219. package/dist/src/desktop/panels/SectionSheet/SectionSheet.js +134 -0
  220. package/dist/src/desktop/panels/SectionSheet/index.d.ts +1 -0
  221. package/dist/src/desktop/panels/SectionSheet/index.js +8 -0
  222. package/dist/src/desktop/panels/index.d.ts +4 -1
  223. package/dist/src/desktop/panels/index.js +7 -1
  224. package/dist/src/hybrid/components/Divider/Divider.d.ts +1 -1
  225. package/dist/src/hybrid/components/Divider/Divider.js +17 -4
  226. package/dist/src/hybrid/components/Icon/Icon.js +2 -1
  227. package/dist/src/hybrid/components/ImageView/ImageView.d.ts +3 -2
  228. package/dist/src/hybrid/components/ImageView/ImageView.js +38 -4
  229. package/dist/src/hybrid/components/LinearProgress/LinearProgress.d.ts +6 -0
  230. package/dist/src/hybrid/components/LinearProgress/LinearProgress.js +29 -0
  231. package/dist/src/hybrid/components/LinearProgress/index.d.ts +1 -0
  232. package/dist/src/hybrid/components/LinearProgress/index.js +8 -0
  233. package/dist/src/hybrid/components/LottieIcon/LottieIcon.d.ts +13 -0
  234. package/dist/src/hybrid/components/LottieIcon/LottieIcon.js +34 -0
  235. package/dist/src/hybrid/components/LottieIcon/index.d.ts +1 -0
  236. package/dist/src/hybrid/components/LottieIcon/index.js +8 -0
  237. package/dist/src/hybrid/components/index.d.ts +3 -1
  238. package/dist/src/hybrid/components/index.js +5 -1
  239. package/dist/src/hybrid/index.d.ts +2 -2
  240. package/dist/src/hybrid/index.js +3 -1
  241. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -1
  242. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +8 -4
  243. package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.d.ts +1 -1
  244. package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.js +7 -3
  245. package/dist/src/mobile/components/BasicList/BasicList.d.ts +2 -1
  246. package/dist/src/mobile/components/BasicList/BasicList.js +4 -4
  247. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +4 -1
  248. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +58 -22
  249. package/dist/src/mobile/components/Card/Card.d.ts +2 -2
  250. package/dist/src/mobile/components/Card/Card.js +2 -2
  251. package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
  252. package/dist/src/mobile/components/ChatList/Body.js +2 -1
  253. package/dist/src/mobile/components/ChatList/ChatList.d.ts +2 -1
  254. package/dist/src/mobile/components/ChatList/ChatList.js +8 -8
  255. package/dist/src/mobile/components/ChatList/ChatTextField.d.ts +2 -2
  256. package/dist/src/mobile/components/ChatList/ChatTextField.js +2 -2
  257. package/dist/src/mobile/components/ChatList/Footer.d.ts +2 -2
  258. package/dist/src/mobile/components/ChatList/Footer.js +2 -2
  259. package/dist/src/mobile/components/ChatList/Header.d.ts +2 -2
  260. package/dist/src/mobile/components/ChatList/Header.js +5 -5
  261. package/dist/src/mobile/components/Chip/Chip.d.ts +7 -5
  262. package/dist/src/mobile/components/Chip/Chip.js +16 -17
  263. package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
  264. package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.d.ts +16 -0
  265. package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.js +89 -0
  266. package/dist/src/mobile/components/FloatingActionButton/index.d.ts +1 -0
  267. package/dist/src/mobile/components/FloatingActionButton/index.js +8 -0
  268. package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.d.ts +20 -0
  269. package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.js +157 -0
  270. package/dist/src/mobile/components/LottieReactionButton/index.d.ts +1 -0
  271. package/dist/src/mobile/components/LottieReactionButton/index.js +8 -0
  272. package/dist/src/mobile/components/MainButton/MainButton.d.ts +6 -4
  273. package/dist/src/mobile/components/MainButton/MainButton.js +46 -15
  274. package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.d.ts +3 -3
  275. package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +4 -4
  276. package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.js +6 -6
  277. package/dist/src/mobile/components/ReactionButton/ReactionButton.d.ts +4 -4
  278. package/dist/src/mobile/components/ReactionButton/ReactionButton.js +10 -20
  279. package/dist/src/mobile/components/TextButton/TextButton.d.ts +2 -2
  280. package/dist/src/mobile/components/TextButton/TextButton.js +2 -2
  281. package/dist/src/mobile/components/TextField/TextField.d.ts +1 -1
  282. package/dist/src/mobile/components/TextField/TextField.js +81 -31
  283. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +1 -0
  284. package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +3 -1
  285. package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +58 -21
  286. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +1 -0
  287. package/dist/src/mobile/components/index.d.ts +3 -1
  288. package/dist/src/mobile/components/index.js +5 -1
  289. package/dist/src/mobile/index.d.ts +4 -4
  290. package/dist/src/mobile/index.js +6 -1
  291. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/ContentsContainer.d.ts +3 -1
  292. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/ContentsContainer.js +8 -8
  293. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.d.ts +2 -1
  294. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +4 -4
  295. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.d.ts +3 -1
  296. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +6 -7
  297. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.d.ts +2 -1
  298. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +4 -4
  299. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.d.ts +2 -1
  300. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +4 -4
  301. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.d.ts +3 -1
  302. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +6 -7
  303. package/dist/src/mobile/layout/LayoutMF/ContainersBox/ContainersBox.d.ts +3 -1
  304. package/dist/src/mobile/layout/LayoutMF/ContainersBox/ContainersBox.js +2 -2
  305. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/ContentsContainer.d.ts +2 -1
  306. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/ContentsContainer.js +3 -3
  307. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.d.ts +2 -1
  308. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +4 -4
  309. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.d.ts +2 -1
  310. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +4 -4
  311. package/dist/src/mobile/layout/LayoutMM/ContainersBox/ContainersBox.d.ts +2 -1
  312. package/dist/src/mobile/layout/LayoutMM/ContainersBox/ContainersBox.js +2 -2
  313. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/ContentsContainer.d.ts +3 -1
  314. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/ContentsContainer.js +9 -9
  315. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.d.ts +2 -1
  316. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +4 -4
  317. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.d.ts +2 -1
  318. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +4 -4
  319. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.d.ts +3 -1
  320. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +6 -7
  321. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.d.ts +2 -1
  322. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +4 -4
  323. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.d.ts +2 -1
  324. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +4 -4
  325. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.d.ts +3 -1
  326. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +6 -7
  327. package/dist/src/mobile/layout/LayoutMP/ContainersBox/ContainersBox.d.ts +3 -1
  328. package/dist/src/mobile/layout/LayoutMP/ContainersBox/ContainersBox.js +2 -2
  329. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.d.ts +3 -1
  330. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.js +11 -11
  331. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.d.ts +2 -1
  332. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +4 -4
  333. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.d.ts +2 -1
  334. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +4 -4
  335. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.d.ts +3 -1
  336. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +6 -7
  337. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.d.ts +2 -1
  338. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +4 -4
  339. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.d.ts +2 -1
  340. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +4 -4
  341. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.d.ts +3 -1
  342. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +6 -7
  343. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.d.ts +2 -1
  344. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +4 -4
  345. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.d.ts +2 -1
  346. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +4 -4
  347. package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.d.ts +3 -1
  348. package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.js +2 -2
  349. package/dist/src/mobile/panels/AnnotationSheet/AnnotationSheet.d.ts +56 -0
  350. package/dist/src/mobile/panels/AnnotationSheet/AnnotationSheet.js +131 -0
  351. package/dist/src/mobile/panels/AnnotationSheet/index.d.ts +1 -0
  352. package/dist/src/mobile/panels/AnnotationSheet/index.js +8 -0
  353. package/dist/src/mobile/panels/ContentSheet/ContentSheet.d.ts +59 -0
  354. package/dist/src/mobile/panels/ContentSheet/ContentSheet.js +139 -0
  355. package/dist/src/mobile/panels/ContentSheet/index.d.ts +1 -0
  356. package/dist/src/mobile/panels/ContentSheet/index.js +8 -0
  357. package/dist/src/mobile/panels/SectionSheet/SectionSheet.d.ts +56 -0
  358. package/dist/src/mobile/panels/SectionSheet/SectionSheet.js +131 -0
  359. package/dist/src/mobile/panels/SectionSheet/index.d.ts +1 -0
  360. package/dist/src/mobile/panels/SectionSheet/index.js +8 -0
  361. package/dist/src/mobile/panels/index.d.ts +4 -1
  362. package/dist/src/mobile/panels/index.js +7 -1
  363. package/package.json +2 -1
  364. package/release-note.md +9 -5
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PDSTextType } from '../../../common';
3
3
  export declare type CardProps = {
4
4
  titleText?: PDSTextType;
@@ -6,7 +6,7 @@ export declare type CardProps = {
6
6
  imageIconMode?: 'none' | 'image' | 'icon';
7
7
  imageSrc?: string;
8
8
  selectState?: 'unselected' | 'selected';
9
- onClick?: () => void;
9
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
10
10
  };
11
11
  declare function Card({ titleText, descText, imageIconMode, imageSrc, selectState, onClick }: CardProps): JSX.Element;
12
12
  export default Card;
@@ -13,9 +13,9 @@ var hybrid_1 = require("../../../hybrid");
13
13
  var TextLabel_1 = require("../TextLabel");
14
14
  function Card(_a) {
15
15
  var titleText = _a.titleText, descText = _a.descText, _b = _a.imageIconMode, imageIconMode = _b === void 0 ? 'none' : _b, imageSrc = _a.imageSrc, _c = _a.selectState, selectState = _c === void 0 ? 'unselected' : _c, onClick = _a.onClick;
16
- var handleClick = function () {
16
+ var handleClick = function (e) {
17
17
  if (onClick) {
18
- onClick();
18
+ onClick(e);
19
19
  }
20
20
  };
21
21
  return (react_1.default.createElement(S_CardGroups, { selectState: selectState, onClick: handleClick },
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Props as ChatListProps } from './ChatList';
3
- declare const Body: React.ForwardRefExoticComponent<Pick<ChatListProps, "children" | "scrollVisibleType" | "bodyMBtnText" | "bodySpacingMode"> & {
3
+ declare const Body: React.ForwardRefExoticComponent<Pick<ChatListProps, "children" | "scrollVisibleType" | "bodyMBtnText" | "bodySpacingMode" | "bodyChildren"> & {
4
4
  isSubmitted: boolean;
5
5
  callBackAfterScrollToBottom: () => void;
6
6
  } & React.RefAttributes<HTMLDivElement>>;
@@ -31,7 +31,7 @@ var styled_components_1 = __importStar(require("styled-components"));
31
31
  var MainButton_1 = require("../MainButton");
32
32
  var useAutoScrollToBottom_1 = __importDefault(require("./useAutoScrollToBottom"));
33
33
  var Body = react_1.default.forwardRef(function (_a, ref) {
34
- var scrollVisibleType = _a.scrollVisibleType, children = _a.children, isSubmitted = _a.isSubmitted, bodyMBtnText = _a.bodyMBtnText, bodySpacingMode = _a.bodySpacingMode, callBackAfterScrollToBottom = _a.callBackAfterScrollToBottom;
34
+ var bodyChildren = _a.bodyChildren, scrollVisibleType = _a.scrollVisibleType, children = _a.children, isSubmitted = _a.isSubmitted, bodyMBtnText = _a.bodyMBtnText, bodySpacingMode = _a.bodySpacingMode, callBackAfterScrollToBottom = _a.callBackAfterScrollToBottom;
35
35
  var _b = (0, react_1.useState)(false), isButtonShow = _b[0], setIsButtonShow = _b[1];
36
36
  var _c = (0, useAutoScrollToBottom_1.default)(), triggerScrollToBottom = _c.triggerScrollToBottom, EndOfList = _c.EndOfList;
37
37
  /**
@@ -73,6 +73,7 @@ var Body = react_1.default.forwardRef(function (_a, ref) {
73
73
  react_1.default.createElement(S_ChatMessageBox, { id: "chatMessageBox", onScroll: handleScroll, scrollVisibleType: scrollVisibleType, ref: ref },
74
74
  children,
75
75
  react_1.default.createElement(EndOfList, null)),
76
+ bodyChildren,
76
77
  isButtonShow && (react_1.default.createElement(S_BottomButtonWrapper, null,
77
78
  react_1.default.createElement(MainButton_1.MainButton, { text: bodyMBtnText, size: "small", onClick: handleClickMBtn })))));
78
79
  });
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FillIconNameKeys, LineIconNameKeys, PDSTextType } from '../../../common';
3
3
  export declare type Props = {
4
- styleTheme?: 'solid' | 'translucent' | 'transparent';
4
+ colorTheme?: 'solid' | 'translucent' | 'transparent';
5
5
  headerMode?: 'none' | 'use';
6
6
  titleText?: PDSTextType;
7
7
  descText?: PDSTextType;
@@ -11,6 +11,7 @@ export declare type Props = {
11
11
  headerIBtn1IconName?: FillIconNameKeys | LineIconNameKeys;
12
12
  headerIBtn1IconFillType?: 'line' | 'fill';
13
13
  children?: React.ReactNode;
14
+ bodyChildren?: React.ReactNode;
14
15
  textFieldState?: 'normal' | 'read_only' | 'disabled';
15
16
  textFieldHintText?: PDSTextType;
16
17
  textFieldDefaultText?: PDSTextType;
@@ -47,10 +47,10 @@ var Header_1 = __importDefault(require("./Header"));
47
47
  var baseBackgroundColors = {
48
48
  solid: 'ui_cpnt_list_base_area_solid',
49
49
  translucent: 'ui_cpnt_list_base_area_translucent',
50
- transparent: 'ui_cpnt_list_base_area_translucent'
50
+ transparent: 'ui_cpnt_list_base_area_transparent'
51
51
  };
52
52
  var ChatList = react_1.default.forwardRef(function (_a, ref) {
53
- var _b = _a.styleTheme, styleTheme = _b === void 0 ? 'solid' : _b, _c = _a.headerMode, headerMode = _c === void 0 ? 'use' : _c, titleText = _a.titleText, descText = _a.descText, captionText = _a.captionText, _d = _a.titleStyleTheme, titleStyleTheme = _d === void 0 ? 'subTitleBold' : _d, _e = _a.headerDisplayType, headerDisplayType = _e === void 0 ? 'none' : _e, _f = _a.headerIBtn1IconName, headerIBtn1IconName = _f === void 0 ? 'ic_xmark' : _f, _g = _a.headerIBtn1IconFillType, headerIBtn1IconFillType = _g === void 0 ? 'line' : _g, children = _a.children, _h = _a.textFieldState, textFieldState = _h === void 0 ? 'normal' : _h, textFieldHintText = _a.textFieldHintText, textFieldDefaultText = _a.textFieldDefaultText, textFieldMaxLength = _a.textFieldMaxLength, _j = _a.scrollVisibleType, scrollVisibleType = _j === void 0 ? 'moving' : _j, footerChildren = _a.footerChildren, _k = _a.submitIBtnState, submitIBtnState = _k === void 0 ? 'normal' : _k, bodyMBtnText = _a.bodyMBtnText, _l = _a.bodySpacingMode, bodySpacingMode = _l === void 0 ? 'none' : _l, onSubmit = _a.onSubmit, onClickHeaderIBtn1 = _a.onClickHeaderIBtn1, submitIBtnIconName = _a.submitIBtnIconName, submitIBtnIconFillType = _a.submitIBtnIconFillType, _m = _a.footerIBtn1State, footerIBtn1State = _m === void 0 ? 'normal' : _m, footerIBtn1IconName = _a.footerIBtn1IconName, footerIBtn1IconFillType = _a.footerIBtn1IconFillType, _o = _a.footerIBtn1Type, footerIBtn1Type = _o === void 0 ? 'button' : _o, onClickFooterIBtn1 = _a.onClickFooterIBtn1, _p = _a.footerIBtn2State, footerIBtn2State = _p === void 0 ? 'normal' : _p, footerIBtn2IconName = _a.footerIBtn2IconName, footerIBtn2IconFillType = _a.footerIBtn2IconFillType, _q = _a.footerIBtn2Type, footerIBtn2Type = _q === void 0 ? 'button' : _q, onClickFooterIBtn2 = _a.onClickFooterIBtn2, _r = _a.footerIBtn3State, footerIBtn3State = _r === void 0 ? 'normal' : _r, footerIBtn3IconName = _a.footerIBtn3IconName, footerIBtn3IconFillType = _a.footerIBtn3IconFillType, _s = _a.footerIBtn3Type, footerIBtn3Type = _s === void 0 ? 'button' : _s, footerIBtn3Accept = _a.footerIBtn3Accept, onClickFooterIBtn3 = _a.onClickFooterIBtn3;
53
+ var _b = _a.colorTheme, colorTheme = _b === void 0 ? 'solid' : _b, _c = _a.headerMode, headerMode = _c === void 0 ? 'use' : _c, titleText = _a.titleText, descText = _a.descText, captionText = _a.captionText, _d = _a.titleStyleTheme, titleStyleTheme = _d === void 0 ? 'subTitleBold' : _d, _e = _a.headerDisplayType, headerDisplayType = _e === void 0 ? 'none' : _e, _f = _a.headerIBtn1IconName, headerIBtn1IconName = _f === void 0 ? 'ic_xmark' : _f, _g = _a.headerIBtn1IconFillType, headerIBtn1IconFillType = _g === void 0 ? 'line' : _g, children = _a.children, bodyChildren = _a.bodyChildren, _h = _a.textFieldState, textFieldState = _h === void 0 ? 'normal' : _h, textFieldHintText = _a.textFieldHintText, textFieldDefaultText = _a.textFieldDefaultText, textFieldMaxLength = _a.textFieldMaxLength, _j = _a.scrollVisibleType, scrollVisibleType = _j === void 0 ? 'moving' : _j, footerChildren = _a.footerChildren, _k = _a.submitIBtnState, submitIBtnState = _k === void 0 ? 'normal' : _k, bodyMBtnText = _a.bodyMBtnText, _l = _a.bodySpacingMode, bodySpacingMode = _l === void 0 ? 'none' : _l, onSubmit = _a.onSubmit, onClickHeaderIBtn1 = _a.onClickHeaderIBtn1, submitIBtnIconName = _a.submitIBtnIconName, submitIBtnIconFillType = _a.submitIBtnIconFillType, _m = _a.footerIBtn1State, footerIBtn1State = _m === void 0 ? 'normal' : _m, footerIBtn1IconName = _a.footerIBtn1IconName, footerIBtn1IconFillType = _a.footerIBtn1IconFillType, _o = _a.footerIBtn1Type, footerIBtn1Type = _o === void 0 ? 'button' : _o, onClickFooterIBtn1 = _a.onClickFooterIBtn1, _p = _a.footerIBtn2State, footerIBtn2State = _p === void 0 ? 'normal' : _p, footerIBtn2IconName = _a.footerIBtn2IconName, footerIBtn2IconFillType = _a.footerIBtn2IconFillType, _q = _a.footerIBtn2Type, footerIBtn2Type = _q === void 0 ? 'button' : _q, onClickFooterIBtn2 = _a.onClickFooterIBtn2, _r = _a.footerIBtn3State, footerIBtn3State = _r === void 0 ? 'normal' : _r, footerIBtn3IconName = _a.footerIBtn3IconName, footerIBtn3IconFillType = _a.footerIBtn3IconFillType, _s = _a.footerIBtn3Type, footerIBtn3Type = _s === void 0 ? 'button' : _s, footerIBtn3Accept = _a.footerIBtn3Accept, onClickFooterIBtn3 = _a.onClickFooterIBtn3;
54
54
  var methods = (0, react_hook_form_1.useForm)({
55
55
  mode: 'onChange',
56
56
  defaultValues: {
@@ -85,16 +85,16 @@ var ChatList = react_1.default.forwardRef(function (_a, ref) {
85
85
  var callBackAfterScrollToBottom = function () {
86
86
  reset();
87
87
  };
88
- return (react_1.default.createElement(S_ChatList, { backgroundColor: baseBackgroundColors[styleTheme], id: "chatList" },
88
+ return (react_1.default.createElement(S_ChatList, { backgroundColor: baseBackgroundColors[colorTheme], id: "chatList" },
89
89
  headerMode === 'use' && (react_1.default.createElement(react_1.default.Fragment, null,
90
- react_1.default.createElement(Header_1.default, { styleTheme: styleTheme, titleText: titleText, descText: descText, captionText: captionText, titleStyleTheme: titleStyleTheme, headerDisplayType: headerDisplayType, headerIBtn1IconName: headerIBtn1IconName, headerIBtn1IconFillType: headerIBtn1IconFillType, onClickHeaderIBtn1: onClickHeaderIBtn1 }),
91
- react_1.default.createElement(hybrid_1.Divider, null))),
92
- react_1.default.createElement(Body_1.default, { scrollVisibleType: scrollVisibleType, isSubmitted: isSubmitSuccessful, bodyMBtnText: bodyMBtnText, bodySpacingMode: bodySpacingMode, callBackAfterScrollToBottom: callBackAfterScrollToBottom, ref: ref }, children),
93
- react_1.default.createElement(hybrid_1.Divider, null),
90
+ react_1.default.createElement(Header_1.default, { colorTheme: colorTheme, titleText: titleText, descText: descText, captionText: captionText, titleStyleTheme: titleStyleTheme, headerDisplayType: headerDisplayType, headerIBtn1IconName: headerIBtn1IconName, headerIBtn1IconFillType: headerIBtn1IconFillType, onClickHeaderIBtn1: onClickHeaderIBtn1 }),
91
+ react_1.default.createElement(hybrid_1.Divider, { colorTheme: colorTheme === 'transparent' ? 'divider2' : 'none' }))),
92
+ react_1.default.createElement(Body_1.default, { scrollVisibleType: scrollVisibleType, isSubmitted: isSubmitSuccessful, bodyMBtnText: bodyMBtnText, bodySpacingMode: bodySpacingMode, callBackAfterScrollToBottom: callBackAfterScrollToBottom, bodyChildren: bodyChildren, ref: ref }, children),
93
+ react_1.default.createElement(hybrid_1.Divider, { colorTheme: colorTheme === 'transparent' ? 'divider2' : 'none' }),
94
94
  react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d" }),
95
95
  react_1.default.createElement(react_hook_form_1.FormProvider, __assign({}, methods),
96
96
  react_1.default.createElement("form", { onSubmit: handleSubmit(handleSubmitChat) },
97
- react_1.default.createElement(Footer_1.default, { textFieldDefaultText: textFieldDefaultText, textFieldHintText: textFieldHintText, textFieldState: textFieldState, textFieldMaxLength: textFieldMaxLength, footerChildren: footerChildren, isSubmitBtnActive: isSubmitButtonActive, submitIBtnIconName: submitIBtnIconName, submitIBtnIconFillType: submitIBtnIconFillType, footerIBtn1State: footerIBtn1State, footerIBtn1IconName: footerIBtn1IconName, footerIBtn1IconFillType: footerIBtn1IconFillType, footerIBtn1Type: footerIBtn1Type, onClickFooterIBtn1: onClickFooterIBtn1, footerIBtn2State: footerIBtn2State, footerIBtn2IconName: footerIBtn2IconName, footerIBtn2IconFillType: footerIBtn2IconFillType, footerIBtn2Type: footerIBtn2Type, onClickFooterIBtn2: onClickFooterIBtn2, footerIBtn3State: footerIBtn3State, footerIBtn3IconName: footerIBtn3IconName, footerIBtn3IconFillType: footerIBtn3IconFillType, footerIBtn3Type: footerIBtn3Type, footerIBtn3Accept: footerIBtn3Accept, onClickFooterIBtn3: onClickFooterIBtn3 }))),
97
+ react_1.default.createElement(Footer_1.default, { colorTheme: colorTheme, textFieldDefaultText: textFieldDefaultText, textFieldHintText: textFieldHintText, textFieldState: textFieldState, textFieldMaxLength: textFieldMaxLength, footerChildren: footerChildren, isSubmitBtnActive: isSubmitButtonActive, submitIBtnIconName: submitIBtnIconName, submitIBtnIconFillType: submitIBtnIconFillType, footerIBtn1State: footerIBtn1State, footerIBtn1IconName: footerIBtn1IconName, footerIBtn1IconFillType: footerIBtn1IconFillType, footerIBtn1Type: footerIBtn1Type, onClickFooterIBtn1: onClickFooterIBtn1, footerIBtn2State: footerIBtn2State, footerIBtn2IconName: footerIBtn2IconName, footerIBtn2IconFillType: footerIBtn2IconFillType, footerIBtn2Type: footerIBtn2Type, onClickFooterIBtn2: onClickFooterIBtn2, footerIBtn3State: footerIBtn3State, footerIBtn3IconName: footerIBtn3IconName, footerIBtn3IconFillType: footerIBtn3IconFillType, footerIBtn3Type: footerIBtn3Type, footerIBtn3Accept: footerIBtn3Accept, onClickFooterIBtn3: onClickFooterIBtn3 }))),
98
98
  react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d" })));
99
99
  });
100
100
  var S_ChatList = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n"], ["\n background-color: ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n"])), function (_a) {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FillIconNameKeys, LineIconNameKeys } from '../../../common';
3
3
  import type { Props as ChatListProps } from './ChatList';
4
- declare type Props = Pick<ChatListProps, 'textFieldDefaultText' | 'textFieldHintText' | 'textFieldState' | 'textFieldMaxLength' | 'footerIBtn3Accept'> & {
4
+ declare type Props = Pick<ChatListProps, 'textFieldDefaultText' | 'textFieldHintText' | 'textFieldState' | 'textFieldMaxLength' | 'footerIBtn3Accept' | 'colorTheme'> & {
5
5
  isSubmitBtnActive?: boolean;
6
6
  submitIBtnIconName?: FillIconNameKeys | LineIconNameKeys;
7
7
  submitIBtnIconFillType?: 'fill' | 'line';
@@ -21,5 +21,5 @@ declare type Props = Pick<ChatListProps, 'textFieldDefaultText' | 'textFieldHint
21
21
  footerIBtn3Type?: 'button' | 'upload';
22
22
  onClickFooterIBtn3?: (e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
23
23
  };
24
- declare function ChatTextField({ textFieldDefaultText, textFieldHintText, textFieldState, textFieldMaxLength, isSubmitBtnActive, submitIBtnIconName, submitIBtnIconFillType, footerIBtn1State, footerIBtn1IconName, footerIBtn1IconFillType, footerIBtn1Type, onClickFooterIBtn1, footerIBtn2State, footerIBtn2IconName, footerIBtn2IconFillType, footerIBtn2Type, onClickFooterIBtn2, footerIBtn3State, footerIBtn3IconName, footerIBtn3IconFillType, footerIBtn3Type, footerIBtn3Accept, onClickFooterIBtn3 }: Props): JSX.Element;
24
+ declare function ChatTextField({ colorTheme, textFieldDefaultText, textFieldHintText, textFieldState, textFieldMaxLength, isSubmitBtnActive, submitIBtnIconName, submitIBtnIconFillType, footerIBtn1State, footerIBtn1IconName, footerIBtn1IconFillType, footerIBtn1Type, onClickFooterIBtn1, footerIBtn2State, footerIBtn2IconName, footerIBtn2IconFillType, footerIBtn2Type, onClickFooterIBtn2, footerIBtn3State, footerIBtn3IconName, footerIBtn3IconFillType, footerIBtn3Type, footerIBtn3Accept, onClickFooterIBtn3 }: Props): JSX.Element;
25
25
  export default ChatTextField;
@@ -13,7 +13,7 @@ var IconButton_1 = require("../IconButton");
13
13
  var TextField_1 = require("../TextField");
14
14
  var UploadIconButton_1 = require("../UploadIconButton");
15
15
  function ChatTextField(_a) {
16
- var textFieldDefaultText = _a.textFieldDefaultText, textFieldHintText = _a.textFieldHintText, textFieldState = _a.textFieldState, textFieldMaxLength = _a.textFieldMaxLength, isSubmitBtnActive = _a.isSubmitBtnActive, _b = _a.submitIBtnIconName, submitIBtnIconName = _b === void 0 ? 'ic_paper_plane' : _b, _c = _a.submitIBtnIconFillType, submitIBtnIconFillType = _c === void 0 ? 'fill' : _c, footerIBtn1State = _a.footerIBtn1State, footerIBtn1IconName = _a.footerIBtn1IconName, footerIBtn1IconFillType = _a.footerIBtn1IconFillType, footerIBtn1Type = _a.footerIBtn1Type, onClickFooterIBtn1 = _a.onClickFooterIBtn1, footerIBtn2State = _a.footerIBtn2State, footerIBtn2IconName = _a.footerIBtn2IconName, footerIBtn2IconFillType = _a.footerIBtn2IconFillType, footerIBtn2Type = _a.footerIBtn2Type, onClickFooterIBtn2 = _a.onClickFooterIBtn2, footerIBtn3State = _a.footerIBtn3State, footerIBtn3IconName = _a.footerIBtn3IconName, footerIBtn3IconFillType = _a.footerIBtn3IconFillType, footerIBtn3Type = _a.footerIBtn3Type, footerIBtn3Accept = _a.footerIBtn3Accept, onClickFooterIBtn3 = _a.onClickFooterIBtn3;
16
+ var colorTheme = _a.colorTheme, textFieldDefaultText = _a.textFieldDefaultText, textFieldHintText = _a.textFieldHintText, textFieldState = _a.textFieldState, textFieldMaxLength = _a.textFieldMaxLength, isSubmitBtnActive = _a.isSubmitBtnActive, _b = _a.submitIBtnIconName, submitIBtnIconName = _b === void 0 ? 'ic_paper_plane' : _b, _c = _a.submitIBtnIconFillType, submitIBtnIconFillType = _c === void 0 ? 'fill' : _c, footerIBtn1State = _a.footerIBtn1State, footerIBtn1IconName = _a.footerIBtn1IconName, footerIBtn1IconFillType = _a.footerIBtn1IconFillType, footerIBtn1Type = _a.footerIBtn1Type, onClickFooterIBtn1 = _a.onClickFooterIBtn1, footerIBtn2State = _a.footerIBtn2State, footerIBtn2IconName = _a.footerIBtn2IconName, footerIBtn2IconFillType = _a.footerIBtn2IconFillType, footerIBtn2Type = _a.footerIBtn2Type, onClickFooterIBtn2 = _a.onClickFooterIBtn2, footerIBtn3State = _a.footerIBtn3State, footerIBtn3IconName = _a.footerIBtn3IconName, footerIBtn3IconFillType = _a.footerIBtn3IconFillType, footerIBtn3Type = _a.footerIBtn3Type, footerIBtn3Accept = _a.footerIBtn3Accept, onClickFooterIBtn3 = _a.onClickFooterIBtn3;
17
17
  var chatValidation = {
18
18
  validate: function (value) {
19
19
  if (!value)
@@ -34,7 +34,7 @@ function ChatTextField(_a) {
34
34
  ? 'ui_cpnt_button_icon_primary'
35
35
  : 'ui_cpnt_button_icon_disabled', iconFillType: footerIBtn2IconFillType, iconSize: 24, state: footerIBtn2State, onClick: onClickFooterIBtn2 })))),
36
36
  react_1.default.createElement(S_TextFieldWrapper, null,
37
- react_1.default.createElement(TextField_1.TextField, { name: "chat", responsiveMode: "use", textLineType: "single", inputType: "text", hintText: textFieldHintText, defaultText: textFieldDefaultText, validation: chatValidation, maxLength: textFieldMaxLength, enterSubmitMode: "use", validationPoint: "onChange", state: textFieldState, autoComplete: "off" })),
37
+ react_1.default.createElement(TextField_1.TextField, { name: "chat", responsiveMode: "use", textLineType: "single", inputType: "text", hintText: textFieldHintText, defaultText: textFieldDefaultText, validation: chatValidation, maxLength: textFieldMaxLength, colorTheme: colorTheme === 'transparent' ? 'transparent' : 'none', enterSubmitMode: "use", validationPoint: "onChange", state: textFieldState, autoComplete: "off" })),
38
38
  footerIBtn1IconName && (react_1.default.createElement(react_1.default.Fragment, null, footerIBtn1Type === 'button' ? (react_1.default.createElement(IconButton_1.IconButton, { iconName: footerIBtn1IconName, baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: footerIBtn1State === 'normal'
39
39
  ? 'ui_cpnt_button_icon_primary'
40
40
  : 'ui_cpnt_button_icon_disabled', iconFillType: footerIBtn1IconFillType, iconSize: 24, state: footerIBtn1State, onClick: onClickFooterIBtn1 })) : (react_1.default.createElement(UploadIconButton_1.UploadIconButton, { iconName: footerIBtn1IconName, baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: footerIBtn1State === 'normal'
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FillIconNameKeys, LineIconNameKeys } from '../../../common';
3
3
  import type { Props as ChatListProps } from './ChatList';
4
- declare type Props = Pick<ChatListProps, 'footerChildren' | 'textFieldDefaultText' | 'textFieldHintText' | 'textFieldState' | 'textFieldMaxLength' | 'footerIBtn3Accept'> & {
4
+ declare type Props = Pick<ChatListProps, 'footerChildren' | 'textFieldDefaultText' | 'textFieldHintText' | 'textFieldState' | 'textFieldMaxLength' | 'footerIBtn3Accept' | 'colorTheme'> & {
5
5
  isSubmitBtnActive: boolean;
6
6
  submitIBtnIconName?: FillIconNameKeys | LineIconNameKeys;
7
7
  submitIBtnIconFillType?: 'fill' | 'line';
@@ -21,5 +21,5 @@ declare type Props = Pick<ChatListProps, 'footerChildren' | 'textFieldDefaultTex
21
21
  footerIBtn3Type?: 'button' | 'upload';
22
22
  onClickFooterIBtn3?: (e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
23
23
  };
24
- declare function Footer({ footerChildren, textFieldDefaultText, textFieldHintText, textFieldState, textFieldMaxLength, submitIBtnIconName, submitIBtnIconFillType, isSubmitBtnActive, footerIBtn1State, footerIBtn1IconName, footerIBtn1IconFillType, footerIBtn1Type, onClickFooterIBtn1, footerIBtn2State, footerIBtn2IconName, footerIBtn2IconFillType, footerIBtn2Type, onClickFooterIBtn2, footerIBtn3State, footerIBtn3IconName, footerIBtn3IconFillType, footerIBtn3Type, footerIBtn3Accept, onClickFooterIBtn3 }: Props): JSX.Element;
24
+ declare function Footer({ colorTheme, footerChildren, textFieldDefaultText, textFieldHintText, textFieldState, textFieldMaxLength, submitIBtnIconName, submitIBtnIconFillType, isSubmitBtnActive, footerIBtn1State, footerIBtn1IconName, footerIBtn1IconFillType, footerIBtn1Type, onClickFooterIBtn1, footerIBtn2State, footerIBtn2IconName, footerIBtn2IconFillType, footerIBtn2Type, onClickFooterIBtn2, footerIBtn3State, footerIBtn3IconName, footerIBtn3IconFillType, footerIBtn3Type, footerIBtn3Accept, onClickFooterIBtn3 }: Props): JSX.Element;
25
25
  export default Footer;
@@ -11,9 +11,9 @@ var react_1 = __importDefault(require("react"));
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var ChatTextField_1 = __importDefault(require("./ChatTextField"));
13
13
  function Footer(_a) {
14
- var footerChildren = _a.footerChildren, textFieldDefaultText = _a.textFieldDefaultText, textFieldHintText = _a.textFieldHintText, textFieldState = _a.textFieldState, textFieldMaxLength = _a.textFieldMaxLength, submitIBtnIconName = _a.submitIBtnIconName, submitIBtnIconFillType = _a.submitIBtnIconFillType, isSubmitBtnActive = _a.isSubmitBtnActive, footerIBtn1State = _a.footerIBtn1State, footerIBtn1IconName = _a.footerIBtn1IconName, footerIBtn1IconFillType = _a.footerIBtn1IconFillType, footerIBtn1Type = _a.footerIBtn1Type, onClickFooterIBtn1 = _a.onClickFooterIBtn1, footerIBtn2State = _a.footerIBtn2State, footerIBtn2IconName = _a.footerIBtn2IconName, footerIBtn2IconFillType = _a.footerIBtn2IconFillType, footerIBtn2Type = _a.footerIBtn2Type, onClickFooterIBtn2 = _a.onClickFooterIBtn2, footerIBtn3State = _a.footerIBtn3State, footerIBtn3IconName = _a.footerIBtn3IconName, footerIBtn3IconFillType = _a.footerIBtn3IconFillType, footerIBtn3Type = _a.footerIBtn3Type, footerIBtn3Accept = _a.footerIBtn3Accept, onClickFooterIBtn3 = _a.onClickFooterIBtn3;
14
+ var colorTheme = _a.colorTheme, footerChildren = _a.footerChildren, textFieldDefaultText = _a.textFieldDefaultText, textFieldHintText = _a.textFieldHintText, textFieldState = _a.textFieldState, textFieldMaxLength = _a.textFieldMaxLength, submitIBtnIconName = _a.submitIBtnIconName, submitIBtnIconFillType = _a.submitIBtnIconFillType, isSubmitBtnActive = _a.isSubmitBtnActive, footerIBtn1State = _a.footerIBtn1State, footerIBtn1IconName = _a.footerIBtn1IconName, footerIBtn1IconFillType = _a.footerIBtn1IconFillType, footerIBtn1Type = _a.footerIBtn1Type, onClickFooterIBtn1 = _a.onClickFooterIBtn1, footerIBtn2State = _a.footerIBtn2State, footerIBtn2IconName = _a.footerIBtn2IconName, footerIBtn2IconFillType = _a.footerIBtn2IconFillType, footerIBtn2Type = _a.footerIBtn2Type, onClickFooterIBtn2 = _a.onClickFooterIBtn2, footerIBtn3State = _a.footerIBtn3State, footerIBtn3IconName = _a.footerIBtn3IconName, footerIBtn3IconFillType = _a.footerIBtn3IconFillType, footerIBtn3Type = _a.footerIBtn3Type, footerIBtn3Accept = _a.footerIBtn3Accept, onClickFooterIBtn3 = _a.onClickFooterIBtn3;
15
15
  return (react_1.default.createElement(react_1.default.Fragment, null,
16
- react_1.default.createElement(ChatTextField_1.default, { textFieldDefaultText: textFieldDefaultText, textFieldHintText: textFieldHintText, textFieldState: textFieldState, textFieldMaxLength: textFieldMaxLength, isSubmitBtnActive: isSubmitBtnActive, submitIBtnIconName: submitIBtnIconName, submitIBtnIconFillType: submitIBtnIconFillType, footerIBtn1State: footerIBtn1State, footerIBtn1IconName: footerIBtn1IconName, footerIBtn1IconFillType: footerIBtn1IconFillType, footerIBtn1Type: footerIBtn1Type, onClickFooterIBtn1: onClickFooterIBtn1, footerIBtn2State: footerIBtn2State, footerIBtn2IconName: footerIBtn2IconName, footerIBtn2IconFillType: footerIBtn2IconFillType, footerIBtn2Type: footerIBtn2Type, onClickFooterIBtn2: onClickFooterIBtn2, footerIBtn3State: footerIBtn3State, footerIBtn3IconName: footerIBtn3IconName, footerIBtn3IconFillType: footerIBtn3IconFillType, footerIBtn3Type: footerIBtn3Type, footerIBtn3Accept: footerIBtn3Accept, onClickFooterIBtn3: onClickFooterIBtn3 }),
16
+ react_1.default.createElement(ChatTextField_1.default, { colorTheme: colorTheme, textFieldDefaultText: textFieldDefaultText, textFieldHintText: textFieldHintText, textFieldState: textFieldState, textFieldMaxLength: textFieldMaxLength, isSubmitBtnActive: isSubmitBtnActive, submitIBtnIconName: submitIBtnIconName, submitIBtnIconFillType: submitIBtnIconFillType, footerIBtn1State: footerIBtn1State, footerIBtn1IconName: footerIBtn1IconName, footerIBtn1IconFillType: footerIBtn1IconFillType, footerIBtn1Type: footerIBtn1Type, onClickFooterIBtn1: onClickFooterIBtn1, footerIBtn2State: footerIBtn2State, footerIBtn2IconName: footerIBtn2IconName, footerIBtn2IconFillType: footerIBtn2IconFillType, footerIBtn2Type: footerIBtn2Type, onClickFooterIBtn2: onClickFooterIBtn2, footerIBtn3State: footerIBtn3State, footerIBtn3IconName: footerIBtn3IconName, footerIBtn3IconFillType: footerIBtn3IconFillType, footerIBtn3Type: footerIBtn3Type, footerIBtn3Accept: footerIBtn3Accept, onClickFooterIBtn3: onClickFooterIBtn3 }),
17
17
  react_1.default.createElement(S_FooterChildrenWrapper, null, footerChildren)));
18
18
  }
19
19
  var S_FooterChildrenWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import type { Props as ChatListProps } from './ChatList';
3
- declare type Props = Required<Pick<ChatListProps, 'styleTheme'>> & Pick<ChatListProps, 'titleText' | 'descText' | 'captionText' | 'titleStyleTheme' | 'headerDisplayType' | 'headerIBtn1IconName' | 'headerIBtn1IconFillType' | 'onClickHeaderIBtn1'>;
4
- declare function Header({ styleTheme, titleText, descText, captionText, titleStyleTheme, headerDisplayType, headerIBtn1IconName, headerIBtn1IconFillType, onClickHeaderIBtn1 }: Props): JSX.Element;
3
+ declare type Props = Required<Pick<ChatListProps, 'colorTheme'>> & Pick<ChatListProps, 'titleText' | 'descText' | 'captionText' | 'titleStyleTheme' | 'headerDisplayType' | 'headerIBtn1IconName' | 'headerIBtn1IconFillType' | 'onClickHeaderIBtn1'>;
4
+ declare function Header({ colorTheme, titleText, descText, captionText, titleStyleTheme, headerDisplayType, headerIBtn1IconName, headerIBtn1IconFillType, onClickHeaderIBtn1 }: Props): JSX.Element;
5
5
  export default Header;
@@ -23,17 +23,17 @@ var iconColors = {
23
23
  transparent: 'ui_cpnt_button_icon_white'
24
24
  };
25
25
  function Header(_a) {
26
- var styleTheme = _a.styleTheme, titleText = _a.titleText, descText = _a.descText, captionText = _a.captionText, titleStyleTheme = _a.titleStyleTheme, headerDisplayType = _a.headerDisplayType, headerIBtn1IconName = _a.headerIBtn1IconName, headerIBtn1IconFillType = _a.headerIBtn1IconFillType, onClickHeaderIBtn1 = _a.onClickHeaderIBtn1;
26
+ var colorTheme = _a.colorTheme, titleText = _a.titleText, descText = _a.descText, captionText = _a.captionText, titleStyleTheme = _a.titleStyleTheme, headerDisplayType = _a.headerDisplayType, headerIBtn1IconName = _a.headerIBtn1IconName, headerIBtn1IconFillType = _a.headerIBtn1IconFillType, onClickHeaderIBtn1 = _a.onClickHeaderIBtn1;
27
27
  return (react_1.default.createElement(S_HeaderContentWrapper, null,
28
28
  react_1.default.createElement(S_HeaderLeftBox, null,
29
- titleText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, styleTheme: titleStyleTheme, colorTheme: titleTextColors[styleTheme], wordBreak: "break_all" })),
29
+ titleText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, styleTheme: titleStyleTheme, colorTheme: titleTextColors[colorTheme], wordBreak: "break_all" })),
30
30
  descText && (react_1.default.createElement(react_1.default.Fragment, null,
31
31
  react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_c" }),
32
- react_1.default.createElement(TextLabel_1.TextLabel, { text: descText, styleTheme: "body2Regular", colorTheme: "sysTextSecondary", colorOverride: styleTheme === 'translucent' ? 'ui_cpnt_list_text_caption_02' : undefined, wordBreak: "break_all" }))),
32
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: descText, styleTheme: "body2Regular", colorTheme: colorTheme === 'solid' ? 'sysTextSecondary' : 'sysTextWhite', colorOverride: colorTheme === 'translucent' ? 'ui_cpnt_list_text_caption_02' : undefined, wordBreak: "break_all" }))),
33
33
  captionText && (react_1.default.createElement(react_1.default.Fragment, null,
34
34
  react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a" }),
35
- react_1.default.createElement(TextLabel_1.TextLabel, { text: captionText, styleTheme: "caption1Regular", colorTheme: "sysTextTertiary", colorOverride: styleTheme === 'translucent' ? 'ui_cpnt_list_text_caption_03' : undefined, wordBreak: "break_all" })))),
36
- headerDisplayType === 'ibtn1' && headerIBtn1IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconName: headerIBtn1IconName, baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: iconColors[styleTheme], iconSize: 24, iconFillType: headerIBtn1IconFillType, onClick: onClickHeaderIBtn1 }))));
35
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: captionText, styleTheme: "caption1Regular", colorTheme: colorTheme === 'solid' ? 'sysTextTertiary' : 'sysTextWhite', colorOverride: colorTheme === 'translucent' ? 'ui_cpnt_list_text_caption_03' : undefined, wordBreak: "break_all" })))),
36
+ headerDisplayType === 'ibtn1' && headerIBtn1IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconName: headerIBtn1IconName, baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: iconColors[colorTheme], iconSize: 24, iconFillType: headerIBtn1IconFillType, onClick: onClickHeaderIBtn1 }))));
37
37
  }
38
38
  var S_HeaderContentWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n"], ["\n align-items: center;\n display: flex;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n"])), function (_a) {
39
39
  var theme = _a.theme;
@@ -1,20 +1,22 @@
1
- /// <reference types="react" />
2
- import { FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption } from '../../../common';
1
+ import React from 'react';
2
+ import { FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption, UiColors } from '../../../common';
3
3
  declare type DisplayType = 'category_choice' | 'filter_single' | 'filter_multi' | 'removable' | 'label' | 'time' | 'information';
4
4
  export declare type ChipProps = {
5
5
  displayType?: DisplayType;
6
+ text?: PDSTextType;
6
7
  filterIconMode?: 'none' | 'left';
7
8
  iconFillType?: 'line' | 'fill';
8
9
  iconName?: FillIconNameKeys | LineIconNameKeys;
9
- text?: PDSTextType;
10
+ overrideTextColorKey?: UiColors;
11
+ overrideBackgroundColorKey?: UiColors;
10
12
  value?: PDSValueOption['value'];
11
13
  id?: PDSValueOption['value'];
12
- onClickChip?: () => void;
14
+ onClickChip?: (e: React.MouseEvent<HTMLDivElement>) => void;
13
15
  onClickXMarkIcon?: () => void;
14
16
  /** @deprecated value 필드를 대신 사용하세요. */
15
17
  activeChipId?: string | number;
16
18
  /** @deprecated id 필드를 대신 사용하세요. */
17
19
  chipId?: string | number;
18
20
  };
19
- export default function Chip({ displayType, filterIconMode, iconFillType, iconName, text, value, id, activeChipId, chipId, onClickChip, onClickXMarkIcon }: ChipProps): JSX.Element;
21
+ export default function Chip({ displayType, text, filterIconMode, iconFillType, iconName, overrideTextColorKey, overrideBackgroundColorKey, value, id, activeChipId, chipId, onClickChip, onClickXMarkIcon }: ChipProps): JSX.Element;
20
22
  export {};
@@ -32,7 +32,7 @@ var hybrid_1 = require("../../../hybrid");
32
32
  var Icon_1 = require("../../../hybrid/components/Icon");
33
33
  var TextLabel_1 = require("../TextLabel");
34
34
  function Chip(_a) {
35
- var _b = _a.displayType, displayType = _b === void 0 ? 'filter_single' : _b, _c = _a.filterIconMode, filterIconMode = _c === void 0 ? 'none' : _c, _d = _a.iconFillType, iconFillType = _d === void 0 ? 'line' : _d, iconName = _a.iconName, text = _a.text, value = _a.value, id = _a.id, activeChipId = _a.activeChipId, chipId = _a.chipId, onClickChip = _a.onClickChip, onClickXMarkIcon = _a.onClickXMarkIcon;
35
+ var _b = _a.displayType, displayType = _b === void 0 ? 'filter_single' : _b, text = _a.text, _c = _a.filterIconMode, filterIconMode = _c === void 0 ? 'none' : _c, _d = _a.iconFillType, iconFillType = _d === void 0 ? 'line' : _d, iconName = _a.iconName, overrideTextColorKey = _a.overrideTextColorKey, overrideBackgroundColorKey = _a.overrideBackgroundColorKey, value = _a.value, id = _a.id, activeChipId = _a.activeChipId, chipId = _a.chipId, onClickChip = _a.onClickChip, onClickXMarkIcon = _a.onClickXMarkIcon;
36
36
  var isActive = (0, react_1.useMemo)(function () {
37
37
  if (activeChipId !== undefined && chipId !== undefined) {
38
38
  return activeChipId === chipId;
@@ -42,9 +42,9 @@ function Chip(_a) {
42
42
  }
43
43
  return false;
44
44
  }, [activeChipId, chipId, value, id]);
45
- var handleClickChip = function () {
45
+ var handleClickChip = function (e) {
46
46
  if (onClickChip) {
47
- onClickChip();
47
+ onClickChip(e);
48
48
  }
49
49
  };
50
50
  var handleClickXMarkIcon = function (e) {
@@ -65,8 +65,8 @@ function Chip(_a) {
65
65
  react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }),
66
66
  react_1.default.createElement(Icon_1.Icon, { size: 12, fillType: "line", iconName: "ic_xmark", colorKey: "ui_cpnt_chip_fill_icon_active_01" })))));
67
67
  case 'information':
68
- return (react_1.default.createElement(S_InfoChip, { onClick: handleClickChip },
69
- react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Regular", singleLineMode: "use", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
68
+ return (react_1.default.createElement(S_InfoChip, { onClick: handleClickChip, overrideBackgroundColorKey: overrideBackgroundColorKey },
69
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Regular", singleLineMode: "use", colorTheme: "sysTextPrimary", colorOverride: overrideTextColorKey, ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
70
70
  case 'label':
71
71
  return (react_1.default.createElement(S_LabelChip, { onClick: handleClickChip },
72
72
  react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold", singleLineMode: "use", colorTheme: "sysTextTertiary", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
@@ -80,8 +80,9 @@ function Chip(_a) {
80
80
  react_1.default.createElement(Icon_1.Icon, { size: 12, iconName: "ic_xmark", fillType: "line", colorKey: "ui_cpnt_chip_fill_icon_inactive" }))));
81
81
  default:
82
82
  return (react_1.default.createElement(S_FilterSingleChip, { isActive: isActive, onClick: handleClickChip },
83
- filterIconMode === 'left' && (react_1.default.createElement(S_FilterIconWrapper, null,
84
- react_1.default.createElement(Icon_1.Icon, { fillType: iconFillType, iconName: iconName, size: 16, colorKey: isActive ? 'ui_cpnt_chip_fill_icon_active_01' : 'ui_cpnt_chip_line_icon_02' }))),
83
+ filterIconMode === 'left' && (react_1.default.createElement(react_1.default.Fragment, null,
84
+ react_1.default.createElement(Icon_1.Icon, { fillType: iconFillType, iconName: iconName, size: 16, colorKey: isActive ? 'ui_cpnt_chip_fill_icon_active_01' : 'ui_cpnt_chip_line_icon_02' }),
85
+ react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }))),
85
86
  react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: isActive ? 'usrTextBrandOnPrimary' : 'sysTextSecondary', ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
86
87
  }
87
88
  };
@@ -105,8 +106,10 @@ var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (
105
106
  return isActive ? '' : "border: 1px solid " + theme.ui_cpnt_chip_line_border_01;
106
107
  });
107
108
  var S_InfoChip = styled_components_1.default.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-radius: 12px;\n box-sizing: border-box;\n display: flex;\n height: 24px;\n padding-left: ", ";\n padding-right: ", ";\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n border-radius: 12px;\n box-sizing: border-box;\n display: flex;\n height: 24px;\n padding-left: ", ";\n padding-right: ", ";\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"])), function (_a) {
108
- var theme = _a.theme;
109
- return theme.ui_cpnt_chip_fill_base_inactive;
109
+ var theme = _a.theme, overrideBackgroundColorKey = _a.overrideBackgroundColorKey;
110
+ return overrideBackgroundColorKey
111
+ ? theme[overrideBackgroundColorKey]
112
+ : theme.ui_cpnt_chip_fill_base_inactive;
110
113
  }, function (_a) {
111
114
  var theme = _a.theme;
112
115
  return theme.spacing.spacingC;
@@ -138,23 +141,19 @@ var S_FilterSingleChip = styled_components_1.default.div(templateObject_5 || (te
138
141
  var theme = _a.theme;
139
142
  return theme.spacing.spacingC;
140
143
  });
141
- var S_FilterIconWrapper = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
142
- var theme = _a.theme;
143
- return theme.spacing.spacingA;
144
- });
145
- var S_LabelChip = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"], ["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"])), function (_a) {
144
+ var S_LabelChip = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"], ["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"])), function (_a) {
146
145
  var theme = _a.theme;
147
146
  return theme.ui_cpnt_chip_line_border_01;
148
147
  }, function (_a) {
149
148
  var theme = _a.theme;
150
149
  return theme.spacing.spacingB;
151
150
  });
152
- var S_TimeChip = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"], ["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"])), function (_a) {
151
+ var S_TimeChip = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"], ["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"])), function (_a) {
153
152
  var theme = _a.theme;
154
153
  return theme.ui_cpnt_chip_base_playtime;
155
154
  }, function (_a) {
156
155
  var theme = _a.theme;
157
156
  return theme.spacing.spacingB;
158
157
  });
159
- var S_ChipWrapper = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: inline-block;\n vertical-align: bottom;\n min-width: fit-content;\n"], ["\n display: inline-block;\n vertical-align: bottom;\n min-width: fit-content;\n"])));
160
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
158
+ var S_ChipWrapper = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: inline-block;\n vertical-align: bottom;\n min-width: fit-content;\n"], ["\n display: inline-block;\n vertical-align: bottom;\n min-width: fit-content;\n"])));
159
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
@@ -14,9 +14,9 @@ declare type DesktopAlertDialogProps = {
14
14
  tBtn1Type?: 'button' | 'submit';
15
15
  tBtn2Type?: 'button' | 'submit';
16
16
  tBtn3Type?: 'button' | 'submit';
17
- onClickTBtn1?: () => any;
18
- onClickTBtn2?: () => any;
19
- onClickTBtn3?: () => any;
17
+ onClickTBtn1?: () => void;
18
+ onClickTBtn2?: () => void;
19
+ onClickTBtn3?: () => void;
20
20
  };
21
21
  declare function DesktopAlertDialog({ iconMode, titleText, contentText, btnMode, tBtn1Text, tBtn2Text, tBtn3Text, tBtn1State, tBtn2State, tBtn3State, tBtn1Type, tBtn2Type, tBtn3Type, onClickTBtn1, onClickTBtn2, onClickTBtn3 }: DesktopAlertDialogProps): React.ReactPortal;
22
22
  export default DesktopAlertDialog;
@@ -166,7 +166,7 @@ function Dropdown(_a) {
166
166
  return (react_1.default.createElement(S_Dropdown, { className: "container", size: size, tabIndex: 0, onBlur: handleBlur, responsiveMode: responsiveMode, customWidth: customWidth },
167
167
  react_1.default.createElement(S_Select, { size: size, onClick: handleClick, isFocused: isFocused, state: state, colorTheme: colorTheme, responsiveMode: responsiveMode, customWidth: customWidth },
168
168
  react_1.default.createElement(S_TextLabel, { size: size, responsiveMode: responsiveMode },
169
- react_1.default.createElement(TextLabel_1.TextLabel, { text: (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.text) || hintText, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: getTextColorTheme(), colorOverride: getTextColorOverride(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })),
169
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.text) || (value === null || value === void 0 ? void 0 : value.text) || (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.text) || hintText, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: getTextColorTheme(), colorOverride: getTextColorOverride(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })),
170
170
  react_1.default.createElement(hybrid_1.Icon, { size: 16, fillType: "line", iconName: isFocused ? 'ic_arrow_up' : 'ic_arrow_down', colorKey: getIconColorKey() }),
171
171
  react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d", spacingType: "width" })),
172
172
  isFocused && (react_1.default.createElement(S_ContextMenuWrapper, null,
@@ -11,6 +11,8 @@ declare type BrandLogo = {
11
11
  declare type UserProfile = {
12
12
  src: string;
13
13
  href: string;
14
+ leftIconButton?: React.ReactNode;
15
+ overrideUserProfile?: React.ReactNode;
14
16
  };
15
17
  export declare type Props = {
16
18
  isPreview?: boolean;
@@ -20,6 +22,7 @@ export declare type Props = {
20
22
  secondaryMenus: ParsedNode[] | null;
21
23
  template: TemplateNamesType;
22
24
  basePath: string;
25
+ colorTheme?: 'none' | 'transparent';
23
26
  };
24
27
  declare type ContextProp = {
25
28
  basePath: string;
@@ -27,5 +30,5 @@ declare type ContextProp = {
27
30
  handleClickInternalMenuItemNav: (url: string) => void;
28
31
  };
29
32
  export declare const BasePathContext: React.Context<ContextProp>;
30
- declare function DynamicDesktopNavBar({ isPreview, template, brandLogo, primaryMenus, secondaryMenus, userProfile, basePath }: Props): JSX.Element;
33
+ declare function DynamicDesktopNavBar({ isPreview, template, brandLogo, primaryMenus, secondaryMenus, userProfile, basePath, colorTheme }: Props): JSX.Element;
31
34
  export default DynamicDesktopNavBar;
@@ -3,6 +3,17 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
4
  return cooked;
5
5
  };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
6
17
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
18
  if (k2 === undefined) k2 = k;
8
19
  Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
@@ -22,19 +33,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
22
33
  __setModuleDefault(result, mod);
23
34
  return result;
24
35
  };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
36
  Object.defineProperty(exports, "__esModule", { value: true });
29
37
  exports.BasePathContext = void 0;
30
38
  var react_1 = __importStar(require("react"));
31
39
  var react_router_dom_1 = require("react-router-dom");
32
- var styled_components_1 = __importDefault(require("styled-components"));
40
+ var styled_components_1 = __importStar(require("styled-components"));
33
41
  var BoxLayout_1 = require("../../../common/components/BoxLayout");
34
42
  var hooks_1 = require("../../../common/hooks");
43
+ var theme_1 = require("../../../common/styles/theme");
35
44
  var blocks_1 = require("./blocks");
36
45
  var reducer_1 = __importStar(require("./reducer"));
37
46
  var templates_1 = require("./templates");
47
+ var utils_1 = require("./utils");
38
48
  exports.BasePathContext = (0, react_1.createContext)({
39
49
  basePath: '',
40
50
  activeMode: 'BY_URL',
@@ -44,32 +54,39 @@ exports.BasePathContext = (0, react_1.createContext)({
44
54
  }
45
55
  });
46
56
  function DynamicDesktopNavBar(_a) {
47
- var _b = _a.isPreview, isPreview = _b === void 0 ? false : _b, template = _a.template, brandLogo = _a.brandLogo, primaryMenus = _a.primaryMenus, secondaryMenus = _a.secondaryMenus, userProfile = _a.userProfile, basePath = _a.basePath;
48
- var _c = templates_1.DynamicDesktopNavBarTemplates.getTemplate(template), gridStyle = _c.gridStyle, gridTemplate = _c.gridTemplate, showSecondaryMenu = _c.showSecondaryMenu, primaryMenuOptions = _c.primaryMenuOptions, secondaryMenuOptions = _c.secondaryMenuOptions, userProfileOptions = _c.userProfileOptions;
49
- var _d = (0, react_1.useReducer)(reducer_1.default, reducer_1.defaultValue), state = _d[0], dispatch = _d[1];
57
+ var _b = _a.isPreview, isPreview = _b === void 0 ? false : _b, template = _a.template, brandLogo = _a.brandLogo, primaryMenus = _a.primaryMenus, secondaryMenus = _a.secondaryMenus, userProfile = _a.userProfile, basePath = _a.basePath, _c = _a.colorTheme, colorTheme = _c === void 0 ? 'none' : _c;
58
+ var _d = templates_1.DynamicDesktopNavBarTemplates.getTemplate(template), gridStyle = _d.gridStyle, gridTemplate = _d.gridTemplate, showSecondaryMenu = _d.showSecondaryMenu, primaryMenuOptions = _d.primaryMenuOptions, secondaryMenuOptions = _d.secondaryMenuOptions, userProfileOptions = _d.userProfileOptions;
59
+ var _e = (0, react_1.useReducer)(reducer_1.default, reducer_1.defaultValue), state = _e[0], dispatch = _e[1];
50
60
  var location = (0, react_router_dom_1.useLocation)();
51
61
  var prevLocation = (0, hooks_1.usePrevious)(location.pathname + location.search);
62
+ var theme = (0, styled_components_1.useTheme)();
52
63
  (0, react_1.useEffect)(function () {
53
- var currentLocation = location.pathname + location.search;
64
+ var currentSearch = (0, utils_1.getSearchExceptGivenName)(location.search, 'from');
65
+ var currentLocation = location.pathname + currentSearch;
54
66
  if (currentLocation === state.clickedURL) {
55
67
  return;
56
68
  }
57
69
  if (currentLocation !== prevLocation) {
58
70
  dispatch({ type: 'URL_CHANGED' });
59
71
  }
60
- }, [location.pathname, location.search]);
72
+ }, [location.pathname, location.search, prevLocation]);
61
73
  var slicedPrimaryMenus = (0, react_1.useMemo)(function () { return primaryMenus === null || primaryMenus === void 0 ? void 0 : primaryMenus.slice(0, primaryMenuOptions.maxLength); }, [primaryMenus, primaryMenuOptions]);
62
74
  var slicedSecondaryMenus = (0, react_1.useMemo)(function () { var _a; return (_a = secondaryMenus === null || secondaryMenus === void 0 ? void 0 : secondaryMenus.slice(0, secondaryMenuOptions.maxLength)) !== null && _a !== void 0 ? _a : []; }, [secondaryMenus, secondaryMenuOptions]);
63
75
  function handleClickInternalMenuItemNav(url) {
64
76
  dispatch({ type: 'INTERNAL_CLICKED', payload: { clickedURL: url } });
65
77
  }
66
- return (react_1.default.createElement(exports.BasePathContext.Provider, { value: { basePath: basePath, activeMode: state.mode, handleClickInternalMenuItemNav: handleClickInternalMenuItemNav } },
78
+ return (react_1.default.createElement(exports.BasePathContext.Provider, { value: { basePath: basePath, activeMode: state.mode, handleClickInternalMenuItemNav: handleClickInternalMenuItemNav } }, colorTheme === 'transparent' ? (react_1.default.createElement(styled_components_1.ThemeProvider, { theme: __assign(__assign(__assign({}, theme), (0, theme_1.themeByGivenTone)('DARK')), { ui_menu_background: theme.ui_menu_background_transparent, ui_menu_button_base: theme.ui_menu_button_base_transparent }) },
67
79
  react_1.default.createElement(S_DynamicDesktopNavBar, { isPreview: isPreview },
68
80
  react_1.default.createElement(S_Grid, { className: "DynamicDesktopNavBarGrid", gridTemplate: gridTemplate, style: gridStyle },
69
81
  react_1.default.createElement(blocks_1.BrandLogo, { to: brandLogo.href, logoSrc: brandLogo.src, fallbackText: brandLogo.text }),
70
82
  react_1.default.createElement(blocks_1.PrimaryMenu, { menus: slicedPrimaryMenus, showMenuAsIcon: primaryMenuOptions.showMenuAsIcon, style: primaryMenuOptions.style }),
71
83
  showSecondaryMenu && (react_1.default.createElement(blocks_1.SecondaryMenu, { menus: slicedSecondaryMenus, showMenuAsIcon: secondaryMenuOptions.showMenuAsIcon, style: secondaryMenuOptions.style })),
72
- react_1.default.createElement(blocks_1.UserProfile, { src: userProfile.src, to: userProfile.href, style: userProfileOptions.style })))));
84
+ react_1.default.createElement(blocks_1.UserProfile, { src: userProfile.src, to: userProfile.href, leftIconButton: userProfile.leftIconButton, overrideUserProfile: userProfile.overrideUserProfile, style: userProfileOptions.style }))))) : (react_1.default.createElement(S_DynamicDesktopNavBar, { isPreview: isPreview },
85
+ react_1.default.createElement(S_Grid, { className: "DynamicDesktopNavBarGrid", gridTemplate: gridTemplate, style: gridStyle },
86
+ react_1.default.createElement(blocks_1.BrandLogo, { to: brandLogo.href, logoSrc: brandLogo.src, fallbackText: brandLogo.text }),
87
+ react_1.default.createElement(blocks_1.PrimaryMenu, { menus: slicedPrimaryMenus, showMenuAsIcon: primaryMenuOptions.showMenuAsIcon, style: primaryMenuOptions.style }),
88
+ showSecondaryMenu && (react_1.default.createElement(blocks_1.SecondaryMenu, { menus: slicedSecondaryMenus, showMenuAsIcon: secondaryMenuOptions.showMenuAsIcon, style: secondaryMenuOptions.style })),
89
+ react_1.default.createElement(blocks_1.UserProfile, { src: userProfile.src, to: userProfile.href, leftIconButton: userProfile.leftIconButton, overrideUserProfile: userProfile.overrideUserProfile, style: userProfileOptions.style }))))));
73
90
  }
74
91
  var S_Grid = (0, styled_components_1.default)(BoxLayout_1.Grid)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n justify-items: center;\n gap: 24px;\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n align-items: center;\n justify-items: center;\n gap: 24px;\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
75
92
  var theme = _a.theme;
@@ -100,7 +100,7 @@ var S_ButtonWrapper = styled_components_1.default.div(templateObject_5 || (templ
100
100
  return theme.ui_menu_background;
101
101
  }, function (_a) {
102
102
  var theme = _a.theme;
103
- return theme.ui_menu_background;
103
+ return theme.ui_menu_button_base;
104
104
  }, function (_a) {
105
105
  var theme = _a.theme;
106
106
  return theme.ui_temp_grey_02;
@@ -1,9 +1,11 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { CSSProperties } from 'styled-components';
3
3
  declare type Props = {
4
4
  src: string;
5
5
  to: string;
6
+ leftIconButton?: React.ReactNode;
7
+ overrideUserProfile?: React.ReactNode;
6
8
  style?: CSSProperties;
7
9
  };
8
- declare function UserProfile({ src, to, style }: Props): JSX.Element;
10
+ declare function UserProfile({ src, to, overrideUserProfile, leftIconButton, style }: Props): JSX.Element;
9
11
  export default UserProfile;
@@ -12,11 +12,15 @@ var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var Navigations_1 = require("../../../../common/components/Navigations");
13
13
  var hybrid_1 = require("../../../../hybrid");
14
14
  function UserProfile(_a) {
15
- var src = _a.src, to = _a.to, style = _a.style;
16
- return (react_1.default.createElement(S_UserProfile, { style: style },
15
+ var src = _a.src, to = _a.to, overrideUserProfile = _a.overrideUserProfile, leftIconButton = _a.leftIconButton, style = _a.style;
16
+ return (react_1.default.createElement(S_UserProfile, { style: style }, overrideUserProfile ? (overrideUserProfile) : (react_1.default.createElement(S_ImageViewWrapper, null,
17
+ leftIconButton && (react_1.default.createElement(react_1.default.Fragment, null,
18
+ leftIconButton,
19
+ react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b", spacingType: "width" }))),
17
20
  react_1.default.createElement(Navigations_1.NavLink, { to: to },
18
- react_1.default.createElement(hybrid_1.ImageView, { width: 32, ratio: "1_1", scaleType: "cover", shapeType: "circular", src: src, borderMode: "use" }))));
21
+ react_1.default.createElement(hybrid_1.ImageView, { width: 32, ratio: "1_1", scaleType: "cover", shapeType: "circular", src: src, borderMode: "use" }))))));
19
22
  }
20
23
  var S_UserProfile = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n grid-area: USER_PROFILE;\n justify-content: flex-end;\n"], ["\n display: flex;\n grid-area: USER_PROFILE;\n justify-content: flex-end;\n"])));
24
+ var S_ImageViewWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
21
25
  exports.default = UserProfile;
22
- var templateObject_1;
26
+ var templateObject_1, templateObject_2;
@@ -26,6 +26,7 @@ var react_1 = __importStar(require("react"));
26
26
  var react_router_dom_1 = require("react-router-dom");
27
27
  var Navigations_1 = require("../../../../../../common/components/Navigations");
28
28
  var DynamicDesktopNavBar_1 = require("../../../DynamicDesktopNavBar");
29
+ var utils_1 = require("../../../utils");
29
30
  var IconNav_1 = __importDefault(require("../../IconNav"));
30
31
  var ImageIconNav_1 = __importDefault(require("../../ImageIconNav"));
31
32
  function InternalLinkMenuItemNav(_a) {
@@ -37,7 +38,9 @@ function InternalLinkMenuItemNav(_a) {
37
38
  if (activeMode === 'BY_URL') {
38
39
  return false;
39
40
  }
40
- if (pathname + search === location.pathname + location.search) {
41
+ // NOTE: 'from' keyword를 예외로 삭제하고 비교합니다.
42
+ var locationSearch = (0, utils_1.getSearchExceptGivenName)(location.search, 'from');
43
+ if (pathname + search === location.pathname + locationSearch) {
41
44
  return true;
42
45
  }
43
46
  return false;
@@ -0,0 +1 @@
1
+ export declare function getSearchExceptGivenName(search: string, name: string): string;