@superdispatch/ui-lab 0.47.2 → 0.49.0

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.
@@ -16,11 +16,9 @@ var _objectWithoutProperties = _interopDefault(require('@babel/runtime/helpers/o
16
16
  var reactTransitionGroup = require('react-transition-group');
17
17
  var core = require('@material-ui/core');
18
18
  var dates = require('@superdispatch/dates');
19
- var uiLab = require('@superdispatch/ui-lab');
20
19
  var js = require('@mdi/js');
21
20
  var Dropzone = _interopDefault(require('react-dropzone'));
22
21
  var reactAnchorme = require('react-anchorme');
23
- var lodash = require('lodash');
24
22
 
25
23
  function colorMixin(textColor, iconColor, backgroundColor, buttonHoverColor) {
26
24
  return styled.css(["color:", ";border-color:", ";background-color:", ";& .MuiAlert-icon{color:", ";}& .MuiAlert-action{color:", ";& .MuiIconButton-root{&:hover,&:active{color:", ";}}}"], textColor, textColor, backgroundColor, iconColor, iconColor, buttonHoverColor);
@@ -590,7 +588,7 @@ var ChatMessage = /*#__PURE__*/react.forwardRef((_ref, ref) => {
590
588
  color: "textSecondary",
591
589
  children: time
592
590
  })]
593
- }), /*#__PURE__*/jsxRuntime.jsx(uiLab.Box, {
591
+ }), /*#__PURE__*/jsxRuntime.jsx(Box, {
594
592
  display: "inline-block",
595
593
  padding: "xsmall",
596
594
  marginTop: "none",
@@ -922,7 +920,7 @@ var EmailAutocomplete = /*#__PURE__*/react.forwardRef((_ref, ref) => {
922
920
  variant: "subtle",
923
921
  children: /*#__PURE__*/jsxRuntime.jsxs(ui.Inline, {
924
922
  space: "xxsmall",
925
- children: [/*#__PURE__*/jsxRuntime.jsx(uiLab.TextBox, {
923
+ children: [/*#__PURE__*/jsxRuntime.jsx(TextBox, {
926
924
  wrapOverflow: true,
927
925
  color: "primary",
928
926
  children: option
@@ -939,14 +937,9 @@ var EmailAutocomplete = /*#__PURE__*/react.forwardRef((_ref, ref) => {
939
937
  });
940
938
  },
941
939
  renderInput: params => /*#__PURE__*/jsxRuntime.jsx(MultipleFieldText, _objectSpread(_objectSpread(_objectSpread({}, params), TextFieldProps), {}, {
942
- multiline: true,
943
- minRows: 2,
944
- variant: "outlined",
945
- fullWidth: true,
946
940
  InputProps: _objectSpread(_objectSpread(_objectSpread({}, TextFieldProps === null || TextFieldProps === void 0 ? void 0 : TextFieldProps.InputProps), params.InputProps), {}, {
947
941
  startAdornment: params.InputProps.startAdornment
948
942
  }),
949
- placeholder: "Enter individual emails on each line or separate them with comma (,)",
950
943
  onChange: event => {
951
944
  var text = event.target.value.replace(/,/g, '');
952
945
  var hasCommaOrSpace = /,|\s/.test(event.target.value);
@@ -1350,8 +1343,8 @@ var NavbarContext = /*#__PURE__*/react.createContext({
1350
1343
  isDrawerOpen: false,
1351
1344
  isMenuExpanded: false,
1352
1345
  isNavbarExpanded: false,
1353
- setMenuExpanded: lodash.noop,
1354
- setDrawerOpen: lodash.noop
1346
+ setMenuExpanded: () => void 0,
1347
+ setDrawerOpen: () => void 0
1355
1348
  });
1356
1349
  function useNavbarContext() {
1357
1350
  return react.useContext(NavbarContext);