@micromerce/media-fileuploader 1.0.1070 → 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/esm/index.js CHANGED
@@ -15979,7 +15979,7 @@ const EndpointSelector = ({ connectorUrl, endpoints, infoText, changeEndpoint })
15979
15979
  if (!connectorUrl) {
15980
15980
  return (jsxRuntimeExports.jsxs(StyledSelectWrapper, { children: [endpoints?.length > 1
15981
15981
  //@ts-ignore
15982
- ? 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)) })
15982
+ ? 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)) })
15983
15983
  : 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)' }) }))] }));
15984
15984
  }
15985
15985
  };