@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.
@@ -2342,7 +2342,7 @@ var CodeBlock = function CodeBlock(_ref) {
2342
2342
  return /*#__PURE__*/React__default["default"].createElement("div", {
2343
2343
  className: classnames(["relative", className])
2344
2344
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2345
- className: "neeto-ui-bg-primary-100 flex w-full items-center justify-between gap-2 p-3"
2345
+ 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"
2346
2346
  }, title && /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
2347
2347
  className: "m-0 flex-shrink-0",
2348
2348
  "data-cy": "code-block-title-text",
@@ -2354,7 +2354,7 @@ var CodeBlock = function CodeBlock(_ref) {
2354
2354
  value: selectedFramework,
2355
2355
  onChange: setSelectedFramework
2356
2356
  }), /*#__PURE__*/React__default["default"].createElement("div", {
2357
- className: "flex flex-shrink-0 items-center justify-end gap-2"
2357
+ className: "ml-auto flex flex-shrink-0 items-center justify-end gap-2"
2358
2358
  }, sendViaEmail ? /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
2359
2359
  style: "text",
2360
2360
  label: t("neetoMolecules.widget.installation.snippet.sendViaEmail"),
@@ -2367,7 +2367,7 @@ var CodeBlock = function CodeBlock(_ref) {
2367
2367
  return utils.copyToClipboard(codeString);
2368
2368
  }
2369
2369
  }))), /*#__PURE__*/React__default["default"].createElement(SyntaxHighlighter, {
2370
- className: "neeto-ui-bg-gray-800 m-0",
2370
+ className: "neeto-ui-bg-gray-800 neeto-ui-rounded-lg m-0 rounded-t-none",
2371
2371
  code: codeString,
2372
2372
  language: "javascript"
2373
2373
  }));
@@ -2907,7 +2907,7 @@ var CodeSnippet = function CodeSnippet(_ref) {
2907
2907
  var props = {
2908
2908
  codeString: codeToDisplay,
2909
2909
  showCopyButton: false,
2910
- className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden"
2910
+ className: "neeto-ui-bg-primary-100 neeto-ui-rounded-lg"
2911
2911
  };
2912
2912
  if (emailType === EMAIL_TYPES.userIdentity) {
2913
2913
  props = ramda.assoc("frameworkProps", {
@@ -3222,7 +3222,7 @@ var EmbedCode = function EmbedCode(_ref) {
3222
3222
  className: "mx-auto mb-2 w-full",
3223
3223
  "data-testid": "embed-code-block"
3224
3224
  }, /*#__PURE__*/React__default["default"].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
  codeString: getEmbedCodeString(),
3227
3227
  sendViaEmail: function sendViaEmail() {
3228
3228
  return handleSendViaEmail(EMAIL_TYPES.embedCode);
@@ -3248,7 +3248,7 @@ var EmbedCode = function EmbedCode(_ref) {
3248
3248
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3249
3249
  className: "mx-auto mb-2 w-full"
3250
3250
  }, /*#__PURE__*/React__default["default"].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
  frameworkProps: {
3253
3253
  selectedFramework: selectedFramework,
3254
3254
  setSelectedFramework: setSelectedFramework
@@ -3274,7 +3274,7 @@ var EmbedCode = function EmbedCode(_ref) {
3274
3274
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3275
3275
  className: "mx-auto mb-2 w-full"
3276
3276
  }, /*#__PURE__*/React__default["default"].createElement(CodeBlock, {
3277
- className: "neeto-ui-bg-primary-100 neeto-ui-rounded-xl overflow-hidden",
3277
+ className: "neeto-ui-bg-primary-100 neeto-ui-rounded-lg",
3278
3278
  codeString: SAMPLE_CONTEXT_CODE_STRING,
3279
3279
  sendViaEmail: function sendViaEmail() {
3280
3280
  return handleSendViaEmail(EMAIL_TYPES.sessionContext);