@bigbinary/neeto-form-frontend 3.8.2 → 3.8.3

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.
Files changed (47) hide show
  1. package/dist/BuildForm.js +7 -7
  2. package/dist/BuildForm.js.map +1 -1
  3. package/dist/ExternalForm.js +5 -9
  4. package/dist/ExternalForm.js.map +1 -1
  5. package/dist/Submission.js +2 -2
  6. package/dist/UrlBuilder.js +5 -11
  7. package/dist/UrlBuilder.js.map +1 -1
  8. package/dist/cjs/BuildForm.js +7 -7
  9. package/dist/cjs/BuildForm.js.map +1 -1
  10. package/dist/cjs/ExternalForm.js +5 -9
  11. package/dist/cjs/ExternalForm.js.map +1 -1
  12. package/dist/cjs/Submission.js +2 -2
  13. package/dist/cjs/UrlBuilder.js +5 -11
  14. package/dist/cjs/UrlBuilder.js.map +1 -1
  15. package/dist/cjs/hooks.js +2 -2
  16. package/dist/cjs/index.js +6 -10
  17. package/dist/cjs/index.js.map +1 -1
  18. package/dist/{constants-43eac775.js → constants-4d9fc943.js} +1 -7
  19. package/dist/{constants-43eac775.js.map → constants-4d9fc943.js.map} +1 -1
  20. package/dist/{constants-ca5ca2b1.js → constants-56bf4022.js} +2 -2
  21. package/dist/{constants-ca5ca2b1.js.map → constants-56bf4022.js.map} +1 -1
  22. package/dist/{constants-3d8a5374.js → constants-75b78b3a.js} +2 -7
  23. package/dist/{constants-3d8a5374.js.map → constants-75b78b3a.js.map} +1 -1
  24. package/dist/{constants-669f203a.js → constants-d9148acf.js} +2 -2
  25. package/dist/{constants-669f203a.js.map → constants-d9148acf.js.map} +1 -1
  26. package/dist/hooks.js +2 -2
  27. package/dist/index.js +6 -10
  28. package/dist/index.js.map +1 -1
  29. package/dist/main.css +1 -1
  30. package/dist/main.css.map +1 -1
  31. package/dist/{useFormApi-ca36173e.js → useFormApi-408d0060.js} +1 -3
  32. package/dist/useFormApi-408d0060.js.map +1 -0
  33. package/dist/{useFormApi-d733cb8d.js → useFormApi-e3476a20.js} +2 -3
  34. package/dist/useFormApi-e3476a20.js.map +1 -0
  35. package/dist/{useFormSubmission-866195bb.js → useFormSubmission-46db678f.js} +2 -2
  36. package/dist/{useFormSubmission-866195bb.js.map → useFormSubmission-46db678f.js.map} +1 -1
  37. package/dist/{useFormSubmission-f8866b84.js → useFormSubmission-e2e84587.js} +2 -2
  38. package/dist/{useFormSubmission-f8866b84.js.map → useFormSubmission-e2e84587.js.map} +1 -1
  39. package/dist/{utils-4a844c8d.js → utils-4918956b.js} +60 -529
  40. package/dist/utils-4918956b.js.map +1 -0
  41. package/dist/{utils-6b8cacdd.js → utils-e4298243.js} +56 -530
  42. package/dist/utils-e4298243.js.map +1 -0
  43. package/package.json +7 -7
  44. package/dist/useFormApi-ca36173e.js.map +0 -1
  45. package/dist/useFormApi-d733cb8d.js.map +0 -1
  46. package/dist/utils-4a844c8d.js.map +0 -1
  47. package/dist/utils-6b8cacdd.js.map +0 -1
@@ -9,9 +9,9 @@ var neetoCist = require('@bigbinary/neeto-cist');
9
9
  var utils = require('@bigbinary/neeto-commons-frontend/utils');
10
10
  var PageLoader = require('@bigbinary/neeto-molecules/PageLoader');
11
11
  var ramda = require('ramda');
12
- var useFormApi = require('../useFormApi-ca36173e.js');
13
- var constants$1 = require('../constants-43eac775.js');
14
- var constants = require('../constants-ca5ca2b1.js');
12
+ var useFormApi = require('../useFormApi-408d0060.js');
13
+ var constants$1 = require('../constants-4d9fc943.js');
14
+ var constants = require('../constants-56bf4022.js');
15
15
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
16
16
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
17
17
  var dnd = require('@hello-pangea/dnd');
@@ -2216,7 +2216,7 @@ var Form = function Form(_ref) {
2216
2216
  return setIsDeleteAlertOpen(false);
2217
2217
  }
2218
2218
  }), /*#__PURE__*/jsxRuntime.jsxs(formik.Form, _objectSpread$1(_objectSpread$1({
2219
- className: "neeto-form-nano-form-wrapper flex h-full flex-col"
2219
+ className: "flex flex-col h-full neeto-form-nano-form-wrapper"
2220
2220
  }, formDomProps), {}, {
2221
2221
  noValidate: true,
2222
2222
  children: [formTitle && /*#__PURE__*/jsxRuntime.jsx(Overview, {
@@ -2227,7 +2227,7 @@ var Form = function Form(_ref) {
2227
2227
  title: formTitle,
2228
2228
  onLanguageChange: handleLanguageChange
2229
2229
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
2230
- className: "neeto-form-nano-form-wrapper__body min-h-0 w-full flex-grow space-y-6 overflow-y-auto px-6 pb-6",
2230
+ className: "flex-grow w-full min-h-0 pb-6 space-y-6 overflow-y-auto neeto-form-nano-form-wrapper__body md:px-6",
2231
2231
  children: hasActiveQuestions ? /*#__PURE__*/jsxRuntime.jsxs("div", {
2232
2232
  className: "space-y-6",
2233
2233
  ref: containerRef,
@@ -2254,7 +2254,7 @@ var Form = function Form(_ref) {
2254
2254
  onSelect: handleSelect
2255
2255
  })
2256
2256
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
2257
- className: "mb-8 w-full",
2257
+ className: "w-full mb-8",
2258
2258
  children: /*#__PURE__*/jsxRuntime.jsx(AddQuestion, {
2259
2259
  disabledAddButtonTooltipProps: disabledAddButtonTooltipProps,
2260
2260
  isDisabled: ramda.isEmpty(availableQuestionKinds),
@@ -2267,7 +2267,7 @@ var Form = function Form(_ref) {
2267
2267
  onAdd: handleAdd
2268
2268
  })
2269
2269
  }), (showActionBlock || dirty) && /*#__PURE__*/jsxRuntime.jsx("div", {
2270
- className: "neeto-ui-border-gray-300 neeto-form-nano-form-wrapper__footer neeto-ui-bg-white sticky bottom-0 flex flex-shrink-0 justify-end border-t px-6 py-4",
2270
+ className: "sticky bottom-0 flex justify-end flex-shrink-0 px-6 py-4 border-t neeto-ui-border-gray-300 neeto-form-nano-form-wrapper__footer neeto-ui-bg-white",
2271
2271
  children: /*#__PURE__*/jsxRuntime.jsx(ActionBlock__default["default"], {
2272
2272
  submitButtonProps: submitButtonProps,
2273
2273
  isSubmitting: isReordering,