@thecb/components 10.6.9 → 10.6.10-beta.1
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 +135 -652
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +135 -652
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/{components/atoms/.DS_Store → .DS_Store} +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- package/src/components/molecules/obligation/.DS_Store +0 -0
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +3 -1
- package/src/components/molecules/reset-confirmation-form/ResetConfirmatForm.theme.js +9 -0
- package/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +15 -3
- package/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +17 -5
- package/src/components/molecules/reset-password-success/ResetPasswordSuccess.theme.js +9 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -19629,6 +19629,7 @@ function _wrapNativeSuper(Class) {
|
|
|
19629
19629
|
}
|
|
19630
19630
|
|
|
19631
19631
|
// based on https://github.com/styled-components/styled-components/blob/fcf6f3804c57a14dd7984dfab7bc06ee2edca044/src/utils/error.js
|
|
19632
|
+
|
|
19632
19633
|
/**
|
|
19633
19634
|
* Parse errors.md and turn it into a simple hash of code: message
|
|
19634
19635
|
* @private
|
|
@@ -19713,71 +19714,84 @@ var ERRORS = {
|
|
|
19713
19714
|
"77": "remToPx expects a value in \"rem\" but you provided it in \"%s\".\n\n",
|
|
19714
19715
|
"78": "base must be set in \"px\" or \"%\" but you set it in \"%s\".\n"
|
|
19715
19716
|
};
|
|
19716
|
-
|
|
19717
19717
|
/**
|
|
19718
19718
|
* super basic version of sprintf
|
|
19719
19719
|
* @private
|
|
19720
19720
|
*/
|
|
19721
|
+
|
|
19721
19722
|
function format() {
|
|
19722
19723
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
19723
19724
|
args[_key] = arguments[_key];
|
|
19724
19725
|
}
|
|
19726
|
+
|
|
19725
19727
|
var a = args[0];
|
|
19726
19728
|
var b = [];
|
|
19727
19729
|
var c;
|
|
19730
|
+
|
|
19728
19731
|
for (c = 1; c < args.length; c += 1) {
|
|
19729
19732
|
b.push(args[c]);
|
|
19730
19733
|
}
|
|
19734
|
+
|
|
19731
19735
|
b.forEach(function (d) {
|
|
19732
19736
|
a = a.replace(/%[a-z]/, d);
|
|
19733
19737
|
});
|
|
19734
19738
|
return a;
|
|
19735
19739
|
}
|
|
19736
|
-
|
|
19737
19740
|
/**
|
|
19738
19741
|
* Create an error file out of errors.md for development and a simple web link to the full errors
|
|
19739
19742
|
* in production mode.
|
|
19740
19743
|
* @private
|
|
19741
19744
|
*/
|
|
19745
|
+
|
|
19746
|
+
|
|
19742
19747
|
var PolishedError = /*#__PURE__*/function (_Error) {
|
|
19743
19748
|
_inheritsLoose(PolishedError, _Error);
|
|
19749
|
+
|
|
19744
19750
|
function PolishedError(code) {
|
|
19745
19751
|
var _this;
|
|
19752
|
+
|
|
19746
19753
|
if (process.env.NODE_ENV === 'production') {
|
|
19747
19754
|
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
|
|
19748
19755
|
} else {
|
|
19749
19756
|
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
19750
19757
|
args[_key2 - 1] = arguments[_key2];
|
|
19751
19758
|
}
|
|
19759
|
+
|
|
19752
19760
|
_this = _Error.call(this, format.apply(void 0, [ERRORS[code]].concat(args))) || this;
|
|
19753
19761
|
}
|
|
19762
|
+
|
|
19754
19763
|
return _assertThisInitialized(_this);
|
|
19755
19764
|
}
|
|
19765
|
+
|
|
19756
19766
|
return PolishedError;
|
|
19757
19767
|
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
19758
19768
|
|
|
19759
19769
|
function colorToInt(color) {
|
|
19760
19770
|
return Math.round(color * 255);
|
|
19761
19771
|
}
|
|
19772
|
+
|
|
19762
19773
|
function convertToInt(red, green, blue) {
|
|
19763
19774
|
return colorToInt(red) + "," + colorToInt(green) + "," + colorToInt(blue);
|
|
19764
19775
|
}
|
|
19776
|
+
|
|
19765
19777
|
function hslToRgb(hue, saturation, lightness, convert) {
|
|
19766
19778
|
if (convert === void 0) {
|
|
19767
19779
|
convert = convertToInt;
|
|
19768
19780
|
}
|
|
19781
|
+
|
|
19769
19782
|
if (saturation === 0) {
|
|
19770
19783
|
// achromatic
|
|
19771
19784
|
return convert(lightness, lightness, lightness);
|
|
19772
|
-
}
|
|
19785
|
+
} // formulae from https://en.wikipedia.org/wiki/HSL_and_HSV
|
|
19786
|
+
|
|
19773
19787
|
|
|
19774
|
-
// formulae from https://en.wikipedia.org/wiki/HSL_and_HSV
|
|
19775
19788
|
var huePrime = (hue % 360 + 360) % 360 / 60;
|
|
19776
19789
|
var chroma = (1 - Math.abs(2 * lightness - 1)) * saturation;
|
|
19777
19790
|
var secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));
|
|
19778
19791
|
var red = 0;
|
|
19779
19792
|
var green = 0;
|
|
19780
19793
|
var blue = 0;
|
|
19794
|
+
|
|
19781
19795
|
if (huePrime >= 0 && huePrime < 1) {
|
|
19782
19796
|
red = chroma;
|
|
19783
19797
|
green = secondComponent;
|
|
@@ -19797,6 +19811,7 @@ function hslToRgb(hue, saturation, lightness, convert) {
|
|
|
19797
19811
|
red = chroma;
|
|
19798
19812
|
blue = secondComponent;
|
|
19799
19813
|
}
|
|
19814
|
+
|
|
19800
19815
|
var lightnessModification = lightness - chroma / 2;
|
|
19801
19816
|
var finalRed = red + lightnessModification;
|
|
19802
19817
|
var finalGreen = green + lightnessModification;
|
|
@@ -19954,11 +19969,11 @@ var namedColorMap = {
|
|
|
19954
19969
|
yellow: 'ff0',
|
|
19955
19970
|
yellowgreen: '9acd32'
|
|
19956
19971
|
};
|
|
19957
|
-
|
|
19958
19972
|
/**
|
|
19959
19973
|
* Checks if a string is a CSS named color and returns its equivalent hex value, otherwise returns the original color.
|
|
19960
19974
|
* @private
|
|
19961
19975
|
*/
|
|
19976
|
+
|
|
19962
19977
|
function nameToHex(color) {
|
|
19963
19978
|
if (typeof color !== 'string') return color;
|
|
19964
19979
|
var normalizedColorName = color.toLowerCase();
|
|
@@ -19973,7 +19988,6 @@ var rgbRegex = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\
|
|
|
19973
19988
|
var rgbaRegex = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
19974
19989
|
var hslRegex = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i;
|
|
19975
19990
|
var hslaRegex = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
19976
|
-
|
|
19977
19991
|
/**
|
|
19978
19992
|
* Returns an RgbColor or RgbaColor object. This utility function is only useful
|
|
19979
19993
|
* if want to extract a color component. With the color util `toColorString` you
|
|
@@ -19985,11 +19999,14 @@ var hslaRegex = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[
|
|
|
19985
19999
|
* // Assigns `{ red: 92, green: 102, blue: 112, alpha: 0.75 }` to color2
|
|
19986
20000
|
* const color2 = parseToRgb('hsla(210, 10%, 40%, 0.75)');
|
|
19987
20001
|
*/
|
|
20002
|
+
|
|
19988
20003
|
function parseToRgb(color) {
|
|
19989
20004
|
if (typeof color !== 'string') {
|
|
19990
20005
|
throw new PolishedError(3);
|
|
19991
20006
|
}
|
|
20007
|
+
|
|
19992
20008
|
var normalizedColor = nameToHex(color);
|
|
20009
|
+
|
|
19993
20010
|
if (normalizedColor.match(hexRegex)) {
|
|
19994
20011
|
return {
|
|
19995
20012
|
red: parseInt("" + normalizedColor[1] + normalizedColor[2], 16),
|
|
@@ -19997,6 +20014,7 @@ function parseToRgb(color) {
|
|
|
19997
20014
|
blue: parseInt("" + normalizedColor[5] + normalizedColor[6], 16)
|
|
19998
20015
|
};
|
|
19999
20016
|
}
|
|
20017
|
+
|
|
20000
20018
|
if (normalizedColor.match(hexRgbaRegex)) {
|
|
20001
20019
|
var alpha = parseFloat((parseInt("" + normalizedColor[7] + normalizedColor[8], 16) / 255).toFixed(2));
|
|
20002
20020
|
return {
|
|
@@ -20006,6 +20024,7 @@ function parseToRgb(color) {
|
|
|
20006
20024
|
alpha: alpha
|
|
20007
20025
|
};
|
|
20008
20026
|
}
|
|
20027
|
+
|
|
20009
20028
|
if (normalizedColor.match(reducedHexRegex)) {
|
|
20010
20029
|
return {
|
|
20011
20030
|
red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
|
|
@@ -20013,8 +20032,10 @@ function parseToRgb(color) {
|
|
|
20013
20032
|
blue: parseInt("" + normalizedColor[3] + normalizedColor[3], 16)
|
|
20014
20033
|
};
|
|
20015
20034
|
}
|
|
20035
|
+
|
|
20016
20036
|
if (normalizedColor.match(reducedRgbaHexRegex)) {
|
|
20017
20037
|
var _alpha = parseFloat((parseInt("" + normalizedColor[4] + normalizedColor[4], 16) / 255).toFixed(2));
|
|
20038
|
+
|
|
20018
20039
|
return {
|
|
20019
20040
|
red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
|
|
20020
20041
|
green: parseInt("" + normalizedColor[2] + normalizedColor[2], 16),
|
|
@@ -20022,7 +20043,9 @@ function parseToRgb(color) {
|
|
|
20022
20043
|
alpha: _alpha
|
|
20023
20044
|
};
|
|
20024
20045
|
}
|
|
20046
|
+
|
|
20025
20047
|
var rgbMatched = rgbRegex.exec(normalizedColor);
|
|
20048
|
+
|
|
20026
20049
|
if (rgbMatched) {
|
|
20027
20050
|
return {
|
|
20028
20051
|
red: parseInt("" + rgbMatched[1], 10),
|
|
@@ -20030,7 +20053,9 @@ function parseToRgb(color) {
|
|
|
20030
20053
|
blue: parseInt("" + rgbMatched[3], 10)
|
|
20031
20054
|
};
|
|
20032
20055
|
}
|
|
20056
|
+
|
|
20033
20057
|
var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
|
|
20058
|
+
|
|
20034
20059
|
if (rgbaMatched) {
|
|
20035
20060
|
return {
|
|
20036
20061
|
red: parseInt("" + rgbaMatched[1], 10),
|
|
@@ -20039,32 +20064,44 @@ function parseToRgb(color) {
|
|
|
20039
20064
|
alpha: parseFloat("" + rgbaMatched[4]) > 1 ? parseFloat("" + rgbaMatched[4]) / 100 : parseFloat("" + rgbaMatched[4])
|
|
20040
20065
|
};
|
|
20041
20066
|
}
|
|
20067
|
+
|
|
20042
20068
|
var hslMatched = hslRegex.exec(normalizedColor);
|
|
20069
|
+
|
|
20043
20070
|
if (hslMatched) {
|
|
20044
20071
|
var hue = parseInt("" + hslMatched[1], 10);
|
|
20045
20072
|
var saturation = parseInt("" + hslMatched[2], 10) / 100;
|
|
20046
20073
|
var lightness = parseInt("" + hslMatched[3], 10) / 100;
|
|
20047
20074
|
var rgbColorString = "rgb(" + hslToRgb(hue, saturation, lightness) + ")";
|
|
20048
20075
|
var hslRgbMatched = rgbRegex.exec(rgbColorString);
|
|
20076
|
+
|
|
20049
20077
|
if (!hslRgbMatched) {
|
|
20050
20078
|
throw new PolishedError(4, normalizedColor, rgbColorString);
|
|
20051
20079
|
}
|
|
20080
|
+
|
|
20052
20081
|
return {
|
|
20053
20082
|
red: parseInt("" + hslRgbMatched[1], 10),
|
|
20054
20083
|
green: parseInt("" + hslRgbMatched[2], 10),
|
|
20055
20084
|
blue: parseInt("" + hslRgbMatched[3], 10)
|
|
20056
20085
|
};
|
|
20057
20086
|
}
|
|
20087
|
+
|
|
20058
20088
|
var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
|
|
20089
|
+
|
|
20059
20090
|
if (hslaMatched) {
|
|
20060
20091
|
var _hue = parseInt("" + hslaMatched[1], 10);
|
|
20092
|
+
|
|
20061
20093
|
var _saturation = parseInt("" + hslaMatched[2], 10) / 100;
|
|
20094
|
+
|
|
20062
20095
|
var _lightness = parseInt("" + hslaMatched[3], 10) / 100;
|
|
20096
|
+
|
|
20063
20097
|
var _rgbColorString = "rgb(" + hslToRgb(_hue, _saturation, _lightness) + ")";
|
|
20098
|
+
|
|
20064
20099
|
var _hslRgbMatched = rgbRegex.exec(_rgbColorString);
|
|
20100
|
+
|
|
20065
20101
|
if (!_hslRgbMatched) {
|
|
20066
20102
|
throw new PolishedError(4, normalizedColor, _rgbColorString);
|
|
20067
20103
|
}
|
|
20104
|
+
|
|
20068
20105
|
return {
|
|
20069
20106
|
red: parseInt("" + _hslRgbMatched[1], 10),
|
|
20070
20107
|
green: parseInt("" + _hslRgbMatched[2], 10),
|
|
@@ -20072,80 +20109,8 @@ function parseToRgb(color) {
|
|
|
20072
20109
|
alpha: parseFloat("" + hslaMatched[4]) > 1 ? parseFloat("" + hslaMatched[4]) / 100 : parseFloat("" + hslaMatched[4])
|
|
20073
20110
|
};
|
|
20074
20111
|
}
|
|
20075
|
-
throw new PolishedError(5);
|
|
20076
|
-
}
|
|
20077
20112
|
|
|
20078
|
-
|
|
20079
|
-
// make sure rgb are contained in a set of [0, 255]
|
|
20080
|
-
var red = color.red / 255;
|
|
20081
|
-
var green = color.green / 255;
|
|
20082
|
-
var blue = color.blue / 255;
|
|
20083
|
-
var max = Math.max(red, green, blue);
|
|
20084
|
-
var min = Math.min(red, green, blue);
|
|
20085
|
-
var lightness = (max + min) / 2;
|
|
20086
|
-
if (max === min) {
|
|
20087
|
-
// achromatic
|
|
20088
|
-
if (color.alpha !== undefined) {
|
|
20089
|
-
return {
|
|
20090
|
-
hue: 0,
|
|
20091
|
-
saturation: 0,
|
|
20092
|
-
lightness: lightness,
|
|
20093
|
-
alpha: color.alpha
|
|
20094
|
-
};
|
|
20095
|
-
} else {
|
|
20096
|
-
return {
|
|
20097
|
-
hue: 0,
|
|
20098
|
-
saturation: 0,
|
|
20099
|
-
lightness: lightness
|
|
20100
|
-
};
|
|
20101
|
-
}
|
|
20102
|
-
}
|
|
20103
|
-
var hue;
|
|
20104
|
-
var delta = max - min;
|
|
20105
|
-
var saturation = lightness > 0.5 ? delta / (2 - max - min) : delta / (max + min);
|
|
20106
|
-
switch (max) {
|
|
20107
|
-
case red:
|
|
20108
|
-
hue = (green - blue) / delta + (green < blue ? 6 : 0);
|
|
20109
|
-
break;
|
|
20110
|
-
case green:
|
|
20111
|
-
hue = (blue - red) / delta + 2;
|
|
20112
|
-
break;
|
|
20113
|
-
default:
|
|
20114
|
-
// blue case
|
|
20115
|
-
hue = (red - green) / delta + 4;
|
|
20116
|
-
break;
|
|
20117
|
-
}
|
|
20118
|
-
hue *= 60;
|
|
20119
|
-
if (color.alpha !== undefined) {
|
|
20120
|
-
return {
|
|
20121
|
-
hue: hue,
|
|
20122
|
-
saturation: saturation,
|
|
20123
|
-
lightness: lightness,
|
|
20124
|
-
alpha: color.alpha
|
|
20125
|
-
};
|
|
20126
|
-
}
|
|
20127
|
-
return {
|
|
20128
|
-
hue: hue,
|
|
20129
|
-
saturation: saturation,
|
|
20130
|
-
lightness: lightness
|
|
20131
|
-
};
|
|
20132
|
-
}
|
|
20133
|
-
|
|
20134
|
-
/**
|
|
20135
|
-
* Returns an HslColor or HslaColor object. This utility function is only useful
|
|
20136
|
-
* if want to extract a color component. With the color util `toColorString` you
|
|
20137
|
-
* can convert a HslColor or HslaColor object back to a string.
|
|
20138
|
-
*
|
|
20139
|
-
* @example
|
|
20140
|
-
* // Assigns `{ hue: 0, saturation: 1, lightness: 0.5 }` to color1
|
|
20141
|
-
* const color1 = parseToHsl('rgb(255, 0, 0)');
|
|
20142
|
-
* // Assigns `{ hue: 128, saturation: 1, lightness: 0.5, alpha: 0.75 }` to color2
|
|
20143
|
-
* const color2 = parseToHsl('hsla(128, 100%, 50%, 0.75)');
|
|
20144
|
-
*/
|
|
20145
|
-
function parseToHsl(color) {
|
|
20146
|
-
// Note: At a later stage we can optimize this function as right now a hsl
|
|
20147
|
-
// color would be parsed converted to rgb values and converted back to hsl.
|
|
20148
|
-
return rgbToHsl(parseToRgb(color));
|
|
20113
|
+
throw new PolishedError(5);
|
|
20149
20114
|
}
|
|
20150
20115
|
|
|
20151
20116
|
/**
|
|
@@ -20156,8 +20121,10 @@ var reduceHexValue = function reduceHexValue(value) {
|
|
|
20156
20121
|
if (value.length === 7 && value[1] === value[2] && value[3] === value[4] && value[5] === value[6]) {
|
|
20157
20122
|
return "#" + value[1] + value[3] + value[5];
|
|
20158
20123
|
}
|
|
20124
|
+
|
|
20159
20125
|
return value;
|
|
20160
20126
|
};
|
|
20127
|
+
|
|
20161
20128
|
var reduceHexValue$1 = reduceHexValue;
|
|
20162
20129
|
|
|
20163
20130
|
function numberToHex(value) {
|
|
@@ -20165,83 +20132,6 @@ function numberToHex(value) {
|
|
|
20165
20132
|
return hex.length === 1 ? "0" + hex : hex;
|
|
20166
20133
|
}
|
|
20167
20134
|
|
|
20168
|
-
function colorToHex(color) {
|
|
20169
|
-
return numberToHex(Math.round(color * 255));
|
|
20170
|
-
}
|
|
20171
|
-
function convertToHex(red, green, blue) {
|
|
20172
|
-
return reduceHexValue$1("#" + colorToHex(red) + colorToHex(green) + colorToHex(blue));
|
|
20173
|
-
}
|
|
20174
|
-
function hslToHex(hue, saturation, lightness) {
|
|
20175
|
-
return hslToRgb(hue, saturation, lightness, convertToHex);
|
|
20176
|
-
}
|
|
20177
|
-
|
|
20178
|
-
/**
|
|
20179
|
-
* Returns a string value for the color. The returned result is the smallest possible hex notation.
|
|
20180
|
-
*
|
|
20181
|
-
* @example
|
|
20182
|
-
* // Styles as object usage
|
|
20183
|
-
* const styles = {
|
|
20184
|
-
* background: hsl(359, 0.75, 0.4),
|
|
20185
|
-
* background: hsl({ hue: 360, saturation: 0.75, lightness: 0.4 }),
|
|
20186
|
-
* }
|
|
20187
|
-
*
|
|
20188
|
-
* // styled-components usage
|
|
20189
|
-
* const div = styled.div`
|
|
20190
|
-
* background: ${hsl(359, 0.75, 0.4)};
|
|
20191
|
-
* background: ${hsl({ hue: 360, saturation: 0.75, lightness: 0.4 })};
|
|
20192
|
-
* `
|
|
20193
|
-
*
|
|
20194
|
-
* // CSS in JS Output
|
|
20195
|
-
*
|
|
20196
|
-
* element {
|
|
20197
|
-
* background: "#b3191c";
|
|
20198
|
-
* background: "#b3191c";
|
|
20199
|
-
* }
|
|
20200
|
-
*/
|
|
20201
|
-
function hsl(value, saturation, lightness) {
|
|
20202
|
-
if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number') {
|
|
20203
|
-
return hslToHex(value, saturation, lightness);
|
|
20204
|
-
} else if (typeof value === 'object' && saturation === undefined && lightness === undefined) {
|
|
20205
|
-
return hslToHex(value.hue, value.saturation, value.lightness);
|
|
20206
|
-
}
|
|
20207
|
-
throw new PolishedError(1);
|
|
20208
|
-
}
|
|
20209
|
-
|
|
20210
|
-
/**
|
|
20211
|
-
* Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.
|
|
20212
|
-
*
|
|
20213
|
-
* @example
|
|
20214
|
-
* // Styles as object usage
|
|
20215
|
-
* const styles = {
|
|
20216
|
-
* background: hsla(359, 0.75, 0.4, 0.7),
|
|
20217
|
-
* background: hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 }),
|
|
20218
|
-
* background: hsla(359, 0.75, 0.4, 1),
|
|
20219
|
-
* }
|
|
20220
|
-
*
|
|
20221
|
-
* // styled-components usage
|
|
20222
|
-
* const div = styled.div`
|
|
20223
|
-
* background: ${hsla(359, 0.75, 0.4, 0.7)};
|
|
20224
|
-
* background: ${hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 })};
|
|
20225
|
-
* background: ${hsla(359, 0.75, 0.4, 1)};
|
|
20226
|
-
* `
|
|
20227
|
-
*
|
|
20228
|
-
* // CSS in JS Output
|
|
20229
|
-
*
|
|
20230
|
-
* element {
|
|
20231
|
-
* background: "rgba(179,25,28,0.7)";
|
|
20232
|
-
* background: "rgba(179,25,28,0.7)";
|
|
20233
|
-
* background: "#b3191c";
|
|
20234
|
-
* }
|
|
20235
|
-
*/
|
|
20236
|
-
function hsla$1(value, saturation, lightness, alpha) {
|
|
20237
|
-
if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number' && typeof alpha === 'number') {
|
|
20238
|
-
return alpha >= 1 ? hslToHex(value, saturation, lightness) : "rgba(" + hslToRgb(value, saturation, lightness) + "," + alpha + ")";
|
|
20239
|
-
} else if (typeof value === 'object' && saturation === undefined && lightness === undefined && alpha === undefined) {
|
|
20240
|
-
return value.alpha >= 1 ? hslToHex(value.hue, value.saturation, value.lightness) : "rgba(" + hslToRgb(value.hue, value.saturation, value.lightness) + "," + value.alpha + ")";
|
|
20241
|
-
}
|
|
20242
|
-
throw new PolishedError(2);
|
|
20243
|
-
}
|
|
20244
|
-
|
|
20245
20135
|
/**
|
|
20246
20136
|
* Returns a string value for the color. The returned result is the smallest possible hex notation.
|
|
20247
20137
|
*
|
|
@@ -20271,6 +20161,7 @@ function rgb(value, green, blue) {
|
|
|
20271
20161
|
} else if (typeof value === 'object' && green === undefined && blue === undefined) {
|
|
20272
20162
|
return reduceHexValue$1("#" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));
|
|
20273
20163
|
}
|
|
20164
|
+
|
|
20274
20165
|
throw new PolishedError(6);
|
|
20275
20166
|
}
|
|
20276
20167
|
|
|
@@ -20317,60 +20208,8 @@ function rgba$1(firstValue, secondValue, thirdValue, fourthValue) {
|
|
|
20317
20208
|
} else if (typeof firstValue === 'object' && secondValue === undefined && thirdValue === undefined && fourthValue === undefined) {
|
|
20318
20209
|
return firstValue.alpha >= 1 ? rgb(firstValue.red, firstValue.green, firstValue.blue) : "rgba(" + firstValue.red + "," + firstValue.green + "," + firstValue.blue + "," + firstValue.alpha + ")";
|
|
20319
20210
|
}
|
|
20320
|
-
throw new PolishedError(7);
|
|
20321
|
-
}
|
|
20322
20211
|
|
|
20323
|
-
|
|
20324
|
-
return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');
|
|
20325
|
-
};
|
|
20326
|
-
var isRgba$1 = function isRgba(color) {
|
|
20327
|
-
return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && typeof color.alpha === 'number';
|
|
20328
|
-
};
|
|
20329
|
-
var isHsl = function isHsl(color) {
|
|
20330
|
-
return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');
|
|
20331
|
-
};
|
|
20332
|
-
var isHsla$1 = function isHsla(color) {
|
|
20333
|
-
return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && typeof color.alpha === 'number';
|
|
20334
|
-
};
|
|
20335
|
-
|
|
20336
|
-
/**
|
|
20337
|
-
* Converts a RgbColor, RgbaColor, HslColor or HslaColor object to a color string.
|
|
20338
|
-
* This util is useful in case you only know on runtime which color object is
|
|
20339
|
-
* used. Otherwise we recommend to rely on `rgb`, `rgba`, `hsl` or `hsla`.
|
|
20340
|
-
*
|
|
20341
|
-
* @example
|
|
20342
|
-
* // Styles as object usage
|
|
20343
|
-
* const styles = {
|
|
20344
|
-
* background: toColorString({ red: 255, green: 205, blue: 100 }),
|
|
20345
|
-
* background: toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 }),
|
|
20346
|
-
* background: toColorString({ hue: 240, saturation: 1, lightness: 0.5 }),
|
|
20347
|
-
* background: toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 }),
|
|
20348
|
-
* }
|
|
20349
|
-
*
|
|
20350
|
-
* // styled-components usage
|
|
20351
|
-
* const div = styled.div`
|
|
20352
|
-
* background: ${toColorString({ red: 255, green: 205, blue: 100 })};
|
|
20353
|
-
* background: ${toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 })};
|
|
20354
|
-
* background: ${toColorString({ hue: 240, saturation: 1, lightness: 0.5 })};
|
|
20355
|
-
* background: ${toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 })};
|
|
20356
|
-
* `
|
|
20357
|
-
*
|
|
20358
|
-
* // CSS in JS Output
|
|
20359
|
-
* element {
|
|
20360
|
-
* background: "#ffcd64";
|
|
20361
|
-
* background: "rgba(255,205,100,0.72)";
|
|
20362
|
-
* background: "#00f";
|
|
20363
|
-
* background: "rgba(179,25,25,0.72)";
|
|
20364
|
-
* }
|
|
20365
|
-
*/
|
|
20366
|
-
|
|
20367
|
-
function toColorString(color) {
|
|
20368
|
-
if (typeof color !== 'object') throw new PolishedError(8);
|
|
20369
|
-
if (isRgba$1(color)) return rgba$1(color);
|
|
20370
|
-
if (isRgb(color)) return rgb(color);
|
|
20371
|
-
if (isHsla$1(color)) return hsla$1(color);
|
|
20372
|
-
if (isHsl(color)) return hsl(color);
|
|
20373
|
-
throw new PolishedError(8);
|
|
20212
|
+
throw new PolishedError(7);
|
|
20374
20213
|
}
|
|
20375
20214
|
|
|
20376
20215
|
// Type definitions taken from https://github.com/gcanti/flow-static-land/blob/master/src/Fun.js
|
|
@@ -20383,156 +20222,14 @@ function curried(f, length, acc) {
|
|
|
20383
20222
|
var combined = acc.concat(Array.prototype.slice.call(arguments));
|
|
20384
20223
|
return combined.length >= length ? f.apply(this, combined) : curried(f, length, combined);
|
|
20385
20224
|
};
|
|
20386
|
-
}
|
|
20225
|
+
} // eslint-disable-next-line no-redeclare
|
|
20226
|
+
|
|
20387
20227
|
|
|
20388
|
-
// eslint-disable-next-line no-redeclare
|
|
20389
20228
|
function curry(f) {
|
|
20390
20229
|
// eslint-disable-line no-redeclare
|
|
20391
20230
|
return curried(f, f.length, []);
|
|
20392
20231
|
}
|
|
20393
20232
|
|
|
20394
|
-
/**
|
|
20395
|
-
* Changes the hue of the color. Hue is a number between 0 to 360. The first
|
|
20396
|
-
* argument for adjustHue is the amount of degrees the color is rotated around
|
|
20397
|
-
* the color wheel, always producing a positive hue value.
|
|
20398
|
-
*
|
|
20399
|
-
* @example
|
|
20400
|
-
* // Styles as object usage
|
|
20401
|
-
* const styles = {
|
|
20402
|
-
* background: adjustHue(180, '#448'),
|
|
20403
|
-
* background: adjustHue('180', 'rgba(101,100,205,0.7)'),
|
|
20404
|
-
* }
|
|
20405
|
-
*
|
|
20406
|
-
* // styled-components usage
|
|
20407
|
-
* const div = styled.div`
|
|
20408
|
-
* background: ${adjustHue(180, '#448')};
|
|
20409
|
-
* background: ${adjustHue('180', 'rgba(101,100,205,0.7)')};
|
|
20410
|
-
* `
|
|
20411
|
-
*
|
|
20412
|
-
* // CSS in JS Output
|
|
20413
|
-
* element {
|
|
20414
|
-
* background: "#888844";
|
|
20415
|
-
* background: "rgba(136,136,68,0.7)";
|
|
20416
|
-
* }
|
|
20417
|
-
*/
|
|
20418
|
-
function adjustHue(degree, color) {
|
|
20419
|
-
if (color === 'transparent') return color;
|
|
20420
|
-
var hslColor = parseToHsl(color);
|
|
20421
|
-
return toColorString(_extends$1({}, hslColor, {
|
|
20422
|
-
hue: hslColor.hue + parseFloat(degree)
|
|
20423
|
-
}));
|
|
20424
|
-
}
|
|
20425
|
-
|
|
20426
|
-
// prettier-ignore
|
|
20427
|
-
var curriedAdjustHue = curry /* ::<number | string, string, string> */(adjustHue);
|
|
20428
|
-
|
|
20429
|
-
function guard(lowerBoundary, upperBoundary, value) {
|
|
20430
|
-
return Math.max(lowerBoundary, Math.min(upperBoundary, value));
|
|
20431
|
-
}
|
|
20432
|
-
|
|
20433
|
-
/**
|
|
20434
|
-
* Returns a string value for the darkened color.
|
|
20435
|
-
*
|
|
20436
|
-
* @example
|
|
20437
|
-
* // Styles as object usage
|
|
20438
|
-
* const styles = {
|
|
20439
|
-
* background: darken(0.2, '#FFCD64'),
|
|
20440
|
-
* background: darken('0.2', 'rgba(255,205,100,0.7)'),
|
|
20441
|
-
* }
|
|
20442
|
-
*
|
|
20443
|
-
* // styled-components usage
|
|
20444
|
-
* const div = styled.div`
|
|
20445
|
-
* background: ${darken(0.2, '#FFCD64')};
|
|
20446
|
-
* background: ${darken('0.2', 'rgba(255,205,100,0.7)')};
|
|
20447
|
-
* `
|
|
20448
|
-
*
|
|
20449
|
-
* // CSS in JS Output
|
|
20450
|
-
*
|
|
20451
|
-
* element {
|
|
20452
|
-
* background: "#ffbd31";
|
|
20453
|
-
* background: "rgba(255,189,49,0.7)";
|
|
20454
|
-
* }
|
|
20455
|
-
*/
|
|
20456
|
-
function darken(amount, color) {
|
|
20457
|
-
if (color === 'transparent') return color;
|
|
20458
|
-
var hslColor = parseToHsl(color);
|
|
20459
|
-
return toColorString(_extends$1({}, hslColor, {
|
|
20460
|
-
lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))
|
|
20461
|
-
}));
|
|
20462
|
-
}
|
|
20463
|
-
|
|
20464
|
-
// prettier-ignore
|
|
20465
|
-
var curriedDarken = curry /* ::<number | string, string, string> */(darken);
|
|
20466
|
-
|
|
20467
|
-
/**
|
|
20468
|
-
* Decreases the intensity of a color. Its range is between 0 to 1. The first
|
|
20469
|
-
* argument of the desaturate function is the amount by how much the color
|
|
20470
|
-
* intensity should be decreased.
|
|
20471
|
-
*
|
|
20472
|
-
* @example
|
|
20473
|
-
* // Styles as object usage
|
|
20474
|
-
* const styles = {
|
|
20475
|
-
* background: desaturate(0.2, '#CCCD64'),
|
|
20476
|
-
* background: desaturate('0.2', 'rgba(204,205,100,0.7)'),
|
|
20477
|
-
* }
|
|
20478
|
-
*
|
|
20479
|
-
* // styled-components usage
|
|
20480
|
-
* const div = styled.div`
|
|
20481
|
-
* background: ${desaturate(0.2, '#CCCD64')};
|
|
20482
|
-
* background: ${desaturate('0.2', 'rgba(204,205,100,0.7)')};
|
|
20483
|
-
* `
|
|
20484
|
-
*
|
|
20485
|
-
* // CSS in JS Output
|
|
20486
|
-
* element {
|
|
20487
|
-
* background: "#b8b979";
|
|
20488
|
-
* background: "rgba(184,185,121,0.7)";
|
|
20489
|
-
* }
|
|
20490
|
-
*/
|
|
20491
|
-
function desaturate(amount, color) {
|
|
20492
|
-
if (color === 'transparent') return color;
|
|
20493
|
-
var hslColor = parseToHsl(color);
|
|
20494
|
-
return toColorString(_extends$1({}, hslColor, {
|
|
20495
|
-
saturation: guard(0, 1, hslColor.saturation - parseFloat(amount))
|
|
20496
|
-
}));
|
|
20497
|
-
}
|
|
20498
|
-
|
|
20499
|
-
// prettier-ignore
|
|
20500
|
-
var curriedDesaturate = curry /* ::<number | string, string, string> */(desaturate);
|
|
20501
|
-
|
|
20502
|
-
/**
|
|
20503
|
-
* Returns a string value for the lightened color.
|
|
20504
|
-
*
|
|
20505
|
-
* @example
|
|
20506
|
-
* // Styles as object usage
|
|
20507
|
-
* const styles = {
|
|
20508
|
-
* background: lighten(0.2, '#CCCD64'),
|
|
20509
|
-
* background: lighten('0.2', 'rgba(204,205,100,0.7)'),
|
|
20510
|
-
* }
|
|
20511
|
-
*
|
|
20512
|
-
* // styled-components usage
|
|
20513
|
-
* const div = styled.div`
|
|
20514
|
-
* background: ${lighten(0.2, '#FFCD64')};
|
|
20515
|
-
* background: ${lighten('0.2', 'rgba(204,205,100,0.7)')};
|
|
20516
|
-
* `
|
|
20517
|
-
*
|
|
20518
|
-
* // CSS in JS Output
|
|
20519
|
-
*
|
|
20520
|
-
* element {
|
|
20521
|
-
* background: "#e5e6b1";
|
|
20522
|
-
* background: "rgba(229,230,177,0.7)";
|
|
20523
|
-
* }
|
|
20524
|
-
*/
|
|
20525
|
-
function lighten(amount, color) {
|
|
20526
|
-
if (color === 'transparent') return color;
|
|
20527
|
-
var hslColor = parseToHsl(color);
|
|
20528
|
-
return toColorString(_extends$1({}, hslColor, {
|
|
20529
|
-
lightness: guard(0, 1, hslColor.lightness + parseFloat(amount))
|
|
20530
|
-
}));
|
|
20531
|
-
}
|
|
20532
|
-
|
|
20533
|
-
// prettier-ignore
|
|
20534
|
-
var curriedLighten = curry /* ::<number | string, string, string> */(lighten);
|
|
20535
|
-
|
|
20536
20233
|
/**
|
|
20537
20234
|
* Mixes the two provided colors together by calculating the average of each of the RGB components weighted to the first color by the provided weight.
|
|
20538
20235
|
*
|
|
@@ -20559,21 +20256,25 @@ var curriedLighten = curry /* ::<number | string, string, string> */(lighten);
|
|
|
20559
20256
|
* background: "rgba(63, 0, 191, 0.75)";
|
|
20560
20257
|
* }
|
|
20561
20258
|
*/
|
|
20259
|
+
|
|
20562
20260
|
function mix$1(weight, color, otherColor) {
|
|
20563
20261
|
if (color === 'transparent') return otherColor;
|
|
20564
20262
|
if (otherColor === 'transparent') return color;
|
|
20565
20263
|
if (weight === 0) return otherColor;
|
|
20566
20264
|
var parsedColor1 = parseToRgb(color);
|
|
20265
|
+
|
|
20567
20266
|
var color1 = _extends$1({}, parsedColor1, {
|
|
20568
20267
|
alpha: typeof parsedColor1.alpha === 'number' ? parsedColor1.alpha : 1
|
|
20569
20268
|
});
|
|
20269
|
+
|
|
20570
20270
|
var parsedColor2 = parseToRgb(otherColor);
|
|
20271
|
+
|
|
20571
20272
|
var color2 = _extends$1({}, parsedColor2, {
|
|
20572
20273
|
alpha: typeof parsedColor2.alpha === 'number' ? parsedColor2.alpha : 1
|
|
20573
|
-
});
|
|
20574
|
-
|
|
20575
|
-
// The formula is copied from the original Sass implementation:
|
|
20274
|
+
}); // The formula is copied from the original Sass implementation:
|
|
20576
20275
|
// http://sass-lang.com/documentation/Sass/Script/Functions.html#mix-instance_method
|
|
20276
|
+
|
|
20277
|
+
|
|
20577
20278
|
var alphaDelta = color1.alpha - color2.alpha;
|
|
20578
20279
|
var x = parseFloat(weight) * 2 - 1;
|
|
20579
20280
|
var y = x * alphaDelta === -1 ? x : x + alphaDelta;
|
|
@@ -20587,217 +20288,13 @@ function mix$1(weight, color, otherColor) {
|
|
|
20587
20288
|
alpha: color1.alpha * parseFloat(weight) + color2.alpha * (1 - parseFloat(weight))
|
|
20588
20289
|
};
|
|
20589
20290
|
return rgba$1(mixedColor);
|
|
20590
|
-
}
|
|
20591
|
-
|
|
20592
|
-
// prettier-ignore
|
|
20593
|
-
var curriedMix = curry /* ::<number | string, string, string, string> */(mix$1);
|
|
20594
|
-
var mix$1$1 = curriedMix;
|
|
20595
|
-
|
|
20596
|
-
/**
|
|
20597
|
-
* Increases the opacity of a color. Its range for the amount is between 0 to 1.
|
|
20598
|
-
*
|
|
20599
|
-
*
|
|
20600
|
-
* @example
|
|
20601
|
-
* // Styles as object usage
|
|
20602
|
-
* const styles = {
|
|
20603
|
-
* background: opacify(0.1, 'rgba(255, 255, 255, 0.9)');
|
|
20604
|
-
* background: opacify(0.2, 'hsla(0, 0%, 100%, 0.5)'),
|
|
20605
|
-
* background: opacify('0.5', 'rgba(255, 0, 0, 0.2)'),
|
|
20606
|
-
* }
|
|
20607
|
-
*
|
|
20608
|
-
* // styled-components usage
|
|
20609
|
-
* const div = styled.div`
|
|
20610
|
-
* background: ${opacify(0.1, 'rgba(255, 255, 255, 0.9)')};
|
|
20611
|
-
* background: ${opacify(0.2, 'hsla(0, 0%, 100%, 0.5)')},
|
|
20612
|
-
* background: ${opacify('0.5', 'rgba(255, 0, 0, 0.2)')},
|
|
20613
|
-
* `
|
|
20614
|
-
*
|
|
20615
|
-
* // CSS in JS Output
|
|
20616
|
-
*
|
|
20617
|
-
* element {
|
|
20618
|
-
* background: "#fff";
|
|
20619
|
-
* background: "rgba(255,255,255,0.7)";
|
|
20620
|
-
* background: "rgba(255,0,0,0.7)";
|
|
20621
|
-
* }
|
|
20622
|
-
*/
|
|
20623
|
-
function opacify(amount, color) {
|
|
20624
|
-
if (color === 'transparent') return color;
|
|
20625
|
-
var parsedColor = parseToRgb(color);
|
|
20626
|
-
var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
|
|
20627
|
-
var colorWithAlpha = _extends$1({}, parsedColor, {
|
|
20628
|
-
alpha: guard(0, 1, (alpha * 100 + parseFloat(amount) * 100) / 100)
|
|
20629
|
-
});
|
|
20630
|
-
return rgba$1(colorWithAlpha);
|
|
20631
|
-
}
|
|
20632
|
-
|
|
20633
|
-
// prettier-ignore
|
|
20634
|
-
var curriedOpacify = curry /* ::<number | string, string, string> */(opacify);
|
|
20635
|
-
|
|
20636
|
-
/**
|
|
20637
|
-
* Increases the intensity of a color. Its range is between 0 to 1. The first
|
|
20638
|
-
* argument of the saturate function is the amount by how much the color
|
|
20639
|
-
* intensity should be increased.
|
|
20640
|
-
*
|
|
20641
|
-
* @example
|
|
20642
|
-
* // Styles as object usage
|
|
20643
|
-
* const styles = {
|
|
20644
|
-
* background: saturate(0.2, '#CCCD64'),
|
|
20645
|
-
* background: saturate('0.2', 'rgba(204,205,100,0.7)'),
|
|
20646
|
-
* }
|
|
20647
|
-
*
|
|
20648
|
-
* // styled-components usage
|
|
20649
|
-
* const div = styled.div`
|
|
20650
|
-
* background: ${saturate(0.2, '#FFCD64')};
|
|
20651
|
-
* background: ${saturate('0.2', 'rgba(204,205,100,0.7)')};
|
|
20652
|
-
* `
|
|
20653
|
-
*
|
|
20654
|
-
* // CSS in JS Output
|
|
20655
|
-
*
|
|
20656
|
-
* element {
|
|
20657
|
-
* background: "#e0e250";
|
|
20658
|
-
* background: "rgba(224,226,80,0.7)";
|
|
20659
|
-
* }
|
|
20660
|
-
*/
|
|
20661
|
-
function saturate(amount, color) {
|
|
20662
|
-
if (color === 'transparent') return color;
|
|
20663
|
-
var hslColor = parseToHsl(color);
|
|
20664
|
-
return toColorString(_extends$1({}, hslColor, {
|
|
20665
|
-
saturation: guard(0, 1, hslColor.saturation + parseFloat(amount))
|
|
20666
|
-
}));
|
|
20667
|
-
}
|
|
20668
|
-
|
|
20669
|
-
// prettier-ignore
|
|
20670
|
-
var curriedSaturate = curry /* ::<number | string, string, string> */(saturate);
|
|
20671
|
-
|
|
20672
|
-
/**
|
|
20673
|
-
* Sets the hue of a color to the provided value. The hue range can be
|
|
20674
|
-
* from 0 and 359.
|
|
20675
|
-
*
|
|
20676
|
-
* @example
|
|
20677
|
-
* // Styles as object usage
|
|
20678
|
-
* const styles = {
|
|
20679
|
-
* background: setHue(42, '#CCCD64'),
|
|
20680
|
-
* background: setHue('244', 'rgba(204,205,100,0.7)'),
|
|
20681
|
-
* }
|
|
20682
|
-
*
|
|
20683
|
-
* // styled-components usage
|
|
20684
|
-
* const div = styled.div`
|
|
20685
|
-
* background: ${setHue(42, '#CCCD64')};
|
|
20686
|
-
* background: ${setHue('244', 'rgba(204,205,100,0.7)')};
|
|
20687
|
-
* `
|
|
20688
|
-
*
|
|
20689
|
-
* // CSS in JS Output
|
|
20690
|
-
* element {
|
|
20691
|
-
* background: "#cdae64";
|
|
20692
|
-
* background: "rgba(107,100,205,0.7)";
|
|
20693
|
-
* }
|
|
20694
|
-
*/
|
|
20695
|
-
function setHue(hue, color) {
|
|
20696
|
-
if (color === 'transparent') return color;
|
|
20697
|
-
return toColorString(_extends$1({}, parseToHsl(color), {
|
|
20698
|
-
hue: parseFloat(hue)
|
|
20699
|
-
}));
|
|
20700
|
-
}
|
|
20701
|
-
|
|
20702
|
-
// prettier-ignore
|
|
20703
|
-
var curriedSetHue = curry /* ::<number | string, string, string> */(setHue);
|
|
20704
|
-
|
|
20705
|
-
/**
|
|
20706
|
-
* Sets the lightness of a color to the provided value. The lightness range can be
|
|
20707
|
-
* from 0 and 1.
|
|
20708
|
-
*
|
|
20709
|
-
* @example
|
|
20710
|
-
* // Styles as object usage
|
|
20711
|
-
* const styles = {
|
|
20712
|
-
* background: setLightness(0.2, '#CCCD64'),
|
|
20713
|
-
* background: setLightness('0.75', 'rgba(204,205,100,0.7)'),
|
|
20714
|
-
* }
|
|
20715
|
-
*
|
|
20716
|
-
* // styled-components usage
|
|
20717
|
-
* const div = styled.div`
|
|
20718
|
-
* background: ${setLightness(0.2, '#CCCD64')};
|
|
20719
|
-
* background: ${setLightness('0.75', 'rgba(204,205,100,0.7)')};
|
|
20720
|
-
* `
|
|
20721
|
-
*
|
|
20722
|
-
* // CSS in JS Output
|
|
20723
|
-
* element {
|
|
20724
|
-
* background: "#4d4d19";
|
|
20725
|
-
* background: "rgba(223,224,159,0.7)";
|
|
20726
|
-
* }
|
|
20727
|
-
*/
|
|
20728
|
-
function setLightness(lightness, color) {
|
|
20729
|
-
if (color === 'transparent') return color;
|
|
20730
|
-
return toColorString(_extends$1({}, parseToHsl(color), {
|
|
20731
|
-
lightness: parseFloat(lightness)
|
|
20732
|
-
}));
|
|
20733
|
-
}
|
|
20291
|
+
} // prettier-ignore
|
|
20734
20292
|
|
|
20735
|
-
// prettier-ignore
|
|
20736
|
-
var curriedSetLightness = curry /* ::<number | string, string, string> */(setLightness);
|
|
20737
20293
|
|
|
20738
|
-
|
|
20739
|
-
|
|
20740
|
-
|
|
20741
|
-
|
|
20742
|
-
* @example
|
|
20743
|
-
* // Styles as object usage
|
|
20744
|
-
* const styles = {
|
|
20745
|
-
* background: setSaturation(0.2, '#CCCD64'),
|
|
20746
|
-
* background: setSaturation('0.75', 'rgba(204,205,100,0.7)'),
|
|
20747
|
-
* }
|
|
20748
|
-
*
|
|
20749
|
-
* // styled-components usage
|
|
20750
|
-
* const div = styled.div`
|
|
20751
|
-
* background: ${setSaturation(0.2, '#CCCD64')};
|
|
20752
|
-
* background: ${setSaturation('0.75', 'rgba(204,205,100,0.7)')};
|
|
20753
|
-
* `
|
|
20754
|
-
*
|
|
20755
|
-
* // CSS in JS Output
|
|
20756
|
-
* element {
|
|
20757
|
-
* background: "#adad84";
|
|
20758
|
-
* background: "rgba(228,229,76,0.7)";
|
|
20759
|
-
* }
|
|
20760
|
-
*/
|
|
20761
|
-
function setSaturation(saturation, color) {
|
|
20762
|
-
if (color === 'transparent') return color;
|
|
20763
|
-
return toColorString(_extends$1({}, parseToHsl(color), {
|
|
20764
|
-
saturation: parseFloat(saturation)
|
|
20765
|
-
}));
|
|
20766
|
-
}
|
|
20767
|
-
|
|
20768
|
-
// prettier-ignore
|
|
20769
|
-
var curriedSetSaturation = curry /* ::<number | string, string, string> */(setSaturation);
|
|
20770
|
-
|
|
20771
|
-
/**
|
|
20772
|
-
* Shades a color by mixing it with black. `shade` can produce
|
|
20773
|
-
* hue shifts, where as `darken` manipulates the luminance channel and therefore
|
|
20774
|
-
* doesn't produce hue shifts.
|
|
20775
|
-
*
|
|
20776
|
-
* @example
|
|
20777
|
-
* // Styles as object usage
|
|
20778
|
-
* const styles = {
|
|
20779
|
-
* background: shade(0.25, '#00f')
|
|
20780
|
-
* }
|
|
20781
|
-
*
|
|
20782
|
-
* // styled-components usage
|
|
20783
|
-
* const div = styled.div`
|
|
20784
|
-
* background: ${shade(0.25, '#00f')};
|
|
20785
|
-
* `
|
|
20786
|
-
*
|
|
20787
|
-
* // CSS in JS Output
|
|
20788
|
-
*
|
|
20789
|
-
* element {
|
|
20790
|
-
* background: "#00003f";
|
|
20791
|
-
* }
|
|
20792
|
-
*/
|
|
20793
|
-
|
|
20794
|
-
function shade(percentage, color) {
|
|
20795
|
-
if (color === 'transparent') return color;
|
|
20796
|
-
return mix$1$1(parseFloat(percentage), 'rgb(0, 0, 0)', color);
|
|
20797
|
-
}
|
|
20798
|
-
|
|
20799
|
-
// prettier-ignore
|
|
20800
|
-
var curriedShade = curry /* ::<number | string, string, string> */(shade);
|
|
20294
|
+
var curriedMix = /*#__PURE__*/curry
|
|
20295
|
+
/* ::<number | string, string, string, string> */
|
|
20296
|
+
(mix$1);
|
|
20297
|
+
var mix$1$1 = curriedMix;
|
|
20801
20298
|
|
|
20802
20299
|
/**
|
|
20803
20300
|
* Tints a color by mixing it with white. `tint` can produce
|
|
@@ -20825,51 +20322,13 @@ var curriedShade = curry /* ::<number | string, string, string> */(shade);
|
|
|
20825
20322
|
function tint(percentage, color) {
|
|
20826
20323
|
if (color === 'transparent') return color;
|
|
20827
20324
|
return mix$1$1(parseFloat(percentage), 'rgb(255, 255, 255)', color);
|
|
20828
|
-
}
|
|
20829
|
-
|
|
20830
|
-
// prettier-ignore
|
|
20831
|
-
var curriedTint = curry /* ::<number | string, string, string> */(tint);
|
|
20832
|
-
var curriedTint$1 = curriedTint;
|
|
20325
|
+
} // prettier-ignore
|
|
20833
20326
|
|
|
20834
|
-
/**
|
|
20835
|
-
* Decreases the opacity of a color. Its range for the amount is between 0 to 1.
|
|
20836
|
-
*
|
|
20837
|
-
*
|
|
20838
|
-
* @example
|
|
20839
|
-
* // Styles as object usage
|
|
20840
|
-
* const styles = {
|
|
20841
|
-
* background: transparentize(0.1, '#fff'),
|
|
20842
|
-
* background: transparentize(0.2, 'hsl(0, 0%, 100%)'),
|
|
20843
|
-
* background: transparentize('0.5', 'rgba(255, 0, 0, 0.8)'),
|
|
20844
|
-
* }
|
|
20845
|
-
*
|
|
20846
|
-
* // styled-components usage
|
|
20847
|
-
* const div = styled.div`
|
|
20848
|
-
* background: ${transparentize(0.1, '#fff')};
|
|
20849
|
-
* background: ${transparentize(0.2, 'hsl(0, 0%, 100%)')};
|
|
20850
|
-
* background: ${transparentize('0.5', 'rgba(255, 0, 0, 0.8)')};
|
|
20851
|
-
* `
|
|
20852
|
-
*
|
|
20853
|
-
* // CSS in JS Output
|
|
20854
|
-
*
|
|
20855
|
-
* element {
|
|
20856
|
-
* background: "rgba(255,255,255,0.9)";
|
|
20857
|
-
* background: "rgba(255,255,255,0.8)";
|
|
20858
|
-
* background: "rgba(255,0,0,0.3)";
|
|
20859
|
-
* }
|
|
20860
|
-
*/
|
|
20861
|
-
function transparentize(amount, color) {
|
|
20862
|
-
if (color === 'transparent') return color;
|
|
20863
|
-
var parsedColor = parseToRgb(color);
|
|
20864
|
-
var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
|
|
20865
|
-
var colorWithAlpha = _extends$1({}, parsedColor, {
|
|
20866
|
-
alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
|
|
20867
|
-
});
|
|
20868
|
-
return rgba$1(colorWithAlpha);
|
|
20869
|
-
}
|
|
20870
20327
|
|
|
20871
|
-
|
|
20872
|
-
|
|
20328
|
+
var curriedTint = /*#__PURE__*/curry
|
|
20329
|
+
/* ::<number | string, string, string> */
|
|
20330
|
+
(tint);
|
|
20331
|
+
var curriedTint$1 = curriedTint;
|
|
20873
20332
|
|
|
20874
20333
|
var linkColor = MATISSE_BLUE;
|
|
20875
20334
|
var fallbackValues$8 = {
|
|
@@ -23560,19 +23019,32 @@ var toIndexedObject = function (it) {
|
|
|
23560
23019
|
return indexedObject(requireObjectCoercible(it));
|
|
23561
23020
|
};
|
|
23562
23021
|
|
|
23563
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
23564
23022
|
var documentAll = typeof document == 'object' && document.all;
|
|
23565
23023
|
|
|
23024
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
23025
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
23026
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
23027
|
+
|
|
23028
|
+
var documentAll_1 = {
|
|
23029
|
+
all: documentAll,
|
|
23030
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
23031
|
+
};
|
|
23032
|
+
|
|
23033
|
+
var documentAll$1 = documentAll_1.all;
|
|
23034
|
+
|
|
23566
23035
|
// `IsCallable` abstract operation
|
|
23567
23036
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
23568
|
-
|
|
23569
|
-
|
|
23570
|
-
return typeof argument == 'function' || argument === documentAll;
|
|
23037
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
23038
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
23571
23039
|
} : function (argument) {
|
|
23572
23040
|
return typeof argument == 'function';
|
|
23573
23041
|
};
|
|
23574
23042
|
|
|
23575
|
-
var
|
|
23043
|
+
var documentAll$2 = documentAll_1.all;
|
|
23044
|
+
|
|
23045
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
23046
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
23047
|
+
} : function (it) {
|
|
23576
23048
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
23577
23049
|
};
|
|
23578
23050
|
|
|
@@ -23708,10 +23180,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
23708
23180
|
(module.exports = function (key, value) {
|
|
23709
23181
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
23710
23182
|
})('versions', []).push({
|
|
23711
|
-
version: '3.
|
|
23183
|
+
version: '3.33.3',
|
|
23712
23184
|
mode: 'global',
|
|
23713
|
-
copyright: '© 2014-
|
|
23714
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
23185
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
23186
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
23715
23187
|
source: 'https://github.com/zloirock/core-js'
|
|
23716
23188
|
});
|
|
23717
23189
|
});
|
|
@@ -24008,7 +23480,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
24008
23480
|
|
|
24009
23481
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
24010
23482
|
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
24011
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)
|
|
23483
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
24012
23484
|
}
|
|
24013
23485
|
if (options && options.getter) name = 'get ' + name;
|
|
24014
23486
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -24096,8 +23568,7 @@ var min$1 = Math.min;
|
|
|
24096
23568
|
// `ToLength` abstract operation
|
|
24097
23569
|
// https://tc39.es/ecma262/#sec-tolength
|
|
24098
23570
|
var toLength = function (argument) {
|
|
24099
|
-
|
|
24100
|
-
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
23571
|
+
return argument > 0 ? min$1(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
24101
23572
|
};
|
|
24102
23573
|
|
|
24103
23574
|
// `LengthOfArrayLike` abstract operation
|
|
@@ -24257,7 +23728,7 @@ var _export = function (options, source) {
|
|
|
24257
23728
|
} else if (STATIC) {
|
|
24258
23729
|
target = global_1[TARGET] || defineGlobalProperty(TARGET, {});
|
|
24259
23730
|
} else {
|
|
24260
|
-
target = global_1[TARGET]
|
|
23731
|
+
target = (global_1[TARGET] || {}).prototype;
|
|
24261
23732
|
}
|
|
24262
23733
|
if (target) for (key in source) {
|
|
24263
23734
|
sourceProperty = source[key];
|
|
@@ -24520,15 +23991,11 @@ var functionUncurryThisAccessor = function (object, key, method) {
|
|
|
24520
23991
|
} catch (error) { /* empty */ }
|
|
24521
23992
|
};
|
|
24522
23993
|
|
|
24523
|
-
var isPossiblePrototype = function (argument) {
|
|
24524
|
-
return isObject(argument) || argument === null;
|
|
24525
|
-
};
|
|
24526
|
-
|
|
24527
23994
|
var $String$4 = String;
|
|
24528
23995
|
var $TypeError$6 = TypeError;
|
|
24529
23996
|
|
|
24530
23997
|
var aPossiblePrototype = function (argument) {
|
|
24531
|
-
if (
|
|
23998
|
+
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
24532
23999
|
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
24533
24000
|
};
|
|
24534
24001
|
|
|
@@ -46754,8 +46221,10 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46754
46221
|
width: "100%"
|
|
46755
46222
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46756
46223
|
isLoading: isLoading,
|
|
46757
|
-
action:
|
|
46758
|
-
return
|
|
46224
|
+
action: function action() {
|
|
46225
|
+
return disableActions ? noop : function () {
|
|
46226
|
+
return handleClick(obligations);
|
|
46227
|
+
};
|
|
46759
46228
|
},
|
|
46760
46229
|
text: "Pay Now",
|
|
46761
46230
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
@@ -49305,9 +48774,16 @@ RegistrationForm.reducer = reducer$9;
|
|
|
49305
48774
|
RegistrationForm.mapStateToProps = mapStateToProps$a;
|
|
49306
48775
|
RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
49307
48776
|
|
|
48777
|
+
var GRECIAN_GREY$1 = GRECIAN_GREY;
|
|
48778
|
+
var bannerBackgroundColor = GRECIAN_GREY$1;
|
|
48779
|
+
var fallbackValues$R = {
|
|
48780
|
+
bannerBackgroundColor: bannerBackgroundColor
|
|
48781
|
+
};
|
|
48782
|
+
|
|
49308
48783
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
49309
|
-
var
|
|
49310
|
-
|
|
48784
|
+
var themeContext = React.useContext(styled.ThemeContext);
|
|
48785
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$R, "ResetConfirmationForm");
|
|
48786
|
+
var isMobile = themeContext.isMobile;
|
|
49311
48787
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
49312
48788
|
padding: "0",
|
|
49313
48789
|
width: isMobile ? "auto" : "576px",
|
|
@@ -49315,7 +48791,7 @@ var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
|
49315
48791
|
background: WHITE,
|
|
49316
48792
|
boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
49317
48793
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
49318
|
-
background:
|
|
48794
|
+
background: themeValues.bannerBackgroundColor,
|
|
49319
48795
|
minWidth: "100%",
|
|
49320
48796
|
padding: "0.5rem"
|
|
49321
48797
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -49419,9 +48895,16 @@ ResetPasswordForm.reducer = reducer$a;
|
|
|
49419
48895
|
ResetPasswordForm.mapStateToProps = mapStateToProps$b;
|
|
49420
48896
|
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
49421
48897
|
|
|
49422
|
-
var
|
|
49423
|
-
|
|
49424
|
-
|
|
48898
|
+
var GRECIAN_GREY$2 = GRECIAN_GREY;
|
|
48899
|
+
var bannerBackgroundColor$1 = GRECIAN_GREY$2;
|
|
48900
|
+
var fallbackValues$S = {
|
|
48901
|
+
bannerBackgroundColor: bannerBackgroundColor$1
|
|
48902
|
+
};
|
|
48903
|
+
|
|
48904
|
+
var ResetPasswordSuccess = function ResetPasswordSuccess() {
|
|
48905
|
+
var themeContext = React.useContext(styled.ThemeContext);
|
|
48906
|
+
var themeValues = createThemeValues(themeContext, fallbackValues$S, "ResetPasswordSuccess");
|
|
48907
|
+
var isMobile = themeContext.isMobile;
|
|
49425
48908
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
49426
48909
|
padding: "0",
|
|
49427
48910
|
width: isMobile ? "auto" : "576px",
|
|
@@ -49429,7 +48912,7 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
|
49429
48912
|
background: WHITE,
|
|
49430
48913
|
boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
|
|
49431
48914
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
49432
|
-
background:
|
|
48915
|
+
background: themeValues.bannerBackgroundColor,
|
|
49433
48916
|
minWidth: "100%",
|
|
49434
48917
|
padding: "0.5rem"
|
|
49435
48918
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -49464,12 +48947,12 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
|
49464
48947
|
linkExtraStyles: "width: 100%;"
|
|
49465
48948
|
}))))));
|
|
49466
48949
|
};
|
|
49467
|
-
var ResetPasswordSuccess = withWindowSize(
|
|
48950
|
+
var ResetPasswordSuccess$1 = withWindowSize(ResetPasswordSuccess);
|
|
49468
48951
|
|
|
49469
48952
|
var activeTabBackground = "#FFFFFF";
|
|
49470
48953
|
var activeTabAccent = "#15749D";
|
|
49471
48954
|
var activeTabHover = "#B8D5E1";
|
|
49472
|
-
var fallbackValues$
|
|
48955
|
+
var fallbackValues$T = {
|
|
49473
48956
|
activeTabBackground: activeTabBackground,
|
|
49474
48957
|
activeTabAccent: activeTabAccent,
|
|
49475
48958
|
activeTabHover: activeTabHover
|
|
@@ -49537,12 +49020,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
49537
49020
|
}, tab.content);
|
|
49538
49021
|
}))));
|
|
49539
49022
|
};
|
|
49540
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
49023
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$T);
|
|
49541
49024
|
|
|
49542
49025
|
var activeTabBackground$1 = "#FFFFFF";
|
|
49543
49026
|
var activeTabAccent$1 = "#15749D";
|
|
49544
49027
|
var activeTabHover$1 = "#B8D5E1";
|
|
49545
|
-
var fallbackValues$
|
|
49028
|
+
var fallbackValues$U = {
|
|
49546
49029
|
activeTabBackground: activeTabBackground$1,
|
|
49547
49030
|
activeTabAccent: activeTabAccent$1,
|
|
49548
49031
|
activeTabHover: activeTabHover$1
|
|
@@ -49597,7 +49080,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
49597
49080
|
}, text)))));
|
|
49598
49081
|
})));
|
|
49599
49082
|
};
|
|
49600
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
49083
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$U);
|
|
49601
49084
|
|
|
49602
49085
|
var Timeout = function Timeout(_ref) {
|
|
49603
49086
|
var onLogout = _ref.onLogout;
|
|
@@ -49697,7 +49180,7 @@ var fontColor$1 = WHITE;
|
|
|
49697
49180
|
var textAlign$1 = "left";
|
|
49698
49181
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
49699
49182
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
49700
|
-
var fallbackValues$
|
|
49183
|
+
var fallbackValues$V = {
|
|
49701
49184
|
fontWeight: fontWeight$9,
|
|
49702
49185
|
fontColor: fontColor$1,
|
|
49703
49186
|
textAlign: textAlign$1,
|
|
@@ -49742,7 +49225,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
49742
49225
|
src: welcomeImage
|
|
49743
49226
|
})))));
|
|
49744
49227
|
};
|
|
49745
|
-
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
49228
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$V));
|
|
49746
49229
|
|
|
49747
49230
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
49748
49231
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -49802,7 +49285,7 @@ var menuItemColorDelete = RAZZMATAZZ_RED;
|
|
|
49802
49285
|
var menuItemHoverBackgroundColor = CORNFLOWER_BLUE;
|
|
49803
49286
|
var menuItemHoverBackgroundColorDelete = BLUSH_RED;
|
|
49804
49287
|
var menuItemHoverColor = ROYAL_BLUE_VIVID;
|
|
49805
|
-
var fallbackValues$
|
|
49288
|
+
var fallbackValues$W = {
|
|
49806
49289
|
menuItemBackgroundColor: menuItemBackgroundColor,
|
|
49807
49290
|
menuItemColor: menuItemColor,
|
|
49808
49291
|
menuItemColorDelete: menuItemColorDelete,
|
|
@@ -49869,13 +49352,13 @@ var PopupMenuItem = function PopupMenuItem(_ref) {
|
|
|
49869
49352
|
extraStyles: textExtraStyles
|
|
49870
49353
|
}, text)));
|
|
49871
49354
|
};
|
|
49872
|
-
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$
|
|
49355
|
+
var PopupMenuItem$1 = themeComponent(PopupMenuItem, "PopupMenuItem", fallbackValues$W);
|
|
49873
49356
|
|
|
49874
49357
|
var hoverColor$6 = "#116285";
|
|
49875
49358
|
var activeColor$a = "#0E506D";
|
|
49876
49359
|
var menuTriggerColor = "#15749D";
|
|
49877
49360
|
var backgroundColor$e = "white";
|
|
49878
|
-
var fallbackValues$
|
|
49361
|
+
var fallbackValues$X = {
|
|
49879
49362
|
hoverColor: hoverColor$6,
|
|
49880
49363
|
activeColor: activeColor$a,
|
|
49881
49364
|
menuTriggerColor: menuTriggerColor,
|
|
@@ -50011,10 +49494,10 @@ var PopupMenu = function PopupMenu(_ref) {
|
|
|
50011
49494
|
}, item));
|
|
50012
49495
|
})));
|
|
50013
49496
|
};
|
|
50014
|
-
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$
|
|
49497
|
+
var PopupMenu$1 = themeComponent(PopupMenu, "PopupMenu", fallbackValues$X);
|
|
50015
49498
|
|
|
50016
49499
|
var pageBackground = "#FBFCFD";
|
|
50017
|
-
var fallbackValues$
|
|
49500
|
+
var fallbackValues$Y = {
|
|
50018
49501
|
pageBackground: pageBackground
|
|
50019
49502
|
};
|
|
50020
49503
|
|
|
@@ -50062,7 +49545,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
50062
49545
|
padding: "0"
|
|
50063
49546
|
})));
|
|
50064
49547
|
};
|
|
50065
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
49548
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$Y));
|
|
50066
49549
|
|
|
50067
49550
|
var CenterStack = function CenterStack(_ref) {
|
|
50068
49551
|
var header = _ref.header,
|
|
@@ -50105,7 +49588,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
50105
49588
|
padding: "0"
|
|
50106
49589
|
})));
|
|
50107
49590
|
};
|
|
50108
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
49591
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$Y));
|
|
50109
49592
|
|
|
50110
49593
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
50111
49594
|
var header = _ref.header,
|
|
@@ -50151,7 +49634,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
50151
49634
|
padding: "0"
|
|
50152
49635
|
})));
|
|
50153
49636
|
};
|
|
50154
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
49637
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$Y));
|
|
50155
49638
|
|
|
50156
49639
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
50157
49640
|
var header = _ref.header,
|
|
@@ -50204,7 +49687,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
50204
49687
|
padding: "0"
|
|
50205
49688
|
})));
|
|
50206
49689
|
};
|
|
50207
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
49690
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$Y));
|
|
50208
49691
|
|
|
50209
49692
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
50210
49693
|
var header = _ref.header,
|
|
@@ -50274,7 +49757,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
50274
49757
|
key: "footer-box"
|
|
50275
49758
|
})));
|
|
50276
49759
|
};
|
|
50277
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
49760
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$Y));
|
|
50278
49761
|
|
|
50279
49762
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
50280
49763
|
var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
@@ -50472,7 +49955,7 @@ exports.RejectedVelocityIcon = RejectedVelocityIcon;
|
|
|
50472
49955
|
exports.ResetConfirmationForm = ResetConfirmationForm$1;
|
|
50473
49956
|
exports.ResetPasswordForm = ResetPasswordForm;
|
|
50474
49957
|
exports.ResetPasswordIcon = ResetPasswordIcon;
|
|
50475
|
-
exports.ResetPasswordSuccess = ResetPasswordSuccess;
|
|
49958
|
+
exports.ResetPasswordSuccess = ResetPasswordSuccess$1;
|
|
50476
49959
|
exports.RevenueManagementImage = RevenueManagementImage;
|
|
50477
49960
|
exports.RoutingNumberImage = RoutingNumberImage;
|
|
50478
49961
|
exports.SearchIcon = SearchIcon;
|