@bigbinary/neeto-molecules 1.0.89-beta → 1.0.90-beta

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 (51) 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/IconPicker.cjs.js +1 -0
  10. package/dist/IconPicker.cjs.js.map +1 -1
  11. package/dist/IconPicker.js +1 -0
  12. package/dist/IconPicker.js.map +1 -1
  13. package/dist/IntegrationCard.cjs.js +223 -38
  14. package/dist/IntegrationCard.cjs.js.map +1 -1
  15. package/dist/IntegrationCard.js +227 -42
  16. package/dist/IntegrationCard.js.map +1 -1
  17. package/dist/IntegrationDisconnectAlert.cjs.js +22 -14
  18. package/dist/IntegrationDisconnectAlert.cjs.js.map +1 -1
  19. package/dist/IntegrationDisconnectAlert.js +19 -14
  20. package/dist/IntegrationDisconnectAlert.js.map +1 -1
  21. package/dist/IntegrationWalkthroughModal.cjs.js +17 -9
  22. package/dist/IntegrationWalkthroughModal.cjs.js.map +1 -1
  23. package/dist/IntegrationWalkthroughModal.js +14 -9
  24. package/dist/IntegrationWalkthroughModal.js.map +1 -1
  25. package/dist/IpRestriction.cjs.js +51 -50
  26. package/dist/IpRestriction.cjs.js.map +1 -1
  27. package/dist/IpRestriction.js +52 -51
  28. package/dist/IpRestriction.js.map +1 -1
  29. package/dist/KeyboardShortcuts.cjs.js +2 -0
  30. package/dist/KeyboardShortcuts.cjs.js.map +1 -1
  31. package/dist/KeyboardShortcuts.js +2 -0
  32. package/dist/KeyboardShortcuts.js.map +1 -1
  33. package/dist/NeetoWidget.cjs.js +5 -20
  34. package/dist/NeetoWidget.cjs.js.map +1 -1
  35. package/dist/NeetoWidget.js +5 -21
  36. package/dist/NeetoWidget.js.map +1 -1
  37. package/dist/Schedule.cjs.js +6 -11
  38. package/dist/Schedule.cjs.js.map +1 -1
  39. package/dist/Schedule.js +7 -12
  40. package/dist/Schedule.js.map +1 -1
  41. package/dist/ShareViaLink.cjs.js +7 -8
  42. package/dist/ShareViaLink.cjs.js.map +1 -1
  43. package/dist/ShareViaLink.js +7 -9
  44. package/dist/ShareViaLink.js.map +1 -1
  45. package/dist/Sidebar.cjs.js +29 -21
  46. package/dist/Sidebar.cjs.js.map +1 -1
  47. package/dist/Sidebar.js +30 -22
  48. package/dist/Sidebar.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/translations/en.json +11 -2
  51. 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 } from 'ramda';
8
- import { Column, Download, Filter, MenuVertical, Search, MenuHorizontal, Info, Copy, Check } from '@bigbinary/neeto-icons';
8
+ import { Column, Download, Filter, MenuVertical, 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';
@@ -1898,24 +1899,20 @@ var Record = function Record(_ref) {
1898
1899
  "data-cy": joinHyphenCase(recordNameLabel),
1899
1900
  label: recordNameLabel,
1900
1901
  value: recordName,
1901
- suffix: /*#__PURE__*/React__default.createElement(Button, {
1902
- icon: Copy,
1902
+ suffix: /*#__PURE__*/React__default.createElement(CopyToClipboardButton, {
1903
+ size: "small",
1903
1904
  style: "text",
1904
- onClick: function onClick() {
1905
- return copyToClipboard(recordName);
1906
- }
1905
+ value: recordName
1907
1906
  })
1908
1907
  }), /*#__PURE__*/React__default.createElement(Input, {
1909
1908
  disabled: true,
1910
1909
  "data-cy": joinHyphenCase(recordValueLabel),
1911
1910
  label: recordValueLabel,
1912
1911
  value: recordValue,
1913
- suffix: /*#__PURE__*/React__default.createElement(Button, {
1914
- icon: Copy,
1912
+ suffix: /*#__PURE__*/React__default.createElement(CopyToClipboardButton, {
1913
+ size: "small",
1915
1914
  style: "text",
1916
- onClick: function onClick() {
1917
- return copyToClipboard(recordValue);
1918
- }
1915
+ value: recordValue
1919
1916
  })
1920
1917
  }));
1921
1918
  };