@bigbinary/neeto-molecules 1.0.94 → 1.0.96

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 (39) hide show
  1. package/dist/CustomDomain.cjs.js +8 -10
  2. package/dist/CustomDomain.cjs.js.map +1 -1
  3. package/dist/CustomDomain.js +10 -13
  4. package/dist/CustomDomain.js.map +1 -1
  5. package/dist/CustomDomainDashboard.cjs.js +8 -10
  6. package/dist/CustomDomainDashboard.cjs.js.map +1 -1
  7. package/dist/CustomDomainDashboard.js +9 -12
  8. package/dist/CustomDomainDashboard.js.map +1 -1
  9. package/dist/IntegrationCard.cjs.js +223 -38
  10. package/dist/IntegrationCard.cjs.js.map +1 -1
  11. package/dist/IntegrationCard.js +227 -42
  12. package/dist/IntegrationCard.js.map +1 -1
  13. package/dist/IntegrationDisconnectAlert.cjs.js +22 -14
  14. package/dist/IntegrationDisconnectAlert.cjs.js.map +1 -1
  15. package/dist/IntegrationDisconnectAlert.js +19 -14
  16. package/dist/IntegrationDisconnectAlert.js.map +1 -1
  17. package/dist/IntegrationWalkthroughModal.cjs.js +17 -9
  18. package/dist/IntegrationWalkthroughModal.cjs.js.map +1 -1
  19. package/dist/IntegrationWalkthroughModal.js +14 -9
  20. package/dist/IntegrationWalkthroughModal.js.map +1 -1
  21. package/dist/IpRestriction.cjs.js +51 -50
  22. package/dist/IpRestriction.cjs.js.map +1 -1
  23. package/dist/IpRestriction.js +52 -51
  24. package/dist/IpRestriction.js.map +1 -1
  25. package/dist/NeetoWidget.cjs.js +5 -20
  26. package/dist/NeetoWidget.cjs.js.map +1 -1
  27. package/dist/NeetoWidget.js +5 -21
  28. package/dist/NeetoWidget.js.map +1 -1
  29. package/dist/Schedule.cjs.js +4 -10
  30. package/dist/Schedule.cjs.js.map +1 -1
  31. package/dist/Schedule.js +5 -11
  32. package/dist/Schedule.js.map +1 -1
  33. package/dist/ShareViaLink.cjs.js +7 -8
  34. package/dist/ShareViaLink.cjs.js.map +1 -1
  35. package/dist/ShareViaLink.js +7 -9
  36. package/dist/ShareViaLink.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/translations/en.json +11 -2
  39. package/types/IntegrationCard.d.ts +14 -5
@@ -5,14 +5,15 @@ import { withT, useDebounce } from '@bigbinary/neeto-commons-frontend/react-util
5
5
  import { Typography, Button, Alert, Dropdown as Dropdown$1, Input, Tag, Callout, Pane, Label, Table, NoData } from '@bigbinary/neetoui';
6
6
  import { useTranslation, Trans } from 'react-i18next';
7
7
  import { not, isEmpty } from 'ramda';
8
- import { Column, Download, Filter, Right, MenuVertical, HamburgerMenu, Search, MenuHorizontal, Info, Copy, Check } from '@bigbinary/neeto-icons';
8
+ import { Column, Download, Filter, Right, MenuVertical, HamburgerMenu, Search, MenuHorizontal, Info, Check } from '@bigbinary/neeto-icons';
9
9
  import ManageColumns from '@bigbinary/neeto-molecules/Columns';
10
10
  import { Filters } from '@bigbinary/neeto-filters-frontend';
11
11
  import { PLURAL, SINGULAR } from '@bigbinary/neeto-commons-frontend/constants';
12
- import { withEventTargetValue, joinHyphenCase, copyToClipboard } from '@bigbinary/neeto-commons-frontend/utils';
12
+ import { withEventTargetValue, joinHyphenCase } from '@bigbinary/neeto-commons-frontend/utils';
13
13
  import { Link } from 'react-router-dom';
14
14
  import { Formik, Form } from 'formik';
15
15
  import { Input as Input$1 } from '@bigbinary/neetoui/formik';
16
+ import CopyToClipboardButton from '@bigbinary/neeto-molecules/CopyToClipboardButton';
16
17
  import { t as t$1 } from 'i18next';
17
18
  import * as Yup from 'yup';
18
19
  import { useQueryClient, useMutation, useQuery } from 'react-query';
@@ -1899,24 +1900,20 @@ var Record = function Record(_ref) {
1899
1900
  "data-cy": joinHyphenCase(recordNameLabel),
1900
1901
  label: recordNameLabel,
1901
1902
  value: recordName,
1902
- suffix: /*#__PURE__*/React__default.createElement(Button, {
1903
- icon: Copy,
1903
+ suffix: /*#__PURE__*/React__default.createElement(CopyToClipboardButton, {
1904
+ size: "small",
1904
1905
  style: "text",
1905
- onClick: function onClick() {
1906
- return copyToClipboard(recordName);
1907
- }
1906
+ value: recordName
1908
1907
  })
1909
1908
  }), /*#__PURE__*/React__default.createElement(Input, {
1910
1909
  disabled: true,
1911
1910
  "data-cy": joinHyphenCase(recordValueLabel),
1912
1911
  label: recordValueLabel,
1913
1912
  value: recordValue,
1914
- suffix: /*#__PURE__*/React__default.createElement(Button, {
1915
- icon: Copy,
1913
+ suffix: /*#__PURE__*/React__default.createElement(CopyToClipboardButton, {
1914
+ size: "small",
1916
1915
  style: "text",
1917
- onClick: function onClick() {
1918
- return copyToClipboard(recordValue);
1919
- }
1916
+ value: recordValue
1920
1917
  })
1921
1918
  }));
1922
1919
  };