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.mjs CHANGED
@@ -832,7 +832,7 @@ var AddFiles = ({
832
832
  setErrorMessageAddingFile([]);
833
833
  };
834
834
  return /* @__PURE__ */ jsxs8(Fragment10, { children: [
835
- !showPreview && visible && /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsxs8("div", { role: "group", children: [
835
+ !showPreview && visible && /* @__PURE__ */ jsx10("div", { className: "root-question addFile-question-container", children: /* @__PURE__ */ jsxs8("div", { role: "group", children: [
836
836
  questionObject.aboutText && /* @__PURE__ */ jsxs8(
837
837
  "p",
838
838
  {
@@ -1676,7 +1676,6 @@ var QuestionRenderer_default = QuestionRenderer;
1676
1676
 
1677
1677
  // src/components/question-rendering/QuestionGroup/QuestionGroup.tsx
1678
1678
  import { useEffect as useEffect9, Fragment as Fragment12 } from "react";
1679
- import { QuestionRenderer as QuestionRenderer2 } from "optimized-react-component-library-xyz123";
1680
1679
  import { Fragment as Fragment13, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
1681
1680
  var QuestionGroup = ({
1682
1681
  questions,
@@ -1700,7 +1699,7 @@ var QuestionGroup = ({
1700
1699
  }, [questions]);
1701
1700
  const groupQuestions = /* @__PURE__ */ jsx12(Fragment13, { children: questions.map((question, index) => {
1702
1701
  return /* @__PURE__ */ jsx12(Fragment12, { children: /* @__PURE__ */ jsx12(
1703
- QuestionRenderer2,
1702
+ QuestionRenderer_default,
1704
1703
  {
1705
1704
  question,
1706
1705
  handleQuestionInputChange,
@@ -1714,7 +1713,7 @@ var QuestionGroup = ({
1714
1713
  return /* @__PURE__ */ jsxs10(
1715
1714
  "fieldset",
1716
1715
  {
1717
- className: "pts-root-question-group-fieldset",
1716
+ className: "pts-root-question-group-fieldset pts-root-question",
1718
1717
  "aria-required": firstQuestion.isQuestionMandatory || void 0,
1719
1718
  "aria-invalid": firstQuestion.hasValidationError || void 0,
1720
1719
  "aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
@@ -2612,7 +2611,7 @@ var EditPreviewLink = ({
2612
2611
  )
2613
2612
  }
2614
2613
  ),
2615
- activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
2614
+ /* @__PURE__ */ jsx22("span", { className: "pts-edit-step-text", children: activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}` })
2616
2615
  ]
2617
2616
  }
2618
2617
  ) });