@kystverket/styrbord 1.2.7 → 1.2.9

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/main.js CHANGED
@@ -398,15 +398,7 @@ const k8 = ({ file: r, className: n }) => /* @__PURE__ */ u.jsx(B, { className:
398
398
  file: r,
399
399
  className: n,
400
400
  tabIndex: e
401
- }) => /* @__PURE__ */ u.jsx(
402
- "iframe",
403
- {
404
- tabIndex: e,
405
- title: r.fileName,
406
- className: `${u0.previewFile} ${n || ""}`,
407
- src: r.src
408
- }
409
- ), Z8 = () => {
401
+ }) => /* @__PURE__ */ u.jsx("embed", { tabIndex: e, className: `${u0.previewFile} ${n || ""}`, src: r.src }), Z8 = () => {
410
402
  const r = _2(null), n = _2(!1), e = _2(!1), t = _2(0), a = _2(0), i = s1((l) => {
411
403
  r.current && (n.current = !0, e.current = !1, t.current = l.pageX - r.current.offsetLeft, a.current = r.current.scrollLeft);
412
404
  }, []), s = s1((l) => {