@bigbinary/neeto-molecules 1.0.36 → 1.0.38

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.
@@ -2316,7 +2316,7 @@ var CodeBlock = function CodeBlock(_ref) {
2316
2316
  return /*#__PURE__*/React.createElement("div", {
2317
2317
  className: classnames(["relative", className])
2318
2318
  }, /*#__PURE__*/React.createElement("div", {
2319
- className: "neeto-ui-bg-primary-100 flex w-full items-center justify-between gap-2 p-3"
2319
+ className: "neeto-ui-bg-primary-100 neeto-ui-rounded-lg flex w-full flex-wrap items-center justify-between gap-2 rounded-b-none p-3"
2320
2320
  }, title && /*#__PURE__*/React.createElement(Typography, {
2321
2321
  className: "m-0 flex-shrink-0",
2322
2322
  "data-cy": "code-block-title-text",
@@ -2328,7 +2328,7 @@ var CodeBlock = function CodeBlock(_ref) {
2328
2328
  value: selectedFramework,
2329
2329
  onChange: setSelectedFramework
2330
2330
  }), /*#__PURE__*/React.createElement("div", {
2331
- className: "flex flex-shrink-0 items-center justify-end gap-2"
2331
+ className: "ml-auto flex flex-shrink-0 items-center justify-end gap-2"
2332
2332
  }, sendViaEmail ? /*#__PURE__*/React.createElement(Button, {
2333
2333
  style: "text",
2334
2334
  label: t("neetoMolecules.widget.installation.snippet.sendViaEmail"),
@@ -2341,7 +2341,7 @@ var CodeBlock = function CodeBlock(_ref) {
2341
2341
  return copyToClipboard(codeString);
2342
2342
  }
2343
2343
  }))), /*#__PURE__*/React.createElement(SyntaxHighlighter, {
2344
- className: "neeto-ui-bg-gray-800 m-0",
2344
+ className: "neeto-ui-bg-gray-800 neeto-ui-rounded-lg m-0 rounded-t-none",
2345
2345
  code: codeString,
2346
2346
  language: "javascript"
2347
2347
  }));
@@ -2881,7 +2881,7 @@ var CodeSnippet = function CodeSnippet(_ref) {
2881
2881
  var props = {
2882
2882
  codeString: codeToDisplay,
2883
2883
  showCopyButton: false,
2884
- className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden"
2884
+ className: "neeto-ui-bg-primary-100 neeto-ui-rounded-lg"
2885
2885
  };
2886
2886
  if (emailType === EMAIL_TYPES.userIdentity) {
2887
2887
  props = assoc("frameworkProps", {
@@ -3196,7 +3196,7 @@ var EmbedCode = function EmbedCode(_ref) {
3196
3196
  className: "mx-auto mb-2 w-full",
3197
3197
  "data-testid": "embed-code-block"
3198
3198
  }, /*#__PURE__*/React.createElement(CodeBlock, {
3199
- className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
3199
+ className: "neeto-ui-bg-primary-100 neeto-ui-rounded-lg",
3200
3200
  codeString: getEmbedCodeString(),
3201
3201
  sendViaEmail: function sendViaEmail() {
3202
3202
  return handleSendViaEmail(EMAIL_TYPES.embedCode);
@@ -3222,7 +3222,7 @@ var EmbedCode = function EmbedCode(_ref) {
3222
3222
  }, /*#__PURE__*/React.createElement("div", {
3223
3223
  className: "mx-auto mb-2 w-full"
3224
3224
  }, /*#__PURE__*/React.createElement(CodeBlock, {
3225
- className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
3225
+ className: "neeto-ui-bg-primary-100 neeto-ui-rounded-lg",
3226
3226
  frameworkProps: {
3227
3227
  selectedFramework: selectedFramework,
3228
3228
  setSelectedFramework: setSelectedFramework
@@ -3248,7 +3248,7 @@ var EmbedCode = function EmbedCode(_ref) {
3248
3248
  }, /*#__PURE__*/React.createElement("div", {
3249
3249
  className: "mx-auto mb-2 w-full"
3250
3250
  }, /*#__PURE__*/React.createElement(CodeBlock, {
3251
- className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
3251
+ className: "neeto-ui-bg-primary-100 neeto-ui-rounded-lg",
3252
3252
  codeString: SAMPLE_CONTEXT_CODE_STRING,
3253
3253
  sendViaEmail: function sendViaEmail() {
3254
3254
  return handleSendViaEmail(EMAIL_TYPES.sessionContext);