optimized-react-component-library-xyz123 0.1.10 → 0.1.11
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.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +6 -3
- package/dist/index.mjs +6 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -208,8 +208,7 @@ declare const RenderQuestion: ({ question, isTouched, activatedLanguage, showPre
|
|
|
208
208
|
declare const RenderQuestionGroup: ({ questionArray, wrapper, legend, isTouched, activatedLanguage, showPreview, AddQuestionDisplayed, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
209
209
|
|
|
210
210
|
interface EditPreviewLinkProps {
|
|
211
|
-
|
|
212
|
-
arraySteps: any;
|
|
211
|
+
step: number;
|
|
213
212
|
changeStepHandler: any;
|
|
214
213
|
activatedLanguage?: string;
|
|
215
214
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -208,8 +208,7 @@ declare const RenderQuestion: ({ question, isTouched, activatedLanguage, showPre
|
|
|
208
208
|
declare const RenderQuestionGroup: ({ questionArray, wrapper, legend, isTouched, activatedLanguage, showPreview, AddQuestionDisplayed, hideValidationMessage, }: any) => react_jsx_runtime.JSX.Element;
|
|
209
209
|
|
|
210
210
|
interface EditPreviewLinkProps {
|
|
211
|
-
|
|
212
|
-
arraySteps: any;
|
|
211
|
+
step: number;
|
|
213
212
|
changeStepHandler: any;
|
|
214
213
|
activatedLanguage?: string;
|
|
215
214
|
}
|
package/dist/index.js
CHANGED
|
@@ -1161,9 +1161,12 @@ var ILanguageSupportinitialState = {
|
|
|
1161
1161
|
|
|
1162
1162
|
// src/NewTextComponentStandard/EditPreviewLinkStandard/EditPreviewLinkStandard.tsx
|
|
1163
1163
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
1164
|
-
var EditPreviewLink = ({
|
|
1165
|
-
|
|
1166
|
-
|
|
1164
|
+
var EditPreviewLink = ({
|
|
1165
|
+
step,
|
|
1166
|
+
changeStepHandler,
|
|
1167
|
+
activatedLanguage = "sv"
|
|
1168
|
+
}) => {
|
|
1169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("button", { type: "button", onClick: () => changeStepHandler(step), role: "link", children: [
|
|
1167
1170
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1168
1171
|
"svg",
|
|
1169
1172
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -1098,9 +1098,12 @@ var ILanguageSupportinitialState = {
|
|
|
1098
1098
|
|
|
1099
1099
|
// src/NewTextComponentStandard/EditPreviewLinkStandard/EditPreviewLinkStandard.tsx
|
|
1100
1100
|
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1101
|
-
var EditPreviewLink = ({
|
|
1102
|
-
|
|
1103
|
-
|
|
1101
|
+
var EditPreviewLink = ({
|
|
1102
|
+
step,
|
|
1103
|
+
changeStepHandler,
|
|
1104
|
+
activatedLanguage = "sv"
|
|
1105
|
+
}) => {
|
|
1106
|
+
return /* @__PURE__ */ jsx8("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ jsxs8("button", { type: "button", onClick: () => changeStepHandler(step), role: "link", children: [
|
|
1104
1107
|
/* @__PURE__ */ jsx8(
|
|
1105
1108
|
"svg",
|
|
1106
1109
|
{
|