pebble-web 2.24.0-alpha.0 → 2.25.0-alpha.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/dist/components/shared/MountTransition.d.ts +4 -4
- package/dist/pebble-web.dev.js +73 -48
- package/dist/pebble-web.dev.js.map +1 -1
- package/dist/pebble-web.es.dev.js +54 -32
- package/dist/pebble-web.es.dev.js.map +1 -1
- package/dist/pebble-web.es.js +53 -31
- package/dist/pebble-web.es.js.map +1 -1
- package/dist/pebble-web.js +72 -47
- package/dist/pebble-web.js.map +1 -1
- package/dist/pebble-web.module.dev.js +67 -42
- package/dist/pebble-web.module.dev.js.map +1 -1
- package/dist/pebble-web.module.js +66 -41
- package/dist/pebble-web.module.js.map +1 -1
- package/dist/pebble-web.umd.dev.js +1883 -3351
- package/dist/pebble-web.umd.dev.js.map +1 -1
- package/dist/pebble-web.umd.js +1887 -3355
- package/dist/pebble-web.umd.js.map +1 -1
- package/dist/utils/animation.d.ts +18 -6
- package/package.json +5 -6
- package/src/components/DropDown.tsx +6 -6
- package/src/components/Logo.tsx +21 -14
- package/src/components/Modal.tsx +11 -10
- package/src/components/Popper.tsx +5 -6
- package/src/components/Sidebar.tsx +1 -1
- package/src/components/Toast.tsx +5 -4
- package/src/components/TypeAhead.tsx +2 -2
- package/src/components/__tests__/__snapshots__/logo.test.tsx.snap +54 -11
- package/src/components/__tests__/__snapshots__/popper.test.tsx.snap +1 -1
- package/src/components/shared/MountTransition.tsx +14 -25
- package/src/utils/animation.ts +4 -13
|
@@ -17,7 +17,7 @@ import addDays from 'date-fns/addDays';
|
|
|
17
17
|
import startOfDay from 'date-fns/startOfDay';
|
|
18
18
|
import endOfDay from 'date-fns/endOfDay';
|
|
19
19
|
import isSameDay from 'date-fns/isSameDay';
|
|
20
|
-
import { Transition, animated } from 'react-spring';
|
|
20
|
+
import { Transition, animated } from 'react-spring/renderprops.cjs';
|
|
21
21
|
import { Manager, Reference, Popper } from 'react-popper';
|
|
22
22
|
import { Rifm } from 'rifm';
|
|
23
23
|
import format from 'date-fns/format';
|
|
@@ -1059,8 +1059,8 @@ var animationConfig = {
|
|
|
1059
1059
|
transform: "scale(0.95)",
|
|
1060
1060
|
pointerEvents: "none"
|
|
1061
1061
|
},
|
|
1062
|
-
config: function config(
|
|
1063
|
-
return
|
|
1062
|
+
config: function config(_a, motion) {
|
|
1063
|
+
return motion === "leave" ? {
|
|
1064
1064
|
duration: 80
|
|
1065
1065
|
} : {
|
|
1066
1066
|
duration: 200
|
|
@@ -1071,10 +1071,10 @@ var animationConfig = {
|
|
|
1071
1071
|
var MountTransition = function MountTransition(props) {
|
|
1072
1072
|
return /*#__PURE__*/createElement(Transition, Object.assign({
|
|
1073
1073
|
items: props.visible
|
|
1074
|
-
}, animationConfig, props), function (
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1074
|
+
}, animationConfig, props), function (show, state, index) {
|
|
1075
|
+
return show && function (styles) {
|
|
1076
|
+
return props.children(styles, state, index);
|
|
1077
|
+
};
|
|
1078
1078
|
});
|
|
1079
1079
|
};
|
|
1080
1080
|
|
|
@@ -1160,13 +1160,11 @@ var DropDown = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
1160
1160
|
arrowProps = _ref2.arrowProps;
|
|
1161
1161
|
var popperWrapperStyle = _objectSpread$6(_objectSpread$6(_objectSpread$6({}, style), transitionStyles), {}, {
|
|
1162
1162
|
backgroundColor: colors.white.base,
|
|
1163
|
-
transform:
|
|
1164
|
-
return "".concat(style.transform || "", " ").concat(t || "");
|
|
1165
|
-
}),
|
|
1163
|
+
transform: "".concat(style.transform || "", " ").concat(transitionStyles.transform || ""),
|
|
1166
1164
|
transformOrigin: "".concat(arrowProps.style.left || 0, "px ").concat(arrowProps.style.top || 0, "px"),
|
|
1167
1165
|
padding: padding
|
|
1168
1166
|
});
|
|
1169
|
-
return /*#__PURE__*/createElement(
|
|
1167
|
+
return /*#__PURE__*/createElement("div", {
|
|
1170
1168
|
className: cx(dropDownStyle, dropDownClassName),
|
|
1171
1169
|
ref: ref,
|
|
1172
1170
|
style: popperWrapperStyle,
|
|
@@ -1706,23 +1704,50 @@ var Logo = function Logo(_ref) {
|
|
|
1706
1704
|
id: "Layer_1",
|
|
1707
1705
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1708
1706
|
height: height,
|
|
1709
|
-
viewBox: "0 0
|
|
1707
|
+
viewBox: "0 0 923 264",
|
|
1710
1708
|
xmlSpace: "preserve",
|
|
1711
1709
|
style: {
|
|
1712
1710
|
fill: color
|
|
1713
1711
|
}
|
|
1714
1712
|
}, /*#__PURE__*/createElement("path", {
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1713
|
+
d: " M494.997833,104.989197 C504.561310,120.926979 514.090942,136.486954 524.203430,152.998642 C514.215454,152.998642 505.605194,153.185226 497.019348,152.811401 C495.619934,152.750473 494.014099,150.403091 493.036224,148.789719 C484.614990,134.895966 476.350433,120.907204 467.908600,107.026161 C467.303131,106.030617 465.683411,105.122147 464.509827,105.089546 C457.870575,104.905121 451.223511,105.000366 444.182617,105.000366 C444.182617,120.944054 444.182617,136.684677 444.182617,152.710907 C435.720703,152.710907 427.648346,152.710907 419.286377,152.710907 C419.286377,108.048126 419.286377,63.315472 419.286377,18.226318 C420.622955,18.154409 422.057953,18.011358 423.493042,18.010042 C440.489777,17.994438 457.487518,18.118172 474.482910,17.967182 C491.918823,17.812281 510.099304,31.877623 513.942261,49.596054 C517.227051,64.741020 514.518250,78.747162 503.870880,90.407806 C500.691193,93.890068 496.213104,96.186760 491.701843,99.486000 C492.604675,100.904488 493.784332,102.757935 494.997833,104.989197 M477.814667,80.712967 C478.224762,80.477539 478.625977,80.224724 479.046295,80.009270 C486.206573,76.338890 489.690338,70.406403 490.012604,62.439629 C490.369293,53.622215 487.772491,46.389954 479.129730,42.646801 C467.782715,37.732441 455.882019,40.926376 444.255676,39.921638 C444.255676,54.288414 444.255676,68.004913 444.255676,82.487190 C455.369232,81.977089 466.201569,81.479897 477.814667,80.712967 z"
|
|
1714
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1715
|
+
d: " M243.000000,80.999062 C243.000000,59.861134 243.000000,39.223000 243.000000,18.292778 C251.270828,18.292778 259.342133,18.292778 267.708313,18.292778 C267.708313,62.935493 267.708313,107.662903 267.708313,152.673645 C263.089844,148.573166 258.427490,144.595566 253.946381,140.423279 C242.820068,130.063721 231.814224,119.574814 220.689880,109.213112 C207.414932,96.848251 194.075836,84.552162 180.730927,72.262764 C179.828751,71.431946 178.644516,70.907402 177.061050,69.904449 C177.061050,97.827423 177.061050,125.180206 177.061050,152.764984 C168.609085,152.764984 160.539383,152.764984 152.233948,152.764984 C152.233948,107.919228 152.233948,63.162922 152.233948,17.442804 C155.759659,20.352665 159.058594,22.797844 162.038971,25.583809 C174.117966,36.874847 186.066513,48.305309 198.126877,59.616413 C207.151505,68.080421 216.276535,76.437363 225.351303,84.847969 C229.948792,89.108955 234.500137,93.420685 239.151474,97.621864 C240.155533,98.528748 241.499756,99.059021 243.000000,99.948097 C243.000000,93.455132 243.000000,87.476997 243.000000,80.999062 z"
|
|
1716
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1717
|
+
d: " M910.661926,153.000000 C903.038269,153.000000 895.869080,153.138168 888.713196,152.891953 C887.143921,152.837967 885.068787,151.816345 884.161133,150.563354 C871.556335,133.165085 859.116211,115.647606 846.629089,98.164024 C845.966187,97.235863 845.244202,96.349922 844.346069,95.178902 C838.674072,101.575691 833.524719,107.255989 828.577393,113.107101 C827.879700,113.932274 828.026184,115.590805 828.022156,116.864372 C827.984802,128.685226 828.000000,140.506256 828.000000,152.663452 C819.820374,152.663452 811.746399,152.663452 803.334839,152.663452 C803.334839,108.149933 803.334839,63.420792 803.334839,18.345610 C811.160645,18.345610 819.235168,18.345610 827.678711,18.345610 C827.678711,38.506351 827.678711,58.915283 827.678711,80.676361 C832.547607,75.480446 836.691406,71.259323 840.605835,66.835304 C847.007141,59.600666 853.248840,52.224957 859.577087,44.925423 C866.231323,37.249908 872.899475,29.586329 879.580261,21.933868 C881.789062,19.403814 884.046814,17.641920 887.978638,17.862658 C896.099915,18.318590 904.264587,18.000000 913.318359,18.000000 C909.295166,22.802053 905.802063,27.189381 902.080322,31.373291 C890.499390,44.392174 878.821899,57.325096 867.209778,70.316254 C865.692383,72.013901 864.110046,73.728264 863.004211,75.686913 C862.464294,76.643105 862.443909,78.537003 863.050659,79.400421 C873.732971,94.599892 884.529419,109.719383 895.342529,124.826630 C901.892395,133.977722 908.512756,143.078461 915.677795,153.000000 C913.601685,153.000000 912.361450,153.000000 910.661926,153.000000 z"
|
|
1718
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1719
|
+
d: " M596.929199,18.000000 C624.058044,18.298351 650.447327,36.316006 658.817078,66.054832 C665.643127,90.308754 660.427124,112.346733 643.258606,131.300949 C632.912842,142.722717 619.844910,149.712357 605.046021,151.664856 C586.753418,154.078339 569.095459,151.058884 553.696228,139.311996 C538.877991,128.008316 529.706116,113.117035 527.302063,95.041100 C524.859924,76.679077 528.575745,59.205280 540.407104,43.965412 C551.615723,29.527632 566.369629,21.425211 583.969360,18.135132 C587.995056,17.382574 592.278381,18.008503 596.929199,18.000000 M589.858582,38.001751 C577.114685,40.207760 566.024475,45.146076 557.696716,55.676926 C548.080322,67.837151 544.472290,81.513992 548.266174,96.258415 C555.857544,125.761482 588.236450,140.607986 614.995605,127.095215 C642.688599,113.110863 650.560669,76.721657 628.043457,52.695580 C618.120605,42.107773 605.447449,37.209694 589.858582,38.001751 z"
|
|
1720
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1721
|
+
d: " M283.337097,152.999969 C279.213562,153.293060 279.707184,151.671585 280.909821,149.218765 C285.791931,139.261703 290.573547,129.254608 295.313782,119.228897 C306.637177,95.279808 317.914398,71.308922 329.213989,47.348579 C333.458374,38.348545 337.705627,29.349840 341.974884,20.361595 C342.377808,19.513321 342.947998,18.744511 343.941742,17.118765 C365.343903,62.617363 386.433380,107.451149 407.857971,152.997406 C399.175629,152.997406 391.533783,153.206604 383.924042,152.806000 C382.542206,152.733246 380.859955,150.374023 380.056152,148.712479 C376.775543,141.930954 373.782043,135.010529 370.662262,128.095825 C352.590302,128.095825 334.607300,128.095825 316.238373,128.095825 C313.145264,135.157791 309.992004,142.322128 306.871490,149.500717 C305.799316,151.967163 304.361877,153.271423 301.288788,153.095932 C295.475830,152.763992 289.630402,152.999985 283.337097,152.999969 M357.233612,105.000000 C358.791687,104.927078 360.349762,104.854156 362.184387,104.768295 C355.774658,90.623322 349.593140,76.982010 343.472656,63.475372 C337.296448,77.078926 331.059998,90.815193 324.619904,105.000000 C335.701355,105.000000 345.995087,105.000000 357.233612,105.000000 z"
|
|
1722
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1723
|
+
d: " M553.000000,182.000000 C673.785400,182.000000 794.070862,182.000000 914.678101,182.000000 C914.678101,184.230164 914.678101,186.300903 914.678101,188.688812 C613.412109,188.688812 311.932343,188.688812 10.226280,188.688812 C10.226280,186.607132 10.226280,184.537598 10.226280,182.000000 C191.032730,182.000000 371.766357,182.000000 553.000000,182.000000 z"
|
|
1724
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1725
|
+
d: " M763.271729,124.290527 C767.045471,121.735161 770.525879,119.428955 773.908997,117.187172 C778.802979,122.189301 783.750854,127.246490 788.718750,132.324173 C767.428406,157.174423 722.870789,159.476486 696.633118,136.089890 C665.316711,108.176437 666.941467,60.746155 695.935547,34.601543 C723.733887,9.535212 768.332520,13.758317 788.770752,37.783039 C783.831726,42.699677 778.906555,47.602581 773.740417,52.745323 C769.980896,50.332146 765.807495,47.358677 761.369019,44.855141 C741.952759,33.903320 715.525085,41.071518 703.154663,60.489037 C685.530090,88.153946 701.108704,123.349464 733.290039,129.719406 C743.248718,131.690613 753.836243,130.568649 763.271729,124.290527 z"
|
|
1726
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1727
|
+
d: " M89.065086,42.809494 C96.380394,58.125313 103.711418,73.433655 111.003220,88.760651 C113.898926,94.847282 116.676910,100.989853 119.562057,107.081589 C126.698242,122.148979 133.865372,137.201721 141.216385,152.673538 C132.467331,152.673538 124.089355,152.673538 115.293709,152.673538 C112.294876,146.018585 109.007797,139.092819 106.066925,132.023041 C104.824631,129.036591 103.250557,127.872192 99.885086,127.913086 C83.560928,128.111420 67.233139,128.010376 50.435722,127.731995 C53.332184,120.586601 56.699547,113.724609 60.528751,106.926247 C72.245125,106.989876 83.499664,106.989876 95.093788,106.989876 C89.184761,93.734802 83.470062,80.915657 77.693474,67.703644 C81.442749,59.143681 85.253914,50.976589 89.065086,42.809494 z"
|
|
1728
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1729
|
+
fill: "#9B5192",
|
|
1730
|
+
d: " M60.066914,106.862617 C56.699547,113.724609 53.332184,120.586601 49.975365,127.830383 C46.390110,135.928253 42.794308,143.644318 38.582245,151.670212 C29.939066,151.944855 21.912146,151.909698 13.885223,151.874542 C14.364792,150.326294 14.663538,148.692291 15.351014,147.242645 C25.878349,125.044159 36.497864,102.889351 47.010223,80.683807 C56.320847,61.016727 65.518562,41.296207 74.797310,21.613977 C75.254089,20.645039 76.009422,19.816847 77.150719,18.161825 C81.353874,26.587799 85.218155,34.334435 89.073761,42.445282 C85.253914,50.976589 81.442749,59.143681 77.410156,67.893570 C74.926964,73.366013 72.602997,78.228050 70.417641,83.151611 C66.919067,91.033821 63.512421,98.956841 60.066914,106.862617 z"
|
|
1731
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1732
|
+
d: " M441.008850,232.067917 C441.859650,233.178818 442.676575,233.916138 443.960571,235.074982 C443.960571,228.834839 443.960571,223.126495 443.960571,217.216690 C446.746246,217.216690 449.148438,217.216690 451.777283,217.216690 C451.777283,228.060822 451.777283,238.799179 451.777283,249.556839 C446.555908,251.307800 443.539734,249.163025 440.813141,244.717133 C437.901947,239.970230 433.996094,235.833313 430.053833,230.833252 C430.053833,237.505173 430.053833,243.535461 430.053833,249.776031 C427.268127,249.776031 424.865784,249.776031 422.229065,249.776031 C422.229065,238.954025 422.229065,228.215561 422.229065,217.505035 C427.881287,215.105011 430.937622,218.569809 433.853638,222.441528 C436.195007,225.550217 438.598877,228.611816 441.008850,232.067917 z"
|
|
1733
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1734
|
+
d: " M480.611023,250.855804 C466.486420,246.741333 464.235352,233.059265 469.878815,224.348862 C473.362854,218.971481 481.955841,215.414520 489.251343,217.102463 C495.944031,218.650940 501.413391,225.279755 502.058289,231.776215 C503.193512,243.211594 494.290314,252.485565 480.611023,250.855804 M479.641663,242.093857 C480.196045,242.392883 480.719238,242.793564 481.309753,242.975006 C486.485413,244.565338 492.334015,241.497101 493.854309,236.428238 C495.142365,232.133591 491.113586,225.501190 486.384552,224.131195 C482.331604,222.957062 478.013245,226.328064 475.865784,231.425522 C473.932770,236.013977 476.349152,238.723328 479.641663,242.093857 z"
|
|
1735
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1736
|
+
d: " M556.830688,220.671371 C563.960571,216.598984 570.755188,215.117706 578.152161,219.504379 C586.290405,224.330597 588.809448,235.153992 582.810120,244.522430 C578.616943,251.070480 566.211304,253.016159 558.980957,248.534744 C549.128967,242.428436 548.517761,228.844345 556.830688,220.671371 M563.053223,241.582840 C569.771973,245.575500 577.480652,242.045731 577.999329,234.739136 C578.284363,230.724152 574.729004,225.484634 570.641052,224.257629 C566.026550,222.872559 563.110046,225.826492 560.684143,228.941635 C557.789612,232.658585 558.619202,236.837173 563.053223,241.582840 z"
|
|
1737
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1738
|
+
d: " M621.920654,242.977264 C623.043030,241.531067 623.742004,240.106934 624.714966,238.124420 C621.661743,238.124420 619.686951,238.124420 617.355530,238.124420 C617.355530,235.889313 617.355530,233.820145 617.355530,231.364777 C621.898682,231.364777 626.750366,231.364777 631.999451,231.364777 C631.999451,235.509216 632.297546,239.662354 631.843262,243.731491 C631.676697,245.222977 629.995178,246.970856 628.546631,247.821533 C621.489746,251.965683 614.164612,252.487350 607.089661,247.963333 C601.680115,244.504196 599.843994,239.031921 600.023804,232.854446 C600.213135,226.351593 604.687683,219.891190 610.625610,218.053513 C617.610840,215.891724 624.343018,216.149567 630.321594,221.656174 C628.911133,223.513733 627.666199,225.153275 626.034607,227.302139 C620.278564,223.864441 614.049866,221.817856 609.474792,229.142044 C607.304932,232.615738 607.451233,236.545197 610.357971,239.852081 C613.358276,243.265472 616.892029,245.111710 621.920654,242.977264 z"
|
|
1723
1739
|
}), /*#__PURE__*/createElement("path", {
|
|
1724
|
-
|
|
1725
|
-
|
|
1740
|
+
d: " M317.809021,249.999893 C310.046082,250.000000 302.765198,250.000000 295.244141,250.000000 C295.244141,238.979523 295.244141,228.261002 295.244141,217.270355 C303.636566,217.270355 312.027039,217.270355 320.709930,217.270355 C320.709930,219.271988 320.709930,221.339249 320.709930,223.803162 C315.110260,223.803162 309.367645,223.803162 303.247101,223.803162 C303.134094,225.898331 303.040283,227.638260 302.925507,229.766098 C307.831268,229.766098 312.579559,229.766098 317.662750,229.766098 C317.662750,232.198044 317.662750,234.266022 317.662750,236.881744 C313.073761,236.881744 308.191681,236.881744 303.197266,236.881744 C303.197266,239.161514 303.197266,240.896759 303.197266,243.006958 C309.128143,243.006958 314.877472,243.006958 321.425781,243.006958 C319.668274,245.531113 323.788300,249.452209 317.809021,249.999893 z"
|
|
1741
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1742
|
+
d: " M378.000000,223.094299 C378.000000,220.954681 378.000000,219.302032 378.000000,217.325104 C380.546875,217.325104 382.954498,217.325104 385.757751,217.325104 C385.757751,221.187363 385.757751,225.272171 385.757751,229.678406 C390.208282,229.678406 394.282074,229.678406 398.763367,229.678406 C398.763367,225.790314 398.763367,221.712875 398.763367,217.318512 C401.553162,217.318512 403.958832,217.318512 406.690369,217.318512 C406.690369,227.863983 406.690369,238.611008 406.690369,249.680099 C404.445190,249.680099 402.037170,249.680099 399.233124,249.680099 C399.233124,245.803009 399.233124,241.718018 399.233124,237.316925 C394.782227,237.316925 390.708527,237.316925 386.227539,237.316925 C386.227539,241.218948 386.227539,245.297058 386.227539,249.686401 C383.436920,249.686401 381.027344,249.686401 378.000000,249.686401 C378.000000,241.112595 378.000000,232.346939 378.000000,223.094299 z"
|
|
1743
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1744
|
+
d: " M359.708740,249.073227 C347.436340,254.958038 333.078064,247.206329 334.075928,232.758286 C334.522003,226.299698 337.499298,220.647110 343.747742,218.252869 C350.124664,215.809402 356.840454,215.909943 362.614685,220.393890 C363.353882,220.967896 363.387848,223.220810 362.926605,224.364456 C362.411011,225.642899 360.958405,226.543411 360.268860,227.246231 C356.768341,226.106094 353.571472,224.366577 350.325714,224.270020 C348.383575,224.212250 346.095642,226.460327 344.438568,228.140778 C341.315125,231.308319 341.327454,236.069565 344.057251,239.533066 C348.134460,244.706131 351.119690,244.800873 360.478455,239.757782 C361.646271,241.337662 362.919037,243.059540 364.418854,245.088562 C363.365173,246.039978 361.729553,247.516846 359.708740,249.073227 z"
|
|
1745
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1746
|
+
d: " M264.027283,248.734833 C264.003387,240.630539 264.003387,233.006439 264.003387,224.997635 C260.532990,224.997635 257.451202,224.997635 254.193878,224.997635 C254.193878,222.200241 254.193878,219.794647 254.193878,217.201965 C263.468353,217.201965 272.548737,217.201965 281.801941,217.201965 C281.801941,219.810669 281.801941,222.216476 281.801941,225.013306 C278.533356,225.013306 275.443634,225.013306 271.982727,225.013306 C271.982727,233.480179 271.982727,241.566605 271.982727,250.312714 C269.036621,249.904999 266.543884,249.560013 264.027283,248.734833 z"
|
|
1747
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1748
|
+
d: " M643.670410,220.212387 C642.890015,219.179291 642.388611,218.429306 641.832458,217.597321 C653.404114,213.870346 654.102295,224.179657 658.613647,229.641968 C660.169250,226.883835 661.989197,224.091782 663.377991,221.099655 C665.866577,215.737961 670.372314,216.856125 675.311768,217.249817 C672.107605,222.304947 669.616577,227.621902 665.864075,231.808121 C661.047791,237.181091 662.229797,243.327560 661.953979,249.689301 C659.761169,249.689301 657.692139,249.689301 655.263306,249.689301 C655.185791,248.631683 654.862183,247.330673 655.039246,246.101776 C655.890930,240.189178 653.628052,235.356949 650.288818,230.709564 C647.955872,227.462799 646.047485,223.911041 643.670410,220.212387 z"
|
|
1749
|
+
}), /*#__PURE__*/createElement("path", {
|
|
1750
|
+
d: " M524.000000,235.931824 C524.000000,238.408676 524.000000,240.393753 524.000000,242.782944 C529.231201,242.782944 534.307495,242.782944 539.690186,242.782944 C539.690186,245.250183 539.690186,247.321182 539.690186,249.699005 C532.127014,249.699005 524.375610,249.699005 516.310547,249.699005 C516.310547,239.097046 516.310547,228.358200 516.310547,217.308502 C518.575562,217.308502 520.980957,217.308502 524.000000,217.308502 C524.000000,223.233017 524.000000,229.336533 524.000000,235.931824 z"
|
|
1726
1751
|
}));
|
|
1727
1752
|
};
|
|
1728
1753
|
|
|
@@ -1916,15 +1941,17 @@ var Toast = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
1916
1941
|
pointerEvents: "none"
|
|
1917
1942
|
}, customStyles[position].transitions.leave),
|
|
1918
1943
|
config: animationConfig.config
|
|
1919
|
-
}, function (
|
|
1920
|
-
return show &&
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1944
|
+
}, function (show) {
|
|
1945
|
+
return show && function (styles) {
|
|
1946
|
+
return /*#__PURE__*/createElement(animated.div, {
|
|
1947
|
+
className: cx(toastWrapper, _this2.props.className),
|
|
1948
|
+
style: _objectSpread$b(_objectSpread$b({
|
|
1949
|
+
backgroundColor: bColor
|
|
1950
|
+
}, styles), customStyles[position].style)
|
|
1951
|
+
}, /*#__PURE__*/createElement("i", {
|
|
1952
|
+
className: iconClass
|
|
1953
|
+
}), _this2.state.text);
|
|
1954
|
+
};
|
|
1928
1955
|
});
|
|
1929
1956
|
}
|
|
1930
1957
|
}], [{
|
|
@@ -2042,16 +2069,15 @@ var Modal = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
2042
2069
|
createElement(MountTransition, {
|
|
2043
2070
|
visible: visible
|
|
2044
2071
|
}, function (transitionStyles) {
|
|
2045
|
-
return /*#__PURE__*/createElement(
|
|
2072
|
+
return /*#__PURE__*/createElement("div", {
|
|
2046
2073
|
style: {
|
|
2047
2074
|
opacity: transitionStyles.opacity
|
|
2048
2075
|
},
|
|
2049
2076
|
className: cx(modalContainer, backDropClassName)
|
|
2050
|
-
}, /*#__PURE__*/createElement(
|
|
2051
|
-
|
|
2077
|
+
}, /*#__PURE__*/createElement("div", {
|
|
2078
|
+
className: cx( /*#__PURE__*/css({
|
|
2052
2079
|
transform: transitionStyles.transform
|
|
2053
|
-
},
|
|
2054
|
-
className: modalClassName
|
|
2080
|
+
}, ";label:Modal-Modal;" + ( "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk1vZGFsLmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQytCIiwiZmlsZSI6Ik1vZGFsLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xuaW1wb3J0IHsgbW9kYWxDb250YWluZXIgfSBmcm9tIFwiLi9zdHlsZXMvTW9kYWwuc3R5bGVzXCI7XG5pbXBvcnQgeyBjeCwgY3NzIH0gZnJvbSBcImVtb3Rpb25cIjtcbmltcG9ydCBpc0Jyb3dzZXIgZnJvbSBcImlzLWluLWJyb3dzZXJcIjtcbmltcG9ydCAqIGFzIFJlYWN0RE9NIGZyb20gXCJyZWFjdC1kb21cIjtcbmltcG9yd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B7XG4gICAgICAgIGlmICghaXNCcm93c2VyKVxuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIGNvbnN0IHsgY2hpbGRyZW4sIHZpc2libGUsIGJhY2tEcm9wQ2xhc3NOYW1lLCBtb2RhbENsYXNzTmFtZSB9ID0gdGhpcy5wcm9wcztcbiAgICAgICAgY29uc3Qgbm9kZSA9IHRoaXMubm9kZTtcbiAgICAgICAgcmV0dXJuIFJlYWN0RE9NLmNyZWF0ZVBvcnRhbChcbiAgICAgICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOmpzeC13cmFwLW11bHRpbGluZVxuICAgICAgICA8TW91bnRUcmFuc2l0aW9uIHZpc2libGU9e3Zpc2libGV9PlxuICAgICAgICB7dHJhbnNpdGlvblN0eWxlcyA9PiAoPGRpdiBzdHlsZT17e1xuICAgICAgICAgICAgb3BhY2l0eTogdHJhbnNpdGlvblN0eWxlcy5vcGFjaXR5XG4gICAgICAgIH19IGNsYXNzTmFtZT17Y3gobW9kYWxDb250YWluZXIsIGJhY2tEcm9wQ2xhc3NOYW1lKX0+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT17Y3goY3NzKHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNpdGlvblN0eWxlcy50cmFuc2Zvcm1cbiAgICAgICAgfSksIG1vZGFsQ2xhc3NOYW1lKX0+XG4gICAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvZGl2Pil9XG4gICAgICA8L01vdW50VHJhbnNpdGlvbj4sIG5vZGUpO1xuICAgIH1cbn1cbmV4cG9ydCBkZWZhdWx0IE1vZGFsO1xuLy8jIHNvdXJjZU1hcHBpbmdVUkw9TW9kYWwuanN4Lm1hcCJdfQ== */")), modalClassName)
|
|
2055
2081
|
}, children));
|
|
2056
2082
|
}), node);
|
|
2057
2083
|
}
|
|
@@ -2932,12 +2958,10 @@ var PebblePopper = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
2932
2958
|
arrowProps = _ref2.arrowProps;
|
|
2933
2959
|
var wrapperStyle = _objectSpread$i(_objectSpread$i(_objectSpread$i({}, style), transitionStyles), {}, {
|
|
2934
2960
|
backgroundColor: popperBackgroundColor,
|
|
2935
|
-
transform:
|
|
2936
|
-
return "".concat(style.transform || "", " ").concat(t || "");
|
|
2937
|
-
}),
|
|
2961
|
+
transform: "".concat(style.transform || "", " ").concat(transitionStyles.transform || ""),
|
|
2938
2962
|
transformOrigin: "".concat(arrowProps.style.left || 0, "px ").concat(arrowProps.style.top || 0, "px")
|
|
2939
2963
|
});
|
|
2940
|
-
return /*#__PURE__*/createElement(
|
|
2964
|
+
return /*#__PURE__*/createElement("div", {
|
|
2941
2965
|
className: cx(popperStyle, popperClassName),
|
|
2942
2966
|
ref: ref,
|
|
2943
2967
|
style: wrapperStyle,
|
|
@@ -3696,7 +3720,7 @@ var SideBar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
3696
3720
|
closeOnOutsideClick = _this$props2.closeOnOutsideClick;
|
|
3697
3721
|
var _sidebarStyle = cx(sidebarStyle, /*#__PURE__*/css({
|
|
3698
3722
|
width: width
|
|
3699
|
-
}, ";label:Sidebar-SideBar;" + ( "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
3723
|
+
}, ";label:Sidebar-SideBar;" + ( "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNpZGViYXIuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJDK0MiLCJmaWxlIjoiU2lkZWJhci5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IGNsb3NlU3R5bGUsIHNpZGViYXJTdHlsZSwgc2lkZWJhcldyYXBwZXJTdHlsZSB9IGZyb20gXCIuL3N0eWxlcy9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#__PURE__*/createElement(MountTransition, Object.assign({
|
|
3701
3725
|
visible: isOpen
|
|
3702
3726
|
}, transitionProps), function (styles) {
|
|
@@ -4583,7 +4607,8 @@ var TypeAhead = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
4583
4607
|
onFocus: this.onFocus,
|
|
4584
4608
|
value: value
|
|
4585
4609
|
}, this.props), /*#__PURE__*/createElement(MountTransition, {
|
|
4586
|
-
visible: showSuggestions
|
|
4610
|
+
visible: showSuggestions,
|
|
4611
|
+
native: true
|
|
4587
4612
|
}, function (transitionStyles) {
|
|
4588
4613
|
return /*#__PURE__*/createElement(animated.div, {
|
|
4589
4614
|
style: transitionStyles,
|