@tenancy.nz/ui 1.2.12 → 1.2.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.
@@ -155,7 +155,7 @@ function FileUpload(_ref) {
155
155
  edges: edges
156
156
  }, /* @__PURE__ */React.createElement(FormFocus.default, {
157
157
  name: name
158
- }), (!files || files.length === 0 || !dropzoneProps || dropzoneProps.maxFiles === void 0 || dropzoneProps.maxFiles > 1) && /* @__PURE__ */React.createElement(framerMotion.motion.div, _rollupPluginBabelHelpers.objectSpread2({}, fade), /* @__PURE__ */React.createElement(DropZone.default, {
158
+ }), /* @__PURE__ */React.createElement(framerMotion.motion.div, _rollupPluginBabelHelpers.objectSpread2({}, fade), /* @__PURE__ */React.createElement(DropZone.default, {
159
159
  loading: loading,
160
160
  disabled: disabled,
161
161
  onDrop: onDrop,
@@ -151,7 +151,7 @@ function FileUpload(_ref) {
151
151
  edges: edges
152
152
  }, /* @__PURE__ */React.createElement(FormFocus, {
153
153
  name: name
154
- }), (!files || files.length === 0 || !dropzoneProps || dropzoneProps.maxFiles === void 0 || dropzoneProps.maxFiles > 1) && /* @__PURE__ */React.createElement(motion.div, _objectSpread2({}, fade), /* @__PURE__ */React.createElement(DropZone, {
154
+ }), /* @__PURE__ */React.createElement(motion.div, _objectSpread2({}, fade), /* @__PURE__ */React.createElement(DropZone, {
155
155
  loading: loading,
156
156
  disabled: disabled,
157
157
  onDrop: onDrop,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenancy.nz/ui",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "description": "Library of React UI components for tenancy.co.nz apps.",
5
5
  "author": "Tenancy.co.nz <monty@tenancy.co.nz>",
6
6
  "keywords": [