mada-design-system 0.5.2 → 0.5.4
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/index.cjs100.js +1 -1
- package/index.cjs106.js +1 -1
- package/index.cjs107.js +1 -1
- package/index.cjs108.js +1 -1
- package/index.cjs109.js +1 -1
- package/index.cjs110.js +1 -1
- package/index.cjs111.js +1 -1
- package/index.cjs112.js +1 -1
- package/index.cjs114.js +1 -1
- package/index.cjs115.js +1 -1
- package/index.cjs116.js +1 -1
- package/index.cjs117.js +1 -1
- package/index.cjs118.js +1 -1
- package/index.cjs125.js +1 -1
- package/index.cjs126.js +1 -1
- package/index.cjs127.js +1 -1
- package/index.cjs129.js +1 -1
- package/index.cjs130.js +1 -1
- package/index.cjs131.js +1 -1
- package/index.cjs133.js +1 -1
- package/index.cjs134.js +1 -1
- package/index.cjs135.js +1 -1
- package/index.cjs136.js +1 -1
- package/index.cjs137.js +1 -1
- package/index.cjs138.js +1 -1
- package/index.cjs139.js +1 -1
- package/index.cjs140.js +1 -1
- package/index.cjs141.js +1 -1
- package/index.cjs148.js +1 -1
- package/index.cjs149.js +1 -1
- package/index.cjs150.js +1 -1
- package/index.cjs151.js +1 -1
- package/index.cjs153.js +1 -1
- package/index.cjs154.js +1 -1
- package/index.cjs155.js +1 -1
- package/index.cjs156.js +1 -1
- package/index.cjs159.js +1 -1
- package/index.cjs160.js +1 -1
- package/index.cjs161.js +1 -1
- package/index.cjs162.js +1 -1
- package/index.cjs163.js +1 -1
- package/index.cjs164.js +1 -1
- package/index.cjs165.js +1 -1
- package/index.cjs166.js +1 -1
- package/index.cjs167.js +1 -1
- package/index.cjs168.js +1 -1
- package/index.cjs170.js +1 -1
- package/index.cjs171.js +1 -1
- package/index.cjs172.js +1 -1
- package/index.cjs173.js +1 -1
- package/index.cjs175.js +1 -1
- package/index.cjs176.js +1 -1
- package/index.cjs180.js +1 -1
- package/index.cjs181.js +1 -1
- package/index.cjs182.js +1 -1
- package/index.cjs183.js +1 -1
- package/index.cjs184.js +1 -1
- package/index.cjs185.js +1 -1
- package/index.cjs186.js +1 -1
- package/index.cjs187.js +1 -1
- package/index.cjs188.js +1 -1
- package/index.cjs189.js +1 -1
- package/index.cjs190.js +1 -1
- package/index.cjs191.js +1 -1
- package/index.cjs192.js +1 -1
- package/index.cjs193.js +1 -4
- package/index.cjs194.js +1 -1
- package/index.cjs195.js +4 -1
- package/index.cjs198.js +1 -1
- package/index.cjs210.js +1 -1
- package/index.cjs214.js +1 -1
- package/index.cjs215.js +1 -1
- package/index.cjs216.js +1 -1
- package/index.cjs217.js +1 -1
- package/index.cjs219.js +1 -1
- package/index.cjs220.js +1 -1
- package/index.cjs228.js +1 -1
- package/index.cjs229.js +1 -1
- package/index.cjs230.js +1 -1
- package/index.cjs231.js +1 -1
- package/index.cjs249.js +1 -1
- package/index.cjs251.js +1 -1
- package/index.cjs252.js +1 -1
- package/index.cjs253.js +1 -1
- package/index.cjs254.js +1 -1
- package/index.cjs255.js +1 -1
- package/index.cjs256.js +1 -1
- package/index.cjs257.js +1 -1
- package/index.cjs259.js +1 -1
- package/index.cjs263.js +1 -1
- package/index.cjs264.js +1 -1
- package/index.cjs272.js +1 -1
- package/index.cjs273.js +1 -1
- package/index.cjs278.js +1 -1
- package/index.cjs279.js +1 -1
- package/index.cjs28.js +1 -1
- package/index.cjs280.js +1 -1
- package/index.cjs281.js +15 -1
- package/index.cjs282.js +1 -15
- package/index.cjs283.js +1 -1
- package/index.cjs284.js +1 -1
- package/index.cjs285.js +1 -1
- package/index.cjs286.js +1 -1
- package/index.cjs287.js +1 -1
- package/index.cjs288.js +1 -1
- package/index.cjs289.js +1 -1
- package/index.cjs290.js +1 -1
- package/index.cjs291.js +1 -1
- package/index.cjs292.js +1 -1
- package/index.cjs293.js +1 -1
- package/index.cjs294.js +1 -1
- package/index.cjs295.js +1 -1
- package/index.cjs296.js +1 -1
- package/index.cjs297.js +1 -1
- package/index.cjs298.js +1 -1
- package/index.cjs299.js +1 -1
- package/index.cjs30.js +1 -1
- package/index.cjs300.js +1 -1
- package/index.cjs301.js +1 -1
- package/index.cjs302.js +1 -1
- package/index.cjs303.js +1 -1
- package/index.cjs308.js +1 -1
- package/index.cjs309.js +1 -1
- package/index.cjs310.js +1 -1
- package/index.cjs311.js +1 -1
- package/index.cjs312.js +1 -1
- package/index.cjs313.js +1 -1
- package/index.cjs314.js +1 -1
- package/index.cjs315.js +1 -1
- package/index.cjs316.js +1 -1
- package/index.cjs317.js +1 -1
- package/index.cjs318.js +1 -1
- package/index.cjs322.js +1 -1
- package/index.cjs323.js +1 -1
- package/index.cjs324.js +1 -1
- package/index.cjs325.js +1 -1
- package/index.cjs326.js +1 -1
- package/index.cjs327.js +1 -1
- package/index.cjs328.js +1 -1
- package/index.cjs329.js +1 -1
- package/index.cjs330.js +1 -1
- package/index.cjs331.js +1 -1
- package/index.cjs332.js +1 -1
- package/index.cjs333.js +1 -1
- package/index.cjs334.js +1 -1
- package/index.cjs335.js +1 -1
- package/index.cjs336.js +1 -1
- package/index.cjs337.js +1 -1
- package/index.cjs338.js +1 -1
- package/index.cjs339.js +1 -1
- package/index.cjs340.js +1 -1
- package/index.cjs341.js +1 -1
- package/index.cjs342.js +1 -1
- package/index.cjs343.js +1 -1
- package/index.cjs344.js +1 -1
- package/index.cjs345.js +1 -1
- package/index.cjs346.js +1 -1
- package/index.cjs347.js +1 -1
- package/index.cjs348.js +1 -1
- package/index.cjs349.js +1 -1
- package/index.cjs350.js +1 -1
- package/index.cjs351.js +1 -1
- package/index.cjs352.js +1 -1
- package/index.cjs353.js +1 -1
- package/index.cjs354.js +1 -1
- package/index.cjs355.js +1 -1
- package/index.cjs356.js +1 -1
- package/index.cjs357.js +1 -1
- package/index.cjs358.js +1 -1
- package/index.cjs359.js +1 -1
- package/index.cjs360.js +1 -1
- package/index.cjs361.js +1 -1
- package/index.cjs362.js +1 -1
- package/index.cjs363.js +1 -1
- package/index.cjs364.js +1 -1
- package/index.cjs366.js +1 -1
- package/index.cjs367.js +1 -1
- package/index.cjs368.js +1 -1
- package/index.cjs369.js +1 -1
- package/index.cjs370.js +1 -1
- package/index.cjs371.js +1 -1
- package/index.cjs372.js +1 -1
- package/index.cjs373.js +1 -1
- package/index.cjs374.js +1 -1
- package/index.cjs375.js +1 -1
- package/index.cjs376.js +1 -1
- package/index.cjs377.js +1 -1
- package/index.cjs378.js +1 -1
- package/index.cjs379.js +1 -1
- package/index.cjs380.js +1 -1
- package/index.cjs381.js +1 -1
- package/index.cjs382.js +1 -1
- package/index.cjs383.js +1 -1
- package/index.cjs386.js +1 -1
- package/index.cjs387.js +1 -1
- package/index.cjs388.js +1 -1
- package/index.cjs389.js +1 -2
- package/index.cjs390.js +1 -1
- package/index.cjs391.js +1 -1
- package/index.cjs392.js +2 -1
- package/index.cjs393.js +1 -1
- package/index.cjs394.js +1 -1
- package/index.cjs395.js +1 -1
- package/index.cjs396.js +1 -1
- package/index.cjs397.js +1 -1
- package/index.cjs398.js +1 -1
- package/index.cjs399.js +1 -1
- package/index.cjs400.js +1 -1
- package/index.cjs401.js +1 -1
- package/index.cjs402.js +1 -1
- package/index.cjs403.js +1 -1
- package/index.cjs404.js +1 -1
- package/index.cjs405.js +1 -1
- package/index.cjs408.js +1 -1
- package/index.cjs410.js +1 -1
- package/index.cjs414.js +1 -1
- package/index.cjs415.js +1 -1
- package/index.cjs416.js +1 -1
- package/index.cjs418.js +1 -1
- package/index.cjs419.js +1 -1
- package/index.cjs420.js +1 -1
- package/index.cjs421.js +1 -1
- package/index.cjs422.js +1 -1
- package/index.cjs423.js +1 -1
- package/index.cjs424.js +1 -1
- package/index.cjs425.js +1 -1
- package/index.cjs426.js +1 -1
- package/index.cjs427.js +1 -1
- package/index.es100.js +1 -1
- package/index.es106.js +2 -2
- package/index.es107.js +1 -1
- package/index.es108.js +1 -1
- package/index.es109.js +1 -1
- package/index.es110.js +1 -1
- package/index.es111.js +1 -1
- package/index.es112.js +2 -2
- package/index.es114.js +1 -1
- package/index.es115.js +1 -1
- package/index.es116.js +1 -1
- package/index.es117.js +1 -1
- package/index.es118.js +1 -1
- package/index.es125.js +1 -1
- package/index.es126.js +1 -1
- package/index.es127.js +1 -1
- package/index.es129.js +1 -1
- package/index.es130.js +1 -1
- package/index.es131.js +1 -1
- package/index.es133.js +1 -1
- package/index.es134.js +1 -1
- package/index.es135.js +1 -1
- package/index.es136.js +1 -1
- package/index.es137.js +1 -1
- package/index.es138.js +1 -1
- package/index.es139.js +1 -1
- package/index.es140.js +1 -1
- package/index.es141.js +1 -1
- package/index.es148.js +1 -1
- package/index.es149.js +1 -1
- package/index.es150.js +1 -1
- package/index.es151.js +1 -1
- package/index.es153.js +1 -1
- package/index.es154.js +1 -1
- package/index.es155.js +1 -1
- package/index.es156.js +1 -1
- package/index.es159.js +1 -1
- package/index.es160.js +1 -1
- package/index.es161.js +1 -1
- package/index.es162.js +1 -1
- package/index.es163.js +1 -1
- package/index.es164.js +2 -2
- package/index.es165.js +1 -1
- package/index.es166.js +2 -2
- package/index.es167.js +1 -1
- package/index.es168.js +1 -1
- package/index.es170.js +1 -1
- package/index.es171.js +1 -1
- package/index.es172.js +1 -1
- package/index.es173.js +1 -1
- package/index.es175.js +1 -1
- package/index.es176.js +3 -3
- package/index.es180.js +1 -1
- package/index.es181.js +468 -221
- package/index.es182.js +231 -52
- package/index.es183.js +53 -30
- package/index.es184.js +6 -12
- package/index.es185.js +38 -5
- package/index.es186.js +28 -477
- package/index.es187.js +12 -18
- package/index.es188.js +15 -32
- package/index.es189.js +34 -1223
- package/index.es190.js +1223 -13
- package/index.es191.js +14 -8
- package/index.es192.js +8 -2
- package/index.es193.js +49 -2260
- package/index.es194.js +2 -50
- package/index.es195.js +2260 -38
- package/index.es198.js +1 -1
- package/index.es210.js +3 -3
- package/index.es214.js +4 -4
- package/index.es215.js +1 -1
- package/index.es216.js +1 -1
- package/index.es217.js +3 -3
- package/index.es219.js +3 -3
- package/index.es220.js +1 -1
- package/index.es228.js +5 -5
- package/index.es229.js +7 -7
- package/index.es230.js +1 -1
- package/index.es231.js +2 -2
- package/index.es249.js +1 -1
- package/index.es251.js +1 -1
- package/index.es252.js +3 -3
- package/index.es253.js +3 -3
- package/index.es254.js +3 -3
- package/index.es255.js +3 -3
- package/index.es256.js +1 -1
- package/index.es257.js +3 -3
- package/index.es259.js +2 -2
- package/index.es263.js +4 -4
- package/index.es264.js +1 -1
- package/index.es272.js +1 -1
- package/index.es273.js +1 -1
- package/index.es278.js +2 -38
- package/index.es279.js +60 -2
- package/index.es28.js +1 -1
- package/index.es280.js +14 -57
- package/index.es281.js +243 -16
- package/index.es282.js +71 -241
- package/index.es283.js +4 -73
- package/index.es284.js +57 -4
- package/index.es285.js +11 -58
- package/index.es286.js +7 -11
- package/index.es287.js +35 -6
- package/index.es288.js +26 -35
- package/index.es289.js +291 -27
- package/index.es290.js +90 -290
- package/index.es291.js +3 -91
- package/index.es292.js +8 -3
- package/index.es293.js +15 -7
- package/index.es294.js +145 -14
- package/index.es295.js +37 -146
- package/index.es296.js +117 -8
- package/index.es297.js +6 -7
- package/index.es298.js +8 -351
- package/index.es299.js +8 -3
- package/index.es30.js +18 -16
- package/index.es300.js +337 -192
- package/index.es301.js +3 -120
- package/index.es302.js +206 -7
- package/index.es303.js +11 -8
- package/index.es308.js +6 -15
- package/index.es309.js +5 -6
- package/index.es310.js +2 -3
- package/index.es311.js +117 -4
- package/index.es312.js +5 -117
- package/index.es313.js +8 -5
- package/index.es314.js +3 -8
- package/index.es315.js +3 -3
- package/index.es316.js +2 -2
- package/index.es317.js +4 -3
- package/index.es318.js +15 -4
- package/index.es322.js +2 -6
- package/index.es323.js +2 -24
- package/index.es324.js +12 -20
- package/index.es325.js +143 -32
- package/index.es326.js +43 -6
- package/index.es327.js +2 -2
- package/index.es328.js +40 -6
- package/index.es329.js +7 -18
- package/index.es330.js +69 -60
- package/index.es331.js +54 -15
- package/index.es332.js +7 -3
- package/index.es333.js +76 -2
- package/index.es334.js +24 -2
- package/index.es335.js +60 -11
- package/index.es336.js +5 -143
- package/index.es337.js +6 -42
- package/index.es338.js +32 -3
- package/index.es339.js +57 -39
- package/index.es340.js +12 -7
- package/index.es341.js +4 -76
- package/index.es342.js +8 -53
- package/index.es343.js +55 -8
- package/index.es344.js +4 -76
- package/index.es345.js +5 -24
- package/index.es346.js +17 -62
- package/index.es347.js +17 -5
- package/index.es348.js +17 -59
- package/index.es349.js +17 -13
- package/index.es350.js +17 -4
- package/index.es351.js +17 -10
- package/index.es352.js +17 -55
- package/index.es353.js +6 -5
- package/index.es354.js +6 -17
- package/index.es355.js +24 -17
- package/index.es356.js +21 -17
- package/index.es357.js +3 -17
- package/index.es358.js +19 -17
- package/index.es359.js +67 -17
- package/index.es360.js +16 -17
- package/index.es361.js +15 -6
- package/index.es362.js +335 -29
- package/index.es363.js +1 -1
- package/index.es364.js +1 -1
- package/index.es366.js +19 -336
- package/index.es367.js +4 -19
- package/index.es368.js +6 -4
- package/index.es369.js +3 -6
- package/index.es370.js +72 -3
- package/index.es371.js +4 -72
- package/index.es372.js +7 -4
- package/index.es373.js +28 -14
- package/index.es374.js +1 -1
- package/index.es375.js +6 -7
- package/index.es376.js +7 -6
- package/index.es377.js +2 -2
- package/index.es378.js +71 -2
- package/index.es379.js +92 -2
- package/index.es380.js +2 -71
- package/index.es381.js +2 -92
- package/index.es382.js +2 -2
- package/index.es383.js +2 -2
- package/index.es386.js +11 -2
- package/index.es387.js +3 -66
- package/index.es388.js +8 -65
- package/index.es389.js +4 -78
- package/index.es390.js +42 -255
- package/index.es391.js +24 -31
- package/index.es392.js +78 -6
- package/index.es393.js +247 -120
- package/index.es394.js +34 -17
- package/index.es395.js +6 -7
- package/index.es396.js +131 -8
- package/index.es397.js +17 -6
- package/index.es398.js +6 -45
- package/index.es399.js +2 -25
- package/index.es400.js +65 -9
- package/index.es401.js +65 -3
- package/index.es402.js +6 -2
- package/index.es403.js +3 -5
- package/index.es404.js +2 -4
- package/index.es405.js +1 -1
- package/index.es408.js +1 -1
- package/index.es410.js +1 -1
- package/index.es414.js +249 -2
- package/index.es415.js +20 -2
- package/index.es416.js +51 -8
- package/index.es418.js +42 -19
- package/index.es419.js +16 -51
- package/index.es420.js +10 -249
- package/index.es421.js +48 -43
- package/index.es422.js +24 -14
- package/index.es423.js +129 -10
- package/index.es424.js +107 -43
- package/index.es425.js +7 -25
- package/index.es426.js +2 -129
- package/index.es427.js +2 -112
- package/package.json +1 -1
package/index.es284.js
CHANGED
|
@@ -1,7 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import f from "./index.es197.js";
|
|
2
|
+
import u from "./index.es196.js";
|
|
3
|
+
const l = ["duration", "easing", "delay"], p = {
|
|
4
|
+
// This is the most common easing curve.
|
|
5
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
6
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
7
|
+
// slowly decelerate to a resting point.
|
|
8
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
9
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
10
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
11
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
12
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
13
|
+
}, y = {
|
|
14
|
+
shortest: 150,
|
|
15
|
+
shorter: 200,
|
|
16
|
+
short: 250,
|
|
17
|
+
// most basic recommended timing
|
|
18
|
+
standard: 300,
|
|
19
|
+
// this is to be used in complex animations
|
|
20
|
+
complex: 375,
|
|
21
|
+
// recommended when something is entering screen
|
|
22
|
+
enteringScreen: 225,
|
|
23
|
+
// recommended when something is leaving screen
|
|
24
|
+
leavingScreen: 195
|
|
25
|
+
};
|
|
26
|
+
function m(e) {
|
|
27
|
+
return `${Math.round(e)}ms`;
|
|
28
|
+
}
|
|
29
|
+
function h(e) {
|
|
30
|
+
if (!e)
|
|
31
|
+
return 0;
|
|
32
|
+
const t = e / 36;
|
|
33
|
+
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
34
|
+
}
|
|
35
|
+
function O(e) {
|
|
36
|
+
const t = u({}, p, e.easing), c = u({}, y, e.duration);
|
|
37
|
+
return u({
|
|
38
|
+
getAutoHeightDuration: h,
|
|
39
|
+
create: (n = ["all"], s = {}) => {
|
|
40
|
+
const {
|
|
41
|
+
duration: o = c.standard,
|
|
42
|
+
easing: g = t.easeInOut,
|
|
43
|
+
delay: i = 0
|
|
44
|
+
} = s, b = f(s, l);
|
|
45
|
+
if (process.env.NODE_ENV !== "production") {
|
|
46
|
+
const r = (a) => typeof a == "string", d = (a) => !isNaN(parseFloat(a));
|
|
47
|
+
!r(n) && Array.isArray(n), !d(o) && r(o), r(g), !d(i) && r(i), Object.keys(b).length;
|
|
48
|
+
}
|
|
49
|
+
return (Array.isArray(n) ? n : [n]).map((r) => `${r} ${typeof o == "string" ? o : m(o)} ${g} ${typeof i == "string" ? i : m(i)}`).join(",");
|
|
50
|
+
}
|
|
51
|
+
}, e, {
|
|
52
|
+
easing: t,
|
|
53
|
+
duration: c
|
|
54
|
+
});
|
|
3
55
|
}
|
|
4
|
-
const t = ["none", a(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), a(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), a(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), a(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), a(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), a(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), a(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), a(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), a(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), a(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), a(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), a(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), a(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), a(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), a(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), a(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), a(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), a(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), a(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), a(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), a(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), a(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), a(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), a(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], s = t;
|
|
5
56
|
export {
|
|
6
|
-
|
|
57
|
+
O as default,
|
|
58
|
+
y as duration,
|
|
59
|
+
p as easing
|
|
7
60
|
};
|
package/index.es285.js
CHANGED
|
@@ -1,60 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// The sharp curve is used by objects that may return to the screen at any time.
|
|
12
|
-
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
13
|
-
}, y = {
|
|
14
|
-
shortest: 150,
|
|
15
|
-
shorter: 200,
|
|
16
|
-
short: 250,
|
|
17
|
-
// most basic recommended timing
|
|
18
|
-
standard: 300,
|
|
19
|
-
// this is to be used in complex animations
|
|
20
|
-
complex: 375,
|
|
21
|
-
// recommended when something is entering screen
|
|
22
|
-
enteringScreen: 225,
|
|
23
|
-
// recommended when something is leaving screen
|
|
24
|
-
leavingScreen: 195
|
|
25
|
-
};
|
|
26
|
-
function m(e) {
|
|
27
|
-
return `${Math.round(e)}ms`;
|
|
28
|
-
}
|
|
29
|
-
function h(e) {
|
|
30
|
-
if (!e)
|
|
31
|
-
return 0;
|
|
32
|
-
const t = e / 36;
|
|
33
|
-
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
34
|
-
}
|
|
35
|
-
function O(e) {
|
|
36
|
-
const t = u({}, p, e.easing), c = u({}, y, e.duration);
|
|
37
|
-
return u({
|
|
38
|
-
getAutoHeightDuration: h,
|
|
39
|
-
create: (n = ["all"], s = {}) => {
|
|
40
|
-
const {
|
|
41
|
-
duration: o = c.standard,
|
|
42
|
-
easing: g = t.easeInOut,
|
|
43
|
-
delay: i = 0
|
|
44
|
-
} = s, b = f(s, l);
|
|
45
|
-
if (process.env.NODE_ENV !== "production") {
|
|
46
|
-
const r = (a) => typeof a == "string", d = (a) => !isNaN(parseFloat(a));
|
|
47
|
-
!r(n) && Array.isArray(n), !d(o) && r(o), r(g), !d(i) && r(i), Object.keys(b).length;
|
|
48
|
-
}
|
|
49
|
-
return (Array.isArray(n) ? n : [n]).map((r) => `${r} ${typeof o == "string" ? o : m(o)} ${g} ${typeof i == "string" ? i : m(i)}`).join(",");
|
|
50
|
-
}
|
|
51
|
-
}, e, {
|
|
52
|
-
easing: t,
|
|
53
|
-
duration: c
|
|
54
|
-
});
|
|
55
|
-
}
|
|
1
|
+
const a = {
|
|
2
|
+
mobileStepper: 1e3,
|
|
3
|
+
fab: 1050,
|
|
4
|
+
speedDial: 1050,
|
|
5
|
+
appBar: 1100,
|
|
6
|
+
drawer: 1200,
|
|
7
|
+
modal: 1300,
|
|
8
|
+
snackbar: 1400,
|
|
9
|
+
tooltip: 1500
|
|
10
|
+
}, e = a;
|
|
56
11
|
export {
|
|
57
|
-
|
|
58
|
-
y as duration,
|
|
59
|
-
p as easing
|
|
12
|
+
e as default
|
|
60
13
|
};
|
package/index.es286.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
modal: 1300,
|
|
8
|
-
snackbar: 1400,
|
|
9
|
-
tooltip: 1500
|
|
10
|
-
}, e = a;
|
|
1
|
+
function o(e) {
|
|
2
|
+
let t = "https://mui.com/production-error/?code=" + e;
|
|
3
|
+
for (let r = 1; r < arguments.length; r += 1)
|
|
4
|
+
t += "&args[]=" + encodeURIComponent(arguments[r]);
|
|
5
|
+
return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
|
|
6
|
+
}
|
|
11
7
|
export {
|
|
12
|
-
|
|
8
|
+
o as default
|
|
13
9
|
};
|
package/index.es287.js
CHANGED
|
@@ -1,9 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import p from "./index.es196.js";
|
|
2
|
+
import h from "./index.es197.js";
|
|
3
|
+
import d from "./index.es339.js";
|
|
4
|
+
import g from "./index.es341.js";
|
|
5
|
+
import x from "./index.es340.js";
|
|
6
|
+
import b from "./index.es290.js";
|
|
7
|
+
import _ from "./index.es289.js";
|
|
8
|
+
import k from "./index.es398.js";
|
|
9
|
+
import s from "./index.es288.js";
|
|
10
|
+
const y = ["breakpoints", "palette", "spacing", "shape"];
|
|
11
|
+
function P(r = {}, ...i) {
|
|
12
|
+
const {
|
|
13
|
+
breakpoints: a = {},
|
|
14
|
+
palette: m = {},
|
|
15
|
+
spacing: c,
|
|
16
|
+
shape: l = {}
|
|
17
|
+
} = r, t = h(r, y), u = d(a), f = x(c);
|
|
18
|
+
let e = s({
|
|
19
|
+
breakpoints: u,
|
|
20
|
+
direction: "ltr",
|
|
21
|
+
components: {},
|
|
22
|
+
// Inject component definitions.
|
|
23
|
+
palette: p({
|
|
24
|
+
mode: "light"
|
|
25
|
+
}, m),
|
|
26
|
+
spacing: f,
|
|
27
|
+
shape: p({}, g, l)
|
|
28
|
+
}, t);
|
|
29
|
+
return e.applyStyles = k, e = i.reduce((n, o) => s(n, o), e), e.unstable_sxConfig = p({}, _, t == null ? void 0 : t.unstable_sxConfig), e.unstable_sx = function(o) {
|
|
30
|
+
return b({
|
|
31
|
+
sx: o,
|
|
32
|
+
theme: this
|
|
33
|
+
});
|
|
34
|
+
}, e;
|
|
6
35
|
}
|
|
7
36
|
export {
|
|
8
|
-
|
|
37
|
+
P as default
|
|
9
38
|
};
|
package/index.es288.js
CHANGED
|
@@ -1,38 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
//
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, m),
|
|
26
|
-
spacing: f,
|
|
27
|
-
shape: p({}, g, l)
|
|
28
|
-
}, t);
|
|
29
|
-
return e.applyStyles = k, e = i.reduce((n, o) => s(n, o), e), e.unstable_sxConfig = p({}, _, t == null ? void 0 : t.unstable_sxConfig), e.unstable_sx = function(o) {
|
|
30
|
-
return b({
|
|
31
|
-
sx: o,
|
|
32
|
-
theme: this
|
|
33
|
-
});
|
|
34
|
-
}, e;
|
|
1
|
+
import r from "./index.es196.js";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
function f(t) {
|
|
4
|
+
if (typeof t != "object" || t === null)
|
|
5
|
+
return !1;
|
|
6
|
+
const n = Object.getPrototypeOf(t);
|
|
7
|
+
return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
8
|
+
}
|
|
9
|
+
function p(t) {
|
|
10
|
+
if (/* @__PURE__ */ i.isValidElement(t) || !f(t))
|
|
11
|
+
return t;
|
|
12
|
+
const n = {};
|
|
13
|
+
return Object.keys(t).forEach((o) => {
|
|
14
|
+
n[o] = p(t[o]);
|
|
15
|
+
}), n;
|
|
16
|
+
}
|
|
17
|
+
function b(t, n, o = {
|
|
18
|
+
clone: !0
|
|
19
|
+
}) {
|
|
20
|
+
const e = o.clone ? r({}, t) : t;
|
|
21
|
+
return f(t) && f(n) && Object.keys(n).forEach((l) => {
|
|
22
|
+
/* @__PURE__ */ i.isValidElement(n[l]) ? e[l] = n[l] : f(n[l]) && // Avoid prototype pollution
|
|
23
|
+
Object.prototype.hasOwnProperty.call(t, l) && f(t[l]) ? e[l] = b(t[l], n[l], o) : o.clone ? e[l] = f(n[l]) ? p(n[l]) : n[l] : e[l] = n[l];
|
|
24
|
+
}), e;
|
|
35
25
|
}
|
|
36
26
|
export {
|
|
37
|
-
|
|
27
|
+
b as default,
|
|
28
|
+
f as isPlainObject
|
|
38
29
|
};
|
package/index.es289.js
CHANGED
|
@@ -1,29 +1,293 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import { padding as e, margin as t } from "./index.es330.js";
|
|
2
|
+
import { borderTransform as r, borderRadius as s } from "./index.es326.js";
|
|
3
|
+
import { gap as i, rowGap as n, columnGap as m } from "./index.es333.js";
|
|
4
|
+
import { paletteTransform as l } from "./index.es334.js";
|
|
5
|
+
import { sizingTransform as o, maxWidth as y } from "./index.es335.js";
|
|
6
|
+
const d = {
|
|
7
|
+
// borders
|
|
8
|
+
border: {
|
|
9
|
+
themeKey: "borders",
|
|
10
|
+
transform: r
|
|
11
|
+
},
|
|
12
|
+
borderTop: {
|
|
13
|
+
themeKey: "borders",
|
|
14
|
+
transform: r
|
|
15
|
+
},
|
|
16
|
+
borderRight: {
|
|
17
|
+
themeKey: "borders",
|
|
18
|
+
transform: r
|
|
19
|
+
},
|
|
20
|
+
borderBottom: {
|
|
21
|
+
themeKey: "borders",
|
|
22
|
+
transform: r
|
|
23
|
+
},
|
|
24
|
+
borderLeft: {
|
|
25
|
+
themeKey: "borders",
|
|
26
|
+
transform: r
|
|
27
|
+
},
|
|
28
|
+
borderColor: {
|
|
29
|
+
themeKey: "palette"
|
|
30
|
+
},
|
|
31
|
+
borderTopColor: {
|
|
32
|
+
themeKey: "palette"
|
|
33
|
+
},
|
|
34
|
+
borderRightColor: {
|
|
35
|
+
themeKey: "palette"
|
|
36
|
+
},
|
|
37
|
+
borderBottomColor: {
|
|
38
|
+
themeKey: "palette"
|
|
39
|
+
},
|
|
40
|
+
borderLeftColor: {
|
|
41
|
+
themeKey: "palette"
|
|
42
|
+
},
|
|
43
|
+
outline: {
|
|
44
|
+
themeKey: "borders",
|
|
45
|
+
transform: r
|
|
46
|
+
},
|
|
47
|
+
outlineColor: {
|
|
48
|
+
themeKey: "palette"
|
|
49
|
+
},
|
|
50
|
+
borderRadius: {
|
|
51
|
+
themeKey: "shape.borderRadius",
|
|
52
|
+
style: s
|
|
53
|
+
},
|
|
54
|
+
// palette
|
|
55
|
+
color: {
|
|
56
|
+
themeKey: "palette",
|
|
57
|
+
transform: l
|
|
58
|
+
},
|
|
59
|
+
bgcolor: {
|
|
60
|
+
themeKey: "palette",
|
|
61
|
+
cssProperty: "backgroundColor",
|
|
62
|
+
transform: l
|
|
63
|
+
},
|
|
64
|
+
backgroundColor: {
|
|
65
|
+
themeKey: "palette",
|
|
66
|
+
transform: l
|
|
67
|
+
},
|
|
68
|
+
// spacing
|
|
69
|
+
p: {
|
|
70
|
+
style: e
|
|
71
|
+
},
|
|
72
|
+
pt: {
|
|
73
|
+
style: e
|
|
74
|
+
},
|
|
75
|
+
pr: {
|
|
76
|
+
style: e
|
|
77
|
+
},
|
|
78
|
+
pb: {
|
|
79
|
+
style: e
|
|
80
|
+
},
|
|
81
|
+
pl: {
|
|
82
|
+
style: e
|
|
83
|
+
},
|
|
84
|
+
px: {
|
|
85
|
+
style: e
|
|
86
|
+
},
|
|
87
|
+
py: {
|
|
88
|
+
style: e
|
|
89
|
+
},
|
|
90
|
+
padding: {
|
|
91
|
+
style: e
|
|
92
|
+
},
|
|
93
|
+
paddingTop: {
|
|
94
|
+
style: e
|
|
95
|
+
},
|
|
96
|
+
paddingRight: {
|
|
97
|
+
style: e
|
|
98
|
+
},
|
|
99
|
+
paddingBottom: {
|
|
100
|
+
style: e
|
|
101
|
+
},
|
|
102
|
+
paddingLeft: {
|
|
103
|
+
style: e
|
|
104
|
+
},
|
|
105
|
+
paddingX: {
|
|
106
|
+
style: e
|
|
107
|
+
},
|
|
108
|
+
paddingY: {
|
|
109
|
+
style: e
|
|
110
|
+
},
|
|
111
|
+
paddingInline: {
|
|
112
|
+
style: e
|
|
113
|
+
},
|
|
114
|
+
paddingInlineStart: {
|
|
115
|
+
style: e
|
|
116
|
+
},
|
|
117
|
+
paddingInlineEnd: {
|
|
118
|
+
style: e
|
|
119
|
+
},
|
|
120
|
+
paddingBlock: {
|
|
121
|
+
style: e
|
|
122
|
+
},
|
|
123
|
+
paddingBlockStart: {
|
|
124
|
+
style: e
|
|
125
|
+
},
|
|
126
|
+
paddingBlockEnd: {
|
|
127
|
+
style: e
|
|
128
|
+
},
|
|
129
|
+
m: {
|
|
130
|
+
style: t
|
|
131
|
+
},
|
|
132
|
+
mt: {
|
|
133
|
+
style: t
|
|
134
|
+
},
|
|
135
|
+
mr: {
|
|
136
|
+
style: t
|
|
137
|
+
},
|
|
138
|
+
mb: {
|
|
139
|
+
style: t
|
|
140
|
+
},
|
|
141
|
+
ml: {
|
|
142
|
+
style: t
|
|
143
|
+
},
|
|
144
|
+
mx: {
|
|
145
|
+
style: t
|
|
146
|
+
},
|
|
147
|
+
my: {
|
|
148
|
+
style: t
|
|
149
|
+
},
|
|
150
|
+
margin: {
|
|
151
|
+
style: t
|
|
152
|
+
},
|
|
153
|
+
marginTop: {
|
|
154
|
+
style: t
|
|
155
|
+
},
|
|
156
|
+
marginRight: {
|
|
157
|
+
style: t
|
|
158
|
+
},
|
|
159
|
+
marginBottom: {
|
|
160
|
+
style: t
|
|
161
|
+
},
|
|
162
|
+
marginLeft: {
|
|
163
|
+
style: t
|
|
164
|
+
},
|
|
165
|
+
marginX: {
|
|
166
|
+
style: t
|
|
167
|
+
},
|
|
168
|
+
marginY: {
|
|
169
|
+
style: t
|
|
170
|
+
},
|
|
171
|
+
marginInline: {
|
|
172
|
+
style: t
|
|
173
|
+
},
|
|
174
|
+
marginInlineStart: {
|
|
175
|
+
style: t
|
|
176
|
+
},
|
|
177
|
+
marginInlineEnd: {
|
|
178
|
+
style: t
|
|
179
|
+
},
|
|
180
|
+
marginBlock: {
|
|
181
|
+
style: t
|
|
182
|
+
},
|
|
183
|
+
marginBlockStart: {
|
|
184
|
+
style: t
|
|
185
|
+
},
|
|
186
|
+
marginBlockEnd: {
|
|
187
|
+
style: t
|
|
188
|
+
},
|
|
189
|
+
// display
|
|
190
|
+
displayPrint: {
|
|
191
|
+
cssProperty: !1,
|
|
192
|
+
transform: (a) => ({
|
|
193
|
+
"@media print": {
|
|
194
|
+
display: a
|
|
195
|
+
}
|
|
196
|
+
})
|
|
197
|
+
},
|
|
198
|
+
display: {},
|
|
199
|
+
overflow: {},
|
|
200
|
+
textOverflow: {},
|
|
201
|
+
visibility: {},
|
|
202
|
+
whiteSpace: {},
|
|
203
|
+
// flexbox
|
|
204
|
+
flexBasis: {},
|
|
205
|
+
flexDirection: {},
|
|
206
|
+
flexWrap: {},
|
|
207
|
+
justifyContent: {},
|
|
208
|
+
alignItems: {},
|
|
209
|
+
alignContent: {},
|
|
210
|
+
order: {},
|
|
211
|
+
flex: {},
|
|
212
|
+
flexGrow: {},
|
|
213
|
+
flexShrink: {},
|
|
214
|
+
alignSelf: {},
|
|
215
|
+
justifyItems: {},
|
|
216
|
+
justifySelf: {},
|
|
217
|
+
// grid
|
|
218
|
+
gap: {
|
|
219
|
+
style: i
|
|
220
|
+
},
|
|
221
|
+
rowGap: {
|
|
222
|
+
style: n
|
|
223
|
+
},
|
|
224
|
+
columnGap: {
|
|
225
|
+
style: m
|
|
226
|
+
},
|
|
227
|
+
gridColumn: {},
|
|
228
|
+
gridRow: {},
|
|
229
|
+
gridAutoFlow: {},
|
|
230
|
+
gridAutoColumns: {},
|
|
231
|
+
gridAutoRows: {},
|
|
232
|
+
gridTemplateColumns: {},
|
|
233
|
+
gridTemplateRows: {},
|
|
234
|
+
gridTemplateAreas: {},
|
|
235
|
+
gridArea: {},
|
|
236
|
+
// positions
|
|
237
|
+
position: {},
|
|
238
|
+
zIndex: {
|
|
239
|
+
themeKey: "zIndex"
|
|
240
|
+
},
|
|
241
|
+
top: {},
|
|
242
|
+
right: {},
|
|
243
|
+
bottom: {},
|
|
244
|
+
left: {},
|
|
245
|
+
// shadows
|
|
246
|
+
boxShadow: {
|
|
247
|
+
themeKey: "shadows"
|
|
248
|
+
},
|
|
249
|
+
// sizing
|
|
250
|
+
width: {
|
|
251
|
+
transform: o
|
|
252
|
+
},
|
|
253
|
+
maxWidth: {
|
|
254
|
+
style: y
|
|
255
|
+
},
|
|
256
|
+
minWidth: {
|
|
257
|
+
transform: o
|
|
258
|
+
},
|
|
259
|
+
height: {
|
|
260
|
+
transform: o
|
|
261
|
+
},
|
|
262
|
+
maxHeight: {
|
|
263
|
+
transform: o
|
|
264
|
+
},
|
|
265
|
+
minHeight: {
|
|
266
|
+
transform: o
|
|
267
|
+
},
|
|
268
|
+
boxSizing: {},
|
|
269
|
+
// typography
|
|
270
|
+
fontFamily: {
|
|
271
|
+
themeKey: "typography"
|
|
272
|
+
},
|
|
273
|
+
fontSize: {
|
|
274
|
+
themeKey: "typography"
|
|
275
|
+
},
|
|
276
|
+
fontStyle: {
|
|
277
|
+
themeKey: "typography"
|
|
278
|
+
},
|
|
279
|
+
fontWeight: {
|
|
280
|
+
themeKey: "typography"
|
|
281
|
+
},
|
|
282
|
+
letterSpacing: {},
|
|
283
|
+
textTransform: {},
|
|
284
|
+
lineHeight: {},
|
|
285
|
+
textAlign: {},
|
|
286
|
+
typography: {
|
|
287
|
+
cssProperty: !1,
|
|
288
|
+
themeKey: "typography"
|
|
289
|
+
}
|
|
290
|
+
}, K = d;
|
|
26
291
|
export {
|
|
27
|
-
|
|
28
|
-
f as isPlainObject
|
|
292
|
+
K as default
|
|
29
293
|
};
|