@daoyi/nmtl-ui 2.0.1-beta.2 → 2.0.1-beta.21

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 (97) hide show
  1. package/README.md +45 -45
  2. package/lib/components/Autocomplete.js +1 -1
  3. package/lib/components/Avatar.js +1 -1
  4. package/lib/components/BackTop.js +1 -1
  5. package/lib/components/BarChart.js +1 -1
  6. package/lib/components/Breadcrumbs.js +1 -1
  7. package/lib/components/Button.js +1 -1
  8. package/lib/components/Carousel.js +1 -1
  9. package/lib/components/Checkbox.js +1 -1
  10. package/lib/components/CollapseContent.js +1 -1
  11. package/lib/components/ContactModal.js +2 -2
  12. package/lib/components/Drawer.js +1 -1
  13. package/lib/components/Dropdown.js +1 -1
  14. package/lib/components/Empty-a053f253.js +1 -0
  15. package/lib/components/ExportButton.js +1 -1
  16. package/lib/components/ExtraTools.js +4 -4
  17. package/lib/components/Footer.js +1 -1
  18. package/lib/components/Header.js +1 -1
  19. package/lib/components/Image.js +1 -1
  20. package/lib/components/Input.js +1 -1
  21. package/lib/components/InputMethod.js +3 -3
  22. package/lib/components/KeywordSearch-aa4a8e40.js +1 -0
  23. package/lib/components/KeywordSearch.js +1 -1
  24. package/lib/components/Keywords.js +1 -1
  25. package/lib/components/Loading.js +1 -1
  26. package/lib/components/MUITheme.js +1 -1
  27. package/lib/components/Modal.js +1 -1
  28. package/lib/components/MoreButton.js +1 -1
  29. package/lib/components/Radio.js +1 -1
  30. package/lib/components/SNA.js +3 -3
  31. package/lib/components/Select-86fee0d1.js +1 -0
  32. package/lib/components/Select.js +1 -1
  33. package/lib/components/Spin.js +1 -1
  34. package/lib/components/Table.js +1 -1
  35. package/lib/components/Tooltip.js +1 -1
  36. package/lib/components/_rollupPluginBabelHelpers-1fef267c.js +1 -0
  37. package/lib/components/_rollupPluginBabelHelpers-b6a1ebe2.js +1 -0
  38. package/lib/components/createSvgIcon-65652f3a.js +1 -0
  39. package/lib/components/createSvgIcon-a33739d1.js +1 -0
  40. package/lib/components/createTheme-d68e3c02.js +1 -0
  41. package/lib/components/{dataExport-9fccd4f0.js → dataExport-d55d6fa3.js} +0 -0
  42. package/lib/components/{transform-95ae0119.js → transform-011f0fe5.js} +1 -1
  43. package/lib/utils/{_rollupPluginBabelHelpers-928a52ce.js → _rollupPluginBabelHelpers-8dd26e1a.js} +0 -0
  44. package/lib/utils/exportXlsx.js +1 -1
  45. package/lib/utils/historyAppendSearch.js +1 -1
  46. package/lib/utils/snaPreProcess.js +1 -1
  47. package/package.json +129 -128
  48. package/lib/components/Backdrop-72e1ae70.js +0 -1
  49. package/lib/components/Button-909fd795.js +0 -1
  50. package/lib/components/ButtonBase-b2d7ff99.js +0 -1
  51. package/lib/components/CircularProgress-8b4a629d.js +0 -1
  52. package/lib/components/CircularProgress-f928a026.js +0 -1
  53. package/lib/components/DialogActions-ffc76a34.js +0 -1
  54. package/lib/components/Empty-a9f1dbfd.js +0 -1
  55. package/lib/components/Fade-6400ee20.js +0 -1
  56. package/lib/components/FormControlContext-90b149a2.js +0 -1
  57. package/lib/components/FormControlLabel-26ff903e.js +0 -1
  58. package/lib/components/Grow-bf0f6211.js +0 -1
  59. package/lib/components/IconButton-82d770dc.js +0 -1
  60. package/lib/components/IconButton-9b900afc.js +0 -1
  61. package/lib/components/KeywordSearch-f641b236.js +0 -1
  62. package/lib/components/ListItemText-63c3a97b.js +0 -1
  63. package/lib/components/Menu-5cc92368.js +0 -1
  64. package/lib/components/Menu-7e9736fc.js +0 -1
  65. package/lib/components/MenuItem-0367c9ce.js +0 -1
  66. package/lib/components/MenuItem-25b6ed17.js +0 -1
  67. package/lib/components/Modal-7b447805.js +0 -1
  68. package/lib/components/OutlinedInput-17068df6.js +0 -1
  69. package/lib/components/Paper-88b3ede6.js +0 -1
  70. package/lib/components/Portal-411c252b.js +0 -1
  71. package/lib/components/Select-cf2c941e.js +0 -1
  72. package/lib/components/Select-df46622f.js +0 -1
  73. package/lib/components/Tooltip-a5a75db1.js +0 -25
  74. package/lib/components/TransitionGroupContext-981f4b66.js +0 -1
  75. package/lib/components/Typography-87aacce0.js +0 -1
  76. package/lib/components/Typography-f8ad7404.js +0 -1
  77. package/lib/components/_rollupPluginBabelHelpers-ec4e2a53.js +0 -1
  78. package/lib/components/capitalize-358ae1fd.js +0 -1
  79. package/lib/components/capitalize-9fd0e7c5.js +0 -1
  80. package/lib/components/createChainedFunction-8d6683d4.js +0 -1
  81. package/lib/components/createSvgIcon-a290aa2f.js +0 -1
  82. package/lib/components/createSvgIcon-c88736d9.js +0 -1
  83. package/lib/components/createSvgIcon-cbc342ae.js +0 -1
  84. package/lib/components/createSvgIcon-d8a3f29d.js +0 -1
  85. package/lib/components/debounce-65582d84.js +0 -1
  86. package/lib/components/isMuiElement-64ad493a.js +0 -1
  87. package/lib/components/ownerWindow-ba2c31bc.js +0 -1
  88. package/lib/components/unstable_useId-45c5b1e4.js +0 -1
  89. package/lib/components/useControlled-875277b4.js +0 -1
  90. package/lib/components/useControlled-b5d6fb94.js +0 -1
  91. package/lib/components/useEventCallback-b9ab5dc9.js +0 -1
  92. package/lib/components/useForkRef-4ff8cc89.js +0 -1
  93. package/lib/components/useFormControl-607a2e33.js +0 -1
  94. package/lib/components/useIsFocusVisible-217260c3.js +0 -1
  95. package/lib/components/useTheme-3893447a.js +0 -1
  96. package/lib/components/utils-ef5b71aa.js +0 -1
  97. package/lib/components/withStyles-cdd15534.js +0 -1
@@ -1 +1 @@
1
- import e from"react";import t from"prop-types";import{c as n}from"./index-b2745105.js";import{s as r}from"./style-inject.es-1f59c1d0.js";import{O as s}from"./OutlinedInput-17068df6.js";import"./capitalize-9fd0e7c5.js";import"@material-ui/styles";import"./useTheme-3893447a.js";import"./FormControlContext-90b149a2.js";import"./useForkRef-4ff8cc89.js";import"./debounce-65582d84.js";r(".input {\n padding: 12px; }\n");var o=function(t){var r=t.className,o=t.placeholder,a=t.defaultValue,l=t.value,i=t.type,u=t.onChange,p=t.onKeyPress,d=t.onPressEnter,f=t.suffix,m={inputProps:{className:n("input",r)},placeholder:o,defaultValue:a,onChange:function(e){var t=e.target;u&&u(t.value)},onKeyPress:function(e){"Enter"===e.key&&d&&d(e.key,e.target.value),p&&p(e)},value:l,endAdornment:f&&e.isValidElement(f)?f:null,type:i};return e.createElement(s,m)};o.defaultProps={className:void 0,placeholder:"Please enter text",defaultValue:void 0,value:void 0,onChange:void 0,onKeyPress:void 0,onPressEnter:void 0,suffix:null,type:"text"},o.propTypes={className:t.string,placeholder:t.string,defaultValue:t.string,value:t.string,onChange:t.func,onKeyPress:t.func,onPressEnter:t.func,suffix:t.node,type:t.string};export{o as default};
1
+ import e from"react";import n from"prop-types";import{c as t}from"./index-b2745105.js";import{OutlinedInput as r}from"@material-ui/core";import{s as a}from"./style-inject.es-1f59c1d0.js";a(".input {\n padding: 12px; }\n");var s=function(n){var a=n.className,s=n.placeholder,o=n.defaultValue,l=n.value,i=n.type,u=n.onChange,p=n.onKeyPress,d=n.onPressEnter,f=n.suffix,c={inputProps:{className:t("input",a)},placeholder:s,defaultValue:o,onChange:function(e){var n=e.target;u&&u(n.value)},onKeyPress:function(e){"Enter"===e.key&&d&&d(e.key,e.target.value),p&&p(e)},value:l,endAdornment:f&&e.isValidElement(f)?f:null,type:i};return e.createElement(r,c)};s.defaultProps={className:void 0,placeholder:"Please enter text",defaultValue:void 0,value:void 0,onChange:void 0,onKeyPress:void 0,onPressEnter:void 0,suffix:null,type:"text"},s.propTypes={className:n.string,placeholder:n.string,defaultValue:n.string,value:n.string,onChange:n.func,onKeyPress:n.func,onPressEnter:n.func,suffix:n.node,type:n.string};export{s as default};