mada-design-system 0.2.4 → 0.2.6

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.
Files changed (281) hide show
  1. package/index.cjs116.js +1 -1
  2. package/index.cjs119.js +1 -1
  3. package/index.cjs167.js +1 -1
  4. package/index.cjs168.js +1 -1
  5. package/index.cjs169.js +1 -1
  6. package/index.cjs182.js +1 -1
  7. package/index.cjs183.js +1 -4
  8. package/index.cjs184.js +4 -1
  9. package/index.cjs189.js +1 -1
  10. package/index.cjs190.js +3 -1
  11. package/index.cjs191.js +1 -3
  12. package/index.cjs192.js +1 -1
  13. package/index.cjs193.js +1 -1
  14. package/index.cjs194.js +1 -1
  15. package/index.cjs195.js +1 -1
  16. package/index.cjs196.js +1 -1
  17. package/index.cjs197.js +1 -1
  18. package/index.cjs198.js +1 -1
  19. package/index.cjs199.js +1 -1
  20. package/index.cjs200.js +1 -1
  21. package/index.cjs201.js +1 -1
  22. package/index.cjs202.js +1 -1
  23. package/index.cjs203.js +1 -1
  24. package/index.cjs204.js +1 -1
  25. package/index.cjs205.js +1 -1
  26. package/index.cjs206.js +1 -1
  27. package/index.cjs207.js +1 -1
  28. package/index.cjs208.js +1 -1
  29. package/index.cjs209.js +1 -1
  30. package/index.cjs21.js +1 -1
  31. package/index.cjs210.js +1 -1
  32. package/index.cjs218.js +1 -1
  33. package/index.cjs219.js +1 -1
  34. package/index.cjs220.js +1 -1
  35. package/index.cjs221.js +1 -1
  36. package/index.cjs222.js +1 -1
  37. package/index.cjs223.js +1 -1
  38. package/index.cjs224.js +1 -1
  39. package/index.cjs225.js +1 -1
  40. package/index.cjs226.js +1 -1
  41. package/index.cjs227.js +1 -1
  42. package/index.cjs232.js +1 -1
  43. package/index.cjs233.js +1 -1
  44. package/index.cjs234.js +1 -1
  45. package/index.cjs235.js +1 -1
  46. package/index.cjs236.js +1 -1
  47. package/index.cjs237.js +1 -1
  48. package/index.cjs238.js +1 -1
  49. package/index.cjs239.js +1 -1
  50. package/index.cjs240.js +1 -1
  51. package/index.cjs245.js +1 -1
  52. package/index.cjs246.js +1 -1
  53. package/index.cjs247.js +1 -1
  54. package/index.cjs255.js +1 -1
  55. package/index.cjs256.js +1 -1
  56. package/index.cjs261.js +1 -1
  57. package/index.cjs262.js +1 -1
  58. package/index.cjs263.js +1 -1
  59. package/index.cjs264.js +1 -15
  60. package/index.cjs265.js +15 -1
  61. package/index.cjs266.js +1 -1
  62. package/index.cjs267.js +1 -1
  63. package/index.cjs268.js +1 -1
  64. package/index.cjs269.js +1 -1
  65. package/index.cjs270.js +1 -1
  66. package/index.cjs271.js +1 -1
  67. package/index.cjs272.js +1 -1
  68. package/index.cjs273.js +1 -1
  69. package/index.cjs274.js +1 -1
  70. package/index.cjs275.js +1 -1
  71. package/index.cjs276.js +1 -1
  72. package/index.cjs277.js +1 -1
  73. package/index.cjs278.js +1 -1
  74. package/index.cjs279.js +1 -1
  75. package/index.cjs282.js +1 -1
  76. package/index.cjs283.js +1 -1
  77. package/index.cjs284.js +1 -1
  78. package/index.cjs286.js +1 -1
  79. package/index.cjs287.js +1 -1
  80. package/index.cjs288.js +1 -1
  81. package/index.cjs289.js +1 -1
  82. package/index.cjs290.js +1 -1
  83. package/index.cjs291.js +1 -1
  84. package/index.cjs292.js +1 -1
  85. package/index.cjs297.js +1 -1
  86. package/index.cjs298.js +1 -1
  87. package/index.cjs299.js +1 -1
  88. package/index.cjs300.js +1 -1
  89. package/index.cjs301.js +1 -1
  90. package/index.cjs302.js +1 -1
  91. package/index.cjs303.js +1 -1
  92. package/index.cjs304.js +1 -1
  93. package/index.cjs305.js +1 -1
  94. package/index.cjs306.js +1 -1
  95. package/index.cjs307.js +1 -1
  96. package/index.cjs308.js +1 -1
  97. package/index.cjs309.js +1 -1
  98. package/index.cjs310.js +1 -1
  99. package/index.cjs311.js +1 -1
  100. package/index.cjs316.js +1 -1
  101. package/index.cjs320.js +1 -1
  102. package/index.cjs338.js +1 -1
  103. package/index.cjs339.js +1 -1
  104. package/index.cjs340.js +1 -1
  105. package/index.cjs341.js +1 -1
  106. package/index.cjs342.js +1 -1
  107. package/index.cjs343.js +1 -1
  108. package/index.cjs344.js +1 -1
  109. package/index.cjs345.js +1 -1
  110. package/index.cjs346.js +1 -1
  111. package/index.cjs347.js +1 -1
  112. package/index.cjs348.js +1 -1
  113. package/index.cjs349.js +1 -1
  114. package/index.cjs350.js +1 -1
  115. package/index.cjs351.js +1 -1
  116. package/index.cjs366.js +1 -1
  117. package/index.cjs367.js +1 -1
  118. package/index.cjs368.js +1 -1
  119. package/index.cjs369.js +1 -1
  120. package/index.cjs370.js +1 -1
  121. package/index.cjs371.js +1 -1
  122. package/index.cjs372.js +1 -1
  123. package/index.cjs373.js +74 -1
  124. package/index.cjs374.js +1 -1
  125. package/index.cjs375.js +1 -1
  126. package/index.cjs376.js +1 -74
  127. package/index.cjs377.js +1 -1
  128. package/index.cjs378.js +1 -1
  129. package/index.cjs380.js +1 -1
  130. package/index.cjs381.js +1 -1
  131. package/index.cjs382.js +1 -1
  132. package/index.cjs41.js +2 -2
  133. package/index.cjs44.js +1 -1
  134. package/index.cjs45.js +1 -1
  135. package/index.cjs47.js +1 -1
  136. package/index.cjs51.js +1 -1
  137. package/index.cjs67.js +4 -4
  138. package/index.cjs68.js +1 -1
  139. package/index.es.d.ts +10 -4
  140. package/index.es116.js +1 -1
  141. package/index.es119.js +21 -21
  142. package/index.es167.js +1 -1
  143. package/index.es168.js +2 -2
  144. package/index.es169.js +3 -3
  145. package/index.es182.js +50 -2
  146. package/index.es183.js +2 -2261
  147. package/index.es184.js +2260 -49
  148. package/index.es189.js +105 -14
  149. package/index.es190.js +24 -105
  150. package/index.es191.js +51 -25
  151. package/index.es192.js +363 -43
  152. package/index.es193.js +60 -369
  153. package/index.es194.js +48 -62
  154. package/index.es195.js +6 -48
  155. package/index.es196.js +5 -6
  156. package/index.es197.js +47 -5
  157. package/index.es198.js +21 -46
  158. package/index.es199.js +6 -22
  159. package/index.es200.js +10 -6
  160. package/index.es201.js +11 -10
  161. package/index.es202.js +17 -11
  162. package/index.es203.js +229 -16
  163. package/index.es204.js +24 -229
  164. package/index.es205.js +11 -24
  165. package/index.es206.js +278 -11
  166. package/index.es207.js +162 -179
  167. package/index.es208.js +16 -261
  168. package/index.es209.js +14 -16
  169. package/index.es21.js +42 -41
  170. package/index.es210.js +1 -1
  171. package/index.es218.js +12 -3
  172. package/index.es219.js +25 -2
  173. package/index.es220.js +10 -12
  174. package/index.es221.js +38 -24
  175. package/index.es222.js +1997 -8
  176. package/index.es223.js +6 -38
  177. package/index.es224.js +71 -1999
  178. package/index.es225.js +24 -6
  179. package/index.es226.js +3 -71
  180. package/index.es227.js +2 -25
  181. package/index.es232.js +1 -1
  182. package/index.es233.js +1 -1
  183. package/index.es234.js +1 -1
  184. package/index.es235.js +4 -4
  185. package/index.es236.js +3 -3
  186. package/index.es237.js +2 -2
  187. package/index.es238.js +5 -5
  188. package/index.es239.js +3 -3
  189. package/index.es240.js +6 -6
  190. package/index.es245.js +1 -1
  191. package/index.es246.js +5 -5
  192. package/index.es247.js +4 -4
  193. package/index.es255.js +1 -1
  194. package/index.es256.js +1 -1
  195. package/index.es261.js +11 -2
  196. package/index.es262.js +2 -60
  197. package/index.es263.js +57 -14
  198. package/index.es264.js +16 -243
  199. package/index.es265.js +241 -71
  200. package/index.es266.js +73 -4
  201. package/index.es267.js +4 -57
  202. package/index.es268.js +58 -11
  203. package/index.es269.js +11 -7
  204. package/index.es270.js +6 -35
  205. package/index.es271.js +35 -26
  206. package/index.es272.js +27 -291
  207. package/index.es273.js +290 -90
  208. package/index.es274.js +91 -3
  209. package/index.es275.js +3 -8
  210. package/index.es276.js +7 -15
  211. package/index.es277.js +14 -145
  212. package/index.es278.js +146 -10
  213. package/index.es279.js +1 -1
  214. package/index.es282.js +9 -9
  215. package/index.es283.js +2 -2
  216. package/index.es284.js +1 -1
  217. package/index.es286.js +5 -5
  218. package/index.es287.js +63 -59
  219. package/index.es288.js +6 -6
  220. package/index.es289.js +7 -7
  221. package/index.es290.js +58 -62
  222. package/index.es291.js +6 -6
  223. package/index.es292.js +7 -7
  224. package/index.es297.js +6 -2
  225. package/index.es298.js +21 -2
  226. package/index.es299.js +23 -5
  227. package/index.es300.js +30 -22
  228. package/index.es301.js +6 -21
  229. package/index.es302.js +3 -32
  230. package/index.es303.js +7 -6
  231. package/index.es304.js +4 -3
  232. package/index.es305.js +18 -6
  233. package/index.es306.js +66 -3
  234. package/index.es307.js +15 -18
  235. package/index.es308.js +13 -65
  236. package/index.es309.js +4 -15
  237. package/index.es310.js +2 -4
  238. package/index.es311.js +2 -16
  239. package/index.es316.js +1 -1
  240. package/index.es320.js +1 -1
  241. package/index.es338.js +6 -4
  242. package/index.es339.js +29 -4
  243. package/index.es340.js +15 -6
  244. package/index.es341.js +5 -5
  245. package/index.es342.js +5 -19
  246. package/index.es343.js +5 -4
  247. package/index.es344.js +6 -5
  248. package/index.es345.js +19 -3
  249. package/index.es346.js +4 -72
  250. package/index.es347.js +6 -4
  251. package/index.es348.js +3 -16
  252. package/index.es349.js +71 -6
  253. package/index.es350.js +3 -29
  254. package/index.es351.js +1 -1
  255. package/index.es366.js +10 -5
  256. package/index.es367.js +3 -3
  257. package/index.es368.js +8 -10
  258. package/index.es369.js +3 -3
  259. package/index.es370.js +45 -3
  260. package/index.es371.js +23 -44
  261. package/index.es372.js +2 -25
  262. package/index.es373.js +251 -9
  263. package/index.es374.js +8 -2
  264. package/index.es375.js +3 -2
  265. package/index.es376.js +2 -251
  266. package/index.es377.js +5 -7
  267. package/index.es378.js +4 -3
  268. package/index.es380.js +4 -4
  269. package/index.es381.js +1 -1
  270. package/index.es382.js +1 -1
  271. package/index.es41.js +2 -2
  272. package/index.es44.js +92 -95
  273. package/index.es45.js +2 -2
  274. package/index.es47.js +48 -50
  275. package/index.es51.js +28 -28
  276. package/index.es67.js +59 -46
  277. package/index.es68.js +25 -25
  278. package/package.json +143 -144
  279. package/style.css +1 -1
  280. package/tailwind.config.cjs +6 -0
  281. package/tailwind.config.js +6 -0
package/index.es267.js CHANGED
@@ -1,60 +1,7 @@
1
- import f from "./index.es187.js";
2
- import u from "./index.es186.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
- });
1
+ function a(...o) {
2
+ return [`${o[0]}px ${o[1]}px ${o[2]}px ${o[3]}px rgba(0,0,0,${0.2})`, `${o[4]}px ${o[5]}px ${o[6]}px ${o[7]}px rgba(0,0,0,${0.14})`, `${o[8]}px ${o[9]}px ${o[10]}px ${o[11]}px rgba(0,0,0,${0.12})`].join(",");
55
3
  }
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;
56
5
  export {
57
- O as default,
58
- y as duration,
59
- p as easing
6
+ s as default
60
7
  };
package/index.es268.js CHANGED
@@ -1,13 +1,60 @@
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;
1
+ import f from "./index.es187.js";
2
+ import u from "./index.es186.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
+ });
55
+ }
11
56
  export {
12
- e as default
57
+ O as default,
58
+ y as duration,
59
+ p as easing
13
60
  };
package/index.es269.js CHANGED
@@ -1,9 +1,13 @@
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
- }
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;
7
11
  export {
8
- o as default
12
+ e as default
9
13
  };
package/index.es270.js CHANGED
@@ -1,38 +1,9 @@
1
- import p from "./index.es186.js";
2
- import h from "./index.es187.js";
3
- import d from "./index.es325.js";
4
- import g from "./index.es327.js";
5
- import x from "./index.es326.js";
6
- import b from "./index.es273.js";
7
- import _ from "./index.es272.js";
8
- import k from "./index.es365.js";
9
- import s from "./index.es271.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;
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.";
35
6
  }
36
7
  export {
37
- P as default
8
+ o as default
38
9
  };
package/index.es271.js CHANGED
@@ -1,29 +1,38 @@
1
- import r from "./index.es186.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;
1
+ import p from "./index.es186.js";
2
+ import h from "./index.es187.js";
3
+ import d from "./index.es325.js";
4
+ import g from "./index.es327.js";
5
+ import x from "./index.es326.js";
6
+ import b from "./index.es274.js";
7
+ import _ from "./index.es273.js";
8
+ import k from "./index.es365.js";
9
+ import s from "./index.es272.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;
25
35
  }
26
36
  export {
27
- b as default,
28
- f as isPlainObject
37
+ P as default
29
38
  };
package/index.es272.js CHANGED
@@ -1,293 +1,29 @@
1
- import { padding as e, margin as t } from "./index.es318.js";
2
- import { borderTransform as r, borderRadius as s } from "./index.es314.js";
3
- import { gap as i, rowGap as n, columnGap as m } from "./index.es321.js";
4
- import { paletteTransform as l } from "./index.es322.js";
5
- import { sizingTransform as o, maxWidth as y } from "./index.es323.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;
1
+ import r from "./index.es186.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;
25
+ }
291
26
  export {
292
- K as default
27
+ b as default,
28
+ f as isPlainObject
293
29
  };