optimized-react-component-library-xyz123 0.1.12 → 0.1.14
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 +11 -1
- package/dist/index.mjs +11 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -267,6 +267,7 @@ var InputTextarea = ({
|
|
|
267
267
|
question.aboutText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
268
268
|
"div",
|
|
269
269
|
{
|
|
270
|
+
id: aboutId,
|
|
270
271
|
className: "pts-about",
|
|
271
272
|
dangerouslySetInnerHTML: {
|
|
272
273
|
__html: import_dompurify.default.sanitize(question.aboutText)
|
|
@@ -355,6 +356,7 @@ var TextFieldStandard = ({
|
|
|
355
356
|
question.aboutText && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
356
357
|
"div",
|
|
357
358
|
{
|
|
359
|
+
id: aboutId,
|
|
358
360
|
className: "pts-about",
|
|
359
361
|
dangerouslySetInnerHTML: {
|
|
360
362
|
__html: import_dompurify2.default.sanitize(question.aboutText)
|
|
@@ -1919,7 +1921,15 @@ var StepperButtons = ({
|
|
|
1919
1921
|
}) => {
|
|
1920
1922
|
const totalSteps = arraySteps ? arraySteps.length : "";
|
|
1921
1923
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "pts-stepperButtons-container", children: [
|
|
1922
|
-
activeStep !==
|
|
1924
|
+
activeStep !== 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1925
|
+
"button",
|
|
1926
|
+
{
|
|
1927
|
+
onClick: () => handleActiveStep(activeStep - 1),
|
|
1928
|
+
className: "pts-backButton",
|
|
1929
|
+
type: "button",
|
|
1930
|
+
children: languageSupported ? languageSupported.backButton : "<<"
|
|
1931
|
+
}
|
|
1932
|
+
),
|
|
1923
1933
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1924
1934
|
"button",
|
|
1925
1935
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -204,6 +204,7 @@ var InputTextarea = ({
|
|
|
204
204
|
question.aboutText && /* @__PURE__ */ jsx3(
|
|
205
205
|
"div",
|
|
206
206
|
{
|
|
207
|
+
id: aboutId,
|
|
207
208
|
className: "pts-about",
|
|
208
209
|
dangerouslySetInnerHTML: {
|
|
209
210
|
__html: DOMPurify.sanitize(question.aboutText)
|
|
@@ -292,6 +293,7 @@ var TextFieldStandard = ({
|
|
|
292
293
|
question.aboutText && /* @__PURE__ */ jsx4(
|
|
293
294
|
"div",
|
|
294
295
|
{
|
|
296
|
+
id: aboutId,
|
|
295
297
|
className: "pts-about",
|
|
296
298
|
dangerouslySetInnerHTML: {
|
|
297
299
|
__html: DOMPurify2.sanitize(question.aboutText)
|
|
@@ -1856,7 +1858,15 @@ var StepperButtons = ({
|
|
|
1856
1858
|
}) => {
|
|
1857
1859
|
const totalSteps = arraySteps ? arraySteps.length : "";
|
|
1858
1860
|
return /* @__PURE__ */ jsxs16("div", { className: "pts-stepperButtons-container", children: [
|
|
1859
|
-
activeStep !==
|
|
1861
|
+
activeStep !== 0 && /* @__PURE__ */ jsx18(
|
|
1862
|
+
"button",
|
|
1863
|
+
{
|
|
1864
|
+
onClick: () => handleActiveStep(activeStep - 1),
|
|
1865
|
+
className: "pts-backButton",
|
|
1866
|
+
type: "button",
|
|
1867
|
+
children: languageSupported ? languageSupported.backButton : "<<"
|
|
1868
|
+
}
|
|
1869
|
+
),
|
|
1860
1870
|
/* @__PURE__ */ jsxs16(
|
|
1861
1871
|
"button",
|
|
1862
1872
|
{
|