optimized-react-component-library-xyz123 0.1.148 → 0.1.150
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 +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/mobileView.css +5 -6
- package/src/css/styles.css +25 -13
package/dist/index.js
CHANGED
|
@@ -923,7 +923,7 @@ var AddFiles = ({
|
|
|
923
923
|
setErrorMessageAddingFile([]);
|
|
924
924
|
};
|
|
925
925
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
926
|
-
!showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { role: "group", children: [
|
|
926
|
+
!showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "root-question addFile-question-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { role: "group", children: [
|
|
927
927
|
questionObject.aboutText && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
928
928
|
"p",
|
|
929
929
|
{
|
|
@@ -1764,7 +1764,6 @@ var QuestionRenderer_default = QuestionRenderer;
|
|
|
1764
1764
|
|
|
1765
1765
|
// src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
|
|
1766
1766
|
var import_react10 = require("react");
|
|
1767
|
-
var import_optimized_react_component_library_xyz123 = require("optimized-react-component-library-xyz123");
|
|
1768
1767
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1769
1768
|
var QuestionGroup = ({
|
|
1770
1769
|
questions,
|
|
@@ -1788,7 +1787,7 @@ var QuestionGroup = ({
|
|
|
1788
1787
|
}, [questions]);
|
|
1789
1788
|
const groupQuestions = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, { children: questions.map((question, index) => {
|
|
1790
1789
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react10.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1791
|
-
|
|
1790
|
+
QuestionRenderer_default,
|
|
1792
1791
|
{
|
|
1793
1792
|
question,
|
|
1794
1793
|
handleQuestionInputChange,
|
|
@@ -1802,7 +1801,7 @@ var QuestionGroup = ({
|
|
|
1802
1801
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
1803
1802
|
"fieldset",
|
|
1804
1803
|
{
|
|
1805
|
-
className: "pts-root-question-group-fieldset",
|
|
1804
|
+
className: "pts-root-question-group-fieldset pts-root-question",
|
|
1806
1805
|
"aria-required": firstQuestion.isQuestionMandatory || void 0,
|
|
1807
1806
|
"aria-invalid": firstQuestion.hasValidationError || void 0,
|
|
1808
1807
|
"aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
@@ -2581,7 +2580,7 @@ var PrincipleOfPublicity = ({ activatedLanguage = "" }) => {
|
|
|
2581
2580
|
{
|
|
2582
2581
|
data: {
|
|
2583
2582
|
headline: currentContent.headline,
|
|
2584
|
-
body: `<p>${currentContent.paragraph1}</p><p>${currentContent.paragraph2}</p>`,
|
|
2583
|
+
body: `<p class="first-paragraph">${currentContent.paragraph1}</p><p>${currentContent.paragraph2}</p>`,
|
|
2585
2584
|
linksForMoreInfo: currentContent.links.map((link) => ({
|
|
2586
2585
|
url: link.url,
|
|
2587
2586
|
title: link.title,
|
|
@@ -2674,6 +2673,7 @@ var EditPreviewLink = ({
|
|
|
2674
2673
|
"a",
|
|
2675
2674
|
{
|
|
2676
2675
|
href: "#",
|
|
2676
|
+
className: "pts-edit-step-button",
|
|
2677
2677
|
onClick: (e) => {
|
|
2678
2678
|
e.preventDefault();
|
|
2679
2679
|
changeStepHandler(step.step);
|
|
@@ -2700,7 +2700,7 @@ var EditPreviewLink = ({
|
|
|
2700
2700
|
)
|
|
2701
2701
|
}
|
|
2702
2702
|
),
|
|
2703
|
-
activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
|
|
2703
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
|
|
2704
2704
|
]
|
|
2705
2705
|
}
|
|
2706
2706
|
) });
|