@tenancy.nz/ui 1.3.4 → 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.
- package/dist/cjs/components/Box.cjs +4 -4
- package/dist/cjs/components/Popper.cjs +2 -2
- package/dist/esm/components/Popper.js +2 -2
- package/dist/esm/utils/helpers/array.js +1 -1
- package/dist/esm/utils/helpers/dateSelect.js +1 -1
- package/dist/esm/utils/helpers/object.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
70
|
+
var Box = /*#__PURE__*/React.forwardRef(Box$1);
|
|
71
71
|
|
|
72
|
-
exports.default = Box
|
|
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
|
|
70
|
+
var Popper_default = /*#__PURE__*/React.forwardRef(Popper);
|
|
71
71
|
|
|
72
|
-
exports.default =
|
|
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
|
|
66
|
+
var Popper_default = /*#__PURE__*/forwardRef(Popper);
|
|
67
67
|
|
|
68
|
-
export {
|
|
68
|
+
export { Popper_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import {
|
|
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 {
|
|
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,
|
|
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)) {
|