@bigbinary/neeto-molecules 1.1.20 → 1.1.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 (65) hide show
  1. package/dist/AutoSaveInput.js +1 -1
  2. package/dist/AutoSaveInput.js.map +1 -1
  3. package/dist/Builder.js +1 -1
  4. package/dist/Builder.js.map +1 -1
  5. package/dist/CalendarView.js +1 -1
  6. package/dist/CalendarView.js.map +1 -1
  7. package/dist/Columns.js +1 -1
  8. package/dist/Columns.js.map +1 -1
  9. package/dist/CustomDomain.js +1 -1
  10. package/dist/CustomDomain.js.map +1 -1
  11. package/dist/CustomDomainDashboard.js +3 -3
  12. package/dist/CustomDomainDashboard.js.map +1 -1
  13. package/dist/DateFormat.js +1 -1
  14. package/dist/DateFormat.js.map +1 -1
  15. package/dist/DynamicVariables.js +1 -1
  16. package/dist/DynamicVariables.js.map +1 -1
  17. package/dist/EmailForm.js +3 -2
  18. package/dist/EmailForm.js.map +1 -1
  19. package/dist/EmailPreview.js +1 -1
  20. package/dist/EmailPreview.js.map +1 -1
  21. package/dist/Header.js +1 -1
  22. package/dist/Header.js.map +1 -1
  23. package/dist/IconPicker.js +1 -1
  24. package/dist/IconPicker.js.map +1 -1
  25. package/dist/IntegrationCard.js +1 -1
  26. package/dist/IntegrationCard.js.map +1 -1
  27. package/dist/IntegrationDisconnectAlert.js +1 -1
  28. package/dist/IntegrationDisconnectAlert.js.map +1 -1
  29. package/dist/IntegrationWalkthroughModal.js +1 -1
  30. package/dist/IntegrationWalkthroughModal.js.map +1 -1
  31. package/dist/IpRestriction.js +1 -1
  32. package/dist/IpRestriction.js.map +1 -1
  33. package/dist/MenuBar.js +1 -1
  34. package/dist/MenuBar.js.map +1 -1
  35. package/dist/Metadata.js +1 -1
  36. package/dist/Metadata.js.map +1 -1
  37. package/dist/NavigationHeader.js +1 -1
  38. package/dist/NavigationHeader.js.map +1 -1
  39. package/dist/NeetoWidget.js +24 -410
  40. package/dist/NeetoWidget.js.map +1 -1
  41. package/dist/PhoneNumber.js +2 -2
  42. package/dist/PhoneNumber.js.map +1 -1
  43. package/dist/Rename.js +1 -1
  44. package/dist/Rename.js.map +1 -1
  45. package/dist/Schedule.js +7 -7
  46. package/dist/Schedule.js.map +1 -1
  47. package/dist/Security.js +1 -1
  48. package/dist/Security.js.map +1 -1
  49. package/dist/Settings.js +1 -1
  50. package/dist/Settings.js.map +1 -1
  51. package/dist/ShareViaEmail.js +1 -1
  52. package/dist/ShareViaEmail.js.map +1 -1
  53. package/dist/ShareViaLink.js +1 -1
  54. package/dist/ShareViaLink.js.map +1 -1
  55. package/dist/Sidebar.js +1 -1
  56. package/dist/Sidebar.js.map +1 -1
  57. package/dist/SubHeader.js +1 -1
  58. package/dist/SubHeader.js.map +1 -1
  59. package/dist/ThemeSidebar.js +6 -6
  60. package/dist/ThemeSidebar.js.map +1 -1
  61. package/dist/TimeFormat.js +1 -1
  62. package/dist/TimeFormat.js.map +1 -1
  63. package/dist/ToggleFeatureCard.js +1 -1
  64. package/dist/ToggleFeatureCard.js.map +1 -1
  65. package/package.json +4 -2
@@ -3,7 +3,8 @@ import { Typography, Toastr, Button, Select, ColorPicker, Dropdown, Tooltip, Tag
3
3
  import { useTranslation, Trans } from 'react-i18next';
4
4
  import * as yup from 'yup';
5
5
  import { Switch, Input, Form } from '@bigbinary/neetoui/formik';
6
- import { isNotEmpty, findBy, noop, isPresent, capitalize } from '@bigbinary/neeto-commons-frontend/pure';
6
+ import { isNotEmpty, findBy, noop, isPresent, capitalize } from '@bigbinary/neeto-cist';
7
+ import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
7
8
  import { isEmpty, mergeLeft, mergeRight, path } from 'ramda';
8
9
  import classnames from 'classnames';
9
10
  import { ImageUpload, LeftAlign, CenterAlign, MenuVertical, MenuHorizontal, Search, LeftArrow, Plus } from '@bigbinary/neeto-icons';
@@ -1094,11 +1095,10 @@ var SelectBlock = function SelectBlock(_ref) {
1094
1095
  })));
1095
1096
  };
1096
1097
 
1097
- var Logo = function Logo(_ref) {
1098
- var logo = _ref.logo,
1098
+ var Logo = withT(function (_ref) {
1099
+ var t = _ref.t,
1100
+ logo = _ref.logo,
1099
1101
  _onChange = _ref.onChange;
1100
- var _useTranslation = useTranslation(),
1101
- t = _useTranslation.t;
1102
1102
  return /*#__PURE__*/React.createElement(Card, {
1103
1103
  title: t("neetoMolecules.themeSidebar.logo")
1104
1104
  }, /*#__PURE__*/React.createElement("div", {
@@ -1123,7 +1123,7 @@ var Logo = function Logo(_ref) {
1123
1123
  return _onChange("logo.position", value);
1124
1124
  }
1125
1125
  })));
1126
- };
1126
+ });
1127
1127
  var Logo$1 = /*#__PURE__*/React.memo(Logo);
1128
1128
 
1129
1129
  var AlignmentBlock = function AlignmentBlock(_ref) {