diginet-core-ui 1.3.37 → 1.3.39

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 (251) hide show
  1. package/assets/avatar/default.svg +3 -3
  2. package/assets/images/icons/wifi.svg +3 -3
  3. package/assets/images/menu/dhr/ALL.svg +6 -6
  4. package/assets/images/menu/dhr/D00.svg +12 -12
  5. package/assets/images/menu/dhr/D09.svg +8 -8
  6. package/assets/images/menu/dhr/D13.svg +10 -10
  7. package/assets/images/menu/dhr/D15.svg +10 -10
  8. package/assets/images/menu/dhr/D21.svg +10 -10
  9. package/assets/images/menu/dhr/D25.svg +11 -11
  10. package/assets/images/menu/dhr/D29.svg +11 -11
  11. package/assets/images/menu/dhr/D38.svg +6 -6
  12. package/assets/images/menu/dhr/D39.svg +10 -10
  13. package/assets/images/menu/dhr/D51.svg +12 -12
  14. package/assets/images/menu/dhr/D52.svg +16 -16
  15. package/assets/images/menu/dhr/D77.svg +16 -16
  16. package/assets/images/menu/dhr/D84.svg +12 -12
  17. package/assets/images/menu/dhr/D89.svg +8 -8
  18. package/assets/images/menu/dhr/Default.svg +13 -13
  19. package/assets/images/menu/dhr/MHRM00N0001.svg +14 -14
  20. package/assets/images/menu/dhr/MHRM09N0002.svg +3 -3
  21. package/assets/images/menu/dhr/MHRM09N0003.svg +25 -25
  22. package/assets/images/menu/dhr/MHRM09N0004.svg +14 -14
  23. package/assets/images/menu/dhr/MHRM09N0005.svg +7 -7
  24. package/assets/images/menu/dhr/MHRM13N0001.svg +16 -16
  25. package/assets/images/menu/dhr/MHRM25N0001.svg +26 -26
  26. package/assets/images/menu/dhr/MHRM29N0001.svg +30 -30
  27. package/assets/images/menu/dhr/MHRM29N0002.svg +13 -13
  28. package/assets/images/menu/dhr/MHRM29N0003.svg +17 -0
  29. package/assets/images/menu/dhr/MHRM29N0015.svg +63 -63
  30. package/assets/images/menu/dhr/MHRM39N0012.svg +43 -43
  31. package/assets/images/menu/dhr/MHRM39N0013.svg +24 -24
  32. package/assets/images/menu/dhr/MHRM39N0014.svg +14 -14
  33. package/assets/images/menu/dhr/MHRM39N0015.svg +36 -36
  34. package/assets/images/menu/dhr/MHRM39N0016.svg +23 -23
  35. package/assets/images/menu/dhr/MHRM77N0001.svg +28 -28
  36. package/assets/images/menu/dhr/MHRM84N0001.svg +27 -27
  37. package/assets/images/menu/dhr/MHRM84N0002.svg +24 -24
  38. package/assets/images/menu/dhr/MHRM89N0001.svg +16 -16
  39. package/assets/images/menu/dhr/MHRP00N0001.svg +10 -10
  40. package/assets/images/menu/dhr/MHRP09N0001.svg +22 -22
  41. package/assets/images/menu/dhr/MHRP09N0002.svg +19 -19
  42. package/assets/images/menu/dhr/MHRP09N0003.svg +12 -12
  43. package/assets/images/menu/dhr/MHRP09N0004.svg +6 -6
  44. package/assets/images/menu/dhr/MHRP09N0005.svg +10 -10
  45. package/assets/images/menu/dhr/MHRP09N0006.svg +17 -17
  46. package/assets/images/menu/dhr/MHRP09N0007.svg +15 -15
  47. package/assets/images/menu/dhr/MHRP09N0008.svg +8 -8
  48. package/assets/images/menu/dhr/MHRP09N0009.svg +10 -10
  49. package/assets/images/menu/dhr/MHRP09N0010.svg +12 -12
  50. package/assets/images/menu/dhr/MHRP09N0011.svg +16 -16
  51. package/assets/images/menu/dhr/MHRP09N0012.svg +6 -6
  52. package/assets/images/menu/dhr/MHRP09N0013.svg +8 -8
  53. package/assets/images/menu/dhr/MHRP09N0014.svg +11 -11
  54. package/assets/images/menu/dhr/MHRP09N0015.svg +12 -12
  55. package/assets/images/menu/dhr/MHRP09N0016.svg +18 -18
  56. package/assets/images/menu/dhr/MHRP09N0017.svg +18 -18
  57. package/assets/images/menu/dhr/MHRP09N0018.svg +12 -12
  58. package/assets/images/menu/dhr/MHRP09N0019.svg +13 -13
  59. package/assets/images/menu/dhr/MHRP09N0020.svg +17 -17
  60. package/assets/images/menu/dhr/MHRP09N0021.svg +10 -10
  61. package/assets/images/menu/dhr/MHRP09N0022.svg +16 -16
  62. package/assets/images/menu/dhr/MHRP09N0023.svg +8 -8
  63. package/assets/images/menu/dhr/MHRP09N0024.svg +15 -15
  64. package/assets/images/menu/dhr/MHRP09N0025.svg +16 -16
  65. package/assets/images/menu/dhr/MHRP09N0026.svg +13 -13
  66. package/assets/images/menu/dhr/MHRP09N0027.svg +10 -10
  67. package/assets/images/menu/dhr/MHRP09N0028.svg +6 -6
  68. package/assets/images/menu/dhr/MHRP09N0029.svg +14 -14
  69. package/assets/images/menu/dhr/MHRP09N0030.svg +4 -4
  70. package/assets/images/menu/dhr/MHRP09N0031.svg +5 -5
  71. package/assets/images/menu/dhr/MHRP09N0032.svg +7 -7
  72. package/assets/images/menu/dhr/MHRP13N0001.svg +9 -9
  73. package/assets/images/menu/dhr/MHRP21N0001.svg +12 -12
  74. package/assets/images/menu/dhr/MHRP21N0002.svg +13 -13
  75. package/assets/images/menu/dhr/MHRP25N0001.svg +13 -13
  76. package/assets/images/menu/dhr/MHRP25N0002.svg +16 -16
  77. package/assets/images/menu/dhr/MHRP25N0003.svg +38 -38
  78. package/assets/images/menu/dhr/MHRP25N0004.svg +17 -17
  79. package/assets/images/menu/dhr/MHRP25N0005.svg +20 -20
  80. package/assets/images/menu/dhr/MHRP29N0001.svg +18 -18
  81. package/assets/images/menu/dhr/MHRP29N0002.svg +15 -15
  82. package/assets/images/menu/dhr/MHRP29N0003.svg +20 -20
  83. package/assets/images/menu/dhr/MHRP29N0004.svg +21 -21
  84. package/assets/images/menu/dhr/MHRP29N0005.svg +21 -21
  85. package/assets/images/menu/dhr/MHRP29N0006.svg +14 -14
  86. package/assets/images/menu/dhr/MHRP29N0007.svg +19 -19
  87. package/assets/images/menu/dhr/MHRP29N0008.svg +20 -20
  88. package/assets/images/menu/dhr/MHRP29N0009.svg +11 -11
  89. package/assets/images/menu/dhr/MHRP29N0010.svg +11 -11
  90. package/assets/images/menu/dhr/MHRP29N0011.svg +12 -12
  91. package/assets/images/menu/dhr/MHRP29N0012.svg +7 -7
  92. package/assets/images/menu/dhr/MHRP29N0013.svg +27 -27
  93. package/assets/images/menu/dhr/MHRP29N0014.svg +32 -32
  94. package/assets/images/menu/dhr/MHRP29N0016.svg +54 -54
  95. package/assets/images/menu/dhr/MHRP29N0017.svg +24 -24
  96. package/assets/images/menu/dhr/MHRP29N0018.svg +44 -44
  97. package/assets/images/menu/dhr/MHRP29N0019.svg +17 -17
  98. package/assets/images/menu/dhr/MHRP29N0020.svg +11 -11
  99. package/assets/images/menu/dhr/MHRP29N0021.svg +8 -8
  100. package/assets/images/menu/dhr/MHRP29N0022.svg +9 -9
  101. package/assets/images/menu/dhr/MHRP29N0023.svg +22 -22
  102. package/assets/images/menu/dhr/MHRP38N0001.svg +13 -13
  103. package/assets/images/menu/dhr/MHRP38N0002.svg +14 -14
  104. package/assets/images/menu/dhr/MHRP39N0001.svg +15 -15
  105. package/assets/images/menu/dhr/MHRP39N0002.svg +13 -13
  106. package/assets/images/menu/dhr/MHRP39N0003.svg +16 -16
  107. package/assets/images/menu/dhr/MHRP39N0004.svg +22 -22
  108. package/assets/images/menu/dhr/MHRP39N0005.svg +16 -16
  109. package/assets/images/menu/dhr/MHRP39N0006.svg +17 -17
  110. package/assets/images/menu/dhr/MHRP39N0007.svg +13 -13
  111. package/assets/images/menu/dhr/MHRP39N0008.svg +3 -3
  112. package/assets/images/menu/dhr/MHRP39N0009.svg +3 -3
  113. package/assets/images/menu/dhr/MHRP39N0010.svg +7 -7
  114. package/assets/images/menu/dhr/MHRP39N0011.svg +14 -14
  115. package/assets/images/menu/dhr/MHRP39N0013.svg +10 -10
  116. package/assets/images/menu/dhr/MHRP39N0014.svg +11 -11
  117. package/assets/images/menu/dhr/MHRP39N0015.svg +5 -5
  118. package/assets/images/menu/dhr/MHRP39N0017.svg +11 -11
  119. package/assets/images/menu/dhr/MHRP39N0018.svg +11 -11
  120. package/assets/images/menu/dhr/MHRP39N1222.svg +12 -12
  121. package/assets/images/menu/dhr/MHRP51N0001.svg +9 -9
  122. package/assets/images/menu/dhr/MHRP51N0002.svg +13 -13
  123. package/assets/images/menu/dhr/MHRP52N0001.svg +21 -21
  124. package/assets/images/menu/dhr/MHRP52N0002.svg +21 -21
  125. package/assets/images/menu/dhr/MHRP52N0003.svg +16 -16
  126. package/assets/images/menu/dhr/MHRP75N0001.svg +19 -19
  127. package/assets/images/menu/dhr/MHRP75N0002.svg +25 -25
  128. package/assets/images/menu/dhr/MHRP75N0003.svg +3 -3
  129. package/assets/images/menu/dhr/MHRP75N0006.svg +14 -14
  130. package/assets/images/menu/dhr/MHRP75N0007.svg +19 -19
  131. package/assets/images/menu/dhr/MHRP75N0008.svg +19 -19
  132. package/assets/images/menu/dhr/MHRP77N0007.svg +28 -28
  133. package/assets/images/menu/dhr/MHRP77N0008.svg +17 -17
  134. package/assets/images/menu/dhr/MHRP77N0009.svg +19 -19
  135. package/assets/images/menu/dhr/MHRP77N0010.svg +20 -20
  136. package/assets/images/menu/dhr/MHRP89N1000.svg +6 -6
  137. package/assets/images/menu/dhr/MHRP89N1001.svg +6 -6
  138. package/assets/images/menu/dhr/TASK.svg +9 -9
  139. package/assets/images/menu/dhr/W00F0001.svg +3 -3
  140. package/assets/images/menu/dhr/W00F0002.svg +3 -3
  141. package/assets/images/menu/dhr/W00F0003.svg +3 -3
  142. package/assets/images/menu/dhr/W00F0004.svg +3 -3
  143. package/assets/images/menu/dhr/W09F2000-WEB5.svg +17 -17
  144. package/assets/images/menu/dhr/W09F2000.svg +6 -6
  145. package/assets/images/menu/dhr/W09F2002-WEB5.svg +21 -21
  146. package/assets/images/menu/dhr/W09F2005-WEB5.svg +13 -13
  147. package/assets/images/menu/dhr/W09F2020-WEB5.svg +16 -16
  148. package/assets/images/menu/dhr/W09F2022-WEB5.svg +20 -20
  149. package/assets/images/menu/dhr/W09F2150-WEB5.svg +16 -16
  150. package/assets/images/menu/dhr/W09F2152-WEB5.svg +20 -20
  151. package/assets/images/menu/dhr/W09F2160-WEB5.svg +14 -14
  152. package/assets/images/menu/dhr/W09F2162-WEB5.svg +18 -18
  153. package/assets/images/menu/dhr/W29F4006-WEB5.svg +19 -19
  154. package/assets/images/menu/dhr/W75F2260-WEB5.svg +15 -15
  155. package/assets/images/menu/dhr/W75F2261-WEB5.svg +19 -19
  156. package/assets/images/menu/dhr/W75F3005-WEB5.svg +13 -13
  157. package/assets/images/menu/dhr/W75F4070-WEB5.svg +21 -21
  158. package/assets/images/menu/dhr/W75F4071-WEB5.svg +17 -17
  159. package/assets/images/menu/dhr/W75F4100-WEB5.svg +14 -14
  160. package/assets/images/menu/dhr/W77F1011.svg +19 -19
  161. package/assets/images/menu/dhr/W77F1013.svg +22 -22
  162. package/assets/images/menu/erp/D05.svg +8 -8
  163. package/assets/images/menu/erp/D06.svg +4 -4
  164. package/assets/images/menu/erp/D90R.svg +9 -9
  165. package/assets/images/menu/erp/DBC.svg +9 -9
  166. package/assets/images/menu/erp/W00F0001.svg +3 -3
  167. package/assets/images/menu/erp/W00F0002.svg +3 -3
  168. package/assets/images/menu/erp/W00F0003.svg +3 -3
  169. package/assets/images/menu/erp/W00F0004.svg +3 -3
  170. package/assets/images/menu/erp/W05F0001.svg +16 -16
  171. package/assets/images/menu/erp/W05F0001N0000.svg +16 -16
  172. package/assets/images/menu/erp/W05F0004N0000.svg +6 -6
  173. package/assets/images/menu/erp/W05F0006N0000.svg +30 -30
  174. package/assets/images/menu/erp/W05F0007N0000.svg +6 -6
  175. package/assets/images/menu/erp/W05F0008N0000.svg +14 -14
  176. package/assets/images/menu/erp/W05F0011N0000.svg +20 -20
  177. package/assets/images/menu/erp/W05F0013N0000.svg +9 -9
  178. package/assets/images/menu/erp/W05F4000N0000.svg +9 -9
  179. package/assets/images/menu/erp/W06F0001.svg +17 -17
  180. package/assets/images/menu/erp/W06F0001N0000.svg +17 -17
  181. package/assets/images/menu/erp/W06F0004N0000.svg +22 -22
  182. package/assets/images/menu/erp/W06F0005N0000.svg +22 -22
  183. package/assets/images/menu/erp/W06F0006N0000.svg +55 -55
  184. package/assets/images/menu/erp/W06F0008N0000.svg +17 -17
  185. package/assets/images/menu/erp/W94F1000N0000.svg +9 -9
  186. package/assets/images/menu/erp/W94F1000N0001.svg +9 -9
  187. package/assets/images/menu/erp/WA3F1025.svg +5 -5
  188. package/assets/images/menu/erp/WA3F2100.svg +10 -10
  189. package/components/accordion/css.js +42 -35
  190. package/components/accordion/details.js +48 -42
  191. package/components/accordion/group.js +88 -82
  192. package/components/accordion/index.js +54 -48
  193. package/components/accordion/summary.js +52 -43
  194. package/components/alert/notify.js +16 -16
  195. package/components/avatar/index.js +19 -19
  196. package/components/badge/index.js +5 -5
  197. package/components/button/icon.js +21 -21
  198. package/components/button/index.js +13 -13
  199. package/components/chart/Pie/Sector.js +2 -2
  200. package/components/chart/Pie-v2/Sector.js +2 -2
  201. package/components/chip/attach.js +5 -5
  202. package/components/divider/index.js +17 -15
  203. package/components/form-control/attachment/index.js +20 -20
  204. package/components/form-control/calendar/function.js +295 -289
  205. package/components/form-control/calendar/index.js +16 -16
  206. package/components/form-control/checkbox/index.js +5 -5
  207. package/components/form-control/date-picker/index.js +7 -3
  208. package/components/form-control/date-range-picker/index.js +12 -8
  209. package/components/form-control/dropdown/index.js +7 -3
  210. package/components/form-control/input-base/index.js +32 -27
  211. package/components/form-control/money-input/index.js +17 -17
  212. package/components/form-control/number-input/index.js +11 -11
  213. package/components/form-control/number-input/index2.js +432 -0
  214. package/components/form-control/phone-input/index.js +7 -7
  215. package/components/form-control/radio/index.js +98 -146
  216. package/components/form-control/text-input/index.js +4 -4
  217. package/components/form-control/time-picker/index.js +305 -300
  218. package/components/form-control/toggle/index.js +92 -90
  219. package/components/index.js +1 -1
  220. package/components/paging/page-selector.js +53 -49
  221. package/components/popover/index.js +21 -21
  222. package/components/popup/index.js +5 -1
  223. package/components/popup/proposals_popup.js +5 -1
  224. package/components/popup/v2/index.js +12 -8
  225. package/components/progress/circular.js +12 -12
  226. package/components/rating/index.js +3 -3
  227. package/components/tab/tab-container.js +2 -2
  228. package/components/tab/tab-header.js +2 -2
  229. package/components/tab/tab-panel.js +2 -2
  230. package/components/tab/tab.js +2 -2
  231. package/components/transfer/index.js +3 -3
  232. package/components/tree-view/index.js +38 -38
  233. package/components/typography/index.js +11 -11
  234. package/icons/effect.js +15 -15
  235. package/package.json +45 -45
  236. package/readme.md +677 -668
  237. package/styles/color-helper.js +103 -103
  238. package/styles/colors.js +7 -7
  239. package/styles/general.js +11 -11
  240. package/styles/utils.js +5 -5
  241. package/theme/set-theme.js +3 -3
  242. package/utils/array/array.js +36 -36
  243. package/utils/date.js +56 -56
  244. package/utils/error/error.js +2 -2
  245. package/utils/error/errors.js +99 -99
  246. package/utils/number.js +6 -6
  247. package/utils/render-portal.js +5 -1
  248. package/utils/renderIcon.js +5 -5
  249. package/utils/useOnClickOutside.js +2 -2
  250. package/utils/usePortal.js +9 -9
  251. package/utils/validate.js +33 -33
package/readme.md CHANGED
@@ -1,668 +1,677 @@
1
- # DigiNet-Core-Ui
2
- Every adventurer needs a set of tools to take along the way! DigiNet-Core-UI is the toolset that we use to build front end
3
- apps.
4
-
5
- ## Installation
6
-
7
- ```shell
8
- npm install diginet-core-ui --save
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- import React from 'react';
15
- import {Button} from "diginet-core-ui/dist/components";
16
-
17
- function App() {
18
- return <Button>DigiNet</Button>;
19
- }
20
-
21
- ReactDOM.render(<App />, document.querySelector('#app'));
22
- ```
23
-
24
- ## Testing and Examples
25
- Now go to homepage https://core.diginet.com.vn/ui/
26
-
27
-
28
- build source by running:
29
- ```shell
30
- npm start
31
- ```
32
- and then going to http://localhost:9050/ in your browser. There'll be buttons for different modals
33
-
34
- To test run
35
-
36
- ```shell
37
- npm test
38
- ```
39
-
40
- ## Changelog
41
- ## 1.3.37
42
- \[Added\]: Icon EditNote, Payment
43
- \[Added\]: MenuIcon - MHRM29N0002
44
- \[Changed\]: Alert - Add white background behind opacity background color
45
- \[Changed\]: Tech - Add storybook for Colors
46
- \[Changed\]: Attachment - Add ref method openFileDialog
47
- \[Changed\]: Modal - Change position of Modal from center to top; Add prop alignment
48
- \[Changed\]: Icon - Remove duplicate icons
49
- \[Changed\]: Icon – Pdf, Word, Sheet
50
- \[Fixed\]: Slider - Fix bug not showing pdf file
51
- \[Fixed\]: Chip - Fix bug show wrong startIcon
52
- \[Fixed\]: ModalHeader - Fix css; Add prop showClose
53
- \[Fixed\]: Dropdown - Change error logic; Remove pointerEvent, userSelect when disabled; Add ref method setValue; Fix css disabled; Add prop onClosed
54
-
55
- ## 1.3.36
56
- \[Added\]: MenuIcon - W05F0013N0000, MHRP39N0017, MHRM09N0005, MHRM13N0001
57
- \[Changed\]: Attachment - Add prop domain, isStripDomain
58
- \[Changed\]: Tooltip - Add className
59
- \[Changed\]: Avatar - Add Add lazyLoading
60
- \[Changed\]: Popover - Change transition; Add prop direction; Add description on storybook
61
- \[Changed\]: TECH - Hide unused components on storybook
62
- \[Changed\]: Typography - Add prop showTooltip to show tooltip when content is clamped
63
- \[Changed\]: DropdownBox - Add endIcon
64
- \[Fixed\]: Tooltip - Fix bug not show tooltip; Optimize code
65
-
66
- ## 1.3.35
67
- - \[Added\]: Icon - AssignmentTurnedIn, DGNProducts
68
- - \[Added\]: MenuIcon - MHRP09N0032
69
- - \[Changed\]: Icon Guide, Locate
70
- - \[Changed\]: Tab - Return callback onclick event, value; Add prop centered in TabHeader
71
- - \[Changed\]: MoneyInput - Add props convertToWords
72
- - \[Changed\]: Calendar - Allow select day of previous or next month
73
- - \[Changed\]: Tab - Change logic of TabPanel; Add lazyLoading; Apply general css
74
- - \[Fixed\]: Tab - Fix bug React.cloneElement when pass null in TabContainer, TabHeader
75
- - \[Fixed\]: Dropdown - Remove min-width
76
- - \[Fixed\]: SYSTEM - Format source code with prettier
77
- - \[Fixed\]: Label - Fix pixel perfect
78
- - \[Fixed\]: Dropdown - Fix bug not show last search value
79
- - \[Fixed\]: Dropdown - Fix bug render icon; Show valueExpr when not have displayExpr
80
- - \[Fixed\]: Chip - Remove unused variable
81
- - \[Fixed\]: Badge - Fix iconProps not in useMemo dependency
82
-
83
- ## 1.3.34
84
- - \[Added\]: Icon - ArrowSwapHoriz, PaperZoom
85
- - \[Added\]: MenuIcon - ALL, D00, D09, D13, D15, D21, D25, D29, D38, D39, D51, D52, D77, D84, D89
86
- - \[Changed\]: Typography - Add case ellipsis, multiple lines
87
- - \[Changed\]: Badge - Phát triển lại component Badge
88
- - \[Changed\]: Typography - Add type options ( full & short)
89
- - \[Changed\]: ButtonIcon - Change UI color of viewType ghost (Design update)
90
- - \[Changed\]: Chip - startIcon, endIcon accept string as CORE icon
91
- - \[Changed\]: Dropdown - Allow use prop valueObjectDefault without prop onLoadMore
92
- - \[Changed\]: Icon - Allow using CORE colors, replace general css, add OptionWrapper
93
- - \[Changed\]: DropdownBox - Fix bug event onClickOutside
94
- - \[Fixed\]: Change css, typography, colors
95
- - \[Fixed\]: Avatar - Fix default svg viewBox
96
- - \[Fixed\]: ButtonIcon - Fix custom width height for viewType ghost
97
- - \[Fixed\]: ButtonIcon - Remove overflow hidden, fix Ripple when use circular ButtonIcon
98
- - \[Fixed\]: Button - Fix warning `ref` is not a prop
99
- - \[Fixed\]: Avatar - Fix actionIconWidth, actionIconHeight; Optimize code
100
- - \[Fixed\]: Toggle - Fix case value, defaultValue input is number 0,1
101
- - \[Fixed\]: ButtonIcon - Add min-width, min-height
102
- - \[Fixed\]: Dropdown - Fix bug cannot select data in editCellRender of DataGrid
103
-
104
- ## 1.3.33
105
- - \[Fixed\]: Dropdown - Fix show wrong when valueObjectDefault is empty object
106
- - \[Fixed\]: Button, ButtonIcon - Fix classname
107
-
108
- ## 1.3.32
109
- - \[Added\]: SYSTEM - Add color text/disabled
110
- - \[Added\]: Icon - Bookmark, Money
111
- - \[Changed\]: Icon - ChatBubble
112
- - \[Fixed\]: Popover - Fix bug not close popover on Modal
113
- - \[Fixed\]: DropdownBox - Return element in onChangeInput prop
114
- - \[Fixed\]: InputBase, Dropdown - Change default placeholder
115
-
116
- ## 1.3.31
117
- - \[Added\]: MenuIcon - W05F0011N0000
118
- - \[Changed\]: SYSTEM - Replace color text from string to object
119
- - \[Fixed\]: Toggle - Manage prop checked with useState
120
- - \[Fixed\]: Checkbox - Fix perfect pixel
121
- - \[Fixed\]: Button, ButtonIcon - Add Event.stopPropagation()
122
- - \[Fixed\]: Dropdown - Fix bug clear data Dropdown close DropdownBox
123
- - \[Fixed\]: NumberInput - Fix bug compare string
124
- - \[Fixed\]: Accordion - Fix css min-height AccordionSummary
125
-
126
- ## 1.3.29
127
- - \[Added\]: Icon - Bug, Link
128
- - \[Added\]: MenuIcon - MHRM09N0004, MHRP29N0023
129
- - \[Changed\]: Accordion - Update Accordion, add expended like expend (keep prop expend), fix logic
130
- - \[Changed\]: Button - Add HOC OptionWrapper to Button
131
- - \[Changed\]: ButtonIcon - Add custom width height
132
- - \[Fixed\]: Button - Fix Typography white-space nowrap, icon width height, add min-width, hide prop 'text'
133
- - \[Fixed\]: Dropdown - Fix bug clear data Dropdown close DropdownBox
134
- - \[Fixed\]: PopupV2 - Fix wrong icon color of type danger
135
- - \[Fixed\]: Accordion - Fix css min-height AccordionSummary
136
- - \[Fixed\]: Button, ButtonIcon - Remove prop disabled in tag <button>
137
- - \[Fixed\]: ButtonIcon - Fix ref of ButtonIcon, Add HOC OptionWrapper
138
- - \[Fixed\]: Tab - Fix css, Add style, className
139
-
140
- ## 1.3.27
141
- - \[Added\]: MenuIcon - D05, D06, D90R, DBC, MHRP09N0030, MHRP09N0031, MHRP29N0021, MHRP29N0022
142
- - \[Added\]: Icon - Share, InsuranceHistory, School, Assessment, Ninedot, MoreHoriz, HalfClock, List, Treeview, NotificationV2, Website, Update, InfoCancel, CheckList, SpeedHigh, SpeedLow, PersonSync, SaveCancel, ApprovalOutLine, ApprovalCancel, FilterFilled
143
- - \[Changed\]: TECH - Check and correct typography of all components
144
- - \[Changed\]: TECH - Check and correct colors of some components
145
- - \[Changed\]: PageInfo - Phát triển lại component PageInfo
146
- - \[Changed\]: Icon - Remove effect; fix css; change storybook
147
- - \[Changed\]: PopupV2 - Replace close button with ButtonIcon (Design update)
148
- - \[Changed\]: ButtonIcon - Add props colorHover to custom hover color for ButtonIcon with color 'default'
149
- - \[Changed\]: Badge - Phát triển lại component Badge
150
- - \[Changed\]: Icon - Change icon Archive to ApprovalFilled
151
- - \[Changed\]: DropdownBox - Add props onChangeInput, delayOnInput
152
- - \[Changed\]: Icon - Fix storybook remove outlineIcon, underlineIcon
153
- - \[Changed\]: Icon - PersonRate, Warehouse, PersonHistory, FolderInsurance, Maximize, Minimize, Scan, ArrowLeftFilled, ArrowRightFilled, ArrowUpFilled, ArrowDownFilled, CancelFilled, CloseFilled, BackFilled, AddFilled, PlusFilled, MinusFilled, Setting, Notification, Logout, LogoutV2, Login, Failed, PaperFilled, ListAprroval, StarFilled, StarOutline
154
- - \[Fixed\]: Status - Fix height not flexible; Fix perfect pixel
155
- - \[Fixed\]: Button - Fix perfect pixel
156
- - \[Fixed\]: Dropdown - Optimize code
157
- - \[Fixed\]: PopupV2 - Fix bug show less, more of description
158
- - \[Fixed\]: Alert - Fix perfect pixel; Add size tiny
159
- - \[Fixed\]: Attachment - Update localize
160
- - \[Fixed\]: Button - Remove margin css
161
- - \[Fixed\]: Label - Add css ellipsis, fix colors
162
- - \[Fixed\]: Divider - Fix css, colors
163
- - \[Fixed\]: Dropdown - Fix show wrong icon clear
164
- - \[Fixed\]: Rating - Optimize code
165
- - \[Fixed\]: DropdownBox - Fix bug not show dropdown
166
- - \[Fixed\]: Button - Fix css Button with icon and Button without icon not in same row
167
- - \[Fixed\]: TECH - Fix wrong color of Alert, Button, ButtonIcon, Paging, PopupV2, Rating
168
- - \[Fixed\]: Dropdown - Fix bug show hide wrong on mobile
169
- - \[Fixed\]: Datepicker - Fix bug not show defaultValue, warning when pass moment instance to date prop
170
- - \[Fixed\]: Status - Fix css text to nowrap
171
- - \[Fixed\]: Dropdown - Fix bug not show error when use multiple
172
-
173
- ## 1.3.25
174
- - \[Added\]: Icon - PersonRate
175
- - \[Added\]: MenuIcon - MHRP39N0015, MHRP29N0012, TASK, MHRP09N0028, MHRP09N0029
176
- - \[Changed\]: MenuIcon - Rename Menu Icon ERP
177
- - \[Changed\]: ButtonIcon - Update UI (Design update)
178
- - \[Changed\]: Fonts - Add fonts to assets
179
- - \[Changed\]: TECH - Replace <Icon /> with <ButtonIcon />
180
- - \[Changed\]: Icon - Bag, Calendar, Clock, Copy, Edit, Export, Login, Logout, Mail, Mapping, Marker, Paper, Phone, PlanePaper, QuestionMark, Save, Send, Wait, Menu
181
- - \[Fixed\]: Chip - Fix css width not max-content
182
- - \[Fixed\]: Avatar - Fix bug Cannot read properties of null (reading 'querySelector')
183
- - \[Fixed\]: DropdownBox - Fix bug DropdownBox not close when open modal
184
- - \[Fixed\]: Dropdown - Remove ::after border-color when focus
185
- - \[Changed\]: InputBase - Add text-overflow ellipsis
186
- - \[Fixed\]: Dropdown - Fix bug cannot read properties of null (reading 'childNodes')
187
- - \[Fixed\]: Dropdown - Fix bug scrollbar covering search bar of treeview
188
- - \[Fixed\]: Avatar - Fix bug wrong size of default icon
189
- - \[Fixed\]: PopupV2 - Fix bug not set open state when call onConfirm, onCancel
190
-
191
- ## Changelog
192
- ## 1.3.24
193
- - \[Add\]: Icon - HourGlass
194
- - \[Add\]: IconMenu - MHRM84N0002, MHRP39N0014, MHRP09N0024, MHRP09N0025, MHRP09N0026, MHRP09N0027, MHRP29N0019, MHRP29N0020
195
- - \[Changed\]: Icon - Update file svg History, View, ArrowDoubleDown, ArrowDoubleLeft, ArrowDoubleRight, ArrowDoubleUp, Deny
196
- - \[Changed\]: FormControl - Add PropTypes 'node' to props 'label' of DatePicker, Dropdown, MoneyInput, NumberInput, TextInput, TimePicker
197
- - \[Changed\]: Accordion - Add tabIndex -1 to allow focusable (Design require)
198
- - \[Fixed\]: Accordion - Fix bug 'The pseudo class ":first-child" is potentially unsafe when doing server-side rendering'
199
- - \[Fixed\]: TreeView - Hotfix UI Accordion in TreeView
200
- - \[Fixed\]: Tab - Fix demo storybook
201
- - \[Fixed\]: Tab - Fix 'children' prop-types; allow using both 'label' and 'children' props
202
- - \[Fixed\]: Button - Update storybook Button, ButtonIcon, ButtonMore
203
- - \[Fixed\]: DropdownBox - Fix cannot log ref function
204
- - \[Fixed\]: DropdownBox - Fix bug scroll
205
-
206
- ## 1.3.23
207
- - \[Changed\]: Tab - Update design
208
- - \[Changed\]: Theme - Add font-face
209
- - \[Fixed\]: Tab - Fix perfect pixel, add scrollButtons
210
- - \[Fixed\]: Avatar - Fix zIndex of Popover lower than Modal, add background-image
211
- - \[Fixed\]: Popover - Fix zIndex of Popover lower than Modal
212
- - \[Fixed\]: Dropdown - Fix bug scroll
213
- - \[Fixed\]: Avatar - Add event when use prop hoverAble on mobile, remove tooltip arrow
214
-
215
-
216
- ## 1.3.22
217
- - \[Fixed\]: Popup - Fix description with content as html.
218
- - \[Added\]: IconV2 - Thay đổi chê quản lý danh sách Icon.
219
-
220
- ## 1.3.21
221
- - \[Fixed\]: Fixed a CORE bug that caused an error for projects lower than ios13
222
- - \[Fixed\]: Label - Fix margin different from design
223
- - \[Fixed\]: Attachment - Fix bug transition, fix css
224
- - \[Fixed\]: Icon - Fix not show "Copy Đường Dẫn thành công" when click ERP icon
225
- - \[Changed\]: Accordion - Redevelop component Accordion
226
- - \[Changed\]: Attachment - Add prop readOnly
227
- - \[Changed\]: Tab - Add prop level
228
- - \[Changed\]: Icon - Update Icon W05F0001, W05F0008, W06F0001
229
- - \[Added\]: Icon - Add W06F0008, MHRM39N0014, MHRM39N0015, PaperView
230
-
231
- ## 1.3.20
232
- - \[Fixed\]: Popup - Fix css position causing not showing (IOS)
233
-
234
- ## 1.3.19
235
- - \[Fixed\]: DatetimePicker - enabled onClick when InputBase readonly
236
- - \[Fixed\]: DatePicker - Remove min-width 200px, Add Tooltip when width smaller than 200px
237
- - \[Fixed\]: Modal - Fix bug scroll not working on Firefox
238
- - \[Fixed\]: Popup - Fix popup on safari IOS (iphone ios 13.x.x trở xuống)
239
- - \[Fixed\]: Tab - Fix bug flickering when re-render
240
-
241
- ## 1.3.18
242
- - \[Changed\]:Tab - Phát triển lại component Tab
243
- - \[Fixed\]: Attachment - Error can not read property "style"
244
- - \[Changed\]: Popover - Add functions by ref (show, close, setPosition)
245
- - \[Changed\]: DropdownBox - Fix bug "React does not recognize the "dropdownBoxStyle" prop on a DOM element"
246
- - \[Changed\]: Input - Update style status Disabled/ReadOnly
247
- - \[Changed\]: Button - Add staus loading
248
- - \[Fixed\]: Dropdown - Fix don't receive "disabled" prop once again when to change disabled
249
- - \[Change\]: Button - Return callback onclick event
250
- - \[Change\]: Rating - Not change color icon outline with custom props.
251
-
252
- ## 1.3.17
253
- - \[Added\]: Icon - Add PlaylistAdd, CalendarBlankRounded icons, AddCircle icon.
254
-
255
- - \[Changed\]: Popup V2 - Fix decription.length
256
- ## 1.3.15
257
- - \[Added\]: Icon - Add PlaylistAdd, CalendarBlankRounded icons
258
-
259
- - \[Changed\]: Popup V2 - Add scrollbar, change animation, add type Yes/No
260
- - \[Changed\]: Popup V2 - Fix pixel perfect, fix word-break
261
-
262
- - \[Fixed\]: Text - fix word-break
263
-
264
- - \[Changed\]: Input - return limit for onLoadMore function, Add disabled item.
265
- - \[Fixed\]: Input - Fix disabled label
266
- ## 1.3.13
267
- - \[Added\]: Icon - Add Monetization icons
268
-
269
- - \[Changed\]: Popup - remove DOM after close
270
- - \[Changed\]: Popup V2 - Add zIndex, Remove required description, Update storybook
271
-
272
- - \[Fixed\]: Input - DatePicker remove InputValue when value invalid
273
- - \[Fixed\]: Input - DateRangePicker set input value for more than one in english case
274
- - \[Fixed\]: Tab - TabContainer fix error eventSlide not running and fix error classList when not tabItem
275
- - \[Fixed\]: Theme - fix makeStyles with @media
276
- ## 1.3.12
277
- - \[Added\]: Theme - Additional breakpoints for responsive
278
- - \[Added\]: system - Color-helper add new func isColor
279
- - \[Added\]: Tab - slide effect for TabPanel
280
-
281
- - \[Changed\]: Attachment - handle sort with data, and use as an option
282
- - \[Changed\]: DateRangePicker - change style of text for mobile device
283
- - \[Changed\]: Chart - PieChart animation text, tooltip
284
- - \[Changed\]: Popup - allow custom confirm/cancel button
285
-
286
- - \[Fixed\]: Chart - PieChart custom position show label Depends on the length of the text
287
- - \[Fixed\]: DateRangePicker fix bug 3 buttons visible at the same time, fix bug change locale not change weekdays, remove input value if defaultValue invalid
288
- - \[Fixed\]: Dropdown - prevent break line when press Enter, conflict value attribute of input and div tag
289
- - \[Fixed\]: Modal - set null for overflow of body after close Modal
290
- - \[Fixed\]: Number/MoneyInput - format number was wrong
291
- - \[Fixed\]: MoneyInput - fix default value with thousandSeparator, Fix onKeyDown can't add when focus before useEffect
292
- - \[Fixed\]: system - makeStyles fix lost content of pseudo
293
-
294
- ## 1.3.11
295
- - \[Added\]: Attachment - sort handler
296
- - \[Added\]: DatePicker - clear value by icon with clearAble prop
297
- - \[Added\]: DateRangePicker - add DateRangePicker version 2
298
- - \[Added\]: Popup - add Popup version 2
299
- - \[Added\]: system - setGlobal method
300
-
301
- - \[Changed\]: Dropdown - close on scroll
302
- - \[Changed\]: Chart - create tooltip ver-2, PieChart change animation of tooltip
303
- - \[Changed\]: Checkbox - allow handle by ref
304
- - \[Changed\]: Tab - tabItem change distance between button and icon
305
- - \[Changed\]: TreeView - disabledRelevantValue still checked/unchecked parent item, allow show children of last result was matched
306
-
307
- - \[Fixed\]: Modal - flexible footer height, set value into input after blur, add load more handler when data.length < total
308
- - \[Fixed\]: Toggle - set necessary style
309
-
310
- ## 1.3.10
311
- - \[Added\]: Attachment - Ctrl + A to select all item
312
- - \[Added\]: Theme - add makeStyles utils
313
-
314
- - \[Changed\]: Button - cursor no-drop for disabled button
315
- - \[Changed\]: Chart - change id tooltip and custom position show tooltip
316
- - \[Changed\]: Status - change default color to secondary
317
-
318
- - \[Fixed\]: Attachment - z-index too high, fix click out side of item
319
- - \[Fixed\]: Calendar - text-align not center
320
- - \[Fixed\]: Chart - LineChart change size of path and point when change width
321
- - \[Fixed\]: Chip - fix color for outlined type
322
- - \[Fixed\]: DatePicker - fix min-width of picker
323
- - \[Fixed\]: InputBase - fix disabled for multiline
324
- - \[Fixed\]: LinearProgress - miss value in small-width case
325
- - \[Fixed\]: NumberInput - fix format is a function and change format but not change decimal digit, handle value when change format, handle min/max in onchange
326
-
327
- ## 1.3.9
328
- - \[Added\]: Attachment - add clear all handler
329
- - \[Added\]: Chart - add tooltip
330
- - \[Added\]: Dropdown - clearAble for multiple type
331
- - \[Added\]: InputBase - add rows/maxRows props for multiline
332
- - \[Added\]: LineChart - smooth line
333
- - \[Added\]: NumberInput - add new NumberInput component
334
- - \[Added\]: system - validation for input
335
- - \[Added\]: Typography - Add 4 types for title
336
-
337
- - \[Changed\]: Collapse - only hidden for overflow-y
338
- - \[Changed\]: Dropdown - additional keyExpr to display text of selected value, keeping search value if search with onInput
339
- - \[Changed\]: FormGroup - handler error with oneHelperText for all Input
340
- - \[Changed\]: Slider - Add onShowNavigation to show/hide the navigation-bottom bar, Hover to show Arrow button, enable active prop
341
-
342
- - \[Fixed\]: DatePicker - use min/max but not disabled invalid date
343
- - \[Fixed\]: Dropdown - don't set onClear when onChange method changed, lost some item when search, prevent scroll body, show placeholder for div contenteditable, show search input when using children, remove load more after search
344
- - \[Fixed\]: DropdownBox - use createPortal to render, remove max-height
345
- - \[Fixed\]: Modal - existing dark background when darkTheme is false, can't focus into input in Modal
346
- - \[Fixed\]: MoneyInput - check and return value with decimal digit
347
- - \[Fixed\]: Popup - prevent scroll body, render at portal
348
- - \[Fixed\]: Progress - LinearProgress fix miss value in small-width case
349
- - \[Fixed\]: Tab - keep other Tab when using multiple TabContainer
350
-
351
- ## 1.3.8
352
- - \[Fixed\]: Input - only show error when non-value
353
- - \[Fixed\]: Dropdown - scroll to top on load more
354
- - \[Fixed\]: Rating - allow custom width/height, color when disabled, readOnly case
355
-
356
- ## 1.3.7
357
- - \[Added\]: Accordion - add AccordionGroup component
358
- - \[Added\]: DatePicker - add returnFormat, two button to control onChange method
359
- - \[Added\]: Dropdown - add DropdownBox component
360
-
361
- - \[Changed\]: Typography - h2: font-size: 18px, remove uppercase is the default case
362
-
363
- - \[Fixed\]: Checkbox - readOnly case
364
- - \[Fixed\]: DatePicker - onChange method reset the initial value, allows to set icon and text positions
365
- - \[Fixed\]: Dropdown - overflow of content when the text was too long, reassign the current value after deleting the content and click outside with a value of 0
366
- - \[Fixed\]: MoneyInput - press Tab, allow enter 0
367
- - \[Fixed\]: Tab - allows to display any tab
368
-
369
- ## 1.3.6
370
- - \[Added\]: Chart - add LineChart component
371
- - \[Added\]: Chip - additional maxLength prop to display shorten content
372
- - \[Added\]: FormGroup - add new FormGroup component
373
- - \[Added\]: Icon - additional some necessary icons
374
- - \[Added\]: TreeView - disabled relevant value
375
-
376
- - \[Changed\]: Accordion - change expand icon deg (down/up)
377
- - \[Changed\]: Button - change hover/focus and active styles with filter, default color is #7F828E, switch linked to text
378
- - \[Changed\]: Dropdown - padding top/bottom is 8px
379
- - \[Changed\]: Checkbox - update disabled and tick symbol styles
380
- - \[Changed\]: Modal - box-shadow for footer
381
- - \[Changed\]: Popover - remove after close prop (keep Popover element)
382
- - \[Changed\]: Progress - LinearProgress determinate add value position (top/bottom)
383
- - \[Changed\]: TextInput - auto increase margin bottom if error to long
384
-
385
- - \[Fixed\]: Dropdown - allowSearch TreeView mode, only set value into input when non-value prop
386
- - \[Fixed\]: Chip - fix remove item in setTimeout function
387
- - \[Fixed\]: Icon - allow use color from theme
388
- ## 1.3.5
389
- - \[Added\]: Calendar add actions properties
390
- - \[Added\]: InputBase - add resetValue + setPreviousValue method
391
- - \[Added\]: TreeView - multiple inheritance (checked parent/children -> checked children/parent, unchecked parent -> unchecked children, unchecked children -> don't unchecked parent). Show selected value
392
-
393
- - \[Changed\]: Alert - use ref to add Alert
394
-
395
- - \[Fixed\]: Dropdown - fix set readOnly for input
396
- - \[Fixed\]: InputBase - fix padding for multiline
397
- - \[Fixed\]: Popup - remove padding button confirm
398
- - \[Fixed\]: TextInput - fix transport type into InputBase
399
- - \[Fixed\]: Tooltip - apply tooltipMaxWidth
400
- - \[Fixed\]: Typography - fix fullWidth style
401
-
402
- ## 1.3.4
403
- - \[Added\]: Dropdown - additional subtext
404
- - \[Added\]: TreeView - handleCheckbox in ref.current, render child items async, search handler
405
-
406
- - \[Changed\]: InputBase - absolute HelperText component
407
- - \[Changed\]: TextInput - apply InputBase
408
-
409
- - \[Fixed\]: Accordion - fix padding with icon at start
410
- - \[Fixed\]: Avatar - render PopupView when non-disabled and non-readOnly
411
- - \[Fixed\]: Button - fix width/height of icon when use name prop
412
- - \[Fixed\]: Chip - non-fixed height
413
- - \[Fixed\]: Dropdown - flexible when renderSelectedItem
414
- - \[Fixed\]: Status - add className when render
415
-
416
- ## 1.3.3
417
- - \[Added\]: Calendar - handleCheckboxCalendar - add footer control
418
- - \[Added\]: TreeView - value mode when multiple type (single or checked all parent and children)
419
-
420
- - \[Changed\]: Accordion - icon expand default at start
421
- - \[Changed\]: Button - update color for status of events of mouse
422
- - \[Changed\]: Dropdown - Render value with icon when exist iconExpr prop
423
-
424
- - \[Fixed\]: Accordion - check click on icon in Summary content
425
- - \[Fixed\]: Checkbox - fix color when disabled
426
- - \[Fixed\]: Dropdown - fix set value into input when value is empty or null, prevent set value input when searching
427
- - \[Fixed\]: Modal - fix padding close icon
428
- - \[Fixed\]: MoneyInput - prevent decimal symbol if decimal digit is 0, fix onChange when value is empty
429
- - \[Fixed\]: Tooltip - don't create tooltip when title empty
430
-
431
- ## 1.3.2
432
- - \[Added\]: PhoneInput - new PhoneInput component
433
- - \[Added\]: Chart - new BarChart component
434
- - \[Added\]: Dropdown - default object contains value for load more option
435
-
436
- - \[Changed\]: Attachment - run onChange in remove file handler
437
- - \[Changed\]: Calendar - allow custom text-align and position of icon
438
- - \[Changed\]: MoneyInput - additional start/end icon
439
-
440
- - \[Fixed\]: InputBase - backgroundColor when disabled
441
- - \[Fixed\]: MoneyInput - fix decimalDigit for non-thousandSeparator, update value follow decimalDigit
442
-
443
- ## 1.3.1
444
- - \[Added\]: Accordion - collapseIcon
445
- - \[Added\]: Calendar - min, max validate
446
- - \[Added\]: TreeView - select all option
447
-
448
- - \[Changed\]: Button - hover color, use textTransform from theme
449
- - \[Changed\]: Dropdown - render item by children, useImperativeHandle show/close handler
450
- - \[Changed\]: Input - error default if type of error is boolean
451
- - \[Changed\]: Progress - Circular progess change min width from 24 to 16
452
- - \[Changed\]: TreeView - expand by data with expand field
453
-
454
- - \[Fixed\]: Alert - fix remove timing without processing
455
- - \[Fixed\]: Avatar - onerror in image
456
- - \[Fixed\]: Collapse - height auto after expanded
457
- - \[Fixed\]: Dropdown - search by displayExpr, return empty if valueExpr wrong, normalize text before compare
458
- - \[Fixed\]: MoneyInput - onPaste handler
459
-
460
- ## 1.3.0
461
- - \[Added\]: Accordion - add new component
462
- - \[Added\]: Card - add new component
463
- - \[Added\]: Calendar - add new component
464
- - \[Added\]: Chart - add new component
465
- - \[Added\]: Collapse - add new component
466
- - \[Added\]: Dropdown - TreeView
467
- - \[Added\]: HelperText - add new component
468
- - \[Added\]: Icon - click on icon to copy the import text for that icon
469
- - \[Added\]: InputBase - add new component
470
- - \[Added\]: Label - add new component
471
- - \[Added\]: MoneyInput - add new component
472
- - \[Added\]: Paper - add new component
473
- - \[Added\]: system - mapParent util
474
- - \[Added\]: TreeList - add new component
475
- - \[Added\]: Tab - add new component
476
- - \[Added\]: Transfer - add new component
477
-
478
- - \[Changed\]: Avatar - direction to display more info, additional matchType prop to check type of file
479
- - \[Changed\]: List - apply Collapse
480
- - \[Changed\]: Paging - fullWidth, bgColor properties
481
- - \[Changed\]: Progress - change labelColor to percentColor
482
- - \[Changed\]: TextInput - use icon at head of Input
483
- - \[Changed\]: Typography - fullWidth property
484
-
485
- - \[Fixed\]: Dropdown - render html with renderSelectedItem, Dropdown - increase height of content in input, clear input value with renderSelectedItem
486
- - \[Fixed\]: Progress - CircularProgress's width, height, and thickness customization is allowed
487
- - \[Fixed\]: Tooltip - fix remove tooltip on another event processing
488
-
489
- ## 1.2.13
490
- - \[Fixed\]: Tooltip - remove timeout for create Tooltip
491
-
492
- ## 1.2.12
493
- - \[Added\]: Rating - selector to choose value from number
494
- - \[Added\]: Chip - view attach in Modal
495
- - \[Added\]: DateRangePicker - new component DateRangePicker
496
-
497
- - \[Changed\]: Popup - default autofocusOKButton is true
498
- - \[Changed\]: Modal - autoFocus Modal by props, size 24px for close icon
499
- - \[Changed\]: Tooltip - remove arrow
500
- - \[Changed\]: Typography - remove text prop, use children to display text or jsx element
501
-
502
- - \[Fixed\]: Dropdown - don't change data in dropdown when dataSource changed, check ref at click out of dropdown function
503
- - \[Fixed\]: Popup - center text relative to icon when there is only one line of text
504
- - \[Fixed\]: Status - set background is transparent
505
- - \[Fixed\]: Typography - check children prop is an array of react elements
506
-
507
- ## 1.2.11
508
- - \[Added\]: system - date/time format utils (format, diff, relative, add/subtract)
509
- - \[Added\]: Alert - secondary text
510
- - \[Added\]: Badge - small size
511
- - \[Added\]: Button - Circular button icon, More
512
- - \[Added\]: Paging - small size
513
- - \[Added\]: Rating - new component Rating
514
- - \[Added\]: Status - small size and filled view type with standard color
515
- - \[Added\]: Tooltip - small size
516
-
517
- - \[Changed\]: Attachment - Change Attachment icon
518
- - \[Changed\]: Popup - Proposal Popup with outlined Button
519
- - \[Changed\]: Typography - apply text-font from cdn, apply new types
520
-
521
- - \[Fixed\]: Dropdown - manipulate continuously to show/close dropdown, search item for 2nd opening, run onChange function after check selected item
522
- - \[Fixed\]: Popover - can't close when opening without fullScreen
523
- - \[Fixed\]: Popup - fix size and set position for icon
524
-
525
- ## 1.2.10
526
- - \[Added\]: new FormLabel component
527
- - \[Added\]: system - date/time format
528
-
529
- - \[Changed\]: Alert - deny duration remove alert element
530
- - \[Changed\]: Chip - switch type to viewType
531
- - \[Changed\]: Dropdown - LoadMore, renderItem, renderSelectedItem function props, displayExpr with new pattern (contain { or } for multiple fields)
532
- - \[Changed\]: Tooltip - set direction down is priority
533
-
534
- - \[Fixed\]: Dropdown - check currentValue not undefined, search handler, update position after search
535
- - \[Fixed\]: TextInput - fix auto resize and fixed position textarea
536
-
537
- ## 1.2.9
538
- - \[Added\]: system - getGlobal function
539
- - \[Added\]: Avatar - Avatar outline
540
-
541
- - \[Changed\]: Button - additional 2 size tiny and giant
542
- - \[Changed\]: Checkbox - additional colors
543
- - \[Changed\]: Typography - use font SF Pro Display
544
-
545
- - \[Fixed\]: Attachment - drag file in icon add
546
- - \[Fixed\]: Badge - resize
547
- - \[Fixed\]: Time Picker - Update position
548
-
549
- ## 1.2.8
550
- - \[Added\]: system - locale and global variable
551
- - \[Added\]: Avatar - show more info in avatar
552
- - \[Added\]: Dropdown - selectBox
553
-
554
- - \[Changed\]: Modal - moveable and remove box-shadow of footer
555
- - \[Changed\]: re-write Text component -> Typography component
556
- - \[Changed\]: Alert - switch variant to color
557
- - \[Changed\]: Button - switch variant to color, type to viewType
558
- - \[Changed\]: Chip - switch variant to color
559
- - \[Changed\]: FormControl - switch variant to viewType, box -> filled, line -> underlined
560
- - \[Changed\]: Icon - separate icons with components (diginet-core-ui/icons)
561
- - \[Changed\]: List - non-click list item if click on action
562
-
563
- - \[Fixed\]: Paging - Allow press Delete and Backspace to delete current page, check current page with new page was entered
564
- - \[Fixed\]: TextInput - auto increase height of textarea after set value, set right height when text only one line
565
-
566
- ## 1.2.7
567
- - \[Added\]: Icon - add generate and un-view icons
568
- - \[Added\]: TextInput - add number, password and search type
569
- -
570
- - \[Changed\]: Alert - delay duration of processing
571
- - \[Changed\]: Attachment - additional URL for newAttached
572
- - \[Changed\]: ButtonIcon - allow use icons list
573
- - \[Changed\]: DatePicker - add required label
574
- - \[Changed\]: Dropdown - default variant is line, allow hidden clear icon, color red for required label
575
- - \[Changed\]: Modal - allow/non-allow dark background
576
- - \[Changed\]: TextInput - default variant is line, color red for required label
577
- -
578
- - \[Fixed\]: Attachment - handle show/close popup, remove files of input when data change
579
- - \[Fixed\]: Avatar - object-fit cover for preview image
580
- - \[Fixed\]: Button - color of button icon link, update size of button icon
581
- - \[Fixed\]: DatePicker - update position of DatePickerBox and label
582
- - \[Fixed\]: Dropdown - move global variable to local variable, check value/defaultValue are text/number/array
583
- - \[Fixed\]: Paging - only allow press Number or Array key
584
-
585
- ## 1.2.6
586
- - \[Added\]: Add new Avatar component
587
- - \[Added\]: Add new Slider component
588
- - \[Added\]: Add new Popover component
589
- - \[Added\]: Add new Badge component
590
- - \[Added\]: Add new Divider component
591
- - \[Added\]: Add new List component
592
-
593
- - \[Changed\]: Button - Re-write Button component
594
- - \[Changed\]: Dropdown - Re-write Dropdown component
595
-
596
- - \[Fixed\]: Attachment - Fix box-sizing and align center for icon and name at icon view type, fix line-height for detail info of attach
597
- - \[Fixed\]: Popup - Close icon not appear (Proposals popup)
598
- - \[Fixed\]: Paging - Fix page 2 and immediately before last page (page selector), Fix enter num 0 in the page info
599
- - \[Fixed\]: Modal - Render portal
600
- - \[Fixed\]: DatePicker - Position fixed
601
- - \[Fixed\]: Option - use checked and defaultChecked for CheckBox, Radio, Toggle
602
-
603
- ## 1.2.5
604
- - \[Added\]: Add new Modal component
605
- - \[Added\]: Add new Chip/AttachChip component
606
-
607
- - \[Changed\]: Popup - Get show/close popup function, allow autofocus OK button, use callback on show popup (click confirm button)
608
- - \[Changed\]: Attachment - Apply get popup show/close function
609
- - \[Changed\]: Icon - Re-write Icon component
610
-
611
- - \[Fixed\]: Input - Fix css Time and Date Picker, fix css Date Picker
612
- - \[Fixed\]: Attachment - Fix icon and event handlers
613
-
614
- ## 1.2.4
615
- - \[Added\]: Add new Popup component
616
- - \[Added\]: Add new ButtonIcon component
617
-
618
- - \[Changed\]: Time Picker - Update Time Picker component follow new design (use scroll or drag mouse event)
619
- - \[Changed\]: Attachment - Show warning popup before delete attachment and autofocus OK button
620
-
621
- - \[Fixed\]: Babel-loader build failed with Optional chaining syntax
622
- - \[Fixed\]: Progress - Set default size
623
- - \[Fixed\]: Attachment - Fix Position detail info, Color for icons handle chosen items, press Delete to remove item and press Arrow key to select near item
624
- - \[Fixed\]: Paging - Fix update current page and reset onchange method for selector element when update totalItems
625
- - \[Fixed\]: TextInput - Fix margin between label and input for line type
626
-
627
- ## 1.2.3
628
- - \[Changed\]: Add size for Alert component
629
- - \[Changed\]: Transport message from notification to Alert component
630
- - \[Changed\]: Allow custom width/height for Alert component
631
- - \[Changed\]: Allow custom height of Scrollbar
632
-
633
- - \[Fixed\]: Clear icon size
634
- - \[Fixed\]: Convert to simple page with more paging only contain one item
635
-
636
- ## 1.2.2
637
- - \[Added\]: Add new Alert component
638
- - \[Added\]: Add new Notify component
639
-
640
- - \[Changed\]: Attachment - Add status icon for new file + separate detail information (username + date time + file size)
641
- - \[Changed\]: DatePicker - CSS + Remove function auto update value for the input when switch month or year
642
- ## 1.2.1
643
- - \[Added\]: Time Picker component
644
- - \[Added\]: Dropdown component
645
-
646
- - \[Fixed\]: Others/Scrollbar - maxWidth,maxHeight,Positions
647
-
648
- - \[Changed\]: Progress - forwardRef,Fix Syntax
649
- - \[Changed\]: Attachment - Choose item(s) by mouse, accept file type && Ignore existing file
650
- - \[Changed\]: Form -> FormControl, Options + FormControl(CheckBox, RadioButton, Toggle)
651
- - \[Changed\]: Form/FormDate -> FormControl/DatePicker
652
-
653
- - \[Delete\]: Options component
654
- - \[Delete\]: Input component
655
-
656
- ## 1.2.0 (2020-11-03)
657
- - \[Added\]: CheckText component
658
- - \[Added\]: Form/FormDate component
659
- - \[Added\]: Options component
660
- - \[Added\]: Others/Extra component
661
- - \[Added\]: Others/Scrollbar component
662
- - \[Added\]: Paging component
663
- - \[Added\]: Progress/Circle component
664
- - \[Added\]: Status component
665
- - \[Added\]: Icon component for DHR/ERP
666
-
667
- - \[Changed\]: Progress/Linear component
668
- - \[Changed\]: Form/Dropdown component
1
+ # DigiNet-Core-Ui
2
+ Every adventurer needs a set of tools to take along the way! DigiNet-Core-UI is the toolset that we use to build front end
3
+ apps.
4
+
5
+ ## Installation
6
+
7
+ ```shell
8
+ npm install diginet-core-ui --save
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ import React from 'react';
15
+ import {Button} from "diginet-core-ui/dist/components";
16
+
17
+ function App() {
18
+ return <Button>DigiNet</Button>;
19
+ }
20
+
21
+ ReactDOM.render(<App />, document.querySelector('#app'));
22
+ ```
23
+
24
+ ## Testing and Examples
25
+ Now go to homepage https://core.diginet.com.vn/ui/
26
+
27
+
28
+ build source by running:
29
+ ```shell
30
+ npm start
31
+ ```
32
+ and then going to http://localhost:9050/ in your browser. There'll be buttons for different modals
33
+
34
+ To test run
35
+
36
+ ```shell
37
+ npm test
38
+ ```
39
+
40
+ ## Changelog
41
+ ## 1.3.38
42
+ \[Added\]: MenuIcon - MHRM29N0003
43
+ \[Added\]: System - Phát triển chuẩn zIndex
44
+ \[Changed\]: NumberInput - Phát triển lại component NumberInput
45
+ \[Fixed\]: Accordion - Fix bug Accordion auto expand when render; Add prop style, id; Fix css
46
+ \[Fixed\]: Radio - Fix spacing & Update UI with New Design
47
+ \[Fixed\]: Toggle - Fix Toggle when label is line-break, Update style Toggle with new Design
48
+ \[Fixed\]: Divider - Fix width, height Divider
49
+
50
+ ## 1.3.37
51
+ \[Added\]: Icon EditNote, Payment
52
+ \[Added\]: MenuIcon - MHRM29N0002
53
+ \[Changed\]: Alert - Add white background behind opacity background color
54
+ \[Changed\]: Tech - Add storybook for Colors
55
+ \[Changed\]: Attachment - Add ref method openFileDialog
56
+ \[Changed\]: Modal - Change position of Modal from center to top; Add prop alignment
57
+ \[Changed\]: Icon - Remove duplicate icons
58
+ \[Changed\]: Icon Pdf, Word, Sheet
59
+ \[Fixed\]: Slider - Fix bug not showing pdf file
60
+ \[Fixed\]: Chip - Fix bug show wrong startIcon
61
+ \[Fixed\]: ModalHeader - Fix css; Add prop showClose
62
+ \[Fixed\]: Dropdown - Change error logic; Remove pointerEvent, userSelect when disabled; Add ref method setValue; Fix css disabled; Add prop onClosed
63
+
64
+ ## 1.3.36
65
+ \[Added\]: MenuIcon - W05F0013N0000, MHRP39N0017, MHRM09N0005, MHRM13N0001
66
+ \[Changed\]: Attachment - Add prop domain, isStripDomain
67
+ \[Changed\]: Tooltip - Add className
68
+ \[Changed\]: Avatar - Add Add lazyLoading
69
+ \[Changed\]: Popover - Change transition; Add prop direction; Add description on storybook
70
+ \[Changed\]: TECH - Hide unused components on storybook
71
+ \[Changed\]: Typography - Add prop showTooltip to show tooltip when content is clamped
72
+ \[Changed\]: DropdownBox - Add endIcon
73
+ \[Fixed\]: Tooltip - Fix bug not show tooltip; Optimize code
74
+
75
+ ## 1.3.35
76
+ - \[Added\]: Icon - AssignmentTurnedIn, DGNProducts
77
+ - \[Added\]: MenuIcon - MHRP09N0032
78
+ - \[Changed\]: Icon Guide, Locate
79
+ - \[Changed\]: Tab - Return callback onclick event, value; Add prop centered in TabHeader
80
+ - \[Changed\]: MoneyInput - Add props convertToWords
81
+ - \[Changed\]: Calendar - Allow select day of previous or next month
82
+ - \[Changed\]: Tab - Change logic of TabPanel; Add lazyLoading; Apply general css
83
+ - \[Fixed\]: Tab - Fix bug React.cloneElement when pass null in TabContainer, TabHeader
84
+ - \[Fixed\]: Dropdown - Remove min-width
85
+ - \[Fixed\]: SYSTEM - Format source code with prettier
86
+ - \[Fixed\]: Label - Fix pixel perfect
87
+ - \[Fixed\]: Dropdown - Fix bug not show last search value
88
+ - \[Fixed\]: Dropdown - Fix bug render icon; Show valueExpr when not have displayExpr
89
+ - \[Fixed\]: Chip - Remove unused variable
90
+ - \[Fixed\]: Badge - Fix iconProps not in useMemo dependency
91
+
92
+ ## 1.3.34
93
+ - \[Added\]: Icon - ArrowSwapHoriz, PaperZoom
94
+ - \[Added\]: MenuIcon - ALL, D00, D09, D13, D15, D21, D25, D29, D38, D39, D51, D52, D77, D84, D89
95
+ - \[Changed\]: Typography - Add case ellipsis, multiple lines
96
+ - \[Changed\]: Badge - Phát triển lại component Badge
97
+ - \[Changed\]: Typography - Add type options ( full & short)
98
+ - \[Changed\]: ButtonIcon - Change UI color of viewType ghost (Design update)
99
+ - \[Changed\]: Chip - startIcon, endIcon accept string as CORE icon
100
+ - \[Changed\]: Dropdown - Allow use prop valueObjectDefault without prop onLoadMore
101
+ - \[Changed\]: Icon - Allow using CORE colors, replace general css, add OptionWrapper
102
+ - \[Changed\]: DropdownBox - Fix bug event onClickOutside
103
+ - \[Fixed\]: Change css, typography, colors
104
+ - \[Fixed\]: Avatar - Fix default svg viewBox
105
+ - \[Fixed\]: ButtonIcon - Fix custom width height for viewType ghost
106
+ - \[Fixed\]: ButtonIcon - Remove overflow hidden, fix Ripple when use circular ButtonIcon
107
+ - \[Fixed\]: Button - Fix warning `ref` is not a prop
108
+ - \[Fixed\]: Avatar - Fix actionIconWidth, actionIconHeight; Optimize code
109
+ - \[Fixed\]: Toggle - Fix case value, defaultValue input is number 0,1
110
+ - \[Fixed\]: ButtonIcon - Add min-width, min-height
111
+ - \[Fixed\]: Dropdown - Fix bug cannot select data in editCellRender of DataGrid
112
+
113
+ ## 1.3.33
114
+ - \[Fixed\]: Dropdown - Fix show wrong when valueObjectDefault is empty object
115
+ - \[Fixed\]: Button, ButtonIcon - Fix classname
116
+
117
+ ## 1.3.32
118
+ - \[Added\]: SYSTEM - Add color text/disabled
119
+ - \[Added\]: Icon - Bookmark, Money
120
+ - \[Changed\]: Icon - ChatBubble
121
+ - \[Fixed\]: Popover - Fix bug not close popover on Modal
122
+ - \[Fixed\]: DropdownBox - Return element in onChangeInput prop
123
+ - \[Fixed\]: InputBase, Dropdown - Change default placeholder
124
+
125
+ ## 1.3.31
126
+ - \[Added\]: MenuIcon - W05F0011N0000
127
+ - \[Changed\]: SYSTEM - Replace color text from string to object
128
+ - \[Fixed\]: Toggle - Manage prop checked with useState
129
+ - \[Fixed\]: Checkbox - Fix perfect pixel
130
+ - \[Fixed\]: Button, ButtonIcon - Add Event.stopPropagation()
131
+ - \[Fixed\]: Dropdown - Fix bug clear data Dropdown close DropdownBox
132
+ - \[Fixed\]: NumberInput - Fix bug compare string
133
+ - \[Fixed\]: Accordion - Fix css min-height AccordionSummary
134
+
135
+ ## 1.3.29
136
+ - \[Added\]: Icon - Bug, Link
137
+ - \[Added\]: MenuIcon - MHRM09N0004, MHRP29N0023
138
+ - \[Changed\]: Accordion - Update Accordion, add expended like expend (keep prop expend), fix logic
139
+ - \[Changed\]: Button - Add HOC OptionWrapper to Button
140
+ - \[Changed\]: ButtonIcon - Add custom width height
141
+ - \[Fixed\]: Button - Fix Typography white-space nowrap, icon width height, add min-width, hide prop 'text'
142
+ - \[Fixed\]: Dropdown - Fix bug clear data Dropdown close DropdownBox
143
+ - \[Fixed\]: PopupV2 - Fix wrong icon color of type danger
144
+ - \[Fixed\]: Accordion - Fix css min-height AccordionSummary
145
+ - \[Fixed\]: Button, ButtonIcon - Remove prop disabled in tag <button>
146
+ - \[Fixed\]: ButtonIcon - Fix ref of ButtonIcon, Add HOC OptionWrapper
147
+ - \[Fixed\]: Tab - Fix css, Add style, className
148
+
149
+ ## 1.3.27
150
+ - \[Added\]: MenuIcon - D05, D06, D90R, DBC, MHRP09N0030, MHRP09N0031, MHRP29N0021, MHRP29N0022
151
+ - \[Added\]: Icon - Share, InsuranceHistory, School, Assessment, Ninedot, MoreHoriz, HalfClock, List, Treeview, NotificationV2, Website, Update, InfoCancel, CheckList, SpeedHigh, SpeedLow, PersonSync, SaveCancel, ApprovalOutLine, ApprovalCancel, FilterFilled
152
+ - \[Changed\]: TECH - Check and correct typography of all components
153
+ - \[Changed\]: TECH - Check and correct colors of some components
154
+ - \[Changed\]: PageInfo - Phát triển lại component PageInfo
155
+ - \[Changed\]: Icon - Remove effect; fix css; change storybook
156
+ - \[Changed\]: PopupV2 - Replace close button with ButtonIcon (Design update)
157
+ - \[Changed\]: ButtonIcon - Add props colorHover to custom hover color for ButtonIcon with color 'default'
158
+ - \[Changed\]: Badge - Phát triển lại component Badge
159
+ - \[Changed\]: Icon - Change icon Archive to ApprovalFilled
160
+ - \[Changed\]: DropdownBox - Add props onChangeInput, delayOnInput
161
+ - \[Changed\]: Icon - Fix storybook remove outlineIcon, underlineIcon
162
+ - \[Changed\]: Icon - PersonRate, Warehouse, PersonHistory, FolderInsurance, Maximize, Minimize, Scan, ArrowLeftFilled, ArrowRightFilled, ArrowUpFilled, ArrowDownFilled, CancelFilled, CloseFilled, BackFilled, AddFilled, PlusFilled, MinusFilled, Setting, Notification, Logout, LogoutV2, Login, Failed, PaperFilled, ListAprroval, StarFilled, StarOutline
163
+ - \[Fixed\]: Status - Fix height not flexible; Fix perfect pixel
164
+ - \[Fixed\]: Button - Fix perfect pixel
165
+ - \[Fixed\]: Dropdown - Optimize code
166
+ - \[Fixed\]: PopupV2 - Fix bug show less, more of description
167
+ - \[Fixed\]: Alert - Fix perfect pixel; Add size tiny
168
+ - \[Fixed\]: Attachment - Update localize
169
+ - \[Fixed\]: Button - Remove margin css
170
+ - \[Fixed\]: Label - Add css ellipsis, fix colors
171
+ - \[Fixed\]: Divider - Fix css, colors
172
+ - \[Fixed\]: Dropdown - Fix show wrong icon clear
173
+ - \[Fixed\]: Rating - Optimize code
174
+ - \[Fixed\]: DropdownBox - Fix bug not show dropdown
175
+ - \[Fixed\]: Button - Fix css Button with icon and Button without icon not in same row
176
+ - \[Fixed\]: TECH - Fix wrong color of Alert, Button, ButtonIcon, Paging, PopupV2, Rating
177
+ - \[Fixed\]: Dropdown - Fix bug show hide wrong on mobile
178
+ - \[Fixed\]: Datepicker - Fix bug not show defaultValue, warning when pass moment instance to date prop
179
+ - \[Fixed\]: Status - Fix css text to nowrap
180
+ - \[Fixed\]: Dropdown - Fix bug not show error when use multiple
181
+
182
+ ## 1.3.25
183
+ - \[Added\]: Icon - PersonRate
184
+ - \[Added\]: MenuIcon - MHRP39N0015, MHRP29N0012, TASK, MHRP09N0028, MHRP09N0029
185
+ - \[Changed\]: MenuIcon - Rename Menu Icon ERP
186
+ - \[Changed\]: ButtonIcon - Update UI (Design update)
187
+ - \[Changed\]: Fonts - Add fonts to assets
188
+ - \[Changed\]: TECH - Replace <Icon /> with <ButtonIcon />
189
+ - \[Changed\]: Icon - Bag, Calendar, Clock, Copy, Edit, Export, Login, Logout, Mail, Mapping, Marker, Paper, Phone, PlanePaper, QuestionMark, Save, Send, Wait, Menu
190
+ - \[Fixed\]: Chip - Fix css width not max-content
191
+ - \[Fixed\]: Avatar - Fix bug Cannot read properties of null (reading 'querySelector')
192
+ - \[Fixed\]: DropdownBox - Fix bug DropdownBox not close when open modal
193
+ - \[Fixed\]: Dropdown - Remove ::after border-color when focus
194
+ - \[Changed\]: InputBase - Add text-overflow ellipsis
195
+ - \[Fixed\]: Dropdown - Fix bug cannot read properties of null (reading 'childNodes')
196
+ - \[Fixed\]: Dropdown - Fix bug scrollbar covering search bar of treeview
197
+ - \[Fixed\]: Avatar - Fix bug wrong size of default icon
198
+ - \[Fixed\]: PopupV2 - Fix bug not set open state when call onConfirm, onCancel
199
+
200
+ ## Changelog
201
+ ## 1.3.24
202
+ - \[Add\]: Icon - HourGlass
203
+ - \[Add\]: IconMenu - MHRM84N0002, MHRP39N0014, MHRP09N0024, MHRP09N0025, MHRP09N0026, MHRP09N0027, MHRP29N0019, MHRP29N0020
204
+ - \[Changed\]: Icon - Update file svg History, View, ArrowDoubleDown, ArrowDoubleLeft, ArrowDoubleRight, ArrowDoubleUp, Deny
205
+ - \[Changed\]: FormControl - Add PropTypes 'node' to props 'label' of DatePicker, Dropdown, MoneyInput, NumberInput, TextInput, TimePicker
206
+ - \[Changed\]: Accordion - Add tabIndex -1 to allow focusable (Design require)
207
+ - \[Fixed\]: Accordion - Fix bug 'The pseudo class ":first-child" is potentially unsafe when doing server-side rendering'
208
+ - \[Fixed\]: TreeView - Hotfix UI Accordion in TreeView
209
+ - \[Fixed\]: Tab - Fix demo storybook
210
+ - \[Fixed\]: Tab - Fix 'children' prop-types; allow using both 'label' and 'children' props
211
+ - \[Fixed\]: Button - Update storybook Button, ButtonIcon, ButtonMore
212
+ - \[Fixed\]: DropdownBox - Fix cannot log ref function
213
+ - \[Fixed\]: DropdownBox - Fix bug scroll
214
+
215
+ ## 1.3.23
216
+ - \[Changed\]: Tab - Update design
217
+ - \[Changed\]: Theme - Add font-face
218
+ - \[Fixed\]: Tab - Fix perfect pixel, add scrollButtons
219
+ - \[Fixed\]: Avatar - Fix zIndex of Popover lower than Modal, add background-image
220
+ - \[Fixed\]: Popover - Fix zIndex of Popover lower than Modal
221
+ - \[Fixed\]: Dropdown - Fix bug scroll
222
+ - \[Fixed\]: Avatar - Add event when use prop hoverAble on mobile, remove tooltip arrow
223
+
224
+
225
+ ## 1.3.22
226
+ - \[Fixed\]: Popup - Fix description with content as html.
227
+ - \[Added\]: IconV2 - Thay đổi cơ chê quản lý danh sách Icon.
228
+
229
+ ## 1.3.21
230
+ - \[Fixed\]: Fixed a CORE bug that caused an error for projects lower than ios13
231
+ - \[Fixed\]: Label - Fix margin different from design
232
+ - \[Fixed\]: Attachment - Fix bug transition, fix css
233
+ - \[Fixed\]: Icon - Fix not show "Copy Đường Dẫn thành công" when click ERP icon
234
+ - \[Changed\]: Accordion - Redevelop component Accordion
235
+ - \[Changed\]: Attachment - Add prop readOnly
236
+ - \[Changed\]: Tab - Add prop level
237
+ - \[Changed\]: Icon - Update Icon W05F0001, W05F0008, W06F0001
238
+ - \[Added\]: Icon - Add W06F0008, MHRM39N0014, MHRM39N0015, PaperView
239
+
240
+ ## 1.3.20
241
+ - \[Fixed\]: Popup - Fix css position causing not showing (IOS)
242
+
243
+ ## 1.3.19
244
+ - \[Fixed\]: DatetimePicker - enabled onClick when InputBase readonly
245
+ - \[Fixed\]: DatePicker - Remove min-width 200px, Add Tooltip when width smaller than 200px
246
+ - \[Fixed\]: Modal - Fix bug scroll not working on Firefox
247
+ - \[Fixed\]: Popup - Fix popup on safari IOS (iphone ios 13.x.x trở xuống)
248
+ - \[Fixed\]: Tab - Fix bug flickering when re-render
249
+
250
+ ## 1.3.18
251
+ - \[Changed\]:Tab - Phát triển lại component Tab
252
+ - \[Fixed\]: Attachment - Error can not read property "style"
253
+ - \[Changed\]: Popover - Add functions by ref (show, close, setPosition)
254
+ - \[Changed\]: DropdownBox - Fix bug "React does not recognize the "dropdownBoxStyle" prop on a DOM element"
255
+ - \[Changed\]: Input - Update style status Disabled/ReadOnly
256
+ - \[Changed\]: Button - Add staus loading
257
+ - \[Fixed\]: Dropdown - Fix don't receive "disabled" prop once again when to change disabled
258
+ - \[Change\]: Button - Return callback onclick event
259
+ - \[Change\]: Rating - Not change color icon outline with custom props.
260
+
261
+ ## 1.3.17
262
+ - \[Added\]: Icon - Add PlaylistAdd, CalendarBlankRounded icons, AddCircle icon.
263
+
264
+ - \[Changed\]: Popup V2 - Fix decription.length
265
+ ## 1.3.15
266
+ - \[Added\]: Icon - Add PlaylistAdd, CalendarBlankRounded icons
267
+
268
+ - \[Changed\]: Popup V2 - Add scrollbar, change animation, add type Yes/No
269
+ - \[Changed\]: Popup V2 - Fix pixel perfect, fix word-break
270
+
271
+ - \[Fixed\]: Text - fix word-break
272
+
273
+ - \[Changed\]: Input - return limit for onLoadMore function, Add disabled item.
274
+ - \[Fixed\]: Input - Fix disabled label
275
+ ## 1.3.13
276
+ - \[Added\]: Icon - Add Monetization icons
277
+
278
+ - \[Changed\]: Popup - remove DOM after close
279
+ - \[Changed\]: Popup V2 - Add zIndex, Remove required description, Update storybook
280
+
281
+ - \[Fixed\]: Input - DatePicker remove InputValue when value invalid
282
+ - \[Fixed\]: Input - DateRangePicker set input value for more than one in english case
283
+ - \[Fixed\]: Tab - TabContainer fix error eventSlide not running and fix error classList when not tabItem
284
+ - \[Fixed\]: Theme - fix makeStyles with @media
285
+ ## 1.3.12
286
+ - \[Added\]: Theme - Additional breakpoints for responsive
287
+ - \[Added\]: system - Color-helper add new func isColor
288
+ - \[Added\]: Tab - slide effect for TabPanel
289
+
290
+ - \[Changed\]: Attachment - handle sort with data, and use as an option
291
+ - \[Changed\]: DateRangePicker - change style of text for mobile device
292
+ - \[Changed\]: Chart - PieChart animation text, tooltip
293
+ - \[Changed\]: Popup - allow custom confirm/cancel button
294
+
295
+ - \[Fixed\]: Chart - PieChart custom position show label Depends on the length of the text
296
+ - \[Fixed\]: DateRangePicker fix bug 3 buttons visible at the same time, fix bug change locale not change weekdays, remove input value if defaultValue invalid
297
+ - \[Fixed\]: Dropdown - prevent break line when press Enter, conflict value attribute of input and div tag
298
+ - \[Fixed\]: Modal - set null for overflow of body after close Modal
299
+ - \[Fixed\]: Number/MoneyInput - format number was wrong
300
+ - \[Fixed\]: MoneyInput - fix default value with thousandSeparator, Fix onKeyDown can't add when focus before useEffect
301
+ - \[Fixed\]: system - makeStyles fix lost content of pseudo
302
+
303
+ ## 1.3.11
304
+ - \[Added\]: Attachment - sort handler
305
+ - \[Added\]: DatePicker - clear value by icon with clearAble prop
306
+ - \[Added\]: DateRangePicker - add DateRangePicker version 2
307
+ - \[Added\]: Popup - add Popup version 2
308
+ - \[Added\]: system - setGlobal method
309
+
310
+ - \[Changed\]: Dropdown - close on scroll
311
+ - \[Changed\]: Chart - create tooltip ver-2, PieChart change animation of tooltip
312
+ - \[Changed\]: Checkbox - allow handle by ref
313
+ - \[Changed\]: Tab - tabItem change distance between button and icon
314
+ - \[Changed\]: TreeView - disabledRelevantValue still checked/unchecked parent item, allow show children of last result was matched
315
+
316
+ - \[Fixed\]: Modal - flexible footer height, set value into input after blur, add load more handler when data.length < total
317
+ - \[Fixed\]: Toggle - set necessary style
318
+
319
+ ## 1.3.10
320
+ - \[Added\]: Attachment - Ctrl + A to select all item
321
+ - \[Added\]: Theme - add makeStyles utils
322
+
323
+ - \[Changed\]: Button - cursor no-drop for disabled button
324
+ - \[Changed\]: Chart - change id tooltip and custom position show tooltip
325
+ - \[Changed\]: Status - change default color to secondary
326
+
327
+ - \[Fixed\]: Attachment - z-index too high, fix click out side of item
328
+ - \[Fixed\]: Calendar - text-align not center
329
+ - \[Fixed\]: Chart - LineChart change size of path and point when change width
330
+ - \[Fixed\]: Chip - fix color for outlined type
331
+ - \[Fixed\]: DatePicker - fix min-width of picker
332
+ - \[Fixed\]: InputBase - fix disabled for multiline
333
+ - \[Fixed\]: LinearProgress - miss value in small-width case
334
+ - \[Fixed\]: NumberInput - fix format is a function and change format but not change decimal digit, handle value when change format, handle min/max in onchange
335
+
336
+ ## 1.3.9
337
+ - \[Added\]: Attachment - add clear all handler
338
+ - \[Added\]: Chart - add tooltip
339
+ - \[Added\]: Dropdown - clearAble for multiple type
340
+ - \[Added\]: InputBase - add rows/maxRows props for multiline
341
+ - \[Added\]: LineChart - smooth line
342
+ - \[Added\]: NumberInput - add new NumberInput component
343
+ - \[Added\]: system - validation for input
344
+ - \[Added\]: Typography - Add 4 types for title
345
+
346
+ - \[Changed\]: Collapse - only hidden for overflow-y
347
+ - \[Changed\]: Dropdown - additional keyExpr to display text of selected value, keeping search value if search with onInput
348
+ - \[Changed\]: FormGroup - handler error with oneHelperText for all Input
349
+ - \[Changed\]: Slider - Add onShowNavigation to show/hide the navigation-bottom bar, Hover to show Arrow button, enable active prop
350
+
351
+ - \[Fixed\]: DatePicker - use min/max but not disabled invalid date
352
+ - \[Fixed\]: Dropdown - don't set onClear when onChange method changed, lost some item when search, prevent scroll body, show placeholder for div contenteditable, show search input when using children, remove load more after search
353
+ - \[Fixed\]: DropdownBox - use createPortal to render, remove max-height
354
+ - \[Fixed\]: Modal - existing dark background when darkTheme is false, can't focus into input in Modal
355
+ - \[Fixed\]: MoneyInput - check and return value with decimal digit
356
+ - \[Fixed\]: Popup - prevent scroll body, render at portal
357
+ - \[Fixed\]: Progress - LinearProgress fix miss value in small-width case
358
+ - \[Fixed\]: Tab - keep other Tab when using multiple TabContainer
359
+
360
+ ## 1.3.8
361
+ - \[Fixed\]: Input - only show error when non-value
362
+ - \[Fixed\]: Dropdown - scroll to top on load more
363
+ - \[Fixed\]: Rating - allow custom width/height, color when disabled, readOnly case
364
+
365
+ ## 1.3.7
366
+ - \[Added\]: Accordion - add AccordionGroup component
367
+ - \[Added\]: DatePicker - add returnFormat, two button to control onChange method
368
+ - \[Added\]: Dropdown - add DropdownBox component
369
+
370
+ - \[Changed\]: Typography - h2: font-size: 18px, remove uppercase is the default case
371
+
372
+ - \[Fixed\]: Checkbox - readOnly case
373
+ - \[Fixed\]: DatePicker - onChange method reset the initial value, allows to set icon and text positions
374
+ - \[Fixed\]: Dropdown - overflow of content when the text was too long, reassign the current value after deleting the content and click outside with a value of 0
375
+ - \[Fixed\]: MoneyInput - press Tab, allow enter 0
376
+ - \[Fixed\]: Tab - allows to display any tab
377
+
378
+ ## 1.3.6
379
+ - \[Added\]: Chart - add LineChart component
380
+ - \[Added\]: Chip - additional maxLength prop to display shorten content
381
+ - \[Added\]: FormGroup - add new FormGroup component
382
+ - \[Added\]: Icon - additional some necessary icons
383
+ - \[Added\]: TreeView - disabled relevant value
384
+
385
+ - \[Changed\]: Accordion - change expand icon deg (down/up)
386
+ - \[Changed\]: Button - change hover/focus and active styles with filter, default color is #7F828E, switch linked to text
387
+ - \[Changed\]: Dropdown - padding top/bottom is 8px
388
+ - \[Changed\]: Checkbox - update disabled and tick symbol styles
389
+ - \[Changed\]: Modal - box-shadow for footer
390
+ - \[Changed\]: Popover - remove after close prop (keep Popover element)
391
+ - \[Changed\]: Progress - LinearProgress determinate add value position (top/bottom)
392
+ - \[Changed\]: TextInput - auto increase margin bottom if error to long
393
+
394
+ - \[Fixed\]: Dropdown - allowSearch TreeView mode, only set value into input when non-value prop
395
+ - \[Fixed\]: Chip - fix remove item in setTimeout function
396
+ - \[Fixed\]: Icon - allow use color from theme
397
+ ## 1.3.5
398
+ - \[Added\]: Calendar add actions properties
399
+ - \[Added\]: InputBase - add resetValue + setPreviousValue method
400
+ - \[Added\]: TreeView - multiple inheritance (checked parent/children -> checked children/parent, unchecked parent -> unchecked children, unchecked children -> don't unchecked parent). Show selected value
401
+
402
+ - \[Changed\]: Alert - use ref to add Alert
403
+
404
+ - \[Fixed\]: Dropdown - fix set readOnly for input
405
+ - \[Fixed\]: InputBase - fix padding for multiline
406
+ - \[Fixed\]: Popup - remove padding button confirm
407
+ - \[Fixed\]: TextInput - fix transport type into InputBase
408
+ - \[Fixed\]: Tooltip - apply tooltipMaxWidth
409
+ - \[Fixed\]: Typography - fix fullWidth style
410
+
411
+ ## 1.3.4
412
+ - \[Added\]: Dropdown - additional subtext
413
+ - \[Added\]: TreeView - handleCheckbox in ref.current, render child items async, search handler
414
+
415
+ - \[Changed\]: InputBase - absolute HelperText component
416
+ - \[Changed\]: TextInput - apply InputBase
417
+
418
+ - \[Fixed\]: Accordion - fix padding with icon at start
419
+ - \[Fixed\]: Avatar - render PopupView when non-disabled and non-readOnly
420
+ - \[Fixed\]: Button - fix width/height of icon when use name prop
421
+ - \[Fixed\]: Chip - non-fixed height
422
+ - \[Fixed\]: Dropdown - flexible when renderSelectedItem
423
+ - \[Fixed\]: Status - add className when render
424
+
425
+ ## 1.3.3
426
+ - \[Added\]: Calendar - handleCheckboxCalendar - add footer control
427
+ - \[Added\]: TreeView - value mode when multiple type (single or checked all parent and children)
428
+
429
+ - \[Changed\]: Accordion - icon expand default at start
430
+ - \[Changed\]: Button - update color for status of events of mouse
431
+ - \[Changed\]: Dropdown - Render value with icon when exist iconExpr prop
432
+
433
+ - \[Fixed\]: Accordion - check click on icon in Summary content
434
+ - \[Fixed\]: Checkbox - fix color when disabled
435
+ - \[Fixed\]: Dropdown - fix set value into input when value is empty or null, prevent set value input when searching
436
+ - \[Fixed\]: Modal - fix padding close icon
437
+ - \[Fixed\]: MoneyInput - prevent decimal symbol if decimal digit is 0, fix onChange when value is empty
438
+ - \[Fixed\]: Tooltip - don't create tooltip when title empty
439
+
440
+ ## 1.3.2
441
+ - \[Added\]: PhoneInput - new PhoneInput component
442
+ - \[Added\]: Chart - new BarChart component
443
+ - \[Added\]: Dropdown - default object contains value for load more option
444
+
445
+ - \[Changed\]: Attachment - run onChange in remove file handler
446
+ - \[Changed\]: Calendar - allow custom text-align and position of icon
447
+ - \[Changed\]: MoneyInput - additional start/end icon
448
+
449
+ - \[Fixed\]: InputBase - backgroundColor when disabled
450
+ - \[Fixed\]: MoneyInput - fix decimalDigit for non-thousandSeparator, update value follow decimalDigit
451
+
452
+ ## 1.3.1
453
+ - \[Added\]: Accordion - collapseIcon
454
+ - \[Added\]: Calendar - min, max validate
455
+ - \[Added\]: TreeView - select all option
456
+
457
+ - \[Changed\]: Button - hover color, use textTransform from theme
458
+ - \[Changed\]: Dropdown - render item by children, useImperativeHandle show/close handler
459
+ - \[Changed\]: Input - error default if type of error is boolean
460
+ - \[Changed\]: Progress - Circular progess change min width from 24 to 16
461
+ - \[Changed\]: TreeView - expand by data with expand field
462
+
463
+ - \[Fixed\]: Alert - fix remove timing without processing
464
+ - \[Fixed\]: Avatar - onerror in image
465
+ - \[Fixed\]: Collapse - height auto after expanded
466
+ - \[Fixed\]: Dropdown - search by displayExpr, return empty if valueExpr wrong, normalize text before compare
467
+ - \[Fixed\]: MoneyInput - onPaste handler
468
+
469
+ ## 1.3.0
470
+ - \[Added\]: Accordion - add new component
471
+ - \[Added\]: Card - add new component
472
+ - \[Added\]: Calendar - add new component
473
+ - \[Added\]: Chart - add new component
474
+ - \[Added\]: Collapse - add new component
475
+ - \[Added\]: Dropdown - TreeView
476
+ - \[Added\]: HelperText - add new component
477
+ - \[Added\]: Icon - click on icon to copy the import text for that icon
478
+ - \[Added\]: InputBase - add new component
479
+ - \[Added\]: Label - add new component
480
+ - \[Added\]: MoneyInput - add new component
481
+ - \[Added\]: Paper - add new component
482
+ - \[Added\]: system - mapParent util
483
+ - \[Added\]: TreeList - add new component
484
+ - \[Added\]: Tab - add new component
485
+ - \[Added\]: Transfer - add new component
486
+
487
+ - \[Changed\]: Avatar - direction to display more info, additional matchType prop to check type of file
488
+ - \[Changed\]: List - apply Collapse
489
+ - \[Changed\]: Paging - fullWidth, bgColor properties
490
+ - \[Changed\]: Progress - change labelColor to percentColor
491
+ - \[Changed\]: TextInput - use icon at head of Input
492
+ - \[Changed\]: Typography - fullWidth property
493
+
494
+ - \[Fixed\]: Dropdown - render html with renderSelectedItem, Dropdown - increase height of content in input, clear input value with renderSelectedItem
495
+ - \[Fixed\]: Progress - CircularProgress's width, height, and thickness customization is allowed
496
+ - \[Fixed\]: Tooltip - fix remove tooltip on another event processing
497
+
498
+ ## 1.2.13
499
+ - \[Fixed\]: Tooltip - remove timeout for create Tooltip
500
+
501
+ ## 1.2.12
502
+ - \[Added\]: Rating - selector to choose value from number
503
+ - \[Added\]: Chip - view attach in Modal
504
+ - \[Added\]: DateRangePicker - new component DateRangePicker
505
+
506
+ - \[Changed\]: Popup - default autofocusOKButton is true
507
+ - \[Changed\]: Modal - autoFocus Modal by props, size 24px for close icon
508
+ - \[Changed\]: Tooltip - remove arrow
509
+ - \[Changed\]: Typography - remove text prop, use children to display text or jsx element
510
+
511
+ - \[Fixed\]: Dropdown - don't change data in dropdown when dataSource changed, check ref at click out of dropdown function
512
+ - \[Fixed\]: Popup - center text relative to icon when there is only one line of text
513
+ - \[Fixed\]: Status - set background is transparent
514
+ - \[Fixed\]: Typography - check children prop is an array of react elements
515
+
516
+ ## 1.2.11
517
+ - \[Added\]: system - date/time format utils (format, diff, relative, add/subtract)
518
+ - \[Added\]: Alert - secondary text
519
+ - \[Added\]: Badge - small size
520
+ - \[Added\]: Button - Circular button icon, More
521
+ - \[Added\]: Paging - small size
522
+ - \[Added\]: Rating - new component Rating
523
+ - \[Added\]: Status - small size and filled view type with standard color
524
+ - \[Added\]: Tooltip - small size
525
+
526
+ - \[Changed\]: Attachment - Change Attachment icon
527
+ - \[Changed\]: Popup - Proposal Popup with outlined Button
528
+ - \[Changed\]: Typography - apply text-font from cdn, apply new types
529
+
530
+ - \[Fixed\]: Dropdown - manipulate continuously to show/close dropdown, search item for 2nd opening, run onChange function after check selected item
531
+ - \[Fixed\]: Popover - can't close when opening without fullScreen
532
+ - \[Fixed\]: Popup - fix size and set position for icon
533
+
534
+ ## 1.2.10
535
+ - \[Added\]: new FormLabel component
536
+ - \[Added\]: system - date/time format
537
+
538
+ - \[Changed\]: Alert - deny duration remove alert element
539
+ - \[Changed\]: Chip - switch type to viewType
540
+ - \[Changed\]: Dropdown - LoadMore, renderItem, renderSelectedItem function props, displayExpr with new pattern (contain { or } for multiple fields)
541
+ - \[Changed\]: Tooltip - set direction down is priority
542
+
543
+ - \[Fixed\]: Dropdown - check currentValue not undefined, search handler, update position after search
544
+ - \[Fixed\]: TextInput - fix auto resize and fixed position textarea
545
+
546
+ ## 1.2.9
547
+ - \[Added\]: system - getGlobal function
548
+ - \[Added\]: Avatar - Avatar outline
549
+
550
+ - \[Changed\]: Button - additional 2 size tiny and giant
551
+ - \[Changed\]: Checkbox - additional colors
552
+ - \[Changed\]: Typography - use font SF Pro Display
553
+
554
+ - \[Fixed\]: Attachment - drag file in icon add
555
+ - \[Fixed\]: Badge - resize
556
+ - \[Fixed\]: Time Picker - Update position
557
+
558
+ ## 1.2.8
559
+ - \[Added\]: system - locale and global variable
560
+ - \[Added\]: Avatar - show more info in avatar
561
+ - \[Added\]: Dropdown - selectBox
562
+
563
+ - \[Changed\]: Modal - moveable and remove box-shadow of footer
564
+ - \[Changed\]: re-write Text component -> Typography component
565
+ - \[Changed\]: Alert - switch variant to color
566
+ - \[Changed\]: Button - switch variant to color, type to viewType
567
+ - \[Changed\]: Chip - switch variant to color
568
+ - \[Changed\]: FormControl - switch variant to viewType, box -> filled, line -> underlined
569
+ - \[Changed\]: Icon - separate icons with components (diginet-core-ui/icons)
570
+ - \[Changed\]: List - non-click list item if click on action
571
+
572
+ - \[Fixed\]: Paging - Allow press Delete and Backspace to delete current page, check current page with new page was entered
573
+ - \[Fixed\]: TextInput - auto increase height of textarea after set value, set right height when text only one line
574
+
575
+ ## 1.2.7
576
+ - \[Added\]: Icon - add generate and un-view icons
577
+ - \[Added\]: TextInput - add number, password and search type
578
+ -
579
+ - \[Changed\]: Alert - delay duration of processing
580
+ - \[Changed\]: Attachment - additional URL for newAttached
581
+ - \[Changed\]: ButtonIcon - allow use icons list
582
+ - \[Changed\]: DatePicker - add required label
583
+ - \[Changed\]: Dropdown - default variant is line, allow hidden clear icon, color red for required label
584
+ - \[Changed\]: Modal - allow/non-allow dark background
585
+ - \[Changed\]: TextInput - default variant is line, color red for required label
586
+ -
587
+ - \[Fixed\]: Attachment - handle show/close popup, remove files of input when data change
588
+ - \[Fixed\]: Avatar - object-fit cover for preview image
589
+ - \[Fixed\]: Button - color of button icon link, update size of button icon
590
+ - \[Fixed\]: DatePicker - update position of DatePickerBox and label
591
+ - \[Fixed\]: Dropdown - move global variable to local variable, check value/defaultValue are text/number/array
592
+ - \[Fixed\]: Paging - only allow press Number or Array key
593
+
594
+ ## 1.2.6
595
+ - \[Added\]: Add new Avatar component
596
+ - \[Added\]: Add new Slider component
597
+ - \[Added\]: Add new Popover component
598
+ - \[Added\]: Add new Badge component
599
+ - \[Added\]: Add new Divider component
600
+ - \[Added\]: Add new List component
601
+
602
+ - \[Changed\]: Button - Re-write Button component
603
+ - \[Changed\]: Dropdown - Re-write Dropdown component
604
+
605
+ - \[Fixed\]: Attachment - Fix box-sizing and align center for icon and name at icon view type, fix line-height for detail info of attach
606
+ - \[Fixed\]: Popup - Close icon not appear (Proposals popup)
607
+ - \[Fixed\]: Paging - Fix page 2 and immediately before last page (page selector), Fix enter num 0 in the page info
608
+ - \[Fixed\]: Modal - Render portal
609
+ - \[Fixed\]: DatePicker - Position fixed
610
+ - \[Fixed\]: Option - use checked and defaultChecked for CheckBox, Radio, Toggle
611
+
612
+ ## 1.2.5
613
+ - \[Added\]: Add new Modal component
614
+ - \[Added\]: Add new Chip/AttachChip component
615
+
616
+ - \[Changed\]: Popup - Get show/close popup function, allow autofocus OK button, use callback on show popup (click confirm button)
617
+ - \[Changed\]: Attachment - Apply get popup show/close function
618
+ - \[Changed\]: Icon - Re-write Icon component
619
+
620
+ - \[Fixed\]: Input - Fix css Time and Date Picker, fix css Date Picker
621
+ - \[Fixed\]: Attachment - Fix icon and event handlers
622
+
623
+ ## 1.2.4
624
+ - \[Added\]: Add new Popup component
625
+ - \[Added\]: Add new ButtonIcon component
626
+
627
+ - \[Changed\]: Time Picker - Update Time Picker component follow new design (use scroll or drag mouse event)
628
+ - \[Changed\]: Attachment - Show warning popup before delete attachment and autofocus OK button
629
+
630
+ - \[Fixed\]: Babel-loader build failed with Optional chaining syntax
631
+ - \[Fixed\]: Progress - Set default size
632
+ - \[Fixed\]: Attachment - Fix Position detail info, Color for icons handle chosen items, press Delete to remove item and press Arrow key to select near item
633
+ - \[Fixed\]: Paging - Fix update current page and reset onchange method for selector element when update totalItems
634
+ - \[Fixed\]: TextInput - Fix margin between label and input for line type
635
+
636
+ ## 1.2.3
637
+ - \[Changed\]: Add size for Alert component
638
+ - \[Changed\]: Transport message from notification to Alert component
639
+ - \[Changed\]: Allow custom width/height for Alert component
640
+ - \[Changed\]: Allow custom height of Scrollbar
641
+
642
+ - \[Fixed\]: Clear icon size
643
+ - \[Fixed\]: Convert to simple page with more paging only contain one item
644
+
645
+ ## 1.2.2
646
+ - \[Added\]: Add new Alert component
647
+ - \[Added\]: Add new Notify component
648
+
649
+ - \[Changed\]: Attachment - Add status icon for new file + separate detail information (username + date time + file size)
650
+ - \[Changed\]: DatePicker - CSS + Remove function auto update value for the input when switch month or year
651
+ ## 1.2.1
652
+ - \[Added\]: Time Picker component
653
+ - \[Added\]: Dropdown component
654
+
655
+ - \[Fixed\]: Others/Scrollbar - maxWidth,maxHeight,Positions
656
+
657
+ - \[Changed\]: Progress - forwardRef,Fix Syntax
658
+ - \[Changed\]: Attachment - Choose item(s) by mouse, accept file type && Ignore existing file
659
+ - \[Changed\]: Form -> FormControl, Options + FormControl(CheckBox, RadioButton, Toggle)
660
+ - \[Changed\]: Form/FormDate -> FormControl/DatePicker
661
+
662
+ - \[Delete\]: Options component
663
+ - \[Delete\]: Input component
664
+
665
+ ## 1.2.0 (2020-11-03)
666
+ - \[Added\]: CheckText component
667
+ - \[Added\]: Form/FormDate component
668
+ - \[Added\]: Options component
669
+ - \[Added\]: Others/Extra component
670
+ - \[Added\]: Others/Scrollbar component
671
+ - \[Added\]: Paging component
672
+ - \[Added\]: Progress/Circle component
673
+ - \[Added\]: Status component
674
+ - \[Added\]: Icon component for DHR/ERP
675
+
676
+ - \[Changed\]: Progress/Linear component
677
+ - \[Changed\]: Form/Dropdown component