@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.es.js
CHANGED
|
@@ -176,19 +176,19 @@ function __rest(s, e) {
|
|
|
176
176
|
return t;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
var _path$
|
|
179
|
+
var _path$D;
|
|
180
180
|
|
|
181
|
-
function _extends$
|
|
181
|
+
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); }
|
|
182
182
|
|
|
183
183
|
function SvgUser(props) {
|
|
184
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
184
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1u({
|
|
185
185
|
viewBox: "0 0 16 16",
|
|
186
186
|
fill: "none",
|
|
187
187
|
strokeLinecap: "round",
|
|
188
188
|
strokeLinejoin: "round",
|
|
189
189
|
width: "1em",
|
|
190
190
|
height: "1em"
|
|
191
|
-
}, props), _path$
|
|
191
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
192
192
|
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",
|
|
193
193
|
stroke: "currentColor"
|
|
194
194
|
})));
|
|
@@ -423,7 +423,7 @@ Checkbox.displayName = 'Checkbox';
|
|
|
423
423
|
|
|
424
424
|
var getBackground$1 = function (theme) { return function (props) {
|
|
425
425
|
var variant = props.variant, severity = props.severity;
|
|
426
|
-
var background;
|
|
426
|
+
var background = theme.palette.grey[100];
|
|
427
427
|
var backgrounds = {
|
|
428
428
|
outlined: 'none',
|
|
429
429
|
error: 'error.main',
|
|
@@ -492,6 +492,9 @@ makeStyles$1(function (theme) { return ({
|
|
|
492
492
|
height: theme.spacing(2),
|
|
493
493
|
width: theme.spacing(2),
|
|
494
494
|
},
|
|
495
|
+
deleteIcon: {
|
|
496
|
+
color: theme.palette.grey[500],
|
|
497
|
+
},
|
|
495
498
|
}); });
|
|
496
499
|
|
|
497
500
|
var defaultTypographyProps = {
|
|
@@ -831,26 +834,26 @@ makeStyles(function (theme) { return ({
|
|
|
831
834
|
},
|
|
832
835
|
}); });
|
|
833
836
|
|
|
834
|
-
var _g$
|
|
837
|
+
var _g$1d, _defs$I;
|
|
835
838
|
|
|
836
|
-
function _extends$
|
|
839
|
+
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); }
|
|
837
840
|
|
|
838
841
|
function SvgCheckCircle(props) {
|
|
839
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
842
|
+
return /*#__PURE__*/React.createElement("svg", _extends$27({
|
|
840
843
|
viewBox: "0 0 16 16",
|
|
841
844
|
fill: "none",
|
|
842
845
|
strokeLinecap: "round",
|
|
843
846
|
strokeLinejoin: "round",
|
|
844
847
|
width: "1em",
|
|
845
848
|
height: "1em"
|
|
846
|
-
}, props), _g$
|
|
849
|
+
}, props), _g$1d || (_g$1d = /*#__PURE__*/React.createElement("g", {
|
|
847
850
|
clipPath: "url(#check-circle_svg__clip0_8_5831)",
|
|
848
851
|
stroke: "currentColor"
|
|
849
852
|
}, /*#__PURE__*/React.createElement("path", {
|
|
850
853
|
d: "M14.667 7.387V8a6.667 6.667 0 11-3.954-6.093"
|
|
851
854
|
}), /*#__PURE__*/React.createElement("path", {
|
|
852
855
|
d: "M14.667 2.667L8 9.34l-2-2"
|
|
853
|
-
}))), _defs$
|
|
856
|
+
}))), _defs$I || (_defs$I = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
854
857
|
id: "check-circle_svg__clip0_8_5831"
|
|
855
858
|
}, /*#__PURE__*/React.createElement("path", {
|
|
856
859
|
fill: "currentColor",
|
|
@@ -858,44 +861,44 @@ function SvgCheckCircle(props) {
|
|
|
858
861
|
})))));
|
|
859
862
|
}
|
|
860
863
|
|
|
861
|
-
var _path$
|
|
864
|
+
var _path$U;
|
|
862
865
|
|
|
863
|
-
function _extends$
|
|
866
|
+
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); }
|
|
864
867
|
|
|
865
868
|
function SvgX(props) {
|
|
866
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
869
|
+
return /*#__PURE__*/React.createElement("svg", _extends$25({
|
|
867
870
|
viewBox: "0 0 16 16",
|
|
868
871
|
fill: "none",
|
|
869
872
|
strokeLinecap: "round",
|
|
870
873
|
strokeLinejoin: "round",
|
|
871
874
|
width: "1em",
|
|
872
875
|
height: "1em"
|
|
873
|
-
}, props), _path$
|
|
876
|
+
}, props), _path$U || (_path$U = /*#__PURE__*/React.createElement("path", {
|
|
874
877
|
d: "M12 4l-8 8m0-8l8 8",
|
|
875
878
|
stroke: "currentColor"
|
|
876
879
|
})));
|
|
877
880
|
}
|
|
878
881
|
|
|
879
|
-
var _g$
|
|
882
|
+
var _g$15, _defs$B;
|
|
880
883
|
|
|
881
|
-
function _extends$
|
|
884
|
+
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); }
|
|
882
885
|
|
|
883
886
|
function SvgHelp(props) {
|
|
884
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
887
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1X({
|
|
885
888
|
viewBox: "0 0 16 16",
|
|
886
889
|
fill: "none",
|
|
887
890
|
strokeLinecap: "round",
|
|
888
891
|
strokeLinejoin: "round",
|
|
889
892
|
width: "1em",
|
|
890
893
|
height: "1em"
|
|
891
|
-
}, props), _g$
|
|
894
|
+
}, props), _g$15 || (_g$15 = /*#__PURE__*/React.createElement("g", {
|
|
892
895
|
clipPath: "url(#help_svg__clip0_8_5446)",
|
|
893
896
|
stroke: "currentColor"
|
|
894
897
|
}, /*#__PURE__*/React.createElement("path", {
|
|
895
898
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z"
|
|
896
899
|
}), /*#__PURE__*/React.createElement("path", {
|
|
897
900
|
d: "M6.06 6a2 2 0 013.887.667c0 1.333-2 2-2 2M8 11.334h.007"
|
|
898
|
-
}))), _defs$
|
|
901
|
+
}))), _defs$B || (_defs$B = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
899
902
|
id: "help_svg__clip0_8_5446"
|
|
900
903
|
}, /*#__PURE__*/React.createElement("path", {
|
|
901
904
|
fill: "currentColor",
|
|
@@ -903,24 +906,24 @@ function SvgHelp(props) {
|
|
|
903
906
|
})))));
|
|
904
907
|
}
|
|
905
908
|
|
|
906
|
-
var _g
|
|
909
|
+
var _g$13, _defs$A;
|
|
907
910
|
|
|
908
|
-
function _extends$
|
|
911
|
+
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); }
|
|
909
912
|
|
|
910
913
|
function SvgInfo(props) {
|
|
911
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
914
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1V({
|
|
912
915
|
viewBox: "0 0 16 16",
|
|
913
916
|
fill: "none",
|
|
914
917
|
strokeLinecap: "round",
|
|
915
918
|
strokeLinejoin: "round",
|
|
916
919
|
width: "1em",
|
|
917
920
|
height: "1em"
|
|
918
|
-
}, props), _g
|
|
921
|
+
}, props), _g$13 || (_g$13 = /*#__PURE__*/React.createElement("g", {
|
|
919
922
|
clipPath: "url(#info_svg__clip0_8_5377)",
|
|
920
923
|
stroke: "currentColor"
|
|
921
924
|
}, /*#__PURE__*/React.createElement("path", {
|
|
922
925
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-4V8m0-2.667h.007"
|
|
923
|
-
}))), _defs$
|
|
926
|
+
}))), _defs$A || (_defs$A = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
924
927
|
id: "info_svg__clip0_8_5377"
|
|
925
928
|
}, /*#__PURE__*/React.createElement("path", {
|
|
926
929
|
fill: "currentColor",
|
|
@@ -928,24 +931,24 @@ function SvgInfo(props) {
|
|
|
928
931
|
})))));
|
|
929
932
|
}
|
|
930
933
|
|
|
931
|
-
var _g$
|
|
934
|
+
var _g$Q, _defs$r;
|
|
932
935
|
|
|
933
|
-
function _extends$
|
|
936
|
+
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); }
|
|
934
937
|
|
|
935
938
|
function SvgError(props) {
|
|
936
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
939
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1q({
|
|
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$Q || (_g$Q = /*#__PURE__*/React.createElement("g", {
|
|
944
947
|
clipPath: "url(#error_svg__clip0_8_5411)",
|
|
945
948
|
stroke: "currentColor"
|
|
946
949
|
}, /*#__PURE__*/React.createElement("path", {
|
|
947
950
|
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"
|
|
948
|
-
}))), _defs$
|
|
951
|
+
}))), _defs$r || (_defs$r = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
949
952
|
id: "error_svg__clip0_8_5411"
|
|
950
953
|
}, /*#__PURE__*/React.createElement("path", {
|
|
951
954
|
fill: "currentColor",
|
|
@@ -953,25 +956,25 @@ function SvgError(props) {
|
|
|
953
956
|
})))));
|
|
954
957
|
}
|
|
955
958
|
|
|
956
|
-
var _path$
|
|
959
|
+
var _path$A;
|
|
957
960
|
|
|
958
|
-
function _extends$
|
|
961
|
+
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); }
|
|
959
962
|
|
|
960
963
|
function SvgWarning(props) {
|
|
961
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
964
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1p({
|
|
962
965
|
viewBox: "0 0 16 16",
|
|
963
966
|
fill: "none",
|
|
964
967
|
strokeLinecap: "round",
|
|
965
968
|
strokeLinejoin: "round",
|
|
966
969
|
width: "1em",
|
|
967
970
|
height: "1em"
|
|
968
|
-
}, props), _path$
|
|
971
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
969
972
|
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",
|
|
970
973
|
stroke: "currentColor"
|
|
971
974
|
})));
|
|
972
975
|
}
|
|
973
976
|
|
|
974
|
-
var _g$
|
|
977
|
+
var _g$u, _defs$j;
|
|
975
978
|
|
|
976
979
|
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); }
|
|
977
980
|
|
|
@@ -983,12 +986,12 @@ function SvgCircle(props) {
|
|
|
983
986
|
strokeLinejoin: "round",
|
|
984
987
|
width: "1em",
|
|
985
988
|
height: "1em"
|
|
986
|
-
}, props), _g$
|
|
989
|
+
}, props), _g$u || (_g$u = /*#__PURE__*/React.createElement("g", {
|
|
987
990
|
clipPath: "url(#circle_svg__clip0_8_2293)"
|
|
988
991
|
}, /*#__PURE__*/React.createElement("path", {
|
|
989
992
|
d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z",
|
|
990
993
|
stroke: "currentColor"
|
|
991
|
-
}))), _defs$
|
|
994
|
+
}))), _defs$j || (_defs$j = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
992
995
|
id: "circle_svg__clip0_8_2293"
|
|
993
996
|
}, /*#__PURE__*/React.createElement("path", {
|
|
994
997
|
fill: "currentColor",
|
|
@@ -1328,10 +1331,7 @@ var FeatureIntro = function (props) {
|
|
|
1328
1331
|
var _a = secondaryAction || {}, secondaryActionLabel = _a.label, secondaryActionProps = __rest$1(_a, ["label"]);
|
|
1329
1332
|
var classes = useFeatureIntroStyles(props);
|
|
1330
1333
|
var validImage = (image === null || image === void 0 ? void 0 : image.src) && (image === null || image === void 0 ? void 0 : image.alt);
|
|
1331
|
-
return (
|
|
1332
|
-
/** Needed to use extra ts syntax to trick Box into accepting ref, issue to be fixed in MUI v5 */
|
|
1333
|
-
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
1334
|
-
React__default.createElement(Box, { className: classes.root, padding: { xs: 4, sm: 8 }, flexDirection: { xs: 'column-reverse', sm: 'row' }, display: "flex", justifyContent: "center", alignItems: "center" },
|
|
1334
|
+
return (React__default.createElement(Box, { className: classes.root, padding: { xs: 4, sm: 8 }, flexDirection: { xs: 'column-reverse', sm: 'row' }, display: "flex", justifyContent: "center", alignItems: "center" },
|
|
1335
1335
|
React__default.createElement(Box, { display: "flex", flexDirection: "column", width: { xs: '100%', sm: '50%' }, alignItems: { xs: 'center', sm: 'unset' } },
|
|
1336
1336
|
React__default.createElement(Box, { textAlign: { xs: 'center', sm: 'start' }, marginBottom: 2 },
|
|
1337
1337
|
React__default.createElement(Typography, { align: "inherit", variant: "h4" }, title)),
|