@popmenu/admin-ui 0.28.0 → 0.31.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.
@@ -16,7 +16,7 @@ export { DialogContent, DialogContentProps } from './DialogContent';
16
16
  export { Page } from './Page';
17
17
  export { PageBody } from './PageBody';
18
18
  export { PageSection } from './PageSection';
19
- export { SettingsIndexCardGroup } from './SettingsIndexCardGroup';
20
- export { SettingsIndexCard, SettingsIndexCardProps } from './SettingsIndexCard';
21
19
  export { PageSections } from './PageSections';
22
20
  export { PageSectionTitle } from './PageSectionTitle';
21
+ export { SettingsIndexCardGroup } from './SettingsIndexCardGroup';
22
+ export { SettingsIndexCard, SettingsIndexCardProps } from './SettingsIndexCard';
package/build/index.es.js CHANGED
@@ -175,21 +175,21 @@ function __rest(s, e) {
175
175
  return t;
176
176
  }
177
177
 
178
- var _path$2Q;
178
+ var _path$D;
179
179
 
180
- function _extends$35() { _extends$35 = 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$35.apply(this, arguments); }
180
+ function _extends$16() { _extends$16 = 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$16.apply(this, arguments); }
181
181
 
182
182
  function SvgUser(props) {
183
- return /*#__PURE__*/React.createElement("svg", _extends$35({
183
+ return /*#__PURE__*/React.createElement("svg", _extends$16({
184
184
  viewBox: "0 0 16 16",
185
+ fill: "none",
185
186
  strokeLinecap: "round",
186
187
  strokeLinejoin: "round",
187
- stroke: "currentColor",
188
188
  width: "1em",
189
- height: "1em",
190
- fill: "none"
191
- }, props), _path$2Q || (_path$2Q = /*#__PURE__*/React.createElement("path", {
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"
189
+ height: "1em"
190
+ }, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
191
+ 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",
192
+ stroke: "currentColor"
193
193
  })));
194
194
  }
195
195
 
@@ -420,48 +420,35 @@ var Checkbox = forwardRef(function (props, ref) {
420
420
  });
421
421
  Checkbox.displayName = 'Checkbox';
422
422
 
423
+ var defaultTypographyProps = {
424
+ variant: 'body1',
425
+ };
426
+
423
427
  var weights = {
424
428
  regular: 400,
429
+ medium: 500,
425
430
  'semi-bold': 600,
426
431
  bold: 700,
427
432
  };
428
- var getColor$1 = function (theme, props) {
429
- var color = props.color;
430
- if (color === undefined) {
431
- return undefined;
432
- }
433
- if (['white', 'black'].includes(color)) {
434
- return theme.palette.common[color];
435
- }
436
- if (color.match(/^grey\.\d{3}/)) {
437
- var scale = color.split('.')[1];
438
- return theme.palette.grey[scale] || theme.palette.grey[900];
439
- }
440
- if ([
441
- 'primary.light',
442
- 'primary.dark',
443
- 'secondary.light',
444
- 'secondary',
445
- 'secondary.dark',
446
- 'info.light',
447
- 'info.dark',
448
- 'success.light',
449
- 'success.dark',
450
- 'error.light',
451
- 'error.dark',
452
- 'warning.light',
453
- 'warning.dark',
454
- ].includes(color)) {
455
- var _a = color.split('.'), paletteKey = _a[0], variant = _a[1];
456
- return theme.palette[paletteKey][variant];
457
- }
458
- if (['success', 'info', 'error', 'warning', 'primary', 'secondary'].includes(color)) {
459
- return theme.palette[color].main;
460
- }
461
- if (['textPrimary', 'textSecondary'].includes(color)) {
462
- return theme.palette.text[color.slice(4).toLowerCase()];
433
+ var getCustomColor = function (theme, color) {
434
+ var isCommonColor = color && ['white', 'black'].includes(color);
435
+ var isGreyColor = color && color.match(/^grey\.\d{3}/);
436
+ var isSemanticColor = color && color.match(/(primary|secondary|info|success|error|warning).?(light|dark)?/);
437
+ var isTextColor = color && ['textPrimary', 'textSecondary'].includes(color);
438
+ switch (true) {
439
+ case isCommonColor:
440
+ return theme.palette.common[color];
441
+ case Boolean(isGreyColor):
442
+ var scale = color.split('.')[1];
443
+ return theme.palette.grey[scale] || theme.palette.grey[900];
444
+ case Boolean(isSemanticColor):
445
+ var _a = color.split('.'), paletteKey = _a[0], _b = _a[1], variant = _b === void 0 ? 'main' : _b;
446
+ return theme.palette[paletteKey][variant];
447
+ case isTextColor:
448
+ return theme.palette.text[color.slice(4).toLowerCase()];
449
+ default:
450
+ return undefined;
463
451
  }
464
- return undefined;
465
452
  };
466
453
  var useTypographyStyles = makeStyles$1(function (theme) {
467
454
  var _a;
@@ -476,21 +463,24 @@ var useTypographyStyles = makeStyles$1(function (theme) {
476
463
  _a.fontFamily = theme.typography.fontFamily,
477
464
  _a.fontWeight = function (_a) {
478
465
  var variant = _a.variant, weight = _a.weight;
479
- return (weight ? weights[weight] : theme.typography[variant || 'body1'].fontWeight);
466
+ return (weight ? weights[weight] : theme.typography[variant].fontWeight);
480
467
  },
481
468
  _a.fontSize = function (_a) {
482
469
  var variant = _a.variant;
483
- return theme.typography[variant || 'body1'].fontSize;
470
+ return theme.typography[variant].fontSize;
484
471
  },
485
472
  _a.lineHeight = function (_a) {
486
473
  var variant = _a.variant;
487
- return theme.typography[variant || 'body1'].lineHeight;
474
+ return theme.typography[variant].lineHeight;
488
475
  },
489
476
  _a.textTransform = function (_a) {
490
477
  var variant = _a.variant;
491
- return theme.typography[variant || 'body1'].textTransform;
478
+ return theme.typography[variant].textTransform;
479
+ },
480
+ _a.color = function (_a) {
481
+ var color = _a.color, variant = _a.variant;
482
+ return (color && getCustomColor(theme, color)) || theme.typography[variant].color;
492
483
  },
493
- _a.color = function (props) { return getColor$1(theme, props); },
494
484
  _a),
495
485
  caption: {
496
486
  display: 'inline',
@@ -501,29 +491,25 @@ var useTypographyStyles = makeStyles$1(function (theme) {
501
491
  });
502
492
  });
503
493
 
504
- var variantMap = {
505
- h1: 'h1',
506
- h2: 'h2',
507
- h3: 'h3',
508
- h4: 'h4',
509
- h5: 'h5',
510
- h6: 'h6',
511
- h7: 'h6',
512
- body1: 'p',
513
- body2: 'p',
514
- subtitle1: 'h6',
515
- subtitle2: 'h6',
516
- caption: 'span',
517
- overline: 'span',
518
- };
519
-
520
494
  var Typography = forwardRef(function (props, ref) {
521
- props.weight; var _a = props.variant, variant = _a === void 0 ? 'body1' : _a; props.color; var restProps = __rest(props, ["weight", "variant", "color"]);
522
- var classes = useTypographyStyles(props);
523
- var component = variantMap[variant];
524
- return React__default.createElement(Typography$1, __assign({ component: component, ref: ref, classes: classes }, restProps, { variant: "inherit" }));
495
+ props.weight; props.color; var restProps = __rest(props, ["weight", "color"]);
496
+ var classes = useTypographyStyles(__assign({}, props));
497
+ var variantMapping = {
498
+ h1: 'h1',
499
+ h2: 'h2',
500
+ h3: 'h3',
501
+ h4: 'h4',
502
+ h5: 'h5',
503
+ h6: 'h6',
504
+ subtitle1: 'p',
505
+ subtitle2: 'p',
506
+ body1: 'p',
507
+ body2: 'p',
508
+ };
509
+ return React__default.createElement(Typography$1, __assign({ ref: ref, classes: classes, variantMapping: variantMapping }, restProps));
525
510
  });
526
- Typography.displayName = 'Typography';
511
+ Typography.displayName = 'Typography';
512
+ Typography.defaultProps = defaultTypographyProps;
527
513
 
528
514
  var getFadeStop = function (_a, typographyVariant) {
529
515
  var typography = _a.typography;
@@ -782,133 +768,135 @@ makeStyles(function (theme) { return ({
782
768
  },
783
769
  }); });
784
770
 
785
- var _path$3T, _path2$19;
771
+ var _g$I;
786
772
 
787
- function _extends$48() { _extends$48 = 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$48.apply(this, arguments); }
773
+ function _extends$1L() { _extends$1L = 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$1L.apply(this, arguments); }
788
774
 
789
775
  function SvgCheckCircle(props) {
790
- return /*#__PURE__*/React.createElement("svg", _extends$48({
776
+ return /*#__PURE__*/React.createElement("svg", _extends$1L({
791
777
  viewBox: "0 0 16 16",
778
+ fill: "none",
792
779
  strokeLinecap: "round",
793
780
  strokeLinejoin: "round",
794
- stroke: "currentColor",
795
781
  width: "1em",
796
- height: "1em",
797
- fill: "none"
798
- }, props), _path$3T || (_path$3T = /*#__PURE__*/React.createElement("path", {
782
+ height: "1em"
783
+ }, props), _g$I || (_g$I = /*#__PURE__*/React.createElement("g", {
784
+ stroke: "currentColor"
785
+ }, /*#__PURE__*/React.createElement("path", {
799
786
  d: "M14.667 7.387V8a6.667 6.667 0 11-3.954-6.093"
800
- })), _path2$19 || (_path2$19 = /*#__PURE__*/React.createElement("path", {
787
+ }), /*#__PURE__*/React.createElement("path", {
801
788
  d: "M14.667 2.667L8 9.34l-2-2"
802
- })));
789
+ }))));
803
790
  }
804
791
 
805
- var _path$3Q;
792
+ var _path$12;
806
793
 
807
- function _extends$45() { _extends$45 = 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$45.apply(this, arguments); }
794
+ function _extends$1J() { _extends$1J = 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$1J.apply(this, arguments); }
808
795
 
809
796
  function SvgX(props) {
810
- return /*#__PURE__*/React.createElement("svg", _extends$45({
797
+ return /*#__PURE__*/React.createElement("svg", _extends$1J({
811
798
  viewBox: "0 0 16 16",
799
+ fill: "none",
812
800
  strokeLinecap: "round",
813
801
  strokeLinejoin: "round",
814
- stroke: "currentColor",
815
802
  width: "1em",
816
- height: "1em",
817
- fill: "none"
818
- }, props), _path$3Q || (_path$3Q = /*#__PURE__*/React.createElement("path", {
819
- d: "M12 4l-8 8m0-8l8 8"
803
+ height: "1em"
804
+ }, props), _path$12 || (_path$12 = /*#__PURE__*/React.createElement("path", {
805
+ d: "M12 4l-8 8m0-8l8 8",
806
+ stroke: "currentColor"
820
807
  })));
821
808
  }
822
809
 
823
- var _path$3y, _path2$10;
810
+ var _g$D;
824
811
 
825
- function _extends$3P() { _extends$3P = 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$3P.apply(this, arguments); }
812
+ function _extends$1z() { _extends$1z = 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$1z.apply(this, arguments); }
826
813
 
827
814
  function SvgHelp(props) {
828
- return /*#__PURE__*/React.createElement("svg", _extends$3P({
815
+ return /*#__PURE__*/React.createElement("svg", _extends$1z({
829
816
  viewBox: "0 0 16 16",
817
+ fill: "none",
830
818
  strokeLinecap: "round",
831
819
  strokeLinejoin: "round",
832
- stroke: "currentColor",
833
820
  width: "1em",
834
- height: "1em",
835
- fill: "none"
836
- }, props), _path$3y || (_path$3y = /*#__PURE__*/React.createElement("path", {
821
+ height: "1em"
822
+ }, props), _g$D || (_g$D = /*#__PURE__*/React.createElement("g", {
823
+ stroke: "currentColor"
824
+ }, /*#__PURE__*/React.createElement("path", {
837
825
  d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z"
838
- })), _path2$10 || (_path2$10 = /*#__PURE__*/React.createElement("path", {
826
+ }), /*#__PURE__*/React.createElement("path", {
839
827
  d: "M6.06 6a2 2 0 013.887.667c0 1.333-2 2-2 2M8 11.334h.007"
840
- })));
828
+ }))));
841
829
  }
842
830
 
843
- var _path$3v;
831
+ var _path$X;
844
832
 
845
- function _extends$3M() { _extends$3M = 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$3M.apply(this, arguments); }
833
+ 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); }
846
834
 
847
835
  function SvgInfo(props) {
848
- return /*#__PURE__*/React.createElement("svg", _extends$3M({
836
+ return /*#__PURE__*/React.createElement("svg", _extends$1x({
849
837
  viewBox: "0 0 16 16",
838
+ fill: "none",
850
839
  strokeLinecap: "round",
851
840
  strokeLinejoin: "round",
852
- stroke: "currentColor",
853
841
  width: "1em",
854
- height: "1em",
855
- fill: "none"
856
- }, props), _path$3v || (_path$3v = /*#__PURE__*/React.createElement("path", {
857
- d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-4V8m0-2.667h.007"
842
+ height: "1em"
843
+ }, props), _path$X || (_path$X = /*#__PURE__*/React.createElement("path", {
844
+ d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333zm0-4V8m0-2.667h.007",
845
+ stroke: "currentColor"
858
846
  })));
859
847
  }
860
848
 
861
- var _path$2G;
849
+ var _path$B;
862
850
 
863
- function _extends$2W() { _extends$2W = 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$2W.apply(this, arguments); }
851
+ function _extends$13() { _extends$13 = 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$13.apply(this, arguments); }
864
852
 
865
853
  function SvgError(props) {
866
- return /*#__PURE__*/React.createElement("svg", _extends$2W({
854
+ return /*#__PURE__*/React.createElement("svg", _extends$13({
867
855
  viewBox: "0 0 16 16",
856
+ fill: "none",
868
857
  strokeLinecap: "round",
869
858
  strokeLinejoin: "round",
870
- stroke: "currentColor",
871
859
  width: "1em",
872
- height: "1em",
873
- fill: "none"
874
- }, props), _path$2G || (_path$2G = /*#__PURE__*/React.createElement("path", {
875
- 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"
860
+ height: "1em"
861
+ }, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
862
+ 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",
863
+ stroke: "currentColor"
876
864
  })));
877
865
  }
878
866
 
879
- var _path$2F;
867
+ var _path$A;
880
868
 
881
- function _extends$2V() { _extends$2V = 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$2V.apply(this, arguments); }
869
+ function _extends$12() { _extends$12 = 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$12.apply(this, arguments); }
882
870
 
883
871
  function SvgWarning(props) {
884
- return /*#__PURE__*/React.createElement("svg", _extends$2V({
872
+ return /*#__PURE__*/React.createElement("svg", _extends$12({
885
873
  viewBox: "0 0 16 16",
874
+ fill: "none",
886
875
  strokeLinecap: "round",
887
876
  strokeLinejoin: "round",
888
- stroke: "currentColor",
889
877
  width: "1em",
890
- height: "1em",
891
- fill: "none"
892
- }, props), _path$2F || (_path$2F = /*#__PURE__*/React.createElement("path", {
893
- 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"
878
+ height: "1em"
879
+ }, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
880
+ 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",
881
+ stroke: "currentColor"
894
882
  })));
895
883
  }
896
884
 
897
- var _path$U;
885
+ var _path$a;
898
886
 
899
- function _extends$Y() { _extends$Y = 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$Y.apply(this, arguments); }
887
+ function _extends$o() { _extends$o = 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$o.apply(this, arguments); }
900
888
 
901
889
  function SvgCircle(props) {
902
- return /*#__PURE__*/React.createElement("svg", _extends$Y({
890
+ return /*#__PURE__*/React.createElement("svg", _extends$o({
903
891
  viewBox: "0 0 16 16",
892
+ fill: "none",
904
893
  strokeLinecap: "round",
905
894
  strokeLinejoin: "round",
906
- stroke: "currentColor",
907
895
  width: "1em",
908
- height: "1em",
909
- fill: "none"
910
- }, props), _path$U || (_path$U = /*#__PURE__*/React.createElement("path", {
911
- d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z"
896
+ height: "1em"
897
+ }, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
898
+ d: "M8 14.667A6.667 6.667 0 108 1.334a6.667 6.667 0 000 13.333z",
899
+ stroke: "currentColor"
912
900
  })));
913
901
  }
914
902
 
@@ -1636,6 +1624,17 @@ var PageSection = function (props) {
1636
1624
  React__default.createElement(CardContent, null, children)));
1637
1625
  };
1638
1626
 
1627
+ var PageSections = function (props) {
1628
+ var children = props.children, restProps = __rest$1(props, ["children"]);
1629
+ return (React__default.createElement(Box, __assign$1({ display: "flex", flexDirection: "column", gridGap: 16 }, restProps), children));
1630
+ };
1631
+
1632
+ var PageSectionTitle = function (props) {
1633
+ var children = props.children, restProps = __rest$1(props, ["children"]);
1634
+ return (React__default.createElement(Box, __assign$1({}, restProps),
1635
+ React__default.createElement(Typography, { gutterBottom: true, variant: "h4" }, children)));
1636
+ };
1637
+
1639
1638
  var SettingsIndexCardGroup = function (props) {
1640
1639
  var children = props.children, restProps = __rest$1(props, ["children"]);
1641
1640
  return (React__default.createElement(Box, __assign$1({ display: "grid", gridGap: 16, gridTemplateColumns: "repeat(auto-fit, minmax(250px, 1fr))" }, restProps), children));
@@ -1645,6 +1644,9 @@ var useSettingsIndexCardStyles = makeStyles$1(function (theme) { return ({
1645
1644
  cardRoot: {
1646
1645
  alignSelf: 'stretch',
1647
1646
  flexGrow: 1,
1647
+ '&:hover': {
1648
+ backgroundColor: '#52B7FF1A',
1649
+ },
1648
1650
  },
1649
1651
  cardContentRoot: {
1650
1652
  padding: theme.spacing(4),
@@ -1664,22 +1666,11 @@ var SettingsIndexCard = forwardRef(function (props, ref) {
1664
1666
  React__default.createElement(Box, { fontSize: "32px", display: "flex", justifyContent: 'space-between', alignItems: "center", paddingBottom: 2 },
1665
1667
  React__default.createElement(Icon, { icon: Icon$1 || SvgHelp, size: "inherit" }),
1666
1668
  showStatusLabel && (React__default.createElement(Typography, { weight: "semi-bold", variant: "body2", color: statusLabel === null || statusLabel === void 0 ? void 0 : statusLabel.color }, statusLabel === null || statusLabel === void 0 ? void 0 : statusLabel.text))),
1667
- React__default.createElement(Typography, { align: "left", variant: "h7", gutterBottom: true }, title),
1669
+ React__default.createElement(Typography, { align: "left", variant: "h6", gutterBottom: true }, title),
1668
1670
  description && (React__default.createElement(Typography, { align: "left", variant: "body2", color: "grey.700" }, description))))));
1669
1671
  });
1670
1672
  SettingsIndexCard.displayName = 'SettingsIndexCard';
1671
1673
 
1672
- var PageSections = function (props) {
1673
- var children = props.children, restProps = __rest$1(props, ["children"]);
1674
- return (React__default.createElement(Box, __assign$1({ display: "flex", flexDirection: "column", gridGap: 16 }, restProps), children));
1675
- };
1676
-
1677
- var PageSectionTitle = function (props) {
1678
- var children = props.children, restProps = __rest$1(props, ["children"]);
1679
- return (React__default.createElement(Box, __assign$1({}, restProps),
1680
- React__default.createElement(Typography, { gutterBottom: true, variant: "h4" }, children)));
1681
- };
1682
-
1683
1674
  var useFullScreenStepperContext = function () { return useContext(FullScreenStepperContext); };
1684
1675
 
1685
1676
  /**
@@ -1776,6 +1767,12 @@ var adminThemeTypography = {
1776
1767
  fontSize: '0.875rem',
1777
1768
  lineHeight: '1.25rem',
1778
1769
  },
1770
+ subtitle1: {
1771
+ fontWeight: 400,
1772
+ fontSize: '0.75rem',
1773
+ lineHeight: '1.125rem',
1774
+ color: '#9E9E9E',
1775
+ },
1779
1776
  button: {
1780
1777
  fontWeight: 500,
1781
1778
  fontSize: '0.875rem',