diginet-core-ui 1.3.64 → 1.3.65

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.
@@ -1533,7 +1533,7 @@ const DropdownFormCSS = (viewType, multiple, disabled, DropdownInputCSSName) =>
1533
1533
  left: 0;
1534
1534
  right: 0;
1535
1535
  bottom: 0;
1536
- border-bottom: 1px solid ${disabled ? systemDisabled : rest};
1536
+ ${viewType === 'underlined' && `border-bottom: 1px solid ${disabled ? systemDisabled : rest};`}
1537
1537
  }
1538
1538
  &::after {
1539
1539
  ${positionAbsolute};
@@ -1760,7 +1760,7 @@ Dropdown.defaultProps = {
1760
1760
  };
1761
1761
  Dropdown.propTypes = {
1762
1762
  /**The variant to use. */
1763
- viewType: PropTypes.oneOf(['underlined', 'outlined']),
1763
+ viewType: PropTypes.oneOf(['underlined', 'outlined', 'none']),
1764
1764
 
1765
1765
  /** The mode of item when rendering. */
1766
1766
  itemMode: PropTypes.oneOf(['normal', 'table', 'treeview']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.3.64",
3
+ "version": "1.3.65",
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,9 @@ npm test
38
38
  ```
39
39
 
40
40
  ## Changelog
41
+ ## 1.3.65
42
+ - \[Changed\]: Dropdown – Add viewType none
43
+
41
44
  ## 1.3.64
42
45
  - \[Added\]: COLORS – Add new colors
43
46
  - \[Changed\]: Checkbox – Add case checked, defaultChecked is number 0,1