@bigbinary/neeto-form-frontend 4.4.54 → 4.4.56-beta1
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/app/javascript/src/translations/ar.json +7 -1
- package/app/javascript/src/translations/bg.json +7 -1
- package/app/javascript/src/translations/ca.json +7 -1
- package/app/javascript/src/translations/cs.json +7 -1
- package/app/javascript/src/translations/da.json +7 -1
- package/app/javascript/src/translations/de.json +7 -1
- package/app/javascript/src/translations/es-MX.json +7 -1
- package/app/javascript/src/translations/es.json +7 -1
- package/app/javascript/src/translations/et.json +7 -1
- package/app/javascript/src/translations/fi.json +7 -1
- package/app/javascript/src/translations/fil.json +7 -1
- package/app/javascript/src/translations/fr.json +7 -1
- package/app/javascript/src/translations/he.json +7 -1
- package/app/javascript/src/translations/hi.json +7 -1
- package/app/javascript/src/translations/hr.json +7 -1
- package/app/javascript/src/translations/hu.json +7 -1
- package/app/javascript/src/translations/id.json +7 -1
- package/app/javascript/src/translations/it.json +7 -1
- package/app/javascript/src/translations/ja.json +7 -1
- package/app/javascript/src/translations/ko.json +7 -1
- package/app/javascript/src/translations/lv.json +7 -1
- package/app/javascript/src/translations/nl.json +7 -1
- package/app/javascript/src/translations/pl.json +7 -1
- package/app/javascript/src/translations/pt-BR.json +7 -1
- package/app/javascript/src/translations/pt.json +7 -1
- package/app/javascript/src/translations/ro.json +7 -1
- package/app/javascript/src/translations/ru.json +7 -1
- package/app/javascript/src/translations/sk.json +7 -1
- package/app/javascript/src/translations/sl.json +7 -1
- package/app/javascript/src/translations/sv.json +7 -1
- package/app/javascript/src/translations/th.json +7 -1
- package/app/javascript/src/translations/tr.json +7 -1
- package/app/javascript/src/translations/uk.json +7 -1
- package/app/javascript/src/translations/vi.json +7 -1
- package/app/javascript/src/translations/zh-CN.json +7 -1
- package/app/javascript/src/translations/zh-TW.json +7 -1
- package/dist/.ready +1 -1
- package/dist/BuildForm.js +0 -1
- package/dist/BuildForm.js.map +1 -1
- package/dist/cjs/BuildForm.js +0 -1
- package/dist/cjs/BuildForm.js.map +1 -1
- package/dist/cjs/v2/BuildForm.js +10 -4
- package/dist/cjs/v2/BuildForm.js.map +1 -1
- package/dist/v2/BuildForm.js +11 -5
- package/dist/v2/BuildForm.js.map +1 -1
- package/dist/v2/main.css +1 -1
- package/dist/v2/main.css.map +1 -1
- package/package.json +5 -5
package/dist/cjs/v2/BuildForm.js
CHANGED
|
@@ -1069,11 +1069,11 @@ var FieldCode = function FieldCode() {
|
|
|
1069
1069
|
label: t("neetoForm.questions.common.questionFields.field.fieldCode"),
|
|
1070
1070
|
name: "fieldCode",
|
|
1071
1071
|
rejectCharsRegex: yup.FIELD_CODES_REJECT_CHARS_REGEX,
|
|
1072
|
+
size: "large",
|
|
1072
1073
|
helpText: helpDocUrl && /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
|
|
1073
1074
|
i18nKey: "neetoForm.questions.common.questionFields.field.fieldCodeHelpDescription",
|
|
1074
1075
|
components: {
|
|
1075
1076
|
Link: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
|
|
1076
|
-
className: "text-xs",
|
|
1077
1077
|
href: helpDocUrl,
|
|
1078
1078
|
target: "_blank",
|
|
1079
1079
|
variant: "link"
|
|
@@ -1295,7 +1295,7 @@ var Form$1 = function Form(_ref) {
|
|
|
1295
1295
|
kind: kind,
|
|
1296
1296
|
questionProps: questionProps
|
|
1297
1297
|
}), isSettingsBlockVisible && /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1298
|
-
className: "
|
|
1298
|
+
className: "flex flex-col gap-6",
|
|
1299
1299
|
"data-testid": "settings-card",
|
|
1300
1300
|
children: [isBasicSettingsVisible && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1301
1301
|
children: [shouldShowRequiredSwitch && /*#__PURE__*/jsxRuntime.jsx(RequiredSwitch, {}), shouldShowHideSwitch && /*#__PURE__*/jsxRuntime.jsx(formik$1.Switch, {
|
|
@@ -1325,14 +1325,20 @@ var Form$1 = function Form(_ref) {
|
|
|
1325
1325
|
name: "allowDecimals"
|
|
1326
1326
|
}), isTextarea && enforceMinWordsInMultiLineTexts && /*#__PURE__*/jsxRuntime.jsx(Textarea, {})]
|
|
1327
1327
|
}), shouldShowFieldCode && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Accordion, {
|
|
1328
|
+
collapsible: true,
|
|
1328
1329
|
className: "neeto-form-nano-advanced-properties-accordion",
|
|
1329
1330
|
"data-testid": "advanced-properties-card",
|
|
1330
1331
|
defaultActiveKey: isFieldCodeInvalid ? 0 : null // This is to open the accordion when field code is invalid
|
|
1331
1332
|
,
|
|
1332
1333
|
children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Accordion.Item, {
|
|
1333
|
-
title:
|
|
1334
|
+
title: /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
1335
|
+
className: "flex items-center gap-2",
|
|
1336
|
+
children: [t("neetoForm.common.advancedProperties"), /*#__PURE__*/jsxRuntime.jsx(lucideReact.ChevronRight, {
|
|
1337
|
+
className: "neeto-form-nano-advanced-properties-chevron size-4 shrink-0"
|
|
1338
|
+
})]
|
|
1339
|
+
}),
|
|
1334
1340
|
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1335
|
-
className: "flex flex-col space-y-6",
|
|
1341
|
+
className: "flex flex-col space-y-6 pt-4",
|
|
1336
1342
|
children: shouldShowFieldCode && /*#__PURE__*/jsxRuntime.jsx(FieldCode, {})
|
|
1337
1343
|
})
|
|
1338
1344
|
})
|