@bigbinary/neeto-form-frontend 4.0.0 → 4.1.0
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/BuildForm.js +6 -6
- package/dist/BuildForm.js.map +1 -1
- package/dist/ExternalForm.js +1 -1
- package/dist/ExternalForm.js.map +1 -1
- package/dist/Submission.js +1 -1
- package/dist/Submission.js.map +1 -1
- package/dist/cjs/BuildForm.js +6 -6
- package/dist/cjs/BuildForm.js.map +1 -1
- package/dist/cjs/ExternalForm.js +1 -1
- package/dist/cjs/ExternalForm.js.map +1 -1
- package/dist/cjs/Submission.js +1 -1
- package/dist/cjs/Submission.js.map +1 -1
- package/dist/main.css +1 -1
- package/dist/main.css.map +1 -1
- package/package.json +12 -11
package/dist/BuildForm.js
CHANGED
|
@@ -205,7 +205,7 @@ var Overview = function Overview(_ref) {
|
|
|
205
205
|
availableLanguages = _ref.availableLanguages,
|
|
206
206
|
additionalActionOptions = _ref.additionalActionOptions;
|
|
207
207
|
return /*#__PURE__*/jsxs("div", {
|
|
208
|
-
className: "neeto-form-nano-form-wrapper__overview mb-4 w-full
|
|
208
|
+
className: "neeto-form-nano-form-wrapper__overview mb-4 w-full shrink-0 space-y-4 pt-6",
|
|
209
209
|
children: [/*#__PURE__*/jsxs("div", {
|
|
210
210
|
className: "flex items-center justify-between",
|
|
211
211
|
children: [/*#__PURE__*/jsx(Typography, {
|
|
@@ -215,7 +215,7 @@ var Overview = function Overview(_ref) {
|
|
|
215
215
|
weight: "neeto-ui-font-semibold",
|
|
216
216
|
children: title
|
|
217
217
|
}), /*#__PURE__*/jsxs("div", {
|
|
218
|
-
className: "flex
|
|
218
|
+
className: "flex shrink-0 items-center justify-between space-x-1",
|
|
219
219
|
children: [availableLanguages.length > 1 && /*#__PURE__*/jsx(ChangeLanguageDropdown, {
|
|
220
220
|
availableLanguages: availableLanguages
|
|
221
221
|
}), isPresent(additionalActionOptions) && /*#__PURE__*/jsx(MoreDropdown, {
|
|
@@ -276,15 +276,15 @@ var Card = function Card(_ref) {
|
|
|
276
276
|
return onSelect(question);
|
|
277
277
|
},
|
|
278
278
|
children: [/*#__PURE__*/jsxs("div", {
|
|
279
|
-
className: "flex min-w-0
|
|
279
|
+
className: "flex min-w-0 grow items-center gap-1",
|
|
280
280
|
children: [canManageQuestions && /*#__PURE__*/jsx(Drag, {
|
|
281
|
-
className: "neeto-ui-text-gray-600
|
|
281
|
+
className: "neeto-ui-text-gray-600 shrink-0"
|
|
282
282
|
}), /*#__PURE__*/jsx(Tooltip, {
|
|
283
283
|
content: questionLabel,
|
|
284
284
|
disabled: !isTooltipEnabled,
|
|
285
285
|
position: "top",
|
|
286
286
|
children: /*#__PURE__*/jsx(Typography, {
|
|
287
|
-
className: "line-clamp-2 min-w-0
|
|
287
|
+
className: "line-clamp-2 min-w-0 grow truncate break-words",
|
|
288
288
|
"data-cy": "".concat(slugify(questionLabel), "-question-card-label"),
|
|
289
289
|
lineHeight: "snug",
|
|
290
290
|
ref: questionLabelRef,
|
|
@@ -2340,7 +2340,7 @@ var Form = function Form(_ref) {
|
|
|
2340
2340
|
description: formDescription,
|
|
2341
2341
|
title: formTitle
|
|
2342
2342
|
}), /*#__PURE__*/jsx("div", {
|
|
2343
|
-
className: "neeto-form-nano-form-wrapper__body min-h-0 w-full
|
|
2343
|
+
className: "neeto-form-nano-form-wrapper__body min-h-0 w-full grow space-y-6 overflow-y-auto pb-6",
|
|
2344
2344
|
children: isPresent(questions) ? /*#__PURE__*/jsxs("div", {
|
|
2345
2345
|
className: "space-y-6",
|
|
2346
2346
|
ref: containerRef,
|