diginet-core-ui 1.4.13 → 1.4.14

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.
@@ -0,0 +1,6 @@
1
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20.2998 19.9C22.2998 19.9 24.3998 19.9 26.3998 19.9C27.6998 19.9 28.4998 20.6 28.7998 21.9C29.1998 23.7 29.4998 25.6 29.8998 27.4C30.0998 28.5 29.7998 29.5 28.9998 30.1C26.9998 31.7 24.7998 32.9 22.2998 33.6C20.4998 34.1 18.6998 33.9 16.9998 33.2C15.0998 32.4 13.2998 31.4 11.6998 30.2C10.7998 29.5 10.4998 28.6 10.6998 27.4C10.9998 25.5 11.3998 23.6 11.7998 21.7C11.9998 20.5 12.8998 19.8 14.0998 19.8C16.0998 19.9 18.1998 19.9 20.2998 19.9Z" fill="#2680EB"/>
3
+ <path d="M20.2998 18.9C16.3998 18.9 13.1998 15.7 13.1998 11.7C13.1998 7.7 16.3998 4.5 20.2998 4.5C24.1998 4.5 27.3998 7.8 27.3998 11.7C27.3998 15.7 24.1998 18.9 20.2998 18.9Z" fill="#2680EB"/>
4
+ <path d="M2.23309 13.8056C2.70165 13.8056 3.1702 13.5139 3.35763 13.0278C5.98154 6.61111 12.1665 2.43056 19.1011 2.43056C21.4439 2.43056 23.693 2.91667 25.7546 3.79167C28.4723 4.95833 30.9088 6.90278 32.6893 9.33333L31.2836 10.0139C31.0962 10.1111 31.0025 10.2083 31.0025 10.4028C31.0025 10.5972 31.0962 10.6944 31.1899 10.7917L35.9692 13.9028C36.0629 14 36.1566 14 36.2503 14C36.344 14 36.4377 14 36.4377 13.9028C36.6252 13.8056 36.7189 13.7083 36.7189 13.5139L37 7.68056C37 7.48611 36.9063 7.38889 36.8126 7.29167C36.7189 7.19444 36.6252 7.19444 36.5314 7.19444C36.4377 7.19444 36.344 7.19444 36.344 7.29167L34.8446 8.06944C32.783 5.15278 29.9716 2.81944 26.6918 1.45833C24.2553 0.486111 21.725 0 19.1011 0C11.2294 0 4.20103 4.76389 1.10855 12.0556C0.82742 12.6389 1.10855 13.4167 1.76453 13.6111C1.85824 13.7083 2.04567 13.8056 2.23309 13.8056Z" fill="#FF8C00"/>
5
+ <path d="M37.2355 25.2897C37.048 25.1931 36.9543 25.1931 36.7669 25.1931C36.2984 25.1931 35.8298 25.4828 35.6424 25.9655C32.9247 32.3379 26.7398 36.4897 19.8989 36.4897C17.5561 36.4897 15.307 36.0069 13.2454 35.1379C10.5277 33.9793 8.09124 32.0483 6.31072 29.6345L7.71639 28.9586C7.90381 28.8621 7.99753 28.7655 7.99753 28.5724C7.99753 28.3793 7.90382 28.2828 7.8101 28.1862L3.03082 25.0966C2.93711 25 2.8434 25 2.74969 25C2.65598 25 2.56227 25 2.56227 25.0966C2.37485 25.1931 2.28113 25.2897 2.28113 25.4828L2 31.2759C2 31.469 2.09371 31.5655 2.18742 31.6621C2.28113 31.7586 2.37485 31.7586 2.46856 31.7586C2.56227 31.7586 2.65598 31.7586 2.65598 31.6621L4.15536 30.8897C6.21701 33.7862 9.02835 36.1034 12.3082 37.4552C14.7447 38.5172 17.3687 39 19.8989 39C22.4291 39 24.8656 38.5172 27.2084 37.5517C32.0813 35.6207 35.8298 31.8552 37.8914 26.931C38.1726 26.2552 37.8914 25.5793 37.2355 25.2897Z" fill="#FF8C00"/>
6
+ </svg>
@@ -0,0 +1,14 @@
1
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1533_53)">
3
+ <path d="M23.6785 19.5496C21.4897 20.7404 19.7984 22.7251 18.903 25.0076C18.4055 26.2977 18.1071 27.5877 18.1071 28.977C18.1071 29.9694 18.2066 30.9618 18.505 31.9541C17.6096 31.9541 16.6147 31.6564 15.7193 31.2595C13.9285 30.5648 12.2372 29.5725 10.7448 28.4809C9.94891 27.8854 9.55095 26.9923 9.74993 25.9007C10.0484 24.1144 10.4464 22.3282 10.7448 20.5419C10.9438 19.4503 11.7397 18.7557 12.8341 18.7557C14.8239 18.7557 16.7142 18.7557 18.704 18.7557C20.5943 18.7557 22.4846 18.7557 24.4744 18.7557C24.6734 18.7557 24.7729 18.7557 24.9719 18.7557C24.5739 19.0534 24.1759 19.2519 23.6785 19.5496Z" fill="#2680EB"/>
4
+ <path d="M18.8035 17.8625C15.1224 17.8625 12.1377 14.7862 12.2372 11.1144C12.2372 7.44269 15.2219 4.36636 18.903 4.46559C22.5841 4.46559 25.5688 7.54193 25.4693 11.2137C25.4693 14.8854 22.3851 17.9618 18.8035 17.8625Z" fill="#2680EB"/>
5
+ <path d="M2.68611 12.9008C5.27284 6.7481 11.3417 2.77863 17.908 2.77863C20.0968 2.77863 22.2856 3.17558 24.3749 4.06871C26.9616 5.16031 29.1504 6.84733 30.9412 9.03054L29.8468 9.7252C29.6478 9.82443 29.4489 10.0229 29.4489 10.3206C29.4489 10.6183 29.5484 10.8168 29.7473 10.916L34.4234 13.8931C34.5228 13.9924 34.7218 13.9924 34.8213 13.9924C34.9208 13.9924 35.0203 13.9924 35.1198 13.8931C35.3188 13.7939 35.5177 13.5954 35.5177 13.2977L35.8162 7.8397C35.8162 7.54199 35.7167 7.34352 35.5177 7.24428C35.3188 7.14504 35.0203 7.14504 34.8213 7.24428L33.5279 7.93894C31.4387 5.16031 28.7524 2.97711 25.5688 1.68703C23.181 0.694662 20.5943 0.0992423 18.0075 0.0992423C10.1478 5.68666e-06 3.18355 4.56489 0.0993711 11.7099C-0.199098 12.4046 0.0993711 13.2977 0.895289 13.5954C1.59172 13.8931 2.38764 13.5954 2.68611 12.9008Z" fill="#FF8C00"/>
6
+ <path d="M19.4005 34.0382C19.8979 35.0305 20.5943 35.9237 21.2908 36.7176C20.2959 36.8168 19.4005 36.916 18.4056 36.916C15.8188 36.916 13.2321 36.4199 10.8443 35.3282C7.66067 34.0382 4.87495 31.855 2.88516 29.0763L1.4923 29.771C1.29332 29.8702 0.994851 29.8702 0.795872 29.771C0.596892 29.6718 0.497402 29.3741 0.497402 29.1756L0.795872 23.6183C0.795872 23.3206 0.994851 23.1221 1.19383 23.0229C1.39281 22.9237 1.69128 22.9237 1.89026 23.0229L6.56628 26C6.76526 26.0992 6.86475 26.397 6.86475 26.5954C6.86475 26.8931 6.66577 27.0916 6.46679 27.1908L5.3724 27.7863C7.06373 29.9695 9.35199 31.6565 11.8392 32.7481C13.9285 33.6412 16.1173 34.0382 18.3061 34.0382C18.704 34.0382 19.0025 34.0382 19.4005 34.0382Z" fill="#FF8C00"/>
7
+ <path d="M34.4236 20.6413C32.9313 19.6489 31.0409 19.0535 29.1506 19.0535C28.6532 19.0535 28.2552 19.0535 27.8573 19.1527C27.0614 19.2519 26.1659 19.4504 25.4695 19.7481C25.0716 19.9466 24.5741 20.1451 24.1761 20.3435C22.1864 21.4351 20.694 23.2214 19.8981 25.3054C19.5001 26.397 19.2017 27.6871 19.2017 28.9771C19.2017 34.4351 23.6787 38.9008 29.1506 38.9008C34.6226 38.9008 39.0996 34.4351 39.0996 28.9771C39.0001 25.5038 37.2093 22.4275 34.4236 20.6413ZM35.319 25.8016L29.4491 33.7405C29.1506 34.2367 28.5537 34.5344 27.9568 34.5344H27.8573C27.3598 34.5344 26.7629 34.3359 26.4644 33.939L22.9823 30.168C22.4848 29.5725 22.4848 28.6794 23.0818 28.084C23.3802 27.7863 23.6787 27.6871 24.0767 27.6871C24.4746 27.6871 24.8726 27.8855 25.171 28.1832L27.6583 30.8626L27.7578 30.9619C27.8573 30.9619 27.8573 30.9619 27.8573 30.8626L32.8318 24.1145C33.1302 23.7176 33.5282 23.5191 34.0256 23.5191C34.3241 23.5191 34.6226 23.6184 34.921 23.8168C35.6175 24.2138 35.8165 25.1069 35.319 25.8016Z" fill="#1CA261"/>
8
+ </g>
9
+ <defs>
10
+ <clipPath id="clip0_1533_53">
11
+ <rect width="39" height="39" fill="white"/>
12
+ </clipPath>
13
+ </defs>
14
+ </svg>
@@ -291,6 +291,9 @@ const NumberInput = /*#__PURE__*/forwardRef(({
291
291
  setValue(parseNumberToMoney((_valueProps = valueProps) === null || _valueProps === void 0 ? void 0 : _valueProps.toString().replace(regexValidNumber, ''), true));
292
292
  }
293
293
  }, [valueProps]);
294
+ useEffect(() => {
295
+ setError(errorProp);
296
+ }, [errorProp]);
294
297
  useImperativeHandle(reference, () => {
295
298
  const currentRef = ref.current || {};
296
299
  currentRef.element = ref.current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "The DigiNet core ui",
5
5
  "homepage": "https://diginet.com.vn",
6
6
  "main": "index.js",
package/readme.md CHANGED
@@ -38,6 +38,10 @@ npm test
38
38
  ```
39
39
 
40
40
  ## Changelog
41
+ ## 1.4.14
42
+ - \[Added\]: IconMenu – Add MHRP09N0034, MHRP09N0035
43
+ - \[Fixed\]: NumberInput – Fix not show error
44
+
41
45
  ## 1.4.13
42
46
  - \[Added\]: Icon – Add CalendarCancel, PlaneTakeoff
43
47
  - \[Added\]: IconMenu – Add MHRM00N0007, WEO76LIS0004, WEO76TRA0001