@tenancy.nz/ui 1.0.4 → 1.0.5
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/Alert.cjs +6 -11
- package/dist/cjs/components/Autocomplete.cjs +32 -34
- package/dist/cjs/components/Avatar.cjs +2 -5
- package/dist/cjs/components/AvatarCropDialog.cjs +40 -48
- package/dist/cjs/components/AvatarInput.cjs +86 -110
- package/dist/cjs/components/Badge.cjs +2 -5
- package/dist/cjs/components/BankAccountInput.cjs +74 -81
- package/dist/cjs/components/Bar.cjs +4 -6
- package/dist/cjs/components/BaseModal.cjs +3 -5
- package/dist/cjs/components/BooleanInput.cjs +37 -44
- package/dist/cjs/components/BorderedGrid.cjs +7 -9
- package/dist/cjs/components/Box.cjs +2 -5
- package/dist/cjs/components/Button.cjs +2 -5
- package/dist/cjs/components/Card.cjs +12 -21
- package/dist/cjs/components/CardContent.cjs +2 -5
- package/dist/cjs/components/Checkbox.cjs +14 -19
- package/dist/cjs/components/CircularProgress.cjs +2 -3
- package/dist/cjs/components/CollapsedText.cjs +29 -38
- package/dist/cjs/components/Confirmation.cjs +19 -26
- package/dist/cjs/components/Container.cjs +2 -5
- package/dist/cjs/components/CroppedImageInput.cjs +145 -167
- package/dist/cjs/components/CroppedImageInputActions.cjs +30 -39
- package/dist/cjs/components/DateInput.cjs +71 -79
- package/dist/cjs/components/DateNumberInput.cjs +49 -51
- package/dist/cjs/components/DatePicker.cjs +36 -41
- package/dist/cjs/components/DateSelect.cjs +100 -111
- package/dist/cjs/components/Divider.cjs +2 -3
- package/dist/cjs/components/DropZone.cjs +96 -112
- package/dist/cjs/components/Embed.cjs +11 -15
- package/dist/cjs/components/FileUpload.cjs +105 -126
- package/dist/cjs/components/FileUploadButton.cjs +9 -14
- package/dist/cjs/components/FileUploadButtonLoader.cjs +4 -5
- package/dist/cjs/components/FileViewer.cjs +50 -69
- package/dist/cjs/components/FlashMessage.cjs +7 -11
- package/dist/cjs/components/FormControl.cjs +45 -52
- package/dist/cjs/components/FormFocus.cjs +2 -3
- package/dist/cjs/components/FormLabel.cjs +1 -4
- package/dist/cjs/components/Grid.cjs +8 -14
- package/dist/cjs/components/Heading.cjs +3 -5
- package/dist/cjs/components/IconButton.cjs +2 -5
- package/dist/cjs/components/Icons.cjs +22 -41
- package/dist/cjs/components/LinearProgress.cjs +2 -3
- package/dist/cjs/components/Link.cjs +2 -5
- package/dist/cjs/components/Media.cjs +7 -10
- package/dist/cjs/components/Modal.cjs +23 -30
- package/dist/cjs/components/ModalActions.cjs +3 -5
- package/dist/cjs/components/ModalContent.cjs +3 -5
- package/dist/cjs/components/ModalHeader.cjs +10 -17
- package/dist/cjs/components/Nameplate.cjs +39 -64
- package/dist/cjs/components/Pagination.cjs +12 -17
- package/dist/cjs/components/Paper.cjs +3 -5
- package/dist/cjs/components/Popper.cjs +13 -17
- package/dist/cjs/components/PropertyCard.cjs +62 -90
- package/dist/cjs/components/Radio.cjs +14 -19
- package/dist/cjs/components/Rating.cjs +2 -3
- package/dist/cjs/components/Select.cjs +17 -24
- package/dist/cjs/components/Skeleton.cjs +3 -5
- package/dist/cjs/components/StatusMessage.cjs +3 -5
- package/dist/cjs/components/StepIcon.cjs +13 -20
- package/dist/cjs/components/Stepper.cjs +29 -35
- package/dist/cjs/components/SuccessModal.cjs +7 -16
- package/dist/cjs/components/Switch.cjs +17 -21
- package/dist/cjs/components/Tab.cjs +2 -3
- package/dist/cjs/components/TabPanel.cjs +4 -6
- package/dist/cjs/components/Table.cjs +2 -5
- package/dist/cjs/components/TableBody.cjs +2 -5
- package/dist/cjs/components/TableCell.cjs +2 -5
- package/dist/cjs/components/TableContainer.cjs +2 -5
- package/dist/cjs/components/TableFooter.cjs +2 -5
- package/dist/cjs/components/TableHead.cjs +2 -5
- package/dist/cjs/components/TableRow.cjs +2 -5
- package/dist/cjs/components/Tabs.cjs +4 -6
- package/dist/cjs/components/Tag.cjs +8 -16
- package/dist/cjs/components/Text.cjs +3 -5
- package/dist/cjs/components/TextInput.cjs +39 -47
- package/dist/cjs/components/ThemeProvider.cjs +8 -15
- package/dist/cjs/components/TimeInput.cjs +63 -71
- package/dist/cjs/components/Tooltip.cjs +5 -9
- package/dist/esm/components/Alert.js +6 -11
- package/dist/esm/components/Autocomplete.js +33 -35
- package/dist/esm/components/Avatar.js +2 -5
- package/dist/esm/components/AvatarCropDialog.js +41 -49
- package/dist/esm/components/AvatarInput.js +87 -111
- package/dist/esm/components/Badge.js +2 -5
- package/dist/esm/components/BankAccountInput.js +75 -82
- package/dist/esm/components/Bar.js +4 -6
- package/dist/esm/components/BaseModal.js +3 -5
- package/dist/esm/components/BooleanInput.js +38 -45
- package/dist/esm/components/BorderedGrid.js +7 -9
- package/dist/esm/components/Box.js +3 -6
- package/dist/esm/components/Button.js +2 -5
- package/dist/esm/components/Card.js +12 -21
- package/dist/esm/components/CardContent.js +2 -5
- package/dist/esm/components/Checkbox.js +14 -19
- package/dist/esm/components/CircularProgress.js +2 -3
- package/dist/esm/components/CollapsedText.js +30 -39
- package/dist/esm/components/Confirmation.js +19 -26
- package/dist/esm/components/Container.js +2 -5
- package/dist/esm/components/CroppedImageInput.js +146 -168
- package/dist/esm/components/CroppedImageInputActions.js +30 -39
- package/dist/esm/components/DateInput.js +72 -80
- package/dist/esm/components/DateNumberInput.js +50 -52
- package/dist/esm/components/DatePicker.js +37 -42
- package/dist/esm/components/DateSelect.js +95 -106
- package/dist/esm/components/Divider.js +2 -3
- package/dist/esm/components/DropZone.js +96 -112
- package/dist/esm/components/Embed.js +11 -15
- package/dist/esm/components/FileUpload.js +106 -127
- package/dist/esm/components/FileUploadButton.js +10 -15
- package/dist/esm/components/FileUploadButtonLoader.js +4 -5
- package/dist/esm/components/FileViewer.js +50 -69
- package/dist/esm/components/FlashMessage.js +7 -11
- package/dist/esm/components/FormControl.js +43 -50
- package/dist/esm/components/FormFocus.js +2 -3
- package/dist/esm/components/FormLabel.js +1 -4
- package/dist/esm/components/Grid.js +8 -14
- package/dist/esm/components/Heading.js +3 -5
- package/dist/esm/components/IconButton.js +2 -5
- package/dist/esm/components/Icons.js +22 -41
- package/dist/esm/components/LinearProgress.js +2 -3
- package/dist/esm/components/Link.js +2 -5
- package/dist/esm/components/Media.js +7 -10
- package/dist/esm/components/Modal.js +23 -30
- package/dist/esm/components/ModalActions.js +3 -5
- package/dist/esm/components/ModalContent.js +3 -5
- package/dist/esm/components/ModalHeader.js +10 -17
- package/dist/esm/components/Nameplate.js +39 -64
- package/dist/esm/components/Pagination.js +12 -17
- package/dist/esm/components/Paper.js +3 -5
- package/dist/esm/components/Popper.js +14 -18
- package/dist/esm/components/PropertyCard.js +62 -90
- package/dist/esm/components/Radio.js +14 -19
- package/dist/esm/components/Rating.js +2 -3
- package/dist/esm/components/Select.js +17 -24
- package/dist/esm/components/Skeleton.js +3 -5
- package/dist/esm/components/StatusMessage.js +3 -5
- package/dist/esm/components/StepIcon.js +13 -20
- package/dist/esm/components/Stepper.js +29 -35
- package/dist/esm/components/SuccessModal.js +8 -17
- package/dist/esm/components/Switch.js +17 -21
- package/dist/esm/components/Tab.js +2 -3
- package/dist/esm/components/TabPanel.js +4 -6
- package/dist/esm/components/Table.js +2 -5
- package/dist/esm/components/TableBody.js +2 -5
- package/dist/esm/components/TableCell.js +2 -5
- package/dist/esm/components/TableContainer.js +2 -5
- package/dist/esm/components/TableFooter.js +2 -5
- package/dist/esm/components/TableHead.js +2 -5
- package/dist/esm/components/TableRow.js +2 -5
- package/dist/esm/components/Tabs.js +4 -6
- package/dist/esm/components/Tag.js +8 -16
- package/dist/esm/components/Text.js +3 -5
- package/dist/esm/components/TextInput.js +36 -44
- package/dist/esm/components/ThemeProvider.js +8 -15
- package/dist/esm/components/TimeInput.js +64 -72
- package/dist/esm/components/Tooltip.js +5 -9
- package/package.json +1 -1
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
var Skeleton$1 = require('@mui/material/Skeleton');
|
|
9
8
|
|
|
10
9
|
var _excluded = ["animation", "children", "light", "variant"];
|
|
@@ -25,10 +24,9 @@ function Skeleton(_ref) {
|
|
|
25
24
|
var styles = _rollupPluginBabelHelpers.objectSpread2({}, light && {
|
|
26
25
|
backgroundColor: "rgba(255, 255, 255, 0.13)"
|
|
27
26
|
});
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
sx: styles
|
|
30
|
-
|
|
31
|
-
}));
|
|
27
|
+
return /* @__PURE__ */React.createElement(Skeleton$1, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, rest), {}, {
|
|
28
|
+
sx: styles
|
|
29
|
+
}), children);
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
exports.default = Skeleton;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
var Alert = require('./Alert.cjs');
|
|
9
8
|
|
|
10
9
|
function StatusMessage(_ref) {
|
|
@@ -22,11 +21,10 @@ function StatusMessage(_ref) {
|
|
|
22
21
|
color: "".concat(color, ".main")
|
|
23
22
|
}
|
|
24
23
|
}, sx);
|
|
25
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */React.createElement(Alert.default, {
|
|
26
25
|
variant: "standard",
|
|
27
|
-
sx: styles
|
|
28
|
-
|
|
29
|
-
});
|
|
26
|
+
sx: styles
|
|
27
|
+
}, children);
|
|
30
28
|
}
|
|
31
29
|
|
|
32
30
|
exports.default = StatusMessage;
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var useMediaQuery = require('@mui/material/useMediaQuery');
|
|
11
10
|
var CheckIcon = require('@mui/icons-material/Check');
|
|
@@ -25,25 +24,19 @@ function StepIcon(_ref) {
|
|
|
25
24
|
error: error,
|
|
26
25
|
isMobile: isMobile
|
|
27
26
|
};
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return /* @__PURE__ */jsxRuntime.jsx(StepIcon_styled.StyledText, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
32
|
-
align: "center"
|
|
33
|
-
}, commonProps), {}, {
|
|
34
|
-
children: "!"
|
|
35
|
-
}));
|
|
36
|
-
}
|
|
37
|
-
if (completed && !active) {
|
|
38
|
-
return /* @__PURE__ */jsxRuntime.jsx(CheckIcon, {});
|
|
39
|
-
}
|
|
40
|
-
return /* @__PURE__ */jsxRuntime.jsx(StepIcon_styled.StyledText, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
27
|
+
return /* @__PURE__ */React.createElement(StepIcon_styled.StyledContainer, _rollupPluginBabelHelpers.objectSpread2({}, commonProps), function () {
|
|
28
|
+
if (error) {
|
|
29
|
+
return /* @__PURE__ */React.createElement(StepIcon_styled.StyledText, _rollupPluginBabelHelpers.objectSpread2({
|
|
41
30
|
align: "center"
|
|
42
|
-
}, commonProps),
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
31
|
+
}, commonProps), "!");
|
|
32
|
+
}
|
|
33
|
+
if (completed && !active) {
|
|
34
|
+
return /* @__PURE__ */React.createElement(CheckIcon, null);
|
|
35
|
+
}
|
|
36
|
+
return /* @__PURE__ */React.createElement(StepIcon_styled.StyledText, _rollupPluginBabelHelpers.objectSpread2({
|
|
37
|
+
align: "center"
|
|
38
|
+
}, commonProps), icon);
|
|
39
|
+
}());
|
|
47
40
|
}
|
|
48
41
|
StepIcon.propTypes = {
|
|
49
42
|
/**
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var StepButton = require('@mui/material/StepButton');
|
|
@@ -37,40 +36,35 @@ function Stepper(_ref) {
|
|
|
37
36
|
onChange(step);
|
|
38
37
|
};
|
|
39
38
|
};
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
isMobile: isMobile
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
})
|
|
70
|
-
}, label);
|
|
71
|
-
})
|
|
72
|
-
}))]
|
|
73
|
-
});
|
|
39
|
+
return /* @__PURE__ */React.createElement(Stepper_styled.StyledContainer, {
|
|
40
|
+
isMobile: isMobile
|
|
41
|
+
}, isMobile && /* @__PURE__ */React.createElement(Heading.default, {
|
|
42
|
+
as: "h3",
|
|
43
|
+
align: "center",
|
|
44
|
+
gutterBottom: false
|
|
45
|
+
}, steps[activeStep].label), /* @__PURE__ */React.createElement(MuiStepper, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
46
|
+
alternativeLabel: true,
|
|
47
|
+
activeStep: activeStep
|
|
48
|
+
}, rest), {}, {
|
|
49
|
+
style: {
|
|
50
|
+
padding: isMobile ? "18px 0" : "5px 0px 24px 0px"
|
|
51
|
+
}
|
|
52
|
+
}), steps.map(function (_ref2, index) {
|
|
53
|
+
var label = _ref2.label,
|
|
54
|
+
error = _ref2.error,
|
|
55
|
+
completed = _ref2.completed,
|
|
56
|
+
disabled = _ref2.disabled;
|
|
57
|
+
return /* @__PURE__ */React.createElement(Step, {
|
|
58
|
+
key: label,
|
|
59
|
+
completed: completed,
|
|
60
|
+
disabled: !!disabled
|
|
61
|
+
}, /* @__PURE__ */React.createElement(StepButton, {
|
|
62
|
+
onClick: handleStep(index)
|
|
63
|
+
}, /* @__PURE__ */React.createElement(StepLabel, {
|
|
64
|
+
error: error,
|
|
65
|
+
StepIconComponent: StepIcon.default
|
|
66
|
+
}, !isMobile && label)));
|
|
67
|
+
})));
|
|
74
68
|
}
|
|
75
69
|
Stepper.propTypes = {
|
|
76
70
|
/**
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var CheckCircleOutlineIcon = require('@mui/icons-material/CheckCircleOutline');
|
|
@@ -32,24 +31,16 @@ function SuccessModal(_ref) {
|
|
|
32
31
|
}, duration);
|
|
33
32
|
}
|
|
34
33
|
}, [duration, show]);
|
|
35
|
-
return /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */React.createElement(Modal.default, {
|
|
36
35
|
open: isOpen,
|
|
37
36
|
fullWidth: true,
|
|
38
37
|
maxWidth: "sm",
|
|
39
|
-
hideBackdrop: true
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
align: "center",
|
|
46
|
-
as: "h4",
|
|
47
|
-
gutterBottom: false,
|
|
48
|
-
children: message
|
|
49
|
-
})]
|
|
50
|
-
})
|
|
51
|
-
})
|
|
52
|
-
});
|
|
38
|
+
hideBackdrop: true
|
|
39
|
+
}, /* @__PURE__ */React.createElement(ModalContent.default, null, /* @__PURE__ */React.createElement(SuccessModal_styled.StyledContent, null, /* @__PURE__ */React.createElement(SuccessModal_styled.StyledIcon, null, /* @__PURE__ */React.createElement(CheckCircleOutlineIcon, null)), /* @__PURE__ */React.createElement(Heading.default, {
|
|
40
|
+
align: "center",
|
|
41
|
+
as: "h4",
|
|
42
|
+
gutterBottom: false
|
|
43
|
+
}, message))));
|
|
53
44
|
}
|
|
54
45
|
SuccessModal.propTypes = {
|
|
55
46
|
/**
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
var FormLabel = require('./FormLabel.cjs');
|
|
9
8
|
var Switch_styled = require('./Switch.styled.cjs');
|
|
10
9
|
|
|
@@ -41,27 +40,24 @@ function Switch(_ref) {
|
|
|
41
40
|
}), value !== void 0 && {
|
|
42
41
|
value: value
|
|
43
42
|
});
|
|
44
|
-
return /* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */React.createElement(Switch_styled.StyledSwitch, {
|
|
45
44
|
disabled: disabled,
|
|
46
|
-
size: size
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
})
|
|
63
|
-
})]
|
|
64
|
-
});
|
|
45
|
+
size: size
|
|
46
|
+
}, /* @__PURE__ */React.createElement(Switch_styled.StyledSwitchInput, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
47
|
+
color: color,
|
|
48
|
+
name: name,
|
|
49
|
+
size: size
|
|
50
|
+
}, inputProps), {}, {
|
|
51
|
+
type: "checkbox"
|
|
52
|
+
})), label && /* @__PURE__ */React.createElement(FormLabel.default, {
|
|
53
|
+
required: required,
|
|
54
|
+
margin: "none",
|
|
55
|
+
size: size
|
|
56
|
+
}, label), /* @__PURE__ */React.createElement(Switch_styled.StyledSwitchTrack, {
|
|
57
|
+
size: size
|
|
58
|
+
}, /* @__PURE__ */React.createElement(Switch_styled.StyledSwitchKnob, {
|
|
59
|
+
size: size
|
|
60
|
+
})));
|
|
65
61
|
}
|
|
66
62
|
|
|
67
63
|
exports.default = Switch;
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var Tab_styled = require('./Tab.styled.cjs');
|
|
11
10
|
|
|
@@ -15,7 +14,7 @@ function Tab(_ref) {
|
|
|
15
14
|
_ref$disabled = _ref.disabled,
|
|
16
15
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
17
16
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */React.createElement(Tab_styled.StyledTab, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
19
18
|
label: label,
|
|
20
19
|
disabled: disabled
|
|
21
20
|
}, rest), {}, {
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('react');
|
|
6
|
+
var React = require('react');
|
|
8
7
|
var PropTypes = require('prop-types');
|
|
9
8
|
var TabPanel_styled = require('./TabPanel.styled.cjs');
|
|
10
9
|
|
|
@@ -12,11 +11,10 @@ function TabPanel(_ref) {
|
|
|
12
11
|
var children = _ref.children,
|
|
13
12
|
index = _ref.index,
|
|
14
13
|
value = _ref.value;
|
|
15
|
-
return /* @__PURE__ */
|
|
14
|
+
return /* @__PURE__ */React.createElement(TabPanel_styled.StyledTabPanel, {
|
|
16
15
|
index: index,
|
|
17
|
-
value: value
|
|
18
|
-
|
|
19
|
-
});
|
|
16
|
+
value: value
|
|
17
|
+
}, children);
|
|
20
18
|
}
|
|
21
19
|
TabPanel.propTypes = {
|
|
22
20
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var MuiTable = require('@mui/material/Table');
|
|
11
10
|
|
|
@@ -13,9 +12,7 @@ var _excluded = ["children"];
|
|
|
13
12
|
function Table(_ref) {
|
|
14
13
|
var children = _ref.children,
|
|
15
14
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
children: children
|
|
18
|
-
}));
|
|
15
|
+
return /* @__PURE__ */React.createElement(MuiTable, _rollupPluginBabelHelpers.objectSpread2({}, rest), children);
|
|
19
16
|
}
|
|
20
17
|
Table.propTypes = {
|
|
21
18
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var MuiTableBody = require('@mui/material/TableBody');
|
|
11
10
|
|
|
@@ -13,9 +12,7 @@ var _excluded = ["children"];
|
|
|
13
12
|
function TableBody(_ref) {
|
|
14
13
|
var children = _ref.children,
|
|
15
14
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
children: children
|
|
18
|
-
}));
|
|
15
|
+
return /* @__PURE__ */React.createElement(MuiTableBody, _rollupPluginBabelHelpers.objectSpread2({}, rest), children);
|
|
19
16
|
}
|
|
20
17
|
TableBody.propTypes = {
|
|
21
18
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var MuiTableCell = require('@mui/material/TableCell');
|
|
11
10
|
|
|
@@ -13,9 +12,7 @@ var _excluded = ["children"];
|
|
|
13
12
|
function TableCell(_ref) {
|
|
14
13
|
var children = _ref.children,
|
|
15
14
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
children: children
|
|
18
|
-
}));
|
|
15
|
+
return /* @__PURE__ */React.createElement(MuiTableCell, _rollupPluginBabelHelpers.objectSpread2({}, rest), children);
|
|
19
16
|
}
|
|
20
17
|
TableCell.propTypes = {
|
|
21
18
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var MuiTableContainer = require('@mui/material/TableContainer');
|
|
11
10
|
|
|
@@ -13,9 +12,7 @@ var _excluded = ["children"];
|
|
|
13
12
|
function TableContainer(_ref) {
|
|
14
13
|
var children = _ref.children,
|
|
15
14
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
children: children
|
|
18
|
-
}));
|
|
15
|
+
return /* @__PURE__ */React.createElement(MuiTableContainer, _rollupPluginBabelHelpers.objectSpread2({}, rest), children);
|
|
19
16
|
}
|
|
20
17
|
TableContainer.propTypes = {
|
|
21
18
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var MuiTableFooter = require('@mui/material/TableFooter');
|
|
11
10
|
|
|
@@ -13,9 +12,7 @@ var _excluded = ["children"];
|
|
|
13
12
|
function TableFooter(_ref) {
|
|
14
13
|
var children = _ref.children,
|
|
15
14
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
children: children
|
|
18
|
-
}));
|
|
15
|
+
return /* @__PURE__ */React.createElement(MuiTableFooter, _rollupPluginBabelHelpers.objectSpread2({}, rest), children);
|
|
19
16
|
}
|
|
20
17
|
TableFooter.propTypes = {
|
|
21
18
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var MuiTableHead = require('@mui/material/TableHead');
|
|
11
10
|
|
|
@@ -13,9 +12,7 @@ var _excluded = ["children"];
|
|
|
13
12
|
function TableHead(_ref) {
|
|
14
13
|
var children = _ref.children,
|
|
15
14
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
children: children
|
|
18
|
-
}));
|
|
15
|
+
return /* @__PURE__ */React.createElement(MuiTableHead, _rollupPluginBabelHelpers.objectSpread2({}, rest), children);
|
|
19
16
|
}
|
|
20
17
|
TableHead.propTypes = {
|
|
21
18
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var MuiTableRow = require('@mui/material/TableRow');
|
|
11
10
|
|
|
@@ -13,9 +12,7 @@ var _excluded = ["children"];
|
|
|
13
12
|
function TableRow(_ref) {
|
|
14
13
|
var children = _ref.children,
|
|
15
14
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
children: children
|
|
18
|
-
}));
|
|
15
|
+
return /* @__PURE__ */React.createElement(MuiTableRow, _rollupPluginBabelHelpers.objectSpread2({}, rest), children);
|
|
19
16
|
}
|
|
20
17
|
TableRow.propTypes = {
|
|
21
18
|
/**
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('react');
|
|
7
|
+
var React = require('react');
|
|
9
8
|
var PropTypes = require('prop-types');
|
|
10
9
|
var Tabs_styled = require('./Tabs.styled.cjs');
|
|
11
10
|
|
|
@@ -18,13 +17,12 @@ function Tabs(_ref) {
|
|
|
18
17
|
_ref$value = _ref.value,
|
|
19
18
|
value = _ref$value === void 0 ? false : _ref$value,
|
|
20
19
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
21
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */React.createElement(Tabs_styled.StyledTabs, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, rest), {}, {
|
|
22
21
|
action: action,
|
|
23
22
|
value: value,
|
|
24
23
|
activecolor: activecolor,
|
|
25
|
-
textColor: "inherit"
|
|
26
|
-
|
|
27
|
-
}));
|
|
24
|
+
textColor: "inherit"
|
|
25
|
+
}), children);
|
|
28
26
|
}
|
|
29
27
|
Tabs.propTypes = {
|
|
30
28
|
/**
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
var Tag_styled = require('./Tag.styled.cjs');
|
|
9
8
|
|
|
10
9
|
var _excluded = ["endIcon", "label", "startIcon", "color", "edges", "size", "variant"];
|
|
@@ -23,25 +22,18 @@ function Tag(_ref) {
|
|
|
23
22
|
_ref$variant = _ref.variant,
|
|
24
23
|
variant = _ref$variant === void 0 ? "standard" : _ref$variant,
|
|
25
24
|
others = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
26
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */React.createElement(Tag_styled.default, _rollupPluginBabelHelpers.objectSpread2({
|
|
27
26
|
color: color,
|
|
28
27
|
edges: edges,
|
|
29
28
|
variant: variant,
|
|
30
29
|
size: size
|
|
31
|
-
}, others),
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}), /* @__PURE__ */jsxRuntime.jsx("span", {
|
|
39
|
-
children: label
|
|
40
|
-
}), endIcon && /* @__PURE__ */jsxRuntime.jsx(Tag_styled.StyledTagIcon, {
|
|
41
|
-
size: size,
|
|
42
|
-
children: endIcon
|
|
43
|
-
})]
|
|
44
|
-
}));
|
|
30
|
+
}, others), startIcon && /* @__PURE__ */React.createElement(Tag_styled.StyledTagIcon, {
|
|
31
|
+
size: size
|
|
32
|
+
}, startIcon), !startIcon && !endIcon && /* @__PURE__ */React.createElement(Tag_styled.StyledTagIcon, {
|
|
33
|
+
size: size
|
|
34
|
+
}, /* @__PURE__ */React.createElement(Tag_styled.StyledTagIconDot, null)), /* @__PURE__ */React.createElement("span", null, label), endIcon && /* @__PURE__ */React.createElement(Tag_styled.StyledTagIcon, {
|
|
35
|
+
size: size
|
|
36
|
+
}, endIcon));
|
|
45
37
|
}
|
|
46
38
|
|
|
47
39
|
exports.default = Tag;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
7
|
var Typography = require('@mui/material/Typography');
|
|
9
8
|
|
|
10
9
|
var _excluded = ["as", "children", "italic", "transform", "weight", "display", "paragraph", "sx"];
|
|
@@ -39,12 +38,11 @@ function Text(_ref) {
|
|
|
39
38
|
}, textStyles), paragraph && {
|
|
40
39
|
my: "8px"
|
|
41
40
|
}), sx);
|
|
42
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */React.createElement(Typography, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
|
43
42
|
component: component
|
|
44
43
|
}, others), {}, {
|
|
45
|
-
sx: styles
|
|
46
|
-
|
|
47
|
-
}));
|
|
44
|
+
sx: styles
|
|
45
|
+
}), children);
|
|
48
46
|
}
|
|
49
47
|
|
|
50
48
|
exports.default = Text;
|