optimized-react-component-library-xyz123 0.1.148 → 0.1.149
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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- 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.mjs
CHANGED
|
@@ -843,7 +843,7 @@ var AddFiles = ({
|
|
|
843
843
|
setErrorMessageAddingFile([]);
|
|
844
844
|
};
|
|
845
845
|
return /* @__PURE__ */ jsxs8(Fragment10, { children: [
|
|
846
|
-
!showPreview && visible && /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsxs8("div", { role: "group", children: [
|
|
846
|
+
!showPreview && visible && /* @__PURE__ */ jsx10("div", { className: "root-question addFile-question-container", children: /* @__PURE__ */ jsxs8("div", { role: "group", children: [
|
|
847
847
|
questionObject.aboutText && /* @__PURE__ */ jsxs8(
|
|
848
848
|
"p",
|
|
849
849
|
{
|
|
@@ -1687,7 +1687,6 @@ var QuestionRenderer_default = QuestionRenderer;
|
|
|
1687
1687
|
|
|
1688
1688
|
// src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
|
|
1689
1689
|
import { useEffect as useEffect9, Fragment as Fragment12 } from "react";
|
|
1690
|
-
import { QuestionRenderer as QuestionRenderer2 } from "optimized-react-component-library-xyz123";
|
|
1691
1690
|
import { Fragment as Fragment13, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1692
1691
|
var QuestionGroup = ({
|
|
1693
1692
|
questions,
|
|
@@ -1711,7 +1710,7 @@ var QuestionGroup = ({
|
|
|
1711
1710
|
}, [questions]);
|
|
1712
1711
|
const groupQuestions = /* @__PURE__ */ jsx12(Fragment13, { children: questions.map((question, index) => {
|
|
1713
1712
|
return /* @__PURE__ */ jsx12(Fragment12, { children: /* @__PURE__ */ jsx12(
|
|
1714
|
-
|
|
1713
|
+
QuestionRenderer_default,
|
|
1715
1714
|
{
|
|
1716
1715
|
question,
|
|
1717
1716
|
handleQuestionInputChange,
|
|
@@ -1725,7 +1724,7 @@ var QuestionGroup = ({
|
|
|
1725
1724
|
return /* @__PURE__ */ jsxs10(
|
|
1726
1725
|
"fieldset",
|
|
1727
1726
|
{
|
|
1728
|
-
className: "pts-root-question-group-fieldset",
|
|
1727
|
+
className: "pts-root-question-group-fieldset pts-root-question",
|
|
1729
1728
|
"aria-required": firstQuestion.isQuestionMandatory || void 0,
|
|
1730
1729
|
"aria-invalid": firstQuestion.hasValidationError || void 0,
|
|
1731
1730
|
"aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
@@ -2597,6 +2596,7 @@ var EditPreviewLink = ({
|
|
|
2597
2596
|
"a",
|
|
2598
2597
|
{
|
|
2599
2598
|
href: "#",
|
|
2599
|
+
className: "pts-edit-step-button",
|
|
2600
2600
|
onClick: (e) => {
|
|
2601
2601
|
e.preventDefault();
|
|
2602
2602
|
changeStepHandler(step.step);
|
|
@@ -2623,7 +2623,7 @@ var EditPreviewLink = ({
|
|
|
2623
2623
|
)
|
|
2624
2624
|
}
|
|
2625
2625
|
),
|
|
2626
|
-
activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
|
|
2626
|
+
/* @__PURE__ */ jsx22("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
|
|
2627
2627
|
]
|
|
2628
2628
|
}
|
|
2629
2629
|
) });
|