optimized-react-component-library-xyz123 0.1.145 → 0.1.147

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 CHANGED
@@ -912,7 +912,7 @@ var AddFiles = ({
912
912
  setErrorMessageAddingFile([]);
913
913
  };
914
914
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
915
- !showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { role: "group", children: [
915
+ !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: [
916
916
  questionObject.aboutText && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
917
917
  "p",
918
918
  {
@@ -1753,7 +1753,6 @@ var QuestionRenderer_default = QuestionRenderer;
1753
1753
 
1754
1754
  // src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
1755
1755
  var import_react10 = require("react");
1756
- var import_optimized_react_component_library_xyz123 = require("optimized-react-component-library-xyz123");
1757
1756
  var import_jsx_runtime12 = require("react/jsx-runtime");
1758
1757
  var QuestionGroup = ({
1759
1758
  questions,
@@ -1777,7 +1776,7 @@ var QuestionGroup = ({
1777
1776
  }, [questions]);
1778
1777
  const groupQuestions = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, { children: questions.map((question, index) => {
1779
1778
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react10.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1780
- import_optimized_react_component_library_xyz123.QuestionRenderer,
1779
+ QuestionRenderer_default,
1781
1780
  {
1782
1781
  question,
1783
1782
  handleQuestionInputChange,
@@ -1791,7 +1790,7 @@ var QuestionGroup = ({
1791
1790
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1792
1791
  "fieldset",
1793
1792
  {
1794
- className: "pts-root-question-group-fieldset",
1793
+ className: "pts-root-question-group-fieldset pts-root-question",
1795
1794
  "aria-required": firstQuestion.isQuestionMandatory || void 0,
1796
1795
  "aria-invalid": firstQuestion.hasValidationError || void 0,
1797
1796
  "aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
@@ -2689,7 +2688,7 @@ var EditPreviewLink = ({
2689
2688
  )
2690
2689
  }
2691
2690
  ),
2692
- activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
2691
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
2693
2692
  ]
2694
2693
  }
2695
2694
  ) });