@tenancy.nz/ui 1.3.3 → 1.3.6

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.
@@ -8,7 +8,7 @@ var PropTypes = require('prop-types');
8
8
  var Box$2 = require('@mui/material/Box');
9
9
 
10
10
  var _excluded = ["as", "align", "children", "display", "direction", "justify", "sx"];
11
- function Box(_ref, ref) {
11
+ function Box$1(_ref, ref) {
12
12
  var _ref$as = _ref.as,
13
13
  as = _ref$as === void 0 ? "div" : _ref$as,
14
14
  _ref$align = _ref.align,
@@ -36,7 +36,7 @@ function Box(_ref, ref) {
36
36
  }, flexProps), sx)
37
37
  }, rest), children);
38
38
  }
39
- Box.propTypes = {
39
+ Box$1.propTypes = {
40
40
  /**
41
41
  * The component used for the root node.
42
42
  */
@@ -67,6 +67,6 @@ Box.propTypes = {
67
67
  */
68
68
  sx: PropTypes.object
69
69
  };
70
- var Box$1 = /*#__PURE__*/React.forwardRef(Box);
70
+ var Box = /*#__PURE__*/React.forwardRef(Box$1);
71
71
 
72
- exports.default = Box$1;
72
+ exports.default = Box;
@@ -67,6 +67,6 @@ Popper.propTypes = {
67
67
  */
68
68
  placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"])
69
69
  };
70
- var Popper$1 = /*#__PURE__*/React.forwardRef(Popper);
70
+ var Popper_default = /*#__PURE__*/React.forwardRef(Popper);
71
71
 
72
- exports.default = Popper$1;
72
+ exports.default = Popper_default;
@@ -63,6 +63,6 @@ Popper.propTypes = {
63
63
  */
64
64
  placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"])
65
65
  };
66
- var Popper$1 = /*#__PURE__*/forwardRef(Popper);
66
+ var Popper_default = /*#__PURE__*/forwardRef(Popper);
67
67
 
68
- export { Popper$1 as default };
68
+ export { Popper_default as default };
@@ -1,5 +1,5 @@
1
1
  import { toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
- import { isEmpty, isArray } from './boolean.js';
2
+ import { isArray, isEmpty } from './boolean.js';
3
3
 
4
4
  var implode = function implode(delimiter, arr) {
5
5
  var noEmpty = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
@@ -1,4 +1,4 @@
1
- import { slicedToArray as _slicedToArray, toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
1
+ import { toConsumableArray as _toConsumableArray, slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { range as _range } from './array.js';
3
3
  import './date.js';
4
4
  import { strPadStart, toString } from './string.js';
@@ -1,5 +1,5 @@
1
1
  import { objectSpread2 as _objectSpread2, defineProperty as _defineProperty, slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
- import { isObject, isArray, isEmpty, isNotEmpty, isString } from './boolean.js';
2
+ import { isObject, isEmpty, isNotEmpty, isArray, isString } from './boolean.js';
3
3
 
4
4
  var pick = function pick(object, props) {
5
5
  if (!isObject(object)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenancy.nz/ui",
3
- "version": "1.3.3",
3
+ "version": "1.3.6",
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": [
@@ -36,7 +36,6 @@
36
36
  "node": ">=20.19.0"
37
37
  },
38
38
  "dependencies": {
39
- "dayjs": "^1.11.13",
40
39
  "jss": "^10.10.0",
41
40
  "libphonenumber-js": "^1.12.10",
42
41
  "mime": "^4.0.7",
@@ -49,8 +48,9 @@
49
48
  "peerDependencies": {
50
49
  "@emotion/react": "^11.14.0",
51
50
  "@emotion/styled": "^11.14.1",
52
- "@mui/material": "^7.3.1",
53
51
  "@mui/icons-material": "^7.2.0",
52
+ "@mui/material": "^7.3.1",
53
+ "dayjs": "^1.11.19",
54
54
  "framer-motion": "^11.11.7",
55
55
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
56
56
  "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",