@micromerce/media-fileuploader 1.0.1071 → 1.0.1073

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/cjs/index.js CHANGED
@@ -15981,7 +15981,7 @@ const EndpointSelector = ({ connectorUrl, endpoints, infoText, changeEndpoint })
15981
15981
  if (!connectorUrl) {
15982
15982
  return (jsxRuntimeExports.jsxs(StyledSelectWrapper, { children: [endpoints?.length > 1
15983
15983
  //@ts-ignore
15984
- ? jsxRuntimeExports.jsx(StyledSelect, { "data-testid": 'fileuploader__selector', role: 'listbox', onChange: event => changeEndpoint(event.target.value), children: endpoints.map((endpoint, i) => jsxRuntimeExports.jsx("option", { value: endpoint.url, children: endpoint.name }, i)) })
15984
+ ? jsxRuntimeExports.jsx(StyledSelect, { "data-testid": 'fileuploader__selector', role: 'listbox', onChange: event => changeEndpoint(event.target.value), children: endpoints.map((endpoint, i) => jsxRuntimeExports.jsx("option", { "data-testid": `fileuploader__selector--option-${i}`, value: endpoint.url, children: endpoint.name }, i)) })
15985
15985
  : jsxRuntimeExports.jsxs(StyledSpan, { "data-testid": 'fileuploader__infotext', children: [endpoints?.length === 0 && jsxRuntimeExports.jsx(StyledIconWrapper$1, { children: jsxRuntimeExports.jsx(FaExclamationCircle_1, {}) }), infoText] }), endpoints?.length > 1 && (jsxRuntimeExports.jsx("div", { style: { position: 'absolute', top: 9, right: 12, pointerEvents: 'none' }, children: jsxRuntimeExports.jsx(FaChevronDown_1, { color: 'rgb(167, 168, 169)' }) }))] }));
15986
15986
  }
15987
15987
  };