@popmenu/admin-ui 0.45.0 → 0.47.0
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/build/index.es.js +40 -40
- package/build/index.es.js.map +1 -1
- package/build/index.js +40 -40
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -228,19 +228,19 @@ function __rest(s, e) {
|
|
|
228
228
|
return t;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
var _path$
|
|
231
|
+
var _path$D;
|
|
232
232
|
|
|
233
|
-
function _extends$
|
|
233
|
+
function _extends$1u() { _extends$1u = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1u.apply(this, arguments); }
|
|
234
234
|
|
|
235
235
|
function SvgUser(props) {
|
|
236
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
236
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1u({
|
|
237
237
|
viewBox: "0 0 16 16",
|
|
238
238
|
fill: "none",
|
|
239
239
|
strokeLinecap: "round",
|
|
240
240
|
strokeLinejoin: "round",
|
|
241
241
|
width: "1em",
|
|
242
242
|
height: "1em"
|
|
243
|
-
}, props), _path$
|
|
243
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
244
244
|
d: "M13.333 14v-1.333A2.667 2.667 0 0010.667 10H5.333a2.667 2.667 0 00-2.666 2.667V14M8 7.333A2.667 2.667 0 108 2a2.667 2.667 0 000 5.333z",
|
|
245
245
|
stroke: "currentColor"
|
|
246
246
|
})));
|
|
@@ -475,7 +475,7 @@ Checkbox.displayName = 'Checkbox';
|
|
|
475
475
|
|
|
476
476
|
var getBackground$1 = function (theme) { return function (props) {
|
|
477
477
|
var variant = props.variant, severity = props.severity;
|
|
478
|
-
var background;
|
|
478
|
+
var background = theme.palette.grey[100];
|
|
479
479
|
var backgrounds = {
|
|
480
480
|
outlined: 'none',
|
|
481
481
|
error: 'error.main',
|
|
@@ -544,6 +544,9 @@ styles.makeStyles(function (theme) { return ({
|
|
|
544
544
|
height: theme.spacing(2),
|
|
545
545
|
width: theme.spacing(2),
|
|
546
546
|
},
|
|
547
|
+
deleteIcon: {
|
|
548
|
+
color: theme.palette.grey[500],
|
|
549
|
+
},
|
|
547
550
|
}); });
|
|
548
551
|
|
|
549
552
|
var defaultTypographyProps = {
|
|
@@ -883,26 +886,26 @@ core.makeStyles(function (theme) { return ({
|
|
|
883
886
|
},
|
|
884
887
|
}); });
|
|
885
888
|
|
|
886
|
-
var _g$
|
|
889
|
+
var _g$1d, _defs$I;
|
|
887
890
|
|
|
888
|
-
function _extends$
|
|
891
|
+
function _extends$27() { _extends$27 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$27.apply(this, arguments); }
|
|
889
892
|
|
|
890
893
|
function SvgCheckCircle(props) {
|
|
891
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
894
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$27({
|
|
892
895
|
viewBox: "0 0 16 16",
|
|
893
896
|
fill: "none",
|
|
894
897
|
strokeLinecap: "round",
|
|
895
898
|
strokeLinejoin: "round",
|
|
896
899
|
width: "1em",
|
|
897
900
|
height: "1em"
|
|
898
|
-
}, props), _g$
|
|
901
|
+
}, props), _g$1d || (_g$1d = /*#__PURE__*/React__namespace.createElement("g", {
|
|
899
902
|
clipPath: "url(#check-circle_svg__clip0_8_5831)",
|
|
900
903
|
stroke: "currentColor"
|
|
901
904
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
902
905
|
d: "M14.667 7.387V8a6.667 6.667 0 11-3.954-6.093"
|
|
903
906
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
904
907
|
d: "M14.667 2.667L8 9.34l-2-2"
|
|
905
|
-
}))), _defs$
|
|
908
|
+
}))), _defs$I || (_defs$I = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
906
909
|
id: "check-circle_svg__clip0_8_5831"
|
|
907
910
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
908
911
|
fill: "currentColor",
|
|
@@ -910,44 +913,44 @@ function SvgCheckCircle(props) {
|
|
|
910
913
|
})))));
|
|
911
914
|
}
|
|
912
915
|
|
|
913
|
-
var _path$
|
|
916
|
+
var _path$U;
|
|
914
917
|
|
|
915
|
-
function _extends$
|
|
918
|
+
function _extends$25() { _extends$25 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$25.apply(this, arguments); }
|
|
916
919
|
|
|
917
920
|
function SvgX(props) {
|
|
918
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
921
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$25({
|
|
919
922
|
viewBox: "0 0 16 16",
|
|
920
923
|
fill: "none",
|
|
921
924
|
strokeLinecap: "round",
|
|
922
925
|
strokeLinejoin: "round",
|
|
923
926
|
width: "1em",
|
|
924
927
|
height: "1em"
|
|
925
|
-
}, props), _path$
|
|
928
|
+
}, props), _path$U || (_path$U = /*#__PURE__*/React__namespace.createElement("path", {
|
|
926
929
|
d: "M12 4l-8 8m0-8l8 8",
|
|
927
930
|
stroke: "currentColor"
|
|
928
931
|
})));
|
|
929
932
|
}
|
|
930
933
|
|
|
931
|
-
var _g$
|
|
934
|
+
var _g$15, _defs$B;
|
|
932
935
|
|
|
933
|
-
function _extends$
|
|
936
|
+
function _extends$1X() { _extends$1X = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1X.apply(this, arguments); }
|
|
934
937
|
|
|
935
938
|
function SvgHelp(props) {
|
|
936
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
939
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1X({
|
|
937
940
|
viewBox: "0 0 16 16",
|
|
938
941
|
fill: "none",
|
|
939
942
|
strokeLinecap: "round",
|
|
940
943
|
strokeLinejoin: "round",
|
|
941
944
|
width: "1em",
|
|
942
945
|
height: "1em"
|
|
943
|
-
}, props), _g$
|
|
946
|
+
}, props), _g$15 || (_g$15 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
944
947
|
clipPath: "url(#help_svg__clip0_8_5446)",
|
|
945
948
|
stroke: "currentColor"
|
|
946
949
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
947
950
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z"
|
|
948
951
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
949
952
|
d: "M6.06 6a2 2 0 013.887.667c0 1.333-2 2-2 2M8 11.334h.007"
|
|
950
|
-
}))), _defs$
|
|
953
|
+
}))), _defs$B || (_defs$B = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
951
954
|
id: "help_svg__clip0_8_5446"
|
|
952
955
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
953
956
|
fill: "currentColor",
|
|
@@ -955,24 +958,24 @@ function SvgHelp(props) {
|
|
|
955
958
|
})))));
|
|
956
959
|
}
|
|
957
960
|
|
|
958
|
-
var _g
|
|
961
|
+
var _g$13, _defs$A;
|
|
959
962
|
|
|
960
|
-
function _extends$
|
|
963
|
+
function _extends$1V() { _extends$1V = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1V.apply(this, arguments); }
|
|
961
964
|
|
|
962
965
|
function SvgInfo(props) {
|
|
963
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
966
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1V({
|
|
964
967
|
viewBox: "0 0 16 16",
|
|
965
968
|
fill: "none",
|
|
966
969
|
strokeLinecap: "round",
|
|
967
970
|
strokeLinejoin: "round",
|
|
968
971
|
width: "1em",
|
|
969
972
|
height: "1em"
|
|
970
|
-
}, props), _g
|
|
973
|
+
}, props), _g$13 || (_g$13 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
971
974
|
clipPath: "url(#info_svg__clip0_8_5377)",
|
|
972
975
|
stroke: "currentColor"
|
|
973
976
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
974
977
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-4V8m0-2.667h.007"
|
|
975
|
-
}))), _defs$
|
|
978
|
+
}))), _defs$A || (_defs$A = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
976
979
|
id: "info_svg__clip0_8_5377"
|
|
977
980
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
978
981
|
fill: "currentColor",
|
|
@@ -980,24 +983,24 @@ function SvgInfo(props) {
|
|
|
980
983
|
})))));
|
|
981
984
|
}
|
|
982
985
|
|
|
983
|
-
var _g$
|
|
986
|
+
var _g$Q, _defs$r;
|
|
984
987
|
|
|
985
|
-
function _extends$
|
|
988
|
+
function _extends$1q() { _extends$1q = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1q.apply(this, arguments); }
|
|
986
989
|
|
|
987
990
|
function SvgError(props) {
|
|
988
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
991
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1q({
|
|
989
992
|
viewBox: "0 0 16 16",
|
|
990
993
|
fill: "none",
|
|
991
994
|
strokeLinecap: "round",
|
|
992
995
|
strokeLinejoin: "round",
|
|
993
996
|
width: "1em",
|
|
994
997
|
height: "1em"
|
|
995
|
-
}, props), _g$
|
|
998
|
+
}, props), _g$Q || (_g$Q = /*#__PURE__*/React__namespace.createElement("g", {
|
|
996
999
|
clipPath: "url(#error_svg__clip0_8_5411)",
|
|
997
1000
|
stroke: "currentColor"
|
|
998
1001
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
999
1002
|
d: "M5.24 1.333h5.52l3.907 3.907v5.52l-3.907 3.907H5.24L1.333 10.76V5.24L5.24 1.333zm2.76 4V8m0 2.666h.008"
|
|
1000
|
-
}))), _defs$
|
|
1003
|
+
}))), _defs$r || (_defs$r = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1001
1004
|
id: "error_svg__clip0_8_5411"
|
|
1002
1005
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1003
1006
|
fill: "currentColor",
|
|
@@ -1005,25 +1008,25 @@ function SvgError(props) {
|
|
|
1005
1008
|
})))));
|
|
1006
1009
|
}
|
|
1007
1010
|
|
|
1008
|
-
var _path$
|
|
1011
|
+
var _path$A;
|
|
1009
1012
|
|
|
1010
|
-
function _extends$
|
|
1013
|
+
function _extends$1p() { _extends$1p = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1p.apply(this, arguments); }
|
|
1011
1014
|
|
|
1012
1015
|
function SvgWarning(props) {
|
|
1013
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1016
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1p({
|
|
1014
1017
|
viewBox: "0 0 16 16",
|
|
1015
1018
|
fill: "none",
|
|
1016
1019
|
strokeLinecap: "round",
|
|
1017
1020
|
strokeLinejoin: "round",
|
|
1018
1021
|
width: "1em",
|
|
1019
1022
|
height: "1em"
|
|
1020
|
-
}, props), _path$
|
|
1023
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1021
1024
|
d: "M6.86 2.573L1.213 12a1.334 1.334 0 001.14 2h11.294a1.332 1.332 0 001.14-2L9.14 2.573a1.333 1.333 0 00-2.28 0v0zM8 6v2.667m0 2.667h.007",
|
|
1022
1025
|
stroke: "currentColor"
|
|
1023
1026
|
})));
|
|
1024
1027
|
}
|
|
1025
1028
|
|
|
1026
|
-
var _g$
|
|
1029
|
+
var _g$u, _defs$j;
|
|
1027
1030
|
|
|
1028
1031
|
function _extends$H() { _extends$H = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
|
|
1029
1032
|
|
|
@@ -1035,12 +1038,12 @@ function SvgCircle(props) {
|
|
|
1035
1038
|
strokeLinejoin: "round",
|
|
1036
1039
|
width: "1em",
|
|
1037
1040
|
height: "1em"
|
|
1038
|
-
}, props), _g$
|
|
1041
|
+
}, props), _g$u || (_g$u = /*#__PURE__*/React__namespace.createElement("g", {
|
|
1039
1042
|
clipPath: "url(#circle_svg__clip0_8_2293)"
|
|
1040
1043
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1041
1044
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z",
|
|
1042
1045
|
stroke: "currentColor"
|
|
1043
|
-
}))), _defs$
|
|
1046
|
+
}))), _defs$j || (_defs$j = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
1044
1047
|
id: "circle_svg__clip0_8_2293"
|
|
1045
1048
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1046
1049
|
fill: "currentColor",
|
|
@@ -1380,10 +1383,7 @@ var FeatureIntro = function (props) {
|
|
|
1380
1383
|
var _a = secondaryAction || {}, secondaryActionLabel = _a.label, secondaryActionProps = __rest$1(_a, ["label"]);
|
|
1381
1384
|
var classes = useFeatureIntroStyles(props);
|
|
1382
1385
|
var validImage = (image === null || image === void 0 ? void 0 : image.src) && (image === null || image === void 0 ? void 0 : image.alt);
|
|
1383
|
-
return (
|
|
1384
|
-
/** Needed to use extra ts syntax to trick Box into accepting ref, issue to be fixed in MUI v5 */
|
|
1385
|
-
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
1386
|
-
React__default['default'].createElement(core.Box, { className: classes.root, padding: { xs: 4, sm: 8 }, flexDirection: { xs: 'column-reverse', sm: 'row' }, display: "flex", justifyContent: "center", alignItems: "center" },
|
|
1386
|
+
return (React__default['default'].createElement(core.Box, { className: classes.root, padding: { xs: 4, sm: 8 }, flexDirection: { xs: 'column-reverse', sm: 'row' }, display: "flex", justifyContent: "center", alignItems: "center" },
|
|
1387
1387
|
React__default['default'].createElement(core.Box, { display: "flex", flexDirection: "column", width: { xs: '100%', sm: '50%' }, alignItems: { xs: 'center', sm: 'unset' } },
|
|
1388
1388
|
React__default['default'].createElement(core.Box, { textAlign: { xs: 'center', sm: 'start' }, marginBottom: 2 },
|
|
1389
1389
|
React__default['default'].createElement(Typography, { align: "inherit", variant: "h4" }, title)),
|