optimized-react-component-library-xyz123 0.1.21 → 0.1.22
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/index.js +8 -5
- package/dist/index.mjs +8 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1778,11 +1778,14 @@ var CONTENT = {
|
|
|
1778
1778
|
var Modal = ({ showModal: isOpen, activatedLanguage = "" }) => {
|
|
1779
1779
|
const currentContent = activatedLanguage === "en" ? CONTENT.en : CONTENT.sv;
|
|
1780
1780
|
if (!isOpen) return null;
|
|
1781
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.
|
|
1782
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1781
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "pts-modal-overlay", children: [
|
|
1782
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { "aria-hidden": true, className: "pts-modal-content", children: [
|
|
1783
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h1", { children: currentContent.heading }),
|
|
1784
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { children: currentContent.message }),
|
|
1785
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "pts-spinner-border" })
|
|
1786
|
+
] }),
|
|
1787
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { "aria-live": "assertive", className: "visually-hidden", children: "Skickar in... V\xE4nligen v\xE4nta." })
|
|
1788
|
+
] });
|
|
1786
1789
|
};
|
|
1787
1790
|
var ModalStandard_default = Modal;
|
|
1788
1791
|
|
package/dist/index.mjs
CHANGED
|
@@ -1714,11 +1714,14 @@ var CONTENT = {
|
|
|
1714
1714
|
var Modal = ({ showModal: isOpen, activatedLanguage = "" }) => {
|
|
1715
1715
|
const currentContent = activatedLanguage === "en" ? CONTENT.en : CONTENT.sv;
|
|
1716
1716
|
if (!isOpen) return null;
|
|
1717
|
-
return /* @__PURE__ */
|
|
1718
|
-
/* @__PURE__ */
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1717
|
+
return /* @__PURE__ */ jsxs13("div", { className: "pts-modal-overlay", children: [
|
|
1718
|
+
/* @__PURE__ */ jsxs13("div", { "aria-hidden": true, className: "pts-modal-content", children: [
|
|
1719
|
+
/* @__PURE__ */ jsx13("h1", { children: currentContent.heading }),
|
|
1720
|
+
/* @__PURE__ */ jsx13("p", { children: currentContent.message }),
|
|
1721
|
+
/* @__PURE__ */ jsx13("div", { className: "pts-spinner-border" })
|
|
1722
|
+
] }),
|
|
1723
|
+
/* @__PURE__ */ jsx13("span", { "aria-live": "assertive", className: "visually-hidden", children: "Skickar in... V\xE4nligen v\xE4nta." })
|
|
1724
|
+
] });
|
|
1722
1725
|
};
|
|
1723
1726
|
var ModalStandard_default = Modal;
|
|
1724
1727
|
|
package/package.json
CHANGED