pds-dev-kit-web-test 0.2.22 → 0.2.24

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 (383) hide show
  1. package/README.md +2 -2
  2. package/dist/index.d.ts +6 -6
  3. package/dist/index.js +9 -3
  4. package/dist/src/common/assets/icons/fill/Accordion.d.ts +4 -0
  5. package/dist/src/common/assets/icons/fill/Accordion.js +30 -0
  6. package/dist/src/common/assets/icons/fill/AlignBottom.d.ts +4 -0
  7. package/dist/src/common/assets/icons/fill/AlignBottom.js +30 -0
  8. package/dist/src/common/assets/icons/fill/AlignCenter.d.ts +4 -0
  9. package/dist/src/common/assets/icons/fill/AlignCenter.js +30 -0
  10. package/dist/src/common/assets/icons/fill/AlignLeft.d.ts +4 -0
  11. package/dist/src/common/assets/icons/fill/AlignLeft.js +30 -0
  12. package/dist/src/common/assets/icons/fill/AlignMiddle.d.ts +4 -0
  13. package/dist/src/common/assets/icons/fill/AlignMiddle.js +30 -0
  14. package/dist/src/common/assets/icons/fill/AlignRight.d.ts +4 -0
  15. package/dist/src/common/assets/icons/fill/AlignRight.js +30 -0
  16. package/dist/src/common/assets/icons/fill/AlignTop.d.ts +4 -0
  17. package/dist/src/common/assets/icons/fill/AlignTop.js +30 -0
  18. package/dist/src/common/assets/icons/fill/ArrowDownStepper.d.ts +4 -0
  19. package/dist/src/common/assets/icons/fill/ArrowDownStepper.js +30 -0
  20. package/dist/src/common/assets/icons/fill/ArrowRoundLeft.d.ts +4 -0
  21. package/dist/src/common/assets/icons/fill/ArrowRoundLeft.js +30 -0
  22. package/dist/src/common/assets/icons/fill/ArrowUpStepper.d.ts +4 -0
  23. package/dist/src/common/assets/icons/fill/ArrowUpStepper.js +30 -0
  24. package/dist/src/common/assets/icons/fill/Audio.d.ts +4 -0
  25. package/dist/src/common/assets/icons/fill/Audio.js +30 -0
  26. package/dist/src/common/assets/icons/fill/Button.d.ts +4 -0
  27. package/dist/src/common/assets/icons/fill/Button.js +30 -0
  28. package/dist/src/common/assets/icons/fill/Calendar.d.ts +4 -0
  29. package/dist/src/common/assets/icons/fill/Calendar.js +30 -0
  30. package/dist/src/common/assets/icons/fill/Carousel.d.ts +4 -0
  31. package/dist/src/common/assets/icons/fill/Carousel.js +30 -0
  32. package/dist/src/common/assets/icons/fill/Copy.d.ts +4 -0
  33. package/dist/src/common/assets/icons/fill/Copy.js +30 -0
  34. package/dist/src/common/assets/icons/fill/DeviceApp.d.ts +4 -0
  35. package/dist/src/common/assets/icons/fill/DeviceApp.js +30 -0
  36. package/dist/src/common/assets/icons/fill/DeviceDesktop.d.ts +4 -0
  37. package/dist/src/common/assets/icons/fill/DeviceDesktop.js +30 -0
  38. package/dist/src/common/assets/icons/fill/DeviceMobile.d.ts +4 -0
  39. package/dist/src/common/assets/icons/fill/DeviceMobile.js +30 -0
  40. package/dist/src/common/assets/icons/fill/Divider.d.ts +4 -0
  41. package/dist/src/common/assets/icons/fill/Divider.js +30 -0
  42. package/dist/src/common/assets/icons/fill/Download.d.ts +4 -0
  43. package/dist/src/common/assets/icons/fill/Download.js +30 -0
  44. package/dist/src/common/assets/icons/fill/EditorLeftSide.d.ts +4 -0
  45. package/dist/src/common/assets/icons/fill/EditorLeftSide.js +30 -0
  46. package/dist/src/common/assets/icons/fill/EditorRightSide.d.ts +4 -0
  47. package/dist/src/common/assets/icons/fill/EditorRightSide.js +30 -0
  48. package/dist/src/common/assets/icons/fill/Embed.d.ts +4 -0
  49. package/dist/src/common/assets/icons/fill/Embed.js +30 -0
  50. package/dist/src/common/assets/icons/fill/Icon.d.ts +4 -0
  51. package/dist/src/common/assets/icons/fill/Icon.js +30 -0
  52. package/dist/src/common/assets/icons/fill/Image.d.ts +4 -0
  53. package/dist/src/common/assets/icons/fill/Image.js +30 -0
  54. package/dist/src/common/assets/icons/fill/Information.d.ts +4 -0
  55. package/dist/src/common/assets/icons/fill/Information.js +30 -0
  56. package/dist/src/common/assets/icons/fill/Item.d.ts +4 -0
  57. package/dist/src/common/assets/icons/fill/Item.js +30 -0
  58. package/dist/src/common/assets/icons/fill/LayerBackward.d.ts +4 -0
  59. package/dist/src/common/assets/icons/fill/LayerBackward.js +30 -0
  60. package/dist/src/common/assets/icons/fill/LayerForward.d.ts +4 -0
  61. package/dist/src/common/assets/icons/fill/LayerForward.js +30 -0
  62. package/dist/src/common/assets/icons/fill/Layout.d.ts +4 -0
  63. package/dist/src/common/assets/icons/fill/Layout.js +30 -0
  64. package/dist/src/common/assets/icons/fill/LightBulb.d.ts +4 -0
  65. package/dist/src/common/assets/icons/fill/LightBulb.js +30 -0
  66. package/dist/src/common/assets/icons/fill/Lightning.d.ts +4 -0
  67. package/dist/src/common/assets/icons/fill/Lightning.js +30 -0
  68. package/dist/src/common/assets/icons/fill/Links.d.ts +4 -0
  69. package/dist/src/common/assets/icons/fill/Links.js +30 -0
  70. package/dist/src/common/assets/icons/fill/List.d.ts +4 -0
  71. package/dist/src/common/assets/icons/fill/List.js +30 -0
  72. package/dist/src/common/assets/icons/fill/LogoInsta.d.ts +4 -0
  73. package/dist/src/common/assets/icons/fill/LogoInsta.js +30 -0
  74. package/dist/src/common/assets/icons/fill/LogoTwitter.d.ts +4 -0
  75. package/dist/src/common/assets/icons/fill/LogoTwitter.js +30 -0
  76. package/dist/src/common/assets/icons/fill/LogoYt.d.ts +4 -0
  77. package/dist/src/common/assets/icons/fill/LogoYt.js +30 -0
  78. package/dist/src/common/assets/icons/fill/MenuDesign.d.ts +4 -0
  79. package/dist/src/common/assets/icons/fill/MenuDesign.js +30 -0
  80. package/dist/src/common/assets/icons/fill/MinusCircle.d.ts +4 -0
  81. package/dist/src/common/assets/icons/fill/MinusCircle.js +30 -0
  82. package/dist/src/common/assets/icons/fill/Moon.d.ts +4 -0
  83. package/dist/src/common/assets/icons/fill/Moon.js +30 -0
  84. package/dist/src/common/assets/icons/fill/Paint.d.ts +4 -0
  85. package/dist/src/common/assets/icons/fill/Paint.js +30 -0
  86. package/dist/src/common/assets/icons/fill/Palette.d.ts +4 -0
  87. package/dist/src/common/assets/icons/fill/Palette.js +30 -0
  88. package/dist/src/common/assets/icons/fill/PlusCircle.d.ts +4 -0
  89. package/dist/src/common/assets/icons/fill/PlusCircle.js +30 -0
  90. package/dist/src/common/assets/icons/fill/PlusRound.d.ts +4 -0
  91. package/dist/src/common/assets/icons/fill/PlusRound.js +30 -0
  92. package/dist/src/common/assets/icons/fill/PostInquiry.d.ts +4 -0
  93. package/dist/src/common/assets/icons/fill/PostInquiry.js +30 -0
  94. package/dist/src/common/assets/icons/fill/Richtext.d.ts +4 -0
  95. package/dist/src/common/assets/icons/fill/Richtext.js +30 -0
  96. package/dist/src/common/assets/icons/fill/ScrollingText.d.ts +4 -0
  97. package/dist/src/common/assets/icons/fill/ScrollingText.js +30 -0
  98. package/dist/src/common/assets/icons/fill/SellerPage.d.ts +4 -0
  99. package/dist/src/common/assets/icons/fill/SellerPage.js +30 -0
  100. package/dist/src/common/assets/icons/fill/Setting.js +1 -1
  101. package/dist/src/common/assets/icons/fill/Shape.d.ts +4 -0
  102. package/dist/src/common/assets/icons/fill/Shape.js +30 -0
  103. package/dist/src/common/assets/icons/fill/Slider.d.ts +4 -0
  104. package/dist/src/common/assets/icons/fill/Slider.js +30 -0
  105. package/dist/src/common/assets/icons/fill/Text.d.ts +4 -0
  106. package/dist/src/common/assets/icons/fill/Text.js +30 -0
  107. package/dist/src/common/assets/icons/fill/TextAlignBottom.d.ts +4 -0
  108. package/dist/src/common/assets/icons/fill/TextAlignBottom.js +30 -0
  109. package/dist/src/common/assets/icons/fill/TextAlignCenter.d.ts +4 -0
  110. package/dist/src/common/assets/icons/fill/TextAlignCenter.js +30 -0
  111. package/dist/src/common/assets/icons/fill/TextAlignLeft.d.ts +4 -0
  112. package/dist/src/common/assets/icons/fill/TextAlignLeft.js +30 -0
  113. package/dist/src/common/assets/icons/fill/TextAlignMiddle.d.ts +4 -0
  114. package/dist/src/common/assets/icons/fill/TextAlignMiddle.js +30 -0
  115. package/dist/src/common/assets/icons/fill/TextAlignRight.d.ts +4 -0
  116. package/dist/src/common/assets/icons/fill/TextAlignRight.js +30 -0
  117. package/dist/src/common/assets/icons/fill/TextAlignTop.d.ts +4 -0
  118. package/dist/src/common/assets/icons/fill/TextAlignTop.js +30 -0
  119. package/dist/src/common/assets/icons/fill/Trashcan.d.ts +4 -0
  120. package/dist/src/common/assets/icons/fill/Trashcan.js +30 -0
  121. package/dist/src/common/assets/icons/fill/Unavailable.d.ts +4 -0
  122. package/dist/src/common/assets/icons/fill/Unavailable.js +30 -0
  123. package/dist/src/common/assets/icons/fill/Upload.d.ts +4 -0
  124. package/dist/src/common/assets/icons/fill/Upload.js +30 -0
  125. package/dist/src/common/assets/icons/fill/VideoType.d.ts +4 -0
  126. package/dist/src/common/assets/icons/fill/VideoType.js +30 -0
  127. package/dist/src/common/assets/icons/fill/index.d.ts +61 -0
  128. package/dist/src/common/assets/icons/fill/index.js +122 -0
  129. package/dist/src/common/assets/icons/line/Accordion.d.ts +4 -0
  130. package/dist/src/common/assets/icons/line/Accordion.js +30 -0
  131. package/dist/src/common/assets/icons/line/AlignBottom.d.ts +4 -0
  132. package/dist/src/common/assets/icons/line/AlignBottom.js +30 -0
  133. package/dist/src/common/assets/icons/line/AlignCenter.d.ts +4 -0
  134. package/dist/src/common/assets/icons/line/AlignCenter.js +30 -0
  135. package/dist/src/common/assets/icons/line/AlignLeft.d.ts +4 -0
  136. package/dist/src/common/assets/icons/line/AlignLeft.js +30 -0
  137. package/dist/src/common/assets/icons/line/AlignMiddle.d.ts +4 -0
  138. package/dist/src/common/assets/icons/line/AlignMiddle.js +30 -0
  139. package/dist/src/common/assets/icons/line/AlignRight.d.ts +4 -0
  140. package/dist/src/common/assets/icons/line/AlignRight.js +30 -0
  141. package/dist/src/common/assets/icons/line/AlignTop.d.ts +4 -0
  142. package/dist/src/common/assets/icons/line/AlignTop.js +30 -0
  143. package/dist/src/common/assets/icons/line/ArrowRoundLeft.js +1 -1
  144. package/dist/src/common/assets/icons/line/Audio.d.ts +4 -0
  145. package/dist/src/common/assets/icons/line/Audio.js +30 -0
  146. package/dist/src/common/assets/icons/line/Button.d.ts +4 -0
  147. package/dist/src/common/assets/icons/line/Button.js +30 -0
  148. package/dist/src/common/assets/icons/line/Calendar.d.ts +4 -0
  149. package/dist/src/common/assets/icons/line/Calendar.js +30 -0
  150. package/dist/src/common/assets/icons/line/Carousel.d.ts +4 -0
  151. package/dist/src/common/assets/icons/line/Carousel.js +30 -0
  152. package/dist/src/common/assets/icons/line/ChannelSetting.js +1 -1
  153. package/dist/src/common/assets/icons/line/Copy.js +1 -1
  154. package/dist/src/common/assets/icons/line/DeviceDesktop.js +1 -1
  155. package/dist/src/common/assets/icons/line/DeviceMobile.js +1 -1
  156. package/dist/src/common/assets/icons/line/Divider.d.ts +4 -0
  157. package/dist/src/common/assets/icons/line/Divider.js +30 -0
  158. package/dist/src/common/assets/icons/line/Download.js +1 -1
  159. package/dist/src/common/assets/icons/line/EditorLeftSide.js +1 -1
  160. package/dist/src/common/assets/icons/line/EditorRightSide.js +1 -1
  161. package/dist/src/common/assets/icons/line/Embed.d.ts +4 -0
  162. package/dist/src/common/assets/icons/line/Embed.js +30 -0
  163. package/dist/src/common/assets/icons/line/Icon.d.ts +4 -0
  164. package/dist/src/common/assets/icons/line/Icon.js +30 -0
  165. package/dist/src/common/assets/icons/line/Image.d.ts +4 -0
  166. package/dist/src/common/assets/icons/line/Image.js +30 -0
  167. package/dist/src/common/assets/icons/line/Item.d.ts +4 -0
  168. package/dist/src/common/assets/icons/line/Item.js +30 -0
  169. package/dist/src/common/assets/icons/line/LayerBackward.d.ts +4 -0
  170. package/dist/src/common/assets/icons/line/LayerBackward.js +30 -0
  171. package/dist/src/common/assets/icons/line/LayerForward.d.ts +4 -0
  172. package/dist/src/common/assets/icons/line/LayerForward.js +30 -0
  173. package/dist/src/common/assets/icons/line/Layout.d.ts +4 -0
  174. package/dist/src/common/assets/icons/line/Layout.js +30 -0
  175. package/dist/src/common/assets/icons/line/LightBulb.d.ts +4 -0
  176. package/dist/src/common/assets/icons/line/LightBulb.js +30 -0
  177. package/dist/src/common/assets/icons/line/Lightning.d.ts +4 -0
  178. package/dist/src/common/assets/icons/line/Lightning.js +30 -0
  179. package/dist/src/common/assets/icons/line/List.d.ts +4 -0
  180. package/dist/src/common/assets/icons/line/List.js +30 -0
  181. package/dist/src/common/assets/icons/line/MenuDesign.d.ts +4 -0
  182. package/dist/src/common/assets/icons/line/MenuDesign.js +30 -0
  183. package/dist/src/common/assets/icons/line/Minus.d.ts +4 -0
  184. package/dist/src/common/assets/icons/line/Minus.js +30 -0
  185. package/dist/src/common/assets/icons/line/MinusCircle.js +1 -1
  186. package/dist/src/common/assets/icons/line/MinusRound.d.ts +4 -0
  187. package/dist/src/common/assets/icons/line/MinusRound.js +30 -0
  188. package/dist/src/common/assets/icons/line/Moon.d.ts +4 -0
  189. package/dist/src/common/assets/icons/line/Moon.js +30 -0
  190. package/dist/src/common/assets/icons/line/Paint.d.ts +4 -0
  191. package/dist/src/common/assets/icons/line/Paint.js +30 -0
  192. package/dist/src/common/assets/icons/line/Palette.d.ts +4 -0
  193. package/dist/src/common/assets/icons/line/Palette.js +30 -0
  194. package/dist/src/common/assets/icons/line/PaymentSetting.js +1 -1
  195. package/dist/src/common/assets/icons/line/PlusCircle.js +1 -1
  196. package/dist/src/common/assets/icons/line/PlusRound.d.ts +4 -0
  197. package/dist/src/common/assets/icons/line/PlusRound.js +30 -0
  198. package/dist/src/common/assets/icons/line/PostStorage.d.ts +4 -0
  199. package/dist/src/common/assets/icons/line/PostStorage.js +30 -0
  200. package/dist/src/common/assets/icons/line/Richtext.d.ts +4 -0
  201. package/dist/src/common/assets/icons/line/Richtext.js +30 -0
  202. package/dist/src/common/assets/icons/line/ScrollingText.d.ts +4 -0
  203. package/dist/src/common/assets/icons/line/ScrollingText.js +30 -0
  204. package/dist/src/common/assets/icons/line/SectionContent32.js +1 -1
  205. package/dist/src/common/assets/icons/line/SectionContent40.js +1 -1
  206. package/dist/src/common/assets/icons/line/SectionContentsCarousel32.js +1 -1
  207. package/dist/src/common/assets/icons/line/SectionContentsCarousel40.js +1 -1
  208. package/dist/src/common/assets/icons/line/SectionCustom32.d.ts +4 -0
  209. package/dist/src/common/assets/icons/line/SectionCustom32.js +30 -0
  210. package/dist/src/common/assets/icons/line/SectionCustom40.d.ts +4 -0
  211. package/dist/src/common/assets/icons/line/SectionCustom40.js +30 -0
  212. package/dist/src/common/assets/icons/line/SectionDivider32.js +1 -1
  213. package/dist/src/common/assets/icons/line/SectionDivider40.js +1 -1
  214. package/dist/src/common/assets/icons/line/SectionFooter32.js +1 -1
  215. package/dist/src/common/assets/icons/line/SectionFooter40.js +1 -1
  216. package/dist/src/common/assets/icons/line/SectionIframe32.js +1 -1
  217. package/dist/src/common/assets/icons/line/SectionIframe40.js +1 -1
  218. package/dist/src/common/assets/icons/line/SectionInfoBox32.js +1 -1
  219. package/dist/src/common/assets/icons/line/SectionInfoBox40.js +1 -1
  220. package/dist/src/common/assets/icons/line/SectionIntro32.js +1 -1
  221. package/dist/src/common/assets/icons/line/SectionIntro40.js +1 -1
  222. package/dist/src/common/assets/icons/line/SectionMap32.js +1 -1
  223. package/dist/src/common/assets/icons/line/SectionMap40.js +1 -1
  224. package/dist/src/common/assets/icons/line/SectionMembership32.js +1 -1
  225. package/dist/src/common/assets/icons/line/SectionMembership40.js +1 -1
  226. package/dist/src/common/assets/icons/line/SectionPriceBox32.js +1 -1
  227. package/dist/src/common/assets/icons/line/SectionPriceBox40.js +1 -1
  228. package/dist/src/common/assets/icons/line/SectionProductsCarousel32.js +1 -1
  229. package/dist/src/common/assets/icons/line/SectionProductsCarousel40.js +1 -1
  230. package/dist/src/common/assets/icons/line/SectionReview32.js +1 -1
  231. package/dist/src/common/assets/icons/line/SectionReview40.js +1 -1
  232. package/dist/src/common/assets/icons/line/SectionSlider32.js +1 -1
  233. package/dist/src/common/assets/icons/line/SectionSlider40.js +1 -1
  234. package/dist/src/common/assets/icons/line/SectionTab32.js +1 -1
  235. package/dist/src/common/assets/icons/line/SectionTab40.js +1 -1
  236. package/dist/src/common/assets/icons/line/Setting.js +1 -1
  237. package/dist/src/common/assets/icons/line/Shape.d.ts +4 -0
  238. package/dist/src/common/assets/icons/line/Shape.js +30 -0
  239. package/dist/src/common/assets/icons/line/Slider.d.ts +4 -0
  240. package/dist/src/common/assets/icons/line/Slider.js +30 -0
  241. package/dist/src/common/assets/icons/line/Target.d.ts +4 -0
  242. package/dist/src/common/assets/icons/line/Target.js +30 -0
  243. package/dist/src/common/assets/icons/line/Text.d.ts +4 -0
  244. package/dist/src/common/assets/icons/line/Text.js +30 -0
  245. package/dist/src/common/assets/icons/line/TextAlignBottom.d.ts +4 -0
  246. package/dist/src/common/assets/icons/line/TextAlignBottom.js +30 -0
  247. package/dist/src/common/assets/icons/line/TextAlignCenter.d.ts +4 -0
  248. package/dist/src/common/assets/icons/line/TextAlignCenter.js +30 -0
  249. package/dist/src/common/assets/icons/line/TextAlignLeft.d.ts +4 -0
  250. package/dist/src/common/assets/icons/line/TextAlignLeft.js +30 -0
  251. package/dist/src/common/assets/icons/line/TextAlignMiddle.d.ts +4 -0
  252. package/dist/src/common/assets/icons/line/TextAlignMiddle.js +30 -0
  253. package/dist/src/common/assets/icons/line/TextAlignRight.d.ts +4 -0
  254. package/dist/src/common/assets/icons/line/TextAlignRight.js +30 -0
  255. package/dist/src/common/assets/icons/line/TextAlignTop.d.ts +4 -0
  256. package/dist/src/common/assets/icons/line/TextAlignTop.js +30 -0
  257. package/dist/src/common/assets/icons/line/Trashcan.js +1 -1
  258. package/dist/src/common/assets/icons/line/Upload.js +1 -1
  259. package/dist/src/common/assets/icons/line/VideoType.d.ts +4 -0
  260. package/dist/src/common/assets/icons/line/VideoType.js +30 -0
  261. package/dist/src/common/assets/icons/line/index.d.ts +45 -0
  262. package/dist/src/common/assets/icons/line/index.js +90 -0
  263. package/dist/src/common/index.d.ts +1 -1
  264. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +38 -8
  265. package/dist/src/common/styles/colorSet/PaletteColor_light.json +36 -6
  266. package/dist/src/common/styles/colorSet/SemanticColor.json +4 -2
  267. package/dist/src/common/styles/colorSet/UIColor.json +35 -1
  268. package/dist/src/common/styles/colorSet/index.d.ts +411 -315
  269. package/dist/src/common/styles/colorSet/index.js +3 -3
  270. package/dist/src/common/styles/colorSet/ui-type.d.ts +34 -0
  271. package/dist/src/common/types/components.d.ts +33 -0
  272. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +6 -2
  273. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +181 -28
  274. package/dist/src/desktop/common/components/TextFieldBase/constants.d.ts +1 -0
  275. package/dist/src/desktop/common/components/TextFieldBase/constants.js +2 -1
  276. package/dist/src/desktop/components/AdminList/AdminList.d.ts +13 -13
  277. package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +13 -13
  278. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +4 -4
  279. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +4 -4
  280. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.d.ts +9 -0
  281. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +123 -0
  282. package/dist/src/desktop/components/BasicButtonGroup/constants.d.ts +11 -0
  283. package/dist/src/desktop/components/BasicButtonGroup/constants.js +15 -0
  284. package/dist/src/desktop/components/BasicButtonGroup/index.d.ts +1 -0
  285. package/dist/src/desktop/components/BasicButtonGroup/index.js +8 -0
  286. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +6 -4
  287. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +15 -3
  288. package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.d.ts +2 -1
  289. package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.js +38 -10
  290. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +1 -1
  291. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +58 -26
  292. package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +10 -10
  293. package/dist/src/desktop/components/Dropdown/Dropdown.js +71 -26
  294. package/dist/src/desktop/components/IconButton/IconButton.d.ts +2 -2
  295. package/dist/src/desktop/components/IconButton/IconButton.js +20 -15
  296. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +13 -0
  297. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +189 -0
  298. package/dist/src/desktop/components/SegmentedButtonGroup/constants.d.ts +11 -0
  299. package/dist/src/desktop/components/SegmentedButtonGroup/constants.js +15 -0
  300. package/dist/src/desktop/components/SegmentedButtonGroup/index.d.ts +1 -0
  301. package/dist/src/desktop/components/SegmentedButtonGroup/index.js +8 -0
  302. package/dist/src/desktop/components/Select/Select.js +12 -6
  303. package/dist/src/desktop/components/Slider/Slider.d.ts +19 -0
  304. package/dist/src/desktop/components/Slider/Slider.js +189 -0
  305. package/dist/src/desktop/components/Slider/index.d.ts +1 -0
  306. package/dist/src/desktop/components/Slider/index.js +8 -0
  307. package/dist/src/desktop/components/TextButton/TextButton.d.ts +1 -1
  308. package/dist/src/desktop/components/TextButton/TextButton.js +3 -0
  309. package/dist/src/desktop/components/TextField/TextField.d.ts +3 -1
  310. package/dist/src/desktop/components/TextField/TextField.js +12 -12
  311. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +15 -15
  312. package/dist/src/desktop/components/TextLabel/TextLabel.js +89 -54
  313. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +6 -4
  314. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +61 -8
  315. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  316. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +3 -0
  317. package/dist/src/desktop/components/index.d.ts +4 -1
  318. package/dist/src/desktop/components/index.js +7 -1
  319. package/dist/src/desktop/index.d.ts +1 -1
  320. package/dist/src/desktop/index.js +5 -2
  321. package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.js +1 -1
  322. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +6 -2
  323. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +180 -27
  324. package/dist/src/mobile/common/components/TextFieldBase/constants.d.ts +1 -0
  325. package/dist/src/mobile/common/components/TextFieldBase/constants.js +2 -1
  326. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +9 -0
  327. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +80 -0
  328. package/dist/src/mobile/components/BasicButtonGroup/index.d.ts +1 -0
  329. package/dist/src/mobile/components/BasicButtonGroup/index.js +8 -0
  330. package/dist/src/mobile/components/ContextMenu/ContextMenu.js +1 -1
  331. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +6 -4
  332. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +13 -3
  333. package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +10 -10
  334. package/dist/src/mobile/components/Dropdown/Dropdown.js +70 -25
  335. package/dist/src/mobile/components/IconButton/IconButton.d.ts +2 -2
  336. package/dist/src/mobile/components/IconButton/IconButton.js +12 -7
  337. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +13 -0
  338. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +146 -0
  339. package/dist/src/mobile/components/SegmentedButtonGroup/index.d.ts +1 -0
  340. package/dist/src/mobile/components/SegmentedButtonGroup/index.js +8 -0
  341. package/dist/src/mobile/components/Select/Select.js +12 -6
  342. package/dist/src/mobile/components/Slider/Slider.d.ts +19 -0
  343. package/dist/src/mobile/components/Slider/Slider.js +186 -0
  344. package/dist/src/mobile/components/Slider/index.d.ts +1 -0
  345. package/dist/src/mobile/components/Slider/index.js +8 -0
  346. package/dist/src/mobile/components/TextButton/TextButton.d.ts +1 -1
  347. package/dist/src/mobile/components/TextButton/TextButton.js +3 -0
  348. package/dist/src/mobile/components/TextField/TextField.d.ts +3 -1
  349. package/dist/src/mobile/components/TextField/TextField.js +12 -12
  350. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +14 -14
  351. package/dist/src/mobile/components/TextLabel/TextLabel.js +45 -23
  352. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.d.ts +2 -2
  353. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +11 -6
  354. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  355. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +3 -0
  356. package/dist/src/mobile/components/index.d.ts +4 -1
  357. package/dist/src/mobile/components/index.js +7 -1
  358. package/dist/src/mobile/index.d.ts +1 -1
  359. package/dist/src/mobile/index.js +5 -1
  360. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +4 -4
  361. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +4 -4
  362. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +13 -13
  363. package/dist/src/sub/AdminList/ToolBar/SearchField.js +1 -1
  364. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -1
  365. package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.d.ts +3 -1
  366. package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.js +36 -25
  367. package/dist/src/sub/DynamicLayout/mock_customSection.js +4 -1
  368. package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +36 -1134
  369. package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +53 -2907
  370. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +3 -2
  371. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +52 -16
  372. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +3 -2
  373. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -1
  374. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +1 -1
  375. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.d.ts +1 -0
  376. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +14 -4
  377. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +1 -0
  378. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.d.ts +1 -1
  379. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +18 -1
  380. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +18 -1
  381. package/package.json +1 -1
  382. package/release-note.md +6 -5
  383. package/webhook/node_modules/esrecurse/.babelrc +3 -0
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  /* eslint-disable import/order */
7
7
  var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
8
8
  var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
9
- var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
10
9
  var UIColor_json_1 = __importDefault(require("./UIColor.json"));
10
+ var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
11
11
  var colorSet = {
12
12
  SemanticColor: SemanticColor_json_1.default,
13
13
  PaletteColor_Dark: PaletteColor_Dark_json_1.default,
14
- PaletteColor_light: PaletteColor_light_json_1.default,
15
- UIColor: UIColor_json_1.default
14
+ UIColor: UIColor_json_1.default,
15
+ PaletteColor_light: PaletteColor_light_json_1.default
16
16
  };
17
17
  exports.default = colorSet;
@@ -796,4 +796,38 @@ export interface UITheme {
796
796
  ui_cpnt_dropdown_display_icon_white_enabled: string;
797
797
  ui_cpnt_dropdown_display_icon_white_disabled: string;
798
798
  ui_98: string;
799
+ ui_99: string;
800
+ ui_100: string;
801
+ ui_101: string;
802
+ ui_102: string;
803
+ ui_editor_layout_header: string;
804
+ ui_editor_layout_navigation_panel: string;
805
+ ui_editor_layout_canvas_area: string;
806
+ ui_editor_layout_control_panel: string;
807
+ ui_editor_layout_property_panel: string;
808
+ ui_editor_layout_navigation_panel_section_item_area_normal: string;
809
+ ui_editor_scroll_bar: string;
810
+ ui_editor_scroll_track: string;
811
+ ui_sw_sidebar_base: string;
812
+ ui_sw_sidebar_label_text_normal: string;
813
+ ui_sw_sidebar_item_text_normal: string;
814
+ ui_sw_sidebar_item_text_selected: string;
815
+ ui_sw_sidebar_label_icon_normal_01: string;
816
+ ui_sw_sidebar_item_icon_normal: string;
817
+ ui_sw_sidebar_item_icon_selected: string;
818
+ ui_sw_sidebar_badge_base_01: string;
819
+ ui_sw_sidebar_badge_base_02: string;
820
+ ui_sw_sidebar_badge_text_01: string;
821
+ ui_sw_sidebar_badge_text_02: string;
822
+ ui_sw_sidebar_divider: string;
823
+ ui_sw_sidebar_label_base_normal: string;
824
+ ui_sw_sidebar_label_base_hover: string;
825
+ ui_sw_sidebar_label_base_pressed: string;
826
+ ui_sw_sidebar_item_base_normal: string;
827
+ ui_sw_sidebar_item_base_hover: string;
828
+ ui_sw_sidebar_item_base_pressed: string;
829
+ ui_sw_sidebar_label_icon_normal_02: string;
830
+ ui_104: string;
831
+ ui_sw_sidebar_item_text_disabled: string;
832
+ ui_106: string;
799
833
  }
@@ -1,3 +1,4 @@
1
+ import type { FillIconNameKeys, LineIconNameKeys } from './icon';
1
2
  import type { PDSTextType } from './text';
2
3
  import type { ForwardedRef } from 'react';
3
4
  export declare type PDSValueOption = {
@@ -9,4 +10,36 @@ export declare type PDSTabItemOption = {
9
10
  isActive: boolean;
10
11
  onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
11
12
  };
13
+ export declare type ContextMenuItemValueOption = {
14
+ text?: PDSTextType;
15
+ value: string | number | null | boolean;
16
+ iconName?: FillIconNameKeys | LineIconNameKeys;
17
+ iconFillType?: 'fill' | 'line';
18
+ fontWeight?: 'bold' | 'regular';
19
+ };
20
+ export declare type DropdownValueOption = ContextMenuItemValueOption & {
21
+ state?: 'normal' | 'disabled';
22
+ };
23
+ export declare type AdminListDropdownValueOption = {
24
+ text: DropdownValueOption['text'];
25
+ value: DropdownValueOption['value'];
26
+ };
27
+ export declare type BasicButtonGroupValueOption = {
28
+ iconName: FillIconNameKeys | LineIconNameKeys;
29
+ iconFillType?: 'fill' | 'line';
30
+ state?: 'normal' | 'disabled';
31
+ tooltipText?: PDSTextType;
32
+ tooltipPosition?: 'left_top' | 'left_bottom' | 'center_top' | 'center_bottom' | 'right_top' | 'right_bottom';
33
+ iconColorTheme?: 'none' | 'red';
34
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
35
+ onMouseDown?: (e: React.MouseEvent<HTMLButtonElement>) => void;
36
+ };
37
+ export declare type SegmentedButtonGroupValueOption = Pick<PDSValueOption, 'value'> & {
38
+ iconName: FillIconNameKeys | LineIconNameKeys;
39
+ iconFillType?: 'fill' | 'line';
40
+ state?: 'normal' | 'disabled';
41
+ iconColorTheme?: 'none' | 'red';
42
+ tooltipText?: PDSTextType;
43
+ tooltipPosition?: 'left_top' | 'left_bottom' | 'center_top' | 'center_bottom' | 'right_top' | 'right_bottom';
44
+ };
12
45
  export declare type ForwardedRefType<T> = ForwardedRef<T | null>;
@@ -23,14 +23,18 @@ export declare type TextFieldBaseProps = {
23
23
  maxLength?: number;
24
24
  textSize: DesktopFontSize;
25
25
  textWeight: FontWeight;
26
- fieldPadding?: string;
26
+ fieldPaddingRight?: number;
27
+ fieldPaddingLeft?: number;
27
28
  fieldHeight?: number;
28
29
  deleteIconMode?: 'none' | 'use';
29
30
  deleteIconSize?: 12 | 16 | 20 | 24;
30
31
  deleteIconColor?: UiColors;
32
+ suffixText?: PDSTextType;
33
+ suffixTextRightSpacingMode?: 'none' | 'use';
31
34
  isFocused?: boolean;
32
35
  autoComplete?: string;
33
36
  stepperMode?: 'none' | 'use';
37
+ stepperRightSpacing?: number;
34
38
  innerSpinButtonSize?: 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72;
35
39
  step?: number;
36
40
  onBlur?: (e: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement>) => void;
@@ -42,5 +46,5 @@ export declare type TextFieldBaseProps = {
42
46
  inputRef?: any;
43
47
  [x: string]: any;
44
48
  } & Record<string, any>;
45
- declare function TextFieldBase({ name, hintText, defaultText, textAlign, validation, preventBlankMode, enterSubmitMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, state, colorTheme, min, max, maxLength, textSize, textWeight, textPadding, fieldHeight, deleteIconMode, deleteIconSize, deleteIconColor, isFocused, autoComplete, stepperMode, innerSpinButtonSize, step, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onTarget, inputRef, ...rest }: TextFieldBaseProps): JSX.Element;
49
+ declare function TextFieldBase({ name, hintText, defaultText, textAlign, validation, preventBlankMode, enterSubmitMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, state, colorTheme, min, max, maxLength, textSize, textWeight, fieldPaddingRight, fieldPaddingLeft, fieldHeight, deleteIconMode, deleteIconSize, deleteIconColor, suffixText, suffixTextRightSpacingMode, isFocused, autoComplete, stepperMode, stepperRightSpacing, innerSpinButtonSize, step, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onTarget, inputRef, ...rest }: TextFieldBaseProps): JSX.Element;
46
50
  export default TextFieldBase;
@@ -50,15 +50,28 @@ var jsx_runtime_1 = require("react/jsx-runtime");
50
50
  /* eslint-disable react/jsx-no-bind */
51
51
  var react_1 = require("react");
52
52
  var react_hook_form_1 = require("react-hook-form");
53
- var components_1 = require("../../../../hybrid/components");
53
+ var components_1 = require("../../../components");
54
+ var components_2 = require("../../../../hybrid/components");
54
55
  var styled_components_1 = __importStar(require("styled-components"));
55
56
  var common_1 = require("../../../../common");
56
57
  var IconButton_1 = require("../../../components/IconButton");
57
58
  var constants_1 = require("./constants");
58
59
  function TextFieldBase(_a) {
59
- var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, validation = _a.validation, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.enterSubmitMode, enterSubmitMode = _d === void 0 ? 'none' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, multiRows = _a.multiRows, autoMinRows = _a.autoMinRows, autoMaxRows = _a.autoMaxRows, _f = _a.inputType, inputType = _f === void 0 ? 'text' : _f, _g = _a.state, state = _g === void 0 ? 'normal' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, min = _a.min, max = _a.max, _j = _a.maxLength, maxLength = _j === void 0 ? Infinity : _j, _k = _a.textSize, textSize = _k === void 0 ? 'form2' : _k, _l = _a.textWeight, textWeight = _l === void 0 ? 'normal' : _l, textPadding = _a.textPadding, _m = _a.fieldHeight, fieldHeight = _m === void 0 ? 48 : _m, _o = _a.deleteIconMode, deleteIconMode = _o === void 0 ? 'use' : _o, _p = _a.deleteIconSize, deleteIconSize = _p === void 0 ? 20 : _p, _q = _a.deleteIconColor, deleteIconColor = _q === void 0 ? 'ui_cpnt_button_icon_disabled' : _q, isFocused = _a.isFocused, _r = _a.autoComplete, autoComplete = _r === void 0 ? 'on' : _r, _s = _a.stepperMode, stepperMode = _s === void 0 ? 'none' : _s, innerSpinButtonSize = _a.innerSpinButtonSize, step = _a.step, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, onKeyDown = _a.onKeyDown, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget, inputRef = _a.inputRef, rest = __rest(_a, ["name", "hintText", "defaultText", "textAlign", "validation", "preventBlankMode", "enterSubmitMode", "textLineType", "multiRows", "autoMinRows", "autoMaxRows", "inputType", "state", "colorTheme", "min", "max", "maxLength", "textSize", "textWeight", "textPadding", "fieldHeight", "deleteIconMode", "deleteIconSize", "deleteIconColor", "isFocused", "autoComplete", "stepperMode", "innerSpinButtonSize", "step", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onTarget", "inputRef"]);
60
- var _t = (0, react_hook_form_1.useFormContext)(), register = _t.register, setValue = _t.setValue, getValues = _t.getValues, clearErrors = _t.clearErrors;
60
+ var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, validation = _a.validation, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.enterSubmitMode, enterSubmitMode = _d === void 0 ? 'none' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, multiRows = _a.multiRows, autoMinRows = _a.autoMinRows, autoMaxRows = _a.autoMaxRows, _f = _a.inputType, inputType = _f === void 0 ? 'text' : _f, _g = _a.state, state = _g === void 0 ? 'normal' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, min = _a.min, max = _a.max, _j = _a.maxLength, maxLength = _j === void 0 ? Infinity : _j, _k = _a.textSize, textSize = _k === void 0 ? 'form2' : _k, _l = _a.textWeight, textWeight = _l === void 0 ? 'normal' : _l, fieldPaddingRight = _a.fieldPaddingRight, fieldPaddingLeft = _a.fieldPaddingLeft, _m = _a.fieldHeight, fieldHeight = _m === void 0 ? 48 : _m, _o = _a.deleteIconMode, deleteIconMode = _o === void 0 ? 'use' : _o, _p = _a.deleteIconSize, deleteIconSize = _p === void 0 ? 20 : _p, _q = _a.deleteIconColor, deleteIconColor = _q === void 0 ? 'ui_cpnt_button_icon_disabled' : _q, suffixText = _a.suffixText, _r = _a.suffixTextRightSpacingMode, suffixTextRightSpacingMode = _r === void 0 ? 'none' : _r, isFocused = _a.isFocused, _s = _a.autoComplete, autoComplete = _s === void 0 ? 'on' : _s, _t = _a.stepperMode, stepperMode = _t === void 0 ? 'none' : _t, _u = _a.stepperRightSpacing, stepperRightSpacing = _u === void 0 ? 1 : _u, _v = _a.innerSpinButtonSize, innerSpinButtonSize = _v === void 0 ? 16 : _v, step = _a.step, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, onKeyDown = _a.onKeyDown, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget, inputRef = _a.inputRef, rest = __rest(_a, ["name", "hintText", "defaultText", "textAlign", "validation", "preventBlankMode", "enterSubmitMode", "textLineType", "multiRows", "autoMinRows", "autoMaxRows", "inputType", "state", "colorTheme", "min", "max", "maxLength", "textSize", "textWeight", "fieldPaddingRight", "fieldPaddingLeft", "fieldHeight", "deleteIconMode", "deleteIconSize", "deleteIconColor", "suffixText", "suffixTextRightSpacingMode", "isFocused", "autoComplete", "stepperMode", "stepperRightSpacing", "innerSpinButtonSize", "step", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onTarget", "inputRef"]);
61
+ var _w = (0, react_hook_form_1.useFormContext)(), register = _w.register, setValue = _w.setValue, getValues = _w.getValues, clearErrors = _w.clearErrors;
61
62
  var timeout;
63
+ var suffixTextRef = (0, react_1.useRef)(null);
64
+ var _x = (0, react_1.useState)(0), suffixTextWidth = _x[0], setSuffixTextWidth = _x[1];
65
+ // NOTE suffixText가 변할때마다 suffixText가 차지하는 너비를 알아내어 suffixTextWidth에 담는다.
66
+ (0, react_1.useEffect)(function () {
67
+ var calculateDivWidth = function () {
68
+ if (suffixTextRef.current) {
69
+ var width = suffixTextRef.current.offsetWidth;
70
+ setSuffixTextWidth(width);
71
+ }
72
+ };
73
+ calculateDivWidth();
74
+ }, [suffixText]);
62
75
  (0, react_1.useEffect)(function () {
63
76
  return function () { return clearTimeout(timeout); };
64
77
  }, []);
@@ -119,7 +132,7 @@ function TextFieldBase(_a) {
119
132
  }
120
133
  }
121
134
  var textAreaRef = (0, react_1.useRef)(null);
122
- var _u = register(name, validation), ref = _u.ref, refRest = __rest(_u, ["ref"]);
135
+ var _y = register(name, validation), ref = _y.ref, refRest = __rest(_y, ["ref"]);
123
136
  (0, react_1.useEffect)(function () {
124
137
  if (textAreaRef === null || textAreaRef.current === null) {
125
138
  return;
@@ -180,15 +193,15 @@ function TextFieldBase(_a) {
180
193
  }
181
194
  var S_TextFieldBase = function () {
182
195
  if (textLineType === 'single') {
183
- return ((0, jsx_runtime_1.jsxs)(S_InputWrapper, { children: [(0, jsx_runtime_1.jsx)(S_Input, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, type: inputType, state: state, readOnly: state === 'read_only', disabled: state === 'disabled', maxLength: maxLength, textSize: textSize, textWeight: textWeight, textPadding: textPadding, colorTheme: colorTheme, min: min, max: max, autoComplete: autoComplete, stepperMode: stepperMode, innerSpinButtonSize: innerSpinButtonSize, step: step, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: function (e) {
196
+ return ((0, jsx_runtime_1.jsxs)(S_InputWrapper, { children: [stepperMode === 'use' && ((0, jsx_runtime_1.jsxs)(S_IconBox, __assign({ innerSpinButtonSize: innerSpinButtonSize, isFocused: isFocused, stepperRightSpacing: stepperRightSpacing }, { children: [(0, jsx_runtime_1.jsx)(components_2.Icon, { iconName: "ic_arrow_up_stepper", fillType: "fill", size: innerSpinButtonSize }, void 0), (0, jsx_runtime_1.jsx)(components_2.Icon, { iconName: "ic_arrow_down_stepper", fillType: "fill", size: innerSpinButtonSize }, void 0)] }), void 0)), (0, jsx_runtime_1.jsx)(S_Input, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, type: inputType, state: state, readOnly: state === 'read_only', disabled: state === 'disabled', maxLength: maxLength, textSize: textSize, textWeight: textWeight, fieldPaddingRight: fieldPaddingRight, fieldPaddingLeft: fieldPaddingLeft, colorTheme: colorTheme, min: min, max: max, autoComplete: autoComplete, stepperMode: stepperMode, innerSpinButtonSize: innerSpinButtonSize, step: step, deleteIconMode: deleteIconMode, suffixText: suffixText, suffixTextWidth: suffixTextWidth, stepperRightSpacing: stepperRightSpacing, isFocused: isFocused, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: function (e) {
184
197
  ref(e);
185
198
  if (inputRef) {
186
199
  inputRef.current = e;
187
200
  }
188
- } }), void 0), stepperMode === 'use' && ((0, jsx_runtime_1.jsxs)(S_IconBox, __assign({ innerSpinButtonSize: innerSpinButtonSize }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_up", fillType: "fill", size: innerSpinButtonSize }, void 0), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_down", fillType: "fill", size: innerSpinButtonSize }, void 0)] }), void 0)), deleteIconMode === 'use' && isFocused && stepperMode === 'none' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_delete", baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: deleteIconSize, iconColorKey: deleteIconColor, iconFillType: "fill", state: state === 'disabled' ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: deleteValue }, void 0))] }, void 0));
201
+ } }), void 0), (deleteIconMode === 'use' || suffixText) && ((0, jsx_runtime_1.jsxs)(S_RightBox, __assign({ deleteIconMode: deleteIconMode, stepperMode: stepperMode, suffixText: suffixText, innerSpinButtonSize: innerSpinButtonSize }, { children: [deleteIconMode === 'use' && ((0, jsx_runtime_1.jsx)(S_IconButtonWrapper, __assign({ innerSpinButtonSize: innerSpinButtonSize, deleteIconMode: deleteIconMode, stepperMode: stepperMode, suffixText: suffixText, isFocused: isFocused, suffixTextWidth: suffixTextWidth, stepperRightSpacing: stepperRightSpacing }, { children: isFocused && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_delete", baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: deleteIconSize, iconColorKey: deleteIconColor, iconFillType: "fill", state: state === 'disabled' ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: deleteValue }, void 0)) }), void 0)), suffixText && ((0, jsx_runtime_1.jsxs)(S_SuffixTextBox, __assign({ ref: suffixTextRef }, { children: [(0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_b", spacingType: "width" }, void 0), (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: suffixText, styleTheme: "caption1Bold", colorTheme: "sysTextTertiary", colorOverride: stepperMode === 'use' && isFocused ? 'ui_106' : undefined, textAlign: "right", singleLineMode: "use" }, void 0), suffixTextRightSpacingMode === 'use' && ((0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_b", spacingType: "width" }, void 0))] }), void 0))] }), void 0))] }, void 0));
189
202
  }
190
203
  if (textLineType === 'multi') {
191
- return ((0, jsx_runtime_1.jsx)(S_Multi, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, rows: multiRows, textSize: textSize, textWeight: textWeight, textPadding: textPadding, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: function (e) {
204
+ return ((0, jsx_runtime_1.jsx)(S_Multi, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, rows: multiRows, textSize: textSize, textWeight: textWeight, fieldPaddingRight: fieldPaddingRight, fieldPaddingLeft: fieldPaddingLeft, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: function (e) {
192
205
  ref(e);
193
206
  if (inputRef) {
194
207
  inputRef.current = e;
@@ -196,7 +209,7 @@ function TextFieldBase(_a) {
196
209
  } }), void 0));
197
210
  }
198
211
  if (textLineType === 'auto') {
199
- return ((0, jsx_runtime_1.jsx)(S_Auto, __assign({}, refRest, rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, textSize: textSize, textWeight: textWeight, textPadding: textPadding, fieldHeight: fieldHeight, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: function (e) {
212
+ return ((0, jsx_runtime_1.jsx)(S_Auto, __assign({}, refRest, rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, autoMinRows: autoMinRows, autoMaxRows: autoMaxRows, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, textSize: textSize, textWeight: textWeight, fieldPaddingRight: fieldPaddingRight, fieldPaddingLeft: fieldPaddingLeft, fieldHeight: fieldHeight, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: function (e) {
200
213
  ref(e);
201
214
  if (textAreaRef) {
202
215
  textAreaRef.current = e;
@@ -209,8 +222,54 @@ function TextFieldBase(_a) {
209
222
  };
210
223
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: S_TextFieldBase() }, void 0);
211
224
  }
212
- var S_InputWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n position: relative;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n position: relative;\n width: 100%;\n"])));
213
- var read_only = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
225
+ var stepper_and_delete_style = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n"], ["\n position: absolute;\n right: ", ";\n"])), function (_a) {
226
+ var innerSpinButtonSize = _a.innerSpinButtonSize, stepperRightSpacing = _a.stepperRightSpacing;
227
+ return innerSpinButtonSize && stepperRightSpacing && innerSpinButtonSize + stepperRightSpacing + "px";
228
+ });
229
+ var S_IconButtonWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n\n ", "\n"], ["\n ", ";\n\n ", "\n"])), function (_a) {
230
+ var deleteIconMode = _a.deleteIconMode, stepperMode = _a.stepperMode, suffixText = _a.suffixText;
231
+ return deleteIconMode === 'use' && stepperMode === 'use' && !suffixText && stepper_and_delete_style;
232
+ }, function (_a) {
233
+ var innerSpinButtonSize = _a.innerSpinButtonSize, deleteIconMode = _a.deleteIconMode, stepperMode = _a.stepperMode, suffixText = _a.suffixText, isFocused = _a.isFocused, suffixTextWidth = _a.suffixTextWidth, stepperRightSpacing = _a.stepperRightSpacing;
234
+ if (deleteIconMode === 'use' && stepperMode === 'use' && suffixText && stepperRightSpacing) {
235
+ if (isFocused) {
236
+ if (innerSpinButtonSize) {
237
+ if (innerSpinButtonSize + constants_1.DELETE_BUTTON_BASE_SIZE > suffixTextWidth) {
238
+ return "margin-right: " + (innerSpinButtonSize - suffixTextWidth + stepperRightSpacing) + "px;";
239
+ }
240
+ return;
241
+ }
242
+ return;
243
+ }
244
+ return;
245
+ }
246
+ return;
247
+ });
248
+ var S_RightBox = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: ", ";\n height: 100%;\n display: flex;\n align-items: center;\n right: 0;\n"], ["\n position: ", ";\n height: 100%;\n display: flex;\n align-items: center;\n right: 0;\n"])), function (_a) {
249
+ var deleteIconMode = _a.deleteIconMode, stepperMode = _a.stepperMode, suffixText = _a.suffixText;
250
+ if ((deleteIconMode === 'use' && stepperMode === 'use' && suffixText) ||
251
+ (deleteIconMode === 'use' && stepperMode === 'use') ||
252
+ stepperMode === 'use') {
253
+ return 'absolute';
254
+ }
255
+ return 'relative';
256
+ });
257
+ var S_IconBox = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: ", ";\n justify-content: center;\n position: absolute;\n right: ", ";\n width: ", ";\n visibility: hidden;\n\n ", ";\n"], ["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: ", ";\n justify-content: center;\n position: absolute;\n right: ", ";\n width: ", ";\n visibility: hidden;\n\n ", ";\n"])), function (_a) {
258
+ var innerSpinButtonSize = _a.innerSpinButtonSize;
259
+ return innerSpinButtonSize && innerSpinButtonSize * 2 + "px";
260
+ }, function (_a) {
261
+ var stepperRightSpacing = _a.stepperRightSpacing;
262
+ return stepperRightSpacing && stepperRightSpacing + "px";
263
+ }, function (_a) {
264
+ var innerSpinButtonSize = _a.innerSpinButtonSize;
265
+ return innerSpinButtonSize && innerSpinButtonSize + "px";
266
+ }, function (_a) {
267
+ var isFocused = _a.isFocused;
268
+ return isFocused && 'visibility: visible;';
269
+ });
270
+ var S_SuffixTextBox = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
271
+ var S_InputWrapper = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n position: relative;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n position: relative;\n width: 100%;\n"])));
272
+ var read_only = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
214
273
  var theme = _a.theme, colorTheme = _a.colorTheme;
215
274
  return colorTheme &&
216
275
  {
@@ -219,7 +278,7 @@ var read_only = (0, styled_components_1.css)(templateObject_2 || (templateObject
219
278
  transparent: theme.ui_cpnt_textfield_text_colortheme_transparent_readonly
220
279
  }[colorTheme];
221
280
  });
222
- var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n pointer-events: none;\n"], ["\n color: ", ";\n pointer-events: none;\n"])), function (_a) {
281
+ var disabled = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n color: ", ";\n pointer-events: none;\n"], ["\n color: ", ";\n pointer-events: none;\n"])), function (_a) {
223
282
  var theme = _a.theme, colorTheme = _a.colorTheme;
224
283
  return colorTheme &&
225
284
  {
@@ -228,7 +287,7 @@ var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_
228
287
  transparent: theme.ui_cpnt_textfield_text_colortheme_transparent_disabled
229
288
  }[colorTheme];
230
289
  });
231
- var basicStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n cursor: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"], ["\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n cursor: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"])), function (_a) {
290
+ var basicStyle = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n cursor: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n ", "\n\n ", "\n"], ["\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n cursor: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n ", "\n\n ", "\n"])), function (_a) {
232
291
  var theme = _a.theme, colorTheme = _a.colorTheme;
233
292
  return colorTheme &&
234
293
  {
@@ -277,10 +336,105 @@ var basicStyle = (0, styled_components_1.css)(templateObject_4 || (templateObjec
277
336
  disabled: disabled
278
337
  }[state];
279
338
  }, function (_a) {
280
- var textPadding = _a.textPadding;
281
- return textPadding && "padding: " + textPadding + ";";
339
+ var fieldPaddingRight = _a.fieldPaddingRight;
340
+ return fieldPaddingRight && "padding-right: " + fieldPaddingRight + "px;";
341
+ }, function (_a) {
342
+ var fieldPaddingLeft = _a.fieldPaddingLeft;
343
+ return fieldPaddingLeft && "padding-left: " + fieldPaddingLeft + "px;";
344
+ }, function (_a) {
345
+ var deleteIconMode = _a.deleteIconMode, stepperMode = _a.stepperMode, suffixText = _a.suffixText;
346
+ if (deleteIconMode === 'use' && stepperMode === 'use' && suffixText) {
347
+ return delete_stepper_suffix;
348
+ }
349
+ if (deleteIconMode === 'use' && stepperMode === 'use' && !suffixText) {
350
+ return delete_stepper;
351
+ }
352
+ if (deleteIconMode === 'none' && stepperMode === 'use' && suffixText) {
353
+ return stepper_suffix;
354
+ }
355
+ if (deleteIconMode === 'none' && stepperMode === 'use' && !suffixText) {
356
+ return stepper;
357
+ }
358
+ return;
282
359
  });
283
- var inputInnerSpinButtonStyle = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n -webkit-appearance: none;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n"], ["\n -webkit-appearance: none;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n"])), function (_a) {
360
+ var delete_stepper_suffix = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n padding-right: ", ";\n"], ["\n padding-right: ", ";\n"])), function (_a) {
361
+ var innerSpinButtonSize = _a.innerSpinButtonSize, fieldPaddingRight = _a.fieldPaddingRight, isFocused = _a.isFocused, suffixTextWidth = _a.suffixTextWidth, stepperRightSpacing = _a.stepperRightSpacing;
362
+ if (innerSpinButtonSize && stepperRightSpacing) {
363
+ if (isFocused) {
364
+ if (innerSpinButtonSize + constants_1.DELETE_BUTTON_BASE_SIZE + stepperRightSpacing <
365
+ constants_1.DELETE_BUTTON_BASE_SIZE + suffixTextWidth) {
366
+ if (fieldPaddingRight) {
367
+ return constants_1.DELETE_BUTTON_BASE_SIZE + suffixTextWidth + fieldPaddingRight + "px";
368
+ }
369
+ return constants_1.DELETE_BUTTON_BASE_SIZE + suffixTextWidth + "px";
370
+ }
371
+ if (fieldPaddingRight) {
372
+ return constants_1.DELETE_BUTTON_BASE_SIZE + innerSpinButtonSize + fieldPaddingRight + stepperRightSpacing + "px";
373
+ }
374
+ return constants_1.DELETE_BUTTON_BASE_SIZE + innerSpinButtonSize + stepperRightSpacing + "px";
375
+ }
376
+ if (fieldPaddingRight) {
377
+ return suffixTextWidth + fieldPaddingRight + "px";
378
+ }
379
+ return suffixTextWidth + "px";
380
+ }
381
+ return;
382
+ });
383
+ var delete_stepper = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n padding-right: ", ";\n"], ["\n padding-right: ", ";\n"])), function (_a) {
384
+ var innerSpinButtonSize = _a.innerSpinButtonSize, fieldPaddingRight = _a.fieldPaddingRight, isFocused = _a.isFocused, stepperRightSpacing = _a.stepperRightSpacing;
385
+ if (innerSpinButtonSize && stepperRightSpacing) {
386
+ if (isFocused) {
387
+ if (fieldPaddingRight) {
388
+ return innerSpinButtonSize + constants_1.DELETE_BUTTON_BASE_SIZE + fieldPaddingRight + stepperRightSpacing + "px";
389
+ }
390
+ return innerSpinButtonSize + constants_1.DELETE_BUTTON_BASE_SIZE + stepperRightSpacing + "px";
391
+ }
392
+ if (fieldPaddingRight) {
393
+ return fieldPaddingRight + "px";
394
+ }
395
+ return;
396
+ }
397
+ return;
398
+ });
399
+ var stepper_suffix = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n padding-right: ", ";\n"], ["\n padding-right: ", ";\n"])), function (_a) {
400
+ var innerSpinButtonSize = _a.innerSpinButtonSize, fieldPaddingRight = _a.fieldPaddingRight, isFocused = _a.isFocused, suffixTextWidth = _a.suffixTextWidth, stepperRightSpacing = _a.stepperRightSpacing;
401
+ if (innerSpinButtonSize && stepperRightSpacing) {
402
+ if (isFocused) {
403
+ if (innerSpinButtonSize + stepperRightSpacing < suffixTextWidth) {
404
+ if (fieldPaddingRight) {
405
+ return suffixTextWidth + fieldPaddingRight + "px";
406
+ }
407
+ return suffixTextWidth + "px";
408
+ }
409
+ if (fieldPaddingRight) {
410
+ return innerSpinButtonSize + stepperRightSpacing + fieldPaddingRight + "px";
411
+ }
412
+ return innerSpinButtonSize + stepperRightSpacing + "px";
413
+ }
414
+ if (fieldPaddingRight) {
415
+ return suffixTextWidth + fieldPaddingRight + "px";
416
+ }
417
+ return suffixTextWidth + "px";
418
+ }
419
+ return;
420
+ });
421
+ var stepper = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n padding-right: ", ";\n"], ["\n padding-right: ", ";\n"])), function (_a) {
422
+ var innerSpinButtonSize = _a.innerSpinButtonSize, fieldPaddingRight = _a.fieldPaddingRight, isFocused = _a.isFocused, stepperRightSpacing = _a.stepperRightSpacing;
423
+ if (innerSpinButtonSize && stepperRightSpacing) {
424
+ if (isFocused) {
425
+ if (fieldPaddingRight) {
426
+ return innerSpinButtonSize + stepperRightSpacing + fieldPaddingRight + "px";
427
+ }
428
+ return innerSpinButtonSize + stepperRightSpacing + "px";
429
+ }
430
+ if (fieldPaddingRight) {
431
+ return fieldPaddingRight + "px";
432
+ }
433
+ return;
434
+ }
435
+ return;
436
+ });
437
+ var inputInnerSpinButtonStyle = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n -webkit-appearance: none;\n z-index: 1;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n position: absolute;\n right: ", ";\n top: calc(\n 50% - ", "\n );\n"], ["\n -webkit-appearance: none;\n z-index: 1;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n position: absolute;\n right: ", ";\n top: calc(\n 50% - ", "\n );\n"])), function (_a) {
284
438
  var innerSpinButtonSize = _a.innerSpinButtonSize;
285
439
  return innerSpinButtonSize && innerSpinButtonSize * 2 + "px";
286
440
  }, function (_a) {
@@ -289,24 +443,23 @@ var inputInnerSpinButtonStyle = (0, styled_components_1.css)(templateObject_5 ||
289
443
  }, function (_a) {
290
444
  var innerSpinButtonSize = _a.innerSpinButtonSize;
291
445
  return innerSpinButtonSize && innerSpinButtonSize + "px";
446
+ }, function (_a) {
447
+ var stepperRightSpacing = _a.stepperRightSpacing;
448
+ return stepperRightSpacing && stepperRightSpacing + "px";
449
+ }, function (_a) {
450
+ var innerSpinButtonSize = _a.innerSpinButtonSize;
451
+ return innerSpinButtonSize && innerSpinButtonSize + "px";
292
452
  });
293
- var S_Input = styled_components_1.default.input(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", "\n flex: 1;\n line-height: ", ";\n z-index: 20;\n\n ::-webkit-inner-spin-button {\n ", "\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"], ["\n ", "\n flex: 1;\n line-height: ", ";\n z-index: 20;\n\n ::-webkit-inner-spin-button {\n ", "\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), basicStyle, function (_a) {
453
+ var S_Input = styled_components_1.default.input(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n flex: 1;\n line-height: ", ";\n position: relative;\n\n ::-webkit-inner-spin-button {\n ", "\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"], ["\n ", "\n flex: 1;\n line-height: ", ";\n position: relative;\n\n ::-webkit-inner-spin-button {\n ", "\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), basicStyle, function (_a) {
294
454
  var theme = _a.theme;
295
455
  return theme.desktopLineHeight.singleLine;
296
456
  }, function (_a) {
297
- var stepperMode = _a.stepperMode, type = _a.type;
298
- return stepperMode === 'use' && type === 'number'
457
+ var stepperMode = _a.stepperMode, type = _a.type, isFocused = _a.isFocused;
458
+ return stepperMode === 'use' && type === 'number' && isFocused
299
459
  ? inputInnerSpinButtonStyle
300
460
  : '-webkit-appearance: none; margin: 0;';
301
461
  });
302
- var S_IconBox = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: ", ";\n justify-content: center;\n position: absolute;\n right: ", "px;\n width: ", ";\n z-index: 1;\n"], ["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: ", ";\n justify-content: center;\n position: absolute;\n right: ", "px;\n width: ", ";\n z-index: 1;\n"])), function (_a) {
303
- var innerSpinButtonSize = _a.innerSpinButtonSize;
304
- return innerSpinButtonSize && innerSpinButtonSize * 2 + "px";
305
- }, constants_1.PIXEL_FOR_ICONS_CENTER, function (_a) {
306
- var innerSpinButtonSize = _a.innerSpinButtonSize;
307
- return innerSpinButtonSize && innerSpinButtonSize + "px";
308
- });
309
- var S_Auto = styled_components_1.default.textarea(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"])), basicStyle, function (_a) {
462
+ var S_Auto = styled_components_1.default.textarea(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"])), basicStyle, function (_a) {
310
463
  var autoMaxRows = _a.autoMaxRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight;
311
464
  return autoMaxRows &&
312
465
  fieldHeight &&
@@ -321,6 +474,6 @@ var S_Auto = styled_components_1.default.textarea(templateObject_8 || (templateO
321
474
  Number(common_1.desktopLineHeight[textSize]) *
322
475
  autoMinRows + "px;";
323
476
  });
324
- var S_Multi = styled_components_1.default.textarea(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"])), basicStyle);
477
+ var S_Multi = styled_components_1.default.textarea(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"])), basicStyle);
325
478
  exports.default = TextFieldBase;
326
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
479
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
@@ -1 +1,2 @@
1
1
  export declare const PIXEL_FOR_ICONS_CENTER = 1;
2
+ export declare const DELETE_BUTTON_BASE_SIZE = 32;
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PIXEL_FOR_ICONS_CENTER = void 0;
3
+ exports.DELETE_BUTTON_BASE_SIZE = exports.PIXEL_FOR_ICONS_CENTER = void 0;
4
4
  exports.PIXEL_FOR_ICONS_CENTER = 1;
5
+ exports.DELETE_BUTTON_BASE_SIZE = 32;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { PDSValueOption } from '../../../common';
2
+ import type { AdminListDropdownValueOption } from '../../../common';
3
3
  import type { TFunctionResult } from 'i18next';
4
4
  declare type ColumnWidthType = 'small' | 'medium' | 'large' | 'xlarge';
5
5
  declare type Props = {
@@ -23,18 +23,18 @@ declare type Props = {
23
23
  column10HeaderText?: TFunctionResult;
24
24
  column10Width?: ColumnWidthType;
25
25
  dropdownMode?: 'none' | 'dropdown_amount1' | 'dropdown_amount2' | 'dropdown_amount3';
26
- dropdown1Value?: PDSValueOption;
27
- dropdown2Value?: PDSValueOption;
28
- dropdown3Value?: PDSValueOption;
29
- dropdown1DefaultText?: PDSValueOption;
30
- dropdown2DefaultText?: PDSValueOption;
31
- dropdown3DefaultText?: PDSValueOption;
26
+ dropdown1Value?: AdminListDropdownValueOption;
27
+ dropdown2Value?: AdminListDropdownValueOption;
28
+ dropdown3Value?: AdminListDropdownValueOption;
29
+ dropdown1DefaultText?: AdminListDropdownValueOption;
30
+ dropdown2DefaultText?: AdminListDropdownValueOption;
31
+ dropdown3DefaultText?: AdminListDropdownValueOption;
32
32
  dropdown1HintText?: TFunctionResult;
33
33
  dropdown2HintText?: TFunctionResult;
34
34
  dropdown3HintText?: TFunctionResult;
35
- dropdown1ValueArray?: PDSValueOption[];
36
- dropdown2ValueArray?: PDSValueOption[];
37
- dropdown3ValueArray?: PDSValueOption[];
35
+ dropdown1ValueArray?: AdminListDropdownValueOption[];
36
+ dropdown2ValueArray?: AdminListDropdownValueOption[];
37
+ dropdown3ValueArray?: AdminListDropdownValueOption[];
38
38
  quickActionBtnMode?: 'none' | 'btn_amount1' | 'btn_amount2' | 'btn_amount3';
39
39
  quickActionBtn1Text?: TFunctionResult;
40
40
  quickActionBtn2Text?: TFunctionResult;
@@ -49,9 +49,9 @@ declare type Props = {
49
49
  scrollVisibleType?: 'moving' | 'hidden' | 'visible';
50
50
  headerRowCheckboxName?: string;
51
51
  flexibleHideInfoMode?: 'use' | 'none';
52
- onChangeDropdown1?: (value: PDSValueOption) => void;
53
- onChangeDropdown2?: (value: PDSValueOption) => void;
54
- onChangeDropdown3?: (value: PDSValueOption) => void;
52
+ onChangeDropdown1?: (value: AdminListDropdownValueOption) => void;
53
+ onChangeDropdown2?: (value: AdminListDropdownValueOption) => void;
54
+ onChangeDropdown3?: (value: AdminListDropdownValueOption) => void;
55
55
  onClickTBtn1?: () => void;
56
56
  onClickTBtn2?: () => void;
57
57
  onClickTBtn3?: () => void;
@@ -1,28 +1,28 @@
1
1
  /// <reference types="react" />
2
- import type { PDSValueOption } from '../../../common';
2
+ import type { AdminListDropdownValueOption } from '../../../common/types';
3
3
  import type { TFunctionResult } from 'i18next';
4
4
  declare type Props = {
5
5
  itemCount?: number;
6
6
  dropdownMode: 'none' | 'dropdown_amount1' | 'dropdown_amount2' | 'dropdown_amount3';
7
- dropdown1Value?: PDSValueOption;
8
- dropdown2Value?: PDSValueOption;
9
- dropdown3Value?: PDSValueOption;
10
- dropdown1DefaultText?: PDSValueOption;
11
- dropdown2DefaultText?: PDSValueOption;
12
- dropdown3DefaultText?: PDSValueOption;
7
+ dropdown1Value?: AdminListDropdownValueOption;
8
+ dropdown2Value?: AdminListDropdownValueOption;
9
+ dropdown3Value?: AdminListDropdownValueOption;
10
+ dropdown1DefaultText?: AdminListDropdownValueOption;
11
+ dropdown2DefaultText?: AdminListDropdownValueOption;
12
+ dropdown3DefaultText?: AdminListDropdownValueOption;
13
13
  dropdown1HintText?: TFunctionResult;
14
14
  dropdown2HintText?: TFunctionResult;
15
15
  dropdown3HintText?: TFunctionResult;
16
- dropdown1ValueArray?: PDSValueOption[];
17
- dropdown2ValueArray?: PDSValueOption[];
18
- dropdown3ValueArray?: PDSValueOption[];
16
+ dropdown1ValueArray?: AdminListDropdownValueOption[];
17
+ dropdown2ValueArray?: AdminListDropdownValueOption[];
18
+ dropdown3ValueArray?: AdminListDropdownValueOption[];
19
19
  tBtnMode?: 'none' | 'tbtn_amount1' | 'tbtn_amount2' | 'tbtn_amount3';
20
20
  tBtn1Text?: TFunctionResult;
21
21
  tBtn2Text?: TFunctionResult;
22
22
  tBtn3Text?: TFunctionResult;
23
- onChangeDropdown1?: (value: PDSValueOption) => void;
24
- onChangeDropdown2?: (value: PDSValueOption) => void;
25
- onChangeDropdown3?: (value: PDSValueOption) => void;
23
+ onChangeDropdown1?: (value: AdminListDropdownValueOption) => void;
24
+ onChangeDropdown2?: (value: AdminListDropdownValueOption) => void;
25
+ onChangeDropdown3?: (value: AdminListDropdownValueOption) => void;
26
26
  onClickTBtn1?: () => void;
27
27
  onClickTBtn2?: () => void;
28
28
  onClickTBtn3?: () => void;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { PDSValueOption } from '../../../common';
2
+ import type { AdminListDropdownValueOption } from '../../../common';
3
3
  import type { TFunctionResult } from 'i18next';
4
4
  declare type Props = {
5
5
  headerBarSize?: 'regular' | 'small';
@@ -8,9 +8,9 @@ declare type Props = {
8
8
  totalPage?: number;
9
9
  contentText?: TFunctionResult;
10
10
  filterBar?: React.ReactNode;
11
- dropdownTextArray?: PDSValueOption[];
12
- dropdownDefaultValue?: PDSValueOption;
13
- onChangeCount?: (option: PDSValueOption) => void;
11
+ dropdownTextArray?: AdminListDropdownValueOption[];
12
+ dropdownDefaultValue?: AdminListDropdownValueOption;
13
+ onChangeCount?: (option: AdminListDropdownValueOption) => void;
14
14
  onClickNextButton?: () => void;
15
15
  onClickPrevButton?: () => void;
16
16
  /** @deprecated v1.5 totalPage를 받아오기 때문에 deprecated 될 예정입니다. */
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
- import type { PDSValueOption } from '../../../common';
2
+ import type { AdminListDropdownValueOption } from '../../../common/types';
3
3
  import type { TFunctionResult } from 'i18next';
4
4
  declare type Props = {
5
5
  titleText?: TFunctionResult;
6
6
  size?: 'regular' | 'small';
7
7
  currentPage?: number;
8
8
  totalPage?: number;
9
- dropdownTextArray: PDSValueOption[];
10
- dropdownDefaultValue?: PDSValueOption;
11
- onChangeDropdown?: (option: PDSValueOption) => void;
9
+ dropdownTextArray: AdminListDropdownValueOption[];
10
+ dropdownDefaultValue?: AdminListDropdownValueOption;
11
+ onChangeDropdown?: (option: AdminListDropdownValueOption) => void;
12
12
  onClickIBtn1?: () => void;
13
13
  onClickIBtn2?: () => void;
14
14
  };
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { BasicButtonGroupValueOption } from '../../../common/types';
3
+ export declare type BasicButtonGroupProps = {
4
+ size?: 'large' | 'medium' | 'small';
5
+ valueArray: BasicButtonGroupValueOption[];
6
+ state?: 'normal' | 'disabled';
7
+ };
8
+ declare function BasicButtonGroup({ size, valueArray, state }: BasicButtonGroupProps): JSX.Element;
9
+ export default BasicButtonGroup;