@blerp/design 1.1.3 → 1.1.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/index.cjs.js +44 -15
- package/dist/index.esm.js +44 -15
- package/dist/index.umd.js +47 -19
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18,6 +18,7 @@ var reactPalette = require('react-palette');
|
|
|
18
18
|
var _typeof = require('@babel/runtime/helpers/typeof');
|
|
19
19
|
var KeyboardArrowRightRoundedIcon = require('@mui/icons-material/KeyboardArrowRightRounded');
|
|
20
20
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
21
|
+
require('@mui/system');
|
|
21
22
|
var KeyboardArrowDownRoundedIcon = require('@mui/icons-material/KeyboardArrowDownRounded');
|
|
22
23
|
var CloseRoundedIcon = require('@mui/icons-material/CloseRounded');
|
|
23
24
|
var FileUploadRoundedIcon = require('@mui/icons-material/FileUploadRounded');
|
|
@@ -2720,7 +2721,6 @@ CollectionListViewPremium$1.propTypes = {
|
|
|
2720
2721
|
function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
2721
2722
|
|
|
2722
2723
|
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(Object(source), true).forEach(function (key) { _defineProperty__default['default'](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2723
|
-
|
|
2724
2724
|
var colors = {
|
|
2725
2725
|
white: "#ffffff",
|
|
2726
2726
|
waxing: "#F3F3F3",
|
|
@@ -2841,6 +2841,10 @@ var lightPalette = {
|
|
|
2841
2841
|
main: colors.waxing,
|
|
2842
2842
|
override: colors.waxing
|
|
2843
2843
|
},
|
|
2844
|
+
grey1: {
|
|
2845
|
+
main: colors.grey1,
|
|
2846
|
+
override: colors.grey1
|
|
2847
|
+
},
|
|
2844
2848
|
grey2: {
|
|
2845
2849
|
main: colors.grey2,
|
|
2846
2850
|
override: colors.grey2
|
|
@@ -2865,6 +2869,14 @@ var lightPalette = {
|
|
|
2865
2869
|
main: colors.grey7,
|
|
2866
2870
|
override: colors.grey7
|
|
2867
2871
|
},
|
|
2872
|
+
grey8: {
|
|
2873
|
+
main: colors.grey8,
|
|
2874
|
+
override: colors.grey8
|
|
2875
|
+
},
|
|
2876
|
+
grey9: {
|
|
2877
|
+
main: colors.grey9,
|
|
2878
|
+
override: colors.grey9
|
|
2879
|
+
},
|
|
2868
2880
|
notBlack: {
|
|
2869
2881
|
light: colors.notBlack,
|
|
2870
2882
|
main: colors.notBlack,
|
|
@@ -2933,29 +2945,41 @@ var darkPalette = {
|
|
|
2933
2945
|
main: colors.notBlack,
|
|
2934
2946
|
override: colors.waxwing
|
|
2935
2947
|
},
|
|
2948
|
+
grey1: {
|
|
2949
|
+
main: colors.grey9Dark,
|
|
2950
|
+
override: colors.grey1Dark
|
|
2951
|
+
},
|
|
2936
2952
|
grey2: {
|
|
2937
|
-
main: colors.
|
|
2938
|
-
override: colors.
|
|
2953
|
+
main: colors.grey8Dark,
|
|
2954
|
+
override: colors.grey2Dark
|
|
2939
2955
|
},
|
|
2940
2956
|
grey3: {
|
|
2941
|
-
main: colors.
|
|
2942
|
-
override: colors.
|
|
2957
|
+
main: colors.grey7Dark,
|
|
2958
|
+
override: colors.grey3Dark
|
|
2943
2959
|
},
|
|
2944
2960
|
grey4: {
|
|
2945
|
-
main: colors.
|
|
2946
|
-
override: colors.
|
|
2961
|
+
main: colors.grey6Dark,
|
|
2962
|
+
override: colors.grey4Dark
|
|
2947
2963
|
},
|
|
2948
2964
|
grey5: {
|
|
2949
|
-
main: colors.
|
|
2950
|
-
override: colors.
|
|
2965
|
+
main: colors.grey5Dark,
|
|
2966
|
+
override: colors.grey5Dark
|
|
2951
2967
|
},
|
|
2952
2968
|
grey6: {
|
|
2953
|
-
main: colors.
|
|
2954
|
-
override: colors.
|
|
2969
|
+
main: colors.grey4Dark,
|
|
2970
|
+
override: colors.grey6Dark
|
|
2955
2971
|
},
|
|
2956
2972
|
grey7: {
|
|
2957
|
-
main: colors.
|
|
2958
|
-
override: colors.
|
|
2973
|
+
main: colors.grey3Dark,
|
|
2974
|
+
override: colors.grey7Dark
|
|
2975
|
+
},
|
|
2976
|
+
grey8: {
|
|
2977
|
+
main: colors.grey2Dark,
|
|
2978
|
+
override: colors.grey8Dark
|
|
2979
|
+
},
|
|
2980
|
+
grey9: {
|
|
2981
|
+
main: colors.grey1Dark,
|
|
2982
|
+
override: colors.grey9Dark
|
|
2959
2983
|
},
|
|
2960
2984
|
notBlack: {
|
|
2961
2985
|
light: colors.waxwing,
|
|
@@ -4320,7 +4344,7 @@ var SnackbarProvider = function SnackbarProvider(props) {
|
|
|
4320
4344
|
snackbarValues = _useState4[0],
|
|
4321
4345
|
setSnackbarValues = _useState4[1];
|
|
4322
4346
|
|
|
4323
|
-
var
|
|
4347
|
+
var _triggerSnackbar = function triggerSnackbar(_ref) {
|
|
4324
4348
|
var _ref$message = _ref.message,
|
|
4325
4349
|
message = _ref$message === void 0 ? "Set a message" : _ref$message,
|
|
4326
4350
|
_ref$position = _ref.position,
|
|
@@ -4376,7 +4400,12 @@ var SnackbarProvider = function SnackbarProvider(props) {
|
|
|
4376
4400
|
value: {
|
|
4377
4401
|
snackbarValues: snackbarValues,
|
|
4378
4402
|
setSnackbarValues: setSnackbarValues,
|
|
4379
|
-
triggerSnackbar: triggerSnackbar
|
|
4403
|
+
triggerSnackbar: function triggerSnackbar(props) {
|
|
4404
|
+
// TODO: figure out why setTimeout is needed to show every time
|
|
4405
|
+
setTimeout(function () {
|
|
4406
|
+
_triggerSnackbar(props);
|
|
4407
|
+
});
|
|
4408
|
+
}
|
|
4380
4409
|
}
|
|
4381
4410
|
}, /*#__PURE__*/React__default['default'].createElement(Snackbar, {
|
|
4382
4411
|
anchorOrigin: _objectSpread$2({}, snackbarValues.position),
|
package/dist/index.esm.js
CHANGED
|
@@ -15,6 +15,7 @@ import { usePalette } from 'react-palette';
|
|
|
15
15
|
import _typeof from '@babel/runtime/helpers/typeof';
|
|
16
16
|
import KeyboardArrowRightRoundedIcon from '@mui/icons-material/KeyboardArrowRightRounded';
|
|
17
17
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
18
|
+
import '@mui/system';
|
|
18
19
|
import KeyboardArrowDownRoundedIcon from '@mui/icons-material/KeyboardArrowDownRounded';
|
|
19
20
|
import CloseRoundedIcon from '@mui/icons-material/CloseRounded';
|
|
20
21
|
import FileUploadRoundedIcon from '@mui/icons-material/FileUploadRounded';
|
|
@@ -2651,7 +2652,6 @@ CollectionListViewPremium$1.propTypes = {
|
|
|
2651
2652
|
function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
2652
2653
|
|
|
2653
2654
|
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2654
|
-
|
|
2655
2655
|
var colors = {
|
|
2656
2656
|
white: "#ffffff",
|
|
2657
2657
|
waxing: "#F3F3F3",
|
|
@@ -2772,6 +2772,10 @@ var lightPalette = {
|
|
|
2772
2772
|
main: colors.waxing,
|
|
2773
2773
|
override: colors.waxing
|
|
2774
2774
|
},
|
|
2775
|
+
grey1: {
|
|
2776
|
+
main: colors.grey1,
|
|
2777
|
+
override: colors.grey1
|
|
2778
|
+
},
|
|
2775
2779
|
grey2: {
|
|
2776
2780
|
main: colors.grey2,
|
|
2777
2781
|
override: colors.grey2
|
|
@@ -2796,6 +2800,14 @@ var lightPalette = {
|
|
|
2796
2800
|
main: colors.grey7,
|
|
2797
2801
|
override: colors.grey7
|
|
2798
2802
|
},
|
|
2803
|
+
grey8: {
|
|
2804
|
+
main: colors.grey8,
|
|
2805
|
+
override: colors.grey8
|
|
2806
|
+
},
|
|
2807
|
+
grey9: {
|
|
2808
|
+
main: colors.grey9,
|
|
2809
|
+
override: colors.grey9
|
|
2810
|
+
},
|
|
2799
2811
|
notBlack: {
|
|
2800
2812
|
light: colors.notBlack,
|
|
2801
2813
|
main: colors.notBlack,
|
|
@@ -2864,29 +2876,41 @@ var darkPalette = {
|
|
|
2864
2876
|
main: colors.notBlack,
|
|
2865
2877
|
override: colors.waxwing
|
|
2866
2878
|
},
|
|
2879
|
+
grey1: {
|
|
2880
|
+
main: colors.grey9Dark,
|
|
2881
|
+
override: colors.grey1Dark
|
|
2882
|
+
},
|
|
2867
2883
|
grey2: {
|
|
2868
|
-
main: colors.
|
|
2869
|
-
override: colors.
|
|
2884
|
+
main: colors.grey8Dark,
|
|
2885
|
+
override: colors.grey2Dark
|
|
2870
2886
|
},
|
|
2871
2887
|
grey3: {
|
|
2872
|
-
main: colors.
|
|
2873
|
-
override: colors.
|
|
2888
|
+
main: colors.grey7Dark,
|
|
2889
|
+
override: colors.grey3Dark
|
|
2874
2890
|
},
|
|
2875
2891
|
grey4: {
|
|
2876
|
-
main: colors.
|
|
2877
|
-
override: colors.
|
|
2892
|
+
main: colors.grey6Dark,
|
|
2893
|
+
override: colors.grey4Dark
|
|
2878
2894
|
},
|
|
2879
2895
|
grey5: {
|
|
2880
|
-
main: colors.
|
|
2881
|
-
override: colors.
|
|
2896
|
+
main: colors.grey5Dark,
|
|
2897
|
+
override: colors.grey5Dark
|
|
2882
2898
|
},
|
|
2883
2899
|
grey6: {
|
|
2884
|
-
main: colors.
|
|
2885
|
-
override: colors.
|
|
2900
|
+
main: colors.grey4Dark,
|
|
2901
|
+
override: colors.grey6Dark
|
|
2886
2902
|
},
|
|
2887
2903
|
grey7: {
|
|
2888
|
-
main: colors.
|
|
2889
|
-
override: colors.
|
|
2904
|
+
main: colors.grey3Dark,
|
|
2905
|
+
override: colors.grey7Dark
|
|
2906
|
+
},
|
|
2907
|
+
grey8: {
|
|
2908
|
+
main: colors.grey2Dark,
|
|
2909
|
+
override: colors.grey8Dark
|
|
2910
|
+
},
|
|
2911
|
+
grey9: {
|
|
2912
|
+
main: colors.grey1Dark,
|
|
2913
|
+
override: colors.grey9Dark
|
|
2890
2914
|
},
|
|
2891
2915
|
notBlack: {
|
|
2892
2916
|
light: colors.waxwing,
|
|
@@ -4251,7 +4275,7 @@ var SnackbarProvider = function SnackbarProvider(props) {
|
|
|
4251
4275
|
snackbarValues = _useState4[0],
|
|
4252
4276
|
setSnackbarValues = _useState4[1];
|
|
4253
4277
|
|
|
4254
|
-
var
|
|
4278
|
+
var _triggerSnackbar = function triggerSnackbar(_ref) {
|
|
4255
4279
|
var _ref$message = _ref.message,
|
|
4256
4280
|
message = _ref$message === void 0 ? "Set a message" : _ref$message,
|
|
4257
4281
|
_ref$position = _ref.position,
|
|
@@ -4307,7 +4331,12 @@ var SnackbarProvider = function SnackbarProvider(props) {
|
|
|
4307
4331
|
value: {
|
|
4308
4332
|
snackbarValues: snackbarValues,
|
|
4309
4333
|
setSnackbarValues: setSnackbarValues,
|
|
4310
|
-
triggerSnackbar: triggerSnackbar
|
|
4334
|
+
triggerSnackbar: function triggerSnackbar(props) {
|
|
4335
|
+
// TODO: figure out why setTimeout is needed to show every time
|
|
4336
|
+
setTimeout(function () {
|
|
4337
|
+
_triggerSnackbar(props);
|
|
4338
|
+
});
|
|
4339
|
+
}
|
|
4311
4340
|
}
|
|
4312
4341
|
}, /*#__PURE__*/React__default.createElement(Snackbar, {
|
|
4313
4342
|
anchorOrigin: _objectSpread$2({}, snackbarValues.position),
|
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@mui/material'), require('@babel/runtime/helpers/slicedToArray'), require('prop-types'), require('react'), require('react-color-extractor'), require('styled-components'), require('@babel/runtime/helpers/taggedTemplateLiteral'), require('@mui/icons-material'), require('@mui/icons-material/BookmarkOutlined'), require('@mui/icons-material/LockRounded'), require('@mui/icons-material/BookmarkAddOutlined'), require('@mui/icons-material/MoreHorizRounded'), require('react-palette'), require('@babel/runtime/helpers/typeof'), require('@mui/icons-material/KeyboardArrowRightRounded'), require('@babel/runtime/helpers/defineProperty'), require('@mui/icons-material/KeyboardArrowDownRounded'), require('@mui/icons-material/CloseRounded'), require('@mui/icons-material/FileUploadRounded'), require('@babel/runtime/helpers/extends'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('react-avatar-editor'), require('react-dropzone'), require('@mui/icons-material/InsertPhotoRounded'), require('@mui/material/styles'), require('@mui/material/Slide'), require('@mui/material/Fade'), require('react-lottie'), require('@mui/icons-material/AddRounded'), require('@mui/icons-material/Facebook'), require('@mui/icons-material/Instagram'), require('@mui/icons-material/ModeEditRounded'), require('@mui/icons-material/PersonAddRounded'), require('@mui/icons-material/Pinterest'), require('@mui/icons-material/Twitter'), require('@mui/icons-material/YouTube'), require('@mui/icons-material/PersonRemoveRounded'), require('@babel/runtime/helpers/toConsumableArray'), require('@mui/icons-material/FilterAltRounded'), require('@mui/icons-material/MenuRounded'), require('@mui/icons-material/ViewModuleRounded'), require('@mui/icons-material/SettingsRounded'), require('@mui/icons-material/SortRounded'), require('@mui/icons-material/ChevronRightRounded'), require('@mui/icons-material/PersonRounded'), require('@mui/icons-material/SearchRounded'), require('@mui/icons-material/BookmarkRemoveOutlined'), require('@mui/icons-material/VisibilityOffRounded')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@mui/material', '@babel/runtime/helpers/slicedToArray', 'prop-types', 'react', 'react-color-extractor', 'styled-components', '@babel/runtime/helpers/taggedTemplateLiteral', '@mui/icons-material', '@mui/icons-material/BookmarkOutlined', '@mui/icons-material/LockRounded', '@mui/icons-material/BookmarkAddOutlined', '@mui/icons-material/MoreHorizRounded', 'react-palette', '@babel/runtime/helpers/typeof', '@mui/icons-material/KeyboardArrowRightRounded', '@babel/runtime/helpers/defineProperty', '@mui/icons-material/KeyboardArrowDownRounded', '@mui/icons-material/CloseRounded', '@mui/icons-material/FileUploadRounded', '@babel/runtime/helpers/extends', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', 'react-avatar-editor', 'react-dropzone', '@mui/icons-material/InsertPhotoRounded', '@mui/material/styles', '@mui/material/Slide', '@mui/material/Fade', 'react-lottie', '@mui/icons-material/AddRounded', '@mui/icons-material/Facebook', '@mui/icons-material/Instagram', '@mui/icons-material/ModeEditRounded', '@mui/icons-material/PersonAddRounded', '@mui/icons-material/Pinterest', '@mui/icons-material/Twitter', '@mui/icons-material/YouTube', '@mui/icons-material/PersonRemoveRounded', '@babel/runtime/helpers/toConsumableArray', '@mui/icons-material/FilterAltRounded', '@mui/icons-material/MenuRounded', '@mui/icons-material/ViewModuleRounded', '@mui/icons-material/SettingsRounded', '@mui/icons-material/SortRounded', '@mui/icons-material/ChevronRightRounded', '@mui/icons-material/PersonRounded', '@mui/icons-material/SearchRounded', '@mui/icons-material/BookmarkRemoveOutlined', '@mui/icons-material/VisibilityOffRounded'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['react-awesome-buttons'] = {}, global.material, global._slicedToArray, global.PropTypes, global.React, global.reactColorExtractor, global.styled, global._taggedTemplateLiteral, global.iconsMaterial, global.BookmarkOutlinedIcon, global.LockRoundedIcon, global.BookmarkAddOutlinedIcon, global.MoreHorizRoundedIcon, global.reactPalette, global._typeof, global.KeyboardArrowRightRoundedIcon, global._defineProperty, global.KeyboardArrowDownRoundedIcon, global.CloseRoundedIcon, global.FileUploadRoundedIcon, global._extends, global._asyncToGenerator, global._regeneratorRuntime, global.AvatarEditor, global.Dropzone, global.InsertPhotoRoundedIcon, global.styles, global.Slide, global.Fade, global.Lottie, global.AddRoundedIcon, global.FacebookIcon, global.InstagramIcon, global.ModeEditRoundedIcon, global.PersonAddRoundedIcon, global.PinterestIcon, global.TwitterIcon, global.YouTubeIcon, global.PersonRemoveRoundedIcon, global._toConsumableArray, null, global.MenuRoundedIcon, global.ViewModuleRoundedIcon, null, global.SortRoundedIcon, global.ChevronRightRoundedIcon, global.PersonRoundedIcon, global.SearchRoundedIcon, global.BookmarkRemoveOutlinedIcon, global.VisibilityOffRoundedIcon));
|
|
5
|
-
}(this, (function (exports, material, _slicedToArray, PropTypes, React, reactColorExtractor, styled, _taggedTemplateLiteral, iconsMaterial, BookmarkOutlinedIcon, LockRoundedIcon, BookmarkAddOutlinedIcon, MoreHorizRoundedIcon, reactPalette, _typeof, KeyboardArrowRightRoundedIcon, _defineProperty, KeyboardArrowDownRoundedIcon, CloseRoundedIcon, FileUploadRoundedIcon, _extends, _asyncToGenerator, _regeneratorRuntime, AvatarEditor, Dropzone, InsertPhotoRoundedIcon, styles, Slide, Fade, Lottie, AddRoundedIcon, FacebookIcon, InstagramIcon, ModeEditRoundedIcon, PersonAddRoundedIcon, PinterestIcon, TwitterIcon, YouTubeIcon, PersonRemoveRoundedIcon, _toConsumableArray, FilterAltRounded, MenuRoundedIcon, ViewModuleRoundedIcon, SettingsRounded, SortRoundedIcon, ChevronRightRoundedIcon, PersonRoundedIcon, SearchRoundedIcon, BookmarkRemoveOutlinedIcon, VisibilityOffRoundedIcon) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@mui/material'), require('@babel/runtime/helpers/slicedToArray'), require('prop-types'), require('react'), require('react-color-extractor'), require('styled-components'), require('@babel/runtime/helpers/taggedTemplateLiteral'), require('@mui/icons-material'), require('@mui/icons-material/BookmarkOutlined'), require('@mui/icons-material/LockRounded'), require('@mui/icons-material/BookmarkAddOutlined'), require('@mui/icons-material/MoreHorizRounded'), require('react-palette'), require('@babel/runtime/helpers/typeof'), require('@mui/icons-material/KeyboardArrowRightRounded'), require('@babel/runtime/helpers/defineProperty'), require('@mui/system'), require('@mui/icons-material/KeyboardArrowDownRounded'), require('@mui/icons-material/CloseRounded'), require('@mui/icons-material/FileUploadRounded'), require('@babel/runtime/helpers/extends'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('react-avatar-editor'), require('react-dropzone'), require('@mui/icons-material/InsertPhotoRounded'), require('@mui/material/styles'), require('@mui/material/Slide'), require('@mui/material/Fade'), require('react-lottie'), require('@mui/icons-material/AddRounded'), require('@mui/icons-material/Facebook'), require('@mui/icons-material/Instagram'), require('@mui/icons-material/ModeEditRounded'), require('@mui/icons-material/PersonAddRounded'), require('@mui/icons-material/Pinterest'), require('@mui/icons-material/Twitter'), require('@mui/icons-material/YouTube'), require('@mui/icons-material/PersonRemoveRounded'), require('@babel/runtime/helpers/toConsumableArray'), require('@mui/icons-material/FilterAltRounded'), require('@mui/icons-material/MenuRounded'), require('@mui/icons-material/ViewModuleRounded'), require('@mui/icons-material/SettingsRounded'), require('@mui/icons-material/SortRounded'), require('@mui/icons-material/ChevronRightRounded'), require('@mui/icons-material/PersonRounded'), require('@mui/icons-material/SearchRounded'), require('@mui/icons-material/BookmarkRemoveOutlined'), require('@mui/icons-material/VisibilityOffRounded')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@mui/material', '@babel/runtime/helpers/slicedToArray', 'prop-types', 'react', 'react-color-extractor', 'styled-components', '@babel/runtime/helpers/taggedTemplateLiteral', '@mui/icons-material', '@mui/icons-material/BookmarkOutlined', '@mui/icons-material/LockRounded', '@mui/icons-material/BookmarkAddOutlined', '@mui/icons-material/MoreHorizRounded', 'react-palette', '@babel/runtime/helpers/typeof', '@mui/icons-material/KeyboardArrowRightRounded', '@babel/runtime/helpers/defineProperty', '@mui/system', '@mui/icons-material/KeyboardArrowDownRounded', '@mui/icons-material/CloseRounded', '@mui/icons-material/FileUploadRounded', '@babel/runtime/helpers/extends', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', 'react-avatar-editor', 'react-dropzone', '@mui/icons-material/InsertPhotoRounded', '@mui/material/styles', '@mui/material/Slide', '@mui/material/Fade', 'react-lottie', '@mui/icons-material/AddRounded', '@mui/icons-material/Facebook', '@mui/icons-material/Instagram', '@mui/icons-material/ModeEditRounded', '@mui/icons-material/PersonAddRounded', '@mui/icons-material/Pinterest', '@mui/icons-material/Twitter', '@mui/icons-material/YouTube', '@mui/icons-material/PersonRemoveRounded', '@babel/runtime/helpers/toConsumableArray', '@mui/icons-material/FilterAltRounded', '@mui/icons-material/MenuRounded', '@mui/icons-material/ViewModuleRounded', '@mui/icons-material/SettingsRounded', '@mui/icons-material/SortRounded', '@mui/icons-material/ChevronRightRounded', '@mui/icons-material/PersonRounded', '@mui/icons-material/SearchRounded', '@mui/icons-material/BookmarkRemoveOutlined', '@mui/icons-material/VisibilityOffRounded'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['react-awesome-buttons'] = {}, global.material, global._slicedToArray, global.PropTypes, global.React, global.reactColorExtractor, global.styled, global._taggedTemplateLiteral, global.iconsMaterial, global.BookmarkOutlinedIcon, global.LockRoundedIcon, global.BookmarkAddOutlinedIcon, global.MoreHorizRoundedIcon, global.reactPalette, global._typeof, global.KeyboardArrowRightRoundedIcon, global._defineProperty, null, global.KeyboardArrowDownRoundedIcon, global.CloseRoundedIcon, global.FileUploadRoundedIcon, global._extends, global._asyncToGenerator, global._regeneratorRuntime, global.AvatarEditor, global.Dropzone, global.InsertPhotoRoundedIcon, global.styles, global.Slide, global.Fade, global.Lottie, global.AddRoundedIcon, global.FacebookIcon, global.InstagramIcon, global.ModeEditRoundedIcon, global.PersonAddRoundedIcon, global.PinterestIcon, global.TwitterIcon, global.YouTubeIcon, global.PersonRemoveRoundedIcon, global._toConsumableArray, null, global.MenuRoundedIcon, global.ViewModuleRoundedIcon, null, global.SortRoundedIcon, global.ChevronRightRoundedIcon, global.PersonRoundedIcon, global.SearchRoundedIcon, global.BookmarkRemoveOutlinedIcon, global.VisibilityOffRoundedIcon));
|
|
5
|
+
}(this, (function (exports, material, _slicedToArray, PropTypes, React, reactColorExtractor, styled, _taggedTemplateLiteral, iconsMaterial, BookmarkOutlinedIcon, LockRoundedIcon, BookmarkAddOutlinedIcon, MoreHorizRoundedIcon, reactPalette, _typeof, KeyboardArrowRightRoundedIcon, _defineProperty, system, KeyboardArrowDownRoundedIcon, CloseRoundedIcon, FileUploadRoundedIcon, _extends, _asyncToGenerator, _regeneratorRuntime, AvatarEditor, Dropzone, InsertPhotoRoundedIcon, styles, Slide, Fade, Lottie, AddRoundedIcon, FacebookIcon, InstagramIcon, ModeEditRoundedIcon, PersonAddRoundedIcon, PinterestIcon, TwitterIcon, YouTubeIcon, PersonRemoveRoundedIcon, _toConsumableArray, FilterAltRounded, MenuRoundedIcon, ViewModuleRoundedIcon, SettingsRounded, SortRoundedIcon, ChevronRightRoundedIcon, PersonRoundedIcon, SearchRoundedIcon, BookmarkRemoveOutlinedIcon, VisibilityOffRoundedIcon) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -2672,7 +2672,6 @@
|
|
|
2672
2672
|
function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
2673
2673
|
|
|
2674
2674
|
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(Object(source), true).forEach(function (key) { _defineProperty__default['default'](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
2675
|
-
|
|
2676
2675
|
var colors = {
|
|
2677
2676
|
white: "#ffffff",
|
|
2678
2677
|
waxing: "#F3F3F3",
|
|
@@ -2793,6 +2792,10 @@
|
|
|
2793
2792
|
main: colors.waxing,
|
|
2794
2793
|
override: colors.waxing
|
|
2795
2794
|
},
|
|
2795
|
+
grey1: {
|
|
2796
|
+
main: colors.grey1,
|
|
2797
|
+
override: colors.grey1
|
|
2798
|
+
},
|
|
2796
2799
|
grey2: {
|
|
2797
2800
|
main: colors.grey2,
|
|
2798
2801
|
override: colors.grey2
|
|
@@ -2817,6 +2820,14 @@
|
|
|
2817
2820
|
main: colors.grey7,
|
|
2818
2821
|
override: colors.grey7
|
|
2819
2822
|
},
|
|
2823
|
+
grey8: {
|
|
2824
|
+
main: colors.grey8,
|
|
2825
|
+
override: colors.grey8
|
|
2826
|
+
},
|
|
2827
|
+
grey9: {
|
|
2828
|
+
main: colors.grey9,
|
|
2829
|
+
override: colors.grey9
|
|
2830
|
+
},
|
|
2820
2831
|
notBlack: {
|
|
2821
2832
|
light: colors.notBlack,
|
|
2822
2833
|
main: colors.notBlack,
|
|
@@ -2885,29 +2896,41 @@
|
|
|
2885
2896
|
main: colors.notBlack,
|
|
2886
2897
|
override: colors.waxwing
|
|
2887
2898
|
},
|
|
2899
|
+
grey1: {
|
|
2900
|
+
main: colors.grey9Dark,
|
|
2901
|
+
override: colors.grey1Dark
|
|
2902
|
+
},
|
|
2888
2903
|
grey2: {
|
|
2889
|
-
main: colors.
|
|
2890
|
-
override: colors.
|
|
2904
|
+
main: colors.grey8Dark,
|
|
2905
|
+
override: colors.grey2Dark
|
|
2891
2906
|
},
|
|
2892
2907
|
grey3: {
|
|
2893
|
-
main: colors.
|
|
2894
|
-
override: colors.
|
|
2908
|
+
main: colors.grey7Dark,
|
|
2909
|
+
override: colors.grey3Dark
|
|
2895
2910
|
},
|
|
2896
2911
|
grey4: {
|
|
2897
|
-
main: colors.
|
|
2898
|
-
override: colors.
|
|
2912
|
+
main: colors.grey6Dark,
|
|
2913
|
+
override: colors.grey4Dark
|
|
2899
2914
|
},
|
|
2900
2915
|
grey5: {
|
|
2901
|
-
main: colors.
|
|
2902
|
-
override: colors.
|
|
2916
|
+
main: colors.grey5Dark,
|
|
2917
|
+
override: colors.grey5Dark
|
|
2903
2918
|
},
|
|
2904
2919
|
grey6: {
|
|
2905
|
-
main: colors.
|
|
2906
|
-
override: colors.
|
|
2920
|
+
main: colors.grey4Dark,
|
|
2921
|
+
override: colors.grey6Dark
|
|
2907
2922
|
},
|
|
2908
2923
|
grey7: {
|
|
2909
|
-
main: colors.
|
|
2910
|
-
override: colors.
|
|
2924
|
+
main: colors.grey3Dark,
|
|
2925
|
+
override: colors.grey7Dark
|
|
2926
|
+
},
|
|
2927
|
+
grey8: {
|
|
2928
|
+
main: colors.grey2Dark,
|
|
2929
|
+
override: colors.grey8Dark
|
|
2930
|
+
},
|
|
2931
|
+
grey9: {
|
|
2932
|
+
main: colors.grey1Dark,
|
|
2933
|
+
override: colors.grey9Dark
|
|
2911
2934
|
},
|
|
2912
2935
|
notBlack: {
|
|
2913
2936
|
light: colors.waxwing,
|
|
@@ -4272,7 +4295,7 @@
|
|
|
4272
4295
|
snackbarValues = _useState4[0],
|
|
4273
4296
|
setSnackbarValues = _useState4[1];
|
|
4274
4297
|
|
|
4275
|
-
var
|
|
4298
|
+
var _triggerSnackbar = function triggerSnackbar(_ref) {
|
|
4276
4299
|
var _ref$message = _ref.message,
|
|
4277
4300
|
message = _ref$message === void 0 ? "Set a message" : _ref$message,
|
|
4278
4301
|
_ref$position = _ref.position,
|
|
@@ -4328,7 +4351,12 @@
|
|
|
4328
4351
|
value: {
|
|
4329
4352
|
snackbarValues: snackbarValues,
|
|
4330
4353
|
setSnackbarValues: setSnackbarValues,
|
|
4331
|
-
triggerSnackbar: triggerSnackbar
|
|
4354
|
+
triggerSnackbar: function triggerSnackbar(props) {
|
|
4355
|
+
// TODO: figure out why setTimeout is needed to show every time
|
|
4356
|
+
setTimeout(function () {
|
|
4357
|
+
_triggerSnackbar(props);
|
|
4358
|
+
});
|
|
4359
|
+
}
|
|
4332
4360
|
}
|
|
4333
4361
|
}, /*#__PURE__*/React__default['default'].createElement(Snackbar, {
|
|
4334
4362
|
anchorOrigin: _objectSpread$2({}, snackbarValues.position),
|