@tripian/react 9.3.6 → 9.3.8

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/index.js CHANGED
@@ -27481,12 +27481,12 @@ const DestinationSelect = ({ options, selectedOptionId, onSelectedOptionChange,
27481
27481
  }
27482
27482
  return null;
27483
27483
  };
27484
- const SafeText = ({ text }) => (react_1.default.createElement(react_1.default.Fragment, null, text.split(' ').map((part, i) => (
27484
+ const SafeText = ({ text }) => (react_1.default.createElement("span", { translate: "no", "data-nosnippet": true, contentEditable: false, role: "presentation", suppressContentEditableWarning: true }, text.split(' ').map((part, i) => (
27485
27485
  // eslint-disable-next-line react/no-array-index-key
27486
- react_1.default.createElement("span", { key: i },
27486
+ react_1.default.createElement("span", { key: i, translate: "no" },
27487
27487
  part,
27488
- " ")))));
27489
- const formatOptionLabel = (option) => (react_1.default.createElement("div", { className: DestinationSelect_scss_1.default.optionLabel },
27488
+ ' ')))));
27489
+ const formatOptionLabel = (option) => (react_1.default.createElement("div", { className: DestinationSelect_scss_1.default.optionLabel, translate: "no", "data-nosnippet": true },
27490
27490
  react_1.default.createElement("div", { className: "h-6 w-6" },
27491
27491
  react_1.default.createElement("svg", { viewBox: "0 0 24 24", width: "24", height: "24", stroke: "currentColor", strokeWidth: "2", fill: "none" },
27492
27492
  react_1.default.createElement("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z" }),
@@ -27561,7 +27561,7 @@ const DestinationSelect = ({ options, selectedOptionId, onSelectedOptionChange,
27561
27561
  };
27562
27562
  const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
27563
27563
  return (react_1.default.createElement(react_1.default.Fragment, null,
27564
- react_1.default.createElement("div", { className: "relative", style: {
27564
+ react_1.default.createElement("div", { className: "relative", translate: "no", "data-nosnippet": true, style: {
27565
27565
  ...(showSearchIcon ? { width: '100%' } : {}),
27566
27566
  } },
27567
27567
  react_1.default.createElement(react_select_1.default, { ref: selectRef, options: filteredOptions, value: selectedOption, onChange: handleChange, onInputChange: (value, meta) => {