@popmenu/dashboard 0.92.0 → 0.94.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { createElement, forwardRef, useState } from 'react';
2
+ import React__default, { createElement, forwardRef, createContext, useState } from 'react';
3
3
  import { makeStyles, Typography as Typography$1, Link as Link$1, Paper as Paper$1, Box, Menu, MenuItem, Card as Card$1, CardActionArea, CardContent as CardContent$1 } from '@material-ui/core';
4
4
  import '@material-ui/lab/Alert';
5
5
  import '@material-ui/core/AppBar';
@@ -627,7 +627,7 @@ Link.defaultProps = {
627
627
  };
628
628
  Link.displayName = 'Link';
629
629
 
630
- var useStyles = makeStyles(function (_a) {
630
+ var useStyles$4 = makeStyles(function (_a) {
631
631
  var spacing = _a.spacing;
632
632
  return ({
633
633
  root: {
@@ -641,7 +641,7 @@ var useStyles = makeStyles(function (_a) {
641
641
  });
642
642
  var Paper = forwardRef(function (props, ref) {
643
643
  var legacyStyles = props.legacyStyles, restProps = __rest(props, ["legacyStyles"]);
644
- var classes = useStyles(props);
644
+ var classes = useStyles$4(props);
645
645
  return React__default.createElement(Paper$1, __assign({}, ref, { classes: __assign({}, (legacyStyles && classes)) }, restProps));
646
646
  });
647
647
  Paper.displayName = 'Paper';
@@ -794,19 +794,58 @@ makeStyles(function (theme) { return ({
794
794
  },
795
795
  }); });
796
796
 
797
- var _path$2o;
797
+ makeStyles(function () { return ({
798
+ root: {
799
+ display: 'flex',
800
+ flexDirection: 'column',
801
+ alignItems: 'center',
802
+ gridGap: 16,
803
+ },
804
+ }); });
805
+
806
+ var FollowerAuthenticationDialogContext = createContext(null);
807
+ FollowerAuthenticationDialogContext.Provider;
808
+
809
+ makeStyles(function () { return ({
810
+ form: {
811
+ display: 'flex',
812
+ flexDirection: 'column',
813
+ alignItems: 'center',
814
+ width: '100%',
815
+ gridGap: 16,
816
+ },
817
+ }); });
818
+
819
+ makeStyles(function () { return ({
820
+ main: {
821
+ width: '100%',
822
+ display: 'flex',
823
+ flexDirection: 'column',
824
+ gridGap: 16,
825
+ },
826
+ }); });
827
+
828
+ makeStyles(function () { return ({
829
+ root: {
830
+ position: 'absolute',
831
+ top: 0,
832
+ right: 0,
833
+ },
834
+ }); });
835
+
836
+ var _path$2p;
798
837
 
799
- function _extends$5o() { _extends$5o = 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$5o.apply(this, arguments); }
838
+ function _extends$5p() { _extends$5p = 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$5p.apply(this, arguments); }
800
839
 
801
840
  function SvgChevronDown(props) {
802
- return /*#__PURE__*/React.createElement("svg", _extends$5o({
841
+ return /*#__PURE__*/React.createElement("svg", _extends$5p({
803
842
  viewBox: "0 0 16 16",
804
843
  fill: "none",
805
844
  strokeLinecap: "round",
806
845
  strokeLinejoin: "round",
807
846
  width: "1em",
808
847
  height: "1em"
809
- }, props), _path$2o || (_path$2o = /*#__PURE__*/React.createElement("path", {
848
+ }, props), _path$2p || (_path$2p = /*#__PURE__*/React.createElement("path", {
810
849
  d: "M4 6l4 4 4-4",
811
850
  stroke: "currentColor"
812
851
  })));