diginet-core-ui 1.3.41 → 1.3.42

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