@bigbinary/neeto-integrations-frontend 2.12.6 → 2.12.7

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.
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ import { buildUrl, getQueryParams } from '@bigbinary/neeto-commons-frontend/util
24
24
  import { Daily as Daily$1, GoogleCalendar as GoogleCalendar$1, Google, Zoom as Zoom$1 } from '@bigbinary/neeto-icons/misc';
25
25
  import { prop, equals, isEmpty } from 'ramda';
26
26
  import * as yup from 'yup';
27
+ import CopyToClipboardButton from '@bigbinary/neeto-molecules/CopyToClipboardButton';
27
28
 
28
29
  function _extends$1() {
29
30
  _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
@@ -494,14 +495,22 @@ var Manage = function Manage(_ref) {
494
495
  }),
495
496
  integration: "daily",
496
497
  description: isConnected ? /*#__PURE__*/React__default.createElement(Trans, {
497
- components: {
498
- underline: /*#__PURE__*/React__default.createElement("u", {
499
- className: "font-medium"
500
- })
501
- },
502
498
  i18nKey: "neetoIntegrations.daily.yourApiKey",
503
499
  values: {
504
500
  apiKey: apiKey
501
+ },
502
+ components: {
503
+ wrapper: /*#__PURE__*/React__default.createElement("div", {
504
+ className: "neeto-ui-rounded-md mt-2 flex items-center justify-between gap-x-3 border px-3 py-2"
505
+ }),
506
+ span: /*#__PURE__*/React__default.createElement("span", {
507
+ className: "break-all text-sm"
508
+ }),
509
+ copy: /*#__PURE__*/React__default.createElement(CopyToClipboardButton, {
510
+ className: "flex-shrink-0 self-start",
511
+ style: "text",
512
+ value: apiKey
513
+ })
505
514
  }
506
515
  }) : description,
507
516
  title: isConnected ? t("neetoIntegrations.daily.connected") : t("neetoIntegrations.daily.connect.account"),