mada-design-system 0.2.0 → 0.2.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.
Files changed (317) hide show
  1. package/index.cjs116.js +1 -1
  2. package/index.cjs165.js +1 -1
  3. package/index.cjs166.js +1 -1
  4. package/index.cjs167.js +1 -1
  5. package/index.cjs168.js +1 -1
  6. package/index.cjs169.js +1 -1
  7. package/index.cjs183.js +1 -1
  8. package/index.cjs184.js +4 -1
  9. package/index.cjs185.js +1 -4
  10. package/index.cjs204.js +1 -1
  11. package/index.cjs205.js +1 -1
  12. package/index.cjs206.js +1 -1
  13. package/index.cjs207.js +1 -1
  14. package/index.cjs210.js +1 -1
  15. package/index.cjs218.js +1 -1
  16. package/index.cjs219.js +1 -1
  17. package/index.cjs220.js +1 -1
  18. package/index.cjs221.js +1 -1
  19. package/index.cjs222.js +1 -1
  20. package/index.cjs223.js +1 -1
  21. package/index.cjs224.js +1 -1
  22. package/index.cjs225.js +1 -1
  23. package/index.cjs226.js +1 -1
  24. package/index.cjs227.js +1 -1
  25. package/index.cjs232.js +1 -1
  26. package/index.cjs233.js +1 -1
  27. package/index.cjs234.js +1 -1
  28. package/index.cjs235.js +1 -1
  29. package/index.cjs237.js +1 -1
  30. package/index.cjs238.js +1 -1
  31. package/index.cjs239.js +1 -1
  32. package/index.cjs240.js +1 -1
  33. package/index.cjs242.js +1 -1
  34. package/index.cjs246.js +1 -1
  35. package/index.cjs247.js +1 -1
  36. package/index.cjs264.js +1 -1
  37. package/index.cjs270.js +1 -1
  38. package/index.cjs272.js +1 -1
  39. package/index.cjs273.js +1 -1
  40. package/index.cjs275.js +1 -1
  41. package/index.cjs277.js +1 -1
  42. package/index.cjs278.js +1 -1
  43. package/index.cjs279.js +1 -1
  44. package/index.cjs280.js +1 -1
  45. package/index.cjs281.js +1 -1
  46. package/index.cjs282.js +1 -1
  47. package/index.cjs283.js +3 -1
  48. package/index.cjs284.js +1 -1
  49. package/index.cjs285.js +1 -1
  50. package/index.cjs286.js +1 -1
  51. package/index.cjs287.js +1 -3
  52. package/index.cjs288.js +1 -1
  53. package/index.cjs289.js +1 -1
  54. package/index.cjs29.js +1 -1
  55. package/index.cjs290.js +1 -1
  56. package/index.cjs291.js +1 -1
  57. package/index.cjs292.js +1 -1
  58. package/index.cjs299.js +1 -1
  59. package/index.cjs300.js +1 -1
  60. package/index.cjs301.js +1 -1
  61. package/index.cjs302.js +1 -1
  62. package/index.cjs303.js +1 -1
  63. package/index.cjs304.js +1 -1
  64. package/index.cjs305.js +1 -1
  65. package/index.cjs306.js +1 -1
  66. package/index.cjs307.js +1 -1
  67. package/index.cjs308.js +1 -1
  68. package/index.cjs309.js +1 -1
  69. package/index.cjs310.js +1 -1
  70. package/index.cjs311.js +1 -1
  71. package/index.cjs312.js +1 -1
  72. package/index.cjs313.js +1 -1
  73. package/index.cjs314.js +1 -1
  74. package/index.cjs315.js +1 -1
  75. package/index.cjs316.js +1 -1
  76. package/index.cjs317.js +1 -1
  77. package/index.cjs318.js +1 -1
  78. package/index.cjs319.js +1 -1
  79. package/index.cjs320.js +1 -1
  80. package/index.cjs321.js +1 -1
  81. package/index.cjs322.js +1 -1
  82. package/index.cjs323.js +1 -1
  83. package/index.cjs324.js +1 -1
  84. package/index.cjs325.js +1 -1
  85. package/index.cjs326.js +1 -1
  86. package/index.cjs327.js +1 -1
  87. package/index.cjs328.js +1 -1
  88. package/index.cjs329.js +1 -1
  89. package/index.cjs330.js +1 -1
  90. package/index.cjs331.js +1 -1
  91. package/index.cjs332.js +1 -1
  92. package/index.cjs333.js +1 -1
  93. package/index.cjs334.js +1 -1
  94. package/index.cjs335.js +1 -1
  95. package/index.cjs336.js +1 -1
  96. package/index.cjs337.js +1 -1
  97. package/index.cjs338.js +1 -1
  98. package/index.cjs339.js +1 -1
  99. package/index.cjs340.js +1 -1
  100. package/index.cjs341.js +1 -1
  101. package/index.cjs342.js +1 -1
  102. package/index.cjs343.js +1 -1
  103. package/index.cjs344.js +1 -1
  104. package/index.cjs345.js +1 -1
  105. package/index.cjs346.js +1 -1
  106. package/index.cjs347.js +1 -1
  107. package/index.cjs348.js +1 -1
  108. package/index.cjs349.js +1 -1
  109. package/index.cjs350.js +1 -1
  110. package/index.cjs351.js +1 -1
  111. package/index.cjs352.js +1 -1
  112. package/index.cjs353.js +1 -1
  113. package/index.cjs356.js +1 -1
  114. package/index.cjs357.js +1 -2
  115. package/index.cjs358.js +1 -1
  116. package/index.cjs359.js +1 -1
  117. package/index.cjs360.js +1 -1
  118. package/index.cjs361.js +1 -1
  119. package/index.cjs362.js +1 -1
  120. package/index.cjs363.js +1 -1
  121. package/index.cjs364.js +1 -1
  122. package/index.cjs365.js +2 -1
  123. package/index.cjs366.js +1 -1
  124. package/index.cjs367.js +1 -1
  125. package/index.cjs368.js +1 -1
  126. package/index.cjs369.js +1 -1
  127. package/index.cjs370.js +1 -1
  128. package/index.cjs371.js +1 -1
  129. package/index.cjs372.js +1 -1
  130. package/index.cjs373.js +1 -1
  131. package/index.cjs374.js +1 -1
  132. package/index.cjs375.js +1 -74
  133. package/index.cjs376.js +74 -1
  134. package/index.cjs377.js +1 -1
  135. package/index.cjs378.js +1 -1
  136. package/index.cjs379.js +1 -1
  137. package/index.cjs380.js +1 -1
  138. package/index.cjs382.js +1 -1
  139. package/index.cjs383.js +1 -1
  140. package/index.cjs384.js +1 -1
  141. package/index.cjs385.js +1 -1
  142. package/index.cjs386.js +1 -1
  143. package/index.cjs387.js +1 -1
  144. package/index.cjs388.js +1 -1
  145. package/index.cjs389.js +1 -1
  146. package/index.cjs390.js +1 -1
  147. package/index.cjs391.js +1 -1
  148. package/index.cjs392.js +1 -1
  149. package/index.cjs393.js +1 -1
  150. package/index.cjs394.js +1 -1
  151. package/index.cjs395.js +1 -1
  152. package/index.cjs396.js +1 -1
  153. package/index.cjs398.js +1 -1
  154. package/index.cjs399.js +1 -1
  155. package/index.cjs76.js +1 -1
  156. package/index.cjs79.js +1 -1
  157. package/index.cjs82.js +1 -1
  158. package/index.cjs86.js +1 -1
  159. package/index.es116.js +1 -1
  160. package/index.es165.js +125 -2309
  161. package/index.es166.js +6 -2152
  162. package/index.es167.js +2323 -11
  163. package/index.es168.js +2149 -136
  164. package/index.es169.js +11 -6
  165. package/index.es183.js +2 -50
  166. package/index.es184.js +2261 -2
  167. package/index.es185.js +49 -2260
  168. package/index.es204.js +4 -4
  169. package/index.es205.js +1 -1
  170. package/index.es206.js +3 -3
  171. package/index.es207.js +2 -2
  172. package/index.es210.js +1 -1
  173. package/index.es218.js +3 -12
  174. package/index.es219.js +2 -25
  175. package/index.es220.js +12 -10
  176. package/index.es221.js +24 -38
  177. package/index.es222.js +8 -1997
  178. package/index.es223.js +38 -6
  179. package/index.es224.js +1999 -71
  180. package/index.es225.js +6 -24
  181. package/index.es226.js +71 -3
  182. package/index.es227.js +25 -2
  183. package/index.es232.js +1 -1
  184. package/index.es233.js +1 -1
  185. package/index.es234.js +1 -1
  186. package/index.es235.js +4 -4
  187. package/index.es237.js +3 -3
  188. package/index.es238.js +5 -5
  189. package/index.es239.js +1 -1
  190. package/index.es240.js +3 -3
  191. package/index.es242.js +2 -2
  192. package/index.es246.js +5 -5
  193. package/index.es247.js +1 -1
  194. package/index.es264.js +9 -9
  195. package/index.es270.js +4 -4
  196. package/index.es272.js +5 -5
  197. package/index.es273.js +4 -4
  198. package/index.es275.js +1 -1
  199. package/index.es277.js +3 -3
  200. package/index.es278.js +37 -10
  201. package/index.es279.js +3 -38
  202. package/index.es280.js +11 -3
  203. package/index.es281.js +8 -116
  204. package/index.es282.js +351 -7
  205. package/index.es283.js +94 -9
  206. package/index.es284.js +9 -7
  207. package/index.es285.js +3 -8
  208. package/index.es286.js +192 -337
  209. package/index.es287.js +119 -94
  210. package/index.es288.js +7 -3
  211. package/index.es289.js +8 -206
  212. package/index.es29.js +4 -4
  213. package/index.es290.js +59 -63
  214. package/index.es291.js +6 -6
  215. package/index.es292.js +7 -7
  216. package/index.es299.js +5 -12
  217. package/index.es300.js +24 -143
  218. package/index.es301.js +19 -41
  219. package/index.es302.js +32 -3
  220. package/index.es303.js +6 -41
  221. package/index.es304.js +2 -7
  222. package/index.es305.js +6 -75
  223. package/index.es306.js +3 -54
  224. package/index.es307.js +18 -7
  225. package/index.es308.js +64 -73
  226. package/index.es309.js +15 -23
  227. package/index.es310.js +15 -62
  228. package/index.es311.js +3 -4
  229. package/index.es312.js +12 -6
  230. package/index.es313.js +143 -32
  231. package/index.es314.js +42 -58
  232. package/index.es315.js +3 -13
  233. package/index.es316.js +41 -4
  234. package/index.es317.js +7 -9
  235. package/index.es318.js +75 -54
  236. package/index.es319.js +54 -3
  237. package/index.es320.js +8 -5
  238. package/index.es321.js +76 -17
  239. package/index.es322.js +24 -17
  240. package/index.es323.js +62 -17
  241. package/index.es324.js +5 -17
  242. package/index.es325.js +59 -17
  243. package/index.es326.js +13 -17
  244. package/index.es327.js +3 -16
  245. package/index.es328.js +9 -5
  246. package/index.es329.js +55 -24
  247. package/index.es330.js +5 -21
  248. package/index.es331.js +17 -6
  249. package/index.es332.js +17 -3
  250. package/index.es333.js +16 -3
  251. package/index.es334.js +17 -19
  252. package/index.es335.js +17 -67
  253. package/index.es336.js +17 -16
  254. package/index.es337.js +17 -15
  255. package/index.es338.js +6 -4
  256. package/index.es339.js +29 -4
  257. package/index.es340.js +15 -6
  258. package/index.es341.js +5 -5
  259. package/index.es342.js +5 -19
  260. package/index.es343.js +5 -4
  261. package/index.es344.js +6 -5
  262. package/index.es345.js +19 -3
  263. package/index.es346.js +4 -72
  264. package/index.es347.js +6 -4
  265. package/index.es348.js +3 -16
  266. package/index.es349.js +71 -6
  267. package/index.es350.js +3 -29
  268. package/index.es351.js +1 -1
  269. package/index.es352.js +6 -7
  270. package/index.es353.js +7 -6
  271. package/index.es356.js +2 -9
  272. package/index.es357.js +65 -77
  273. package/index.es358.js +61 -255
  274. package/index.es359.js +10 -31
  275. package/index.es360.js +4 -6
  276. package/index.es361.js +8 -131
  277. package/index.es362.js +6 -17
  278. package/index.es363.js +44 -9
  279. package/index.es364.js +9 -3
  280. package/index.es365.js +78 -4
  281. package/index.es366.js +255 -42
  282. package/index.es367.js +31 -9
  283. package/index.es368.js +6 -7
  284. package/index.es369.js +132 -2
  285. package/index.es370.js +17 -68
  286. package/index.es371.js +6 -64
  287. package/index.es372.js +2 -6
  288. package/index.es373.js +2 -4
  289. package/index.es374.js +6 -2
  290. package/index.es375.js +4 -251
  291. package/index.es376.js +251 -8
  292. package/index.es377.js +8 -3
  293. package/index.es378.js +3 -2
  294. package/index.es379.js +1 -1
  295. package/index.es380.js +1 -1
  296. package/index.es382.js +1 -1
  297. package/index.es383.js +2 -8
  298. package/index.es384.js +2 -7
  299. package/index.es385.js +7 -19
  300. package/index.es386.js +7 -51
  301. package/index.es387.js +18 -247
  302. package/index.es388.js +51 -43
  303. package/index.es389.js +247 -14
  304. package/index.es390.js +43 -10
  305. package/index.es391.js +15 -47
  306. package/index.es392.js +10 -26
  307. package/index.es393.js +37 -118
  308. package/index.es394.js +23 -109
  309. package/index.es395.js +129 -2
  310. package/index.es396.js +112 -2
  311. package/index.es398.js +3 -8
  312. package/index.es399.js +8 -3
  313. package/index.es76.js +1 -1
  314. package/index.es79.js +2 -2
  315. package/index.es82.js +2 -2
  316. package/index.es86.js +1 -1
  317. package/package.json +1 -1
package/index.es282.js CHANGED
@@ -1,9 +1,353 @@
1
- import r from "./index.es210.js";
2
- import t from "./index.es211.js";
3
- function l(e) {
4
- return r("MuiYearCalendar", e);
5
- }
6
- t("MuiYearCalendar", ["root"]);
1
+ import w from "./index.es186.js";
2
+ import ge from "./index.es187.js";
3
+ import * as t from "react";
4
+ import e from "./index.es188.js";
5
+ import { clsx as Be } from "./index.es96.js";
6
+ import Ce from "./index.es200.js";
7
+ import xe from "./index.es209.js";
8
+ import De from "./index.es376.js";
9
+ import ke, { getButtonBaseUtilityClass as Ve } from "./index.es377.js";
10
+ import { jsxs as Ee, jsx as we } from "react/jsx-runtime";
11
+ import _ from "./index.es284.js";
12
+ import Fe from "./index.es308.js";
13
+ import M from "./index.es205.js";
14
+ import Le from "./index.es304.js";
15
+ import Ne from "./index.es301.js";
16
+ import Se from "./index.es208.js";
17
+ const Ue = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], Pe = (g) => {
18
+ const {
19
+ disabled: i,
20
+ focusVisible: b,
21
+ focusVisibleClassName: c,
22
+ classes: B
23
+ } = g, m = Se({
24
+ root: ["root", i && "disabled", b && "focusVisible"]
25
+ }, Ve, B);
26
+ return b && c && (m.root += ` ${c}`), m;
27
+ }, je = Ce("button", {
28
+ name: "MuiButtonBase",
29
+ slot: "Root",
30
+ overridesResolver: (g, i) => i.root
31
+ })({
32
+ display: "inline-flex",
33
+ alignItems: "center",
34
+ justifyContent: "center",
35
+ position: "relative",
36
+ boxSizing: "border-box",
37
+ WebkitTapHighlightColor: "transparent",
38
+ backgroundColor: "transparent",
39
+ // Reset default value
40
+ // We disable the focus ring for mouse, touch and keyboard users.
41
+ outline: 0,
42
+ border: 0,
43
+ margin: 0,
44
+ // Remove the margin in Safari
45
+ borderRadius: 0,
46
+ padding: 0,
47
+ // Remove the padding in Firefox
48
+ cursor: "pointer",
49
+ userSelect: "none",
50
+ verticalAlign: "middle",
51
+ MozAppearance: "none",
52
+ // Reset
53
+ WebkitAppearance: "none",
54
+ // Reset
55
+ textDecoration: "none",
56
+ // So we take precedent over the style of a native <a /> element.
57
+ color: "inherit",
58
+ "&::-moz-focus-inner": {
59
+ borderStyle: "none"
60
+ // Remove Firefox dotted outline.
61
+ },
62
+ [`&.${ke.disabled}`]: {
63
+ pointerEvents: "none",
64
+ // Disable link interactions
65
+ cursor: "default"
66
+ },
67
+ "@media print": {
68
+ colorAdjust: "exact"
69
+ }
70
+ }), q = /* @__PURE__ */ t.forwardRef(function(i, b) {
71
+ const c = xe({
72
+ props: i,
73
+ name: "MuiButtonBase"
74
+ }), {
75
+ action: B,
76
+ centerRipple: C = !1,
77
+ children: m,
78
+ className: z,
79
+ component: h = "button",
80
+ disabled: r = !1,
81
+ disableRipple: R = !1,
82
+ disableTouchRipple: F = !1,
83
+ focusRipple: a = !1,
84
+ LinkComponent: H = "a",
85
+ onBlur: L,
86
+ onClick: l,
87
+ onContextMenu: W,
88
+ onDragLeave: $,
89
+ onFocus: N,
90
+ onFocusVisible: S,
91
+ onKeyDown: U,
92
+ onKeyUp: P,
93
+ onMouseDown: G,
94
+ onMouseLeave: j,
95
+ onMouseUp: J,
96
+ onTouchEnd: Q,
97
+ onTouchMove: X,
98
+ onTouchStart: Y,
99
+ tabIndex: K = 0,
100
+ TouchRippleProps: Z,
101
+ touchRippleRef: ee,
102
+ type: x
103
+ } = c, p = ge(c, Ue), f = t.useRef(null), n = t.useRef(null), oe = _(n, ee), {
104
+ isFocusVisibleRef: I,
105
+ onFocus: ne,
106
+ onBlur: te,
107
+ ref: se
108
+ } = Fe(), [u, T] = t.useState(!1);
109
+ r && u && T(!1), t.useImperativeHandle(B, () => ({
110
+ focusVisible: () => {
111
+ T(!0), f.current.focus();
112
+ }
113
+ }), []);
114
+ const [D, re] = t.useState(!1);
115
+ t.useEffect(() => {
116
+ re(!0);
117
+ }, []);
118
+ const k = D && !R && !r;
119
+ t.useEffect(() => {
120
+ u && a && !R && D && n.current.pulsate();
121
+ }, [R, a, u, D]);
122
+ function s(o, A, Me = F) {
123
+ return M((v) => (A && A(v), !Me && n.current && n.current[o](v), !0));
124
+ }
125
+ const ue = s("start", G), ce = s("stop", W), ie = s("stop", $), ae = s("stop", J), le = s("stop", (o) => {
126
+ u && o.preventDefault(), j && j(o);
127
+ }), pe = s("start", Y), fe = s("stop", Q), de = s("stop", X), be = s("stop", (o) => {
128
+ te(o), I.current === !1 && T(!1), L && L(o);
129
+ }, !1), me = M((o) => {
130
+ f.current || (f.current = o.currentTarget), ne(o), I.current === !0 && (T(!0), S && S(o)), N && N(o);
131
+ }), V = () => {
132
+ const o = f.current;
133
+ return h && h !== "button" && !(o.tagName === "A" && o.href);
134
+ }, E = t.useRef(!1), he = M((o) => {
135
+ a && !E.current && u && n.current && o.key === " " && (E.current = !0, n.current.stop(o, () => {
136
+ n.current.start(o);
137
+ })), o.target === o.currentTarget && V() && o.key === " " && o.preventDefault(), U && U(o), o.target === o.currentTarget && V() && o.key === "Enter" && !r && (o.preventDefault(), l && l(o));
138
+ }), Re = M((o) => {
139
+ a && o.key === " " && n.current && u && !o.defaultPrevented && (E.current = !1, n.current.stop(o, () => {
140
+ n.current.pulsate(o);
141
+ })), P && P(o), l && o.target === o.currentTarget && V() && o.key === " " && !o.defaultPrevented && l(o);
142
+ });
143
+ let y = h;
144
+ y === "button" && (p.href || p.to) && (y = H);
145
+ const d = {};
146
+ y === "button" ? (d.type = x === void 0 ? "button" : x, d.disabled = r) : (!p.href && !p.to && (d.role = "button"), r && (d["aria-disabled"] = r));
147
+ const Te = _(b, se, f);
148
+ process.env.NODE_ENV !== "production" && t.useEffect(() => {
149
+ k && n.current;
150
+ }, [k]);
151
+ const O = w({}, c, {
152
+ centerRipple: C,
153
+ component: h,
154
+ disabled: r,
155
+ disableRipple: R,
156
+ disableTouchRipple: F,
157
+ focusRipple: a,
158
+ tabIndex: K,
159
+ focusVisible: u
160
+ }), ye = Pe(O);
161
+ return /* @__PURE__ */ Ee(je, w({
162
+ as: y,
163
+ className: Be(ye.root, z),
164
+ ownerState: O,
165
+ onBlur: be,
166
+ onClick: l,
167
+ onContextMenu: ce,
168
+ onFocus: me,
169
+ onKeyDown: he,
170
+ onKeyUp: Re,
171
+ onMouseDown: ue,
172
+ onMouseLeave: le,
173
+ onMouseUp: ae,
174
+ onDragLeave: ie,
175
+ onTouchEnd: fe,
176
+ onTouchMove: de,
177
+ onTouchStart: pe,
178
+ ref: Te,
179
+ tabIndex: r ? -1 : K,
180
+ type: x
181
+ }, d, p, {
182
+ children: [m, k ? (
183
+ /* TouchRipple is only needed client-side, x2 boost on the server. */
184
+ /* @__PURE__ */ we(De, w({
185
+ ref: oe,
186
+ center: C
187
+ }, Z))
188
+ ) : null]
189
+ }));
190
+ });
191
+ process.env.NODE_ENV !== "production" && (q.propTypes = {
192
+ // ----------------------------- Warning --------------------------------
193
+ // | These PropTypes are generated from the TypeScript type definitions |
194
+ // | To update them edit the d.ts file and run "yarn proptypes" |
195
+ // ----------------------------------------------------------------------
196
+ /**
197
+ * A ref for imperative actions.
198
+ * It currently only supports `focusVisible()` action.
199
+ */
200
+ action: Le,
201
+ /**
202
+ * If `true`, the ripples are centered.
203
+ * They won't start at the cursor interaction position.
204
+ * @default false
205
+ */
206
+ centerRipple: e.bool,
207
+ /**
208
+ * The content of the component.
209
+ */
210
+ children: e.node,
211
+ /**
212
+ * Override or extend the styles applied to the component.
213
+ */
214
+ classes: e.object,
215
+ /**
216
+ * @ignore
217
+ */
218
+ className: e.string,
219
+ /**
220
+ * The component used for the root node.
221
+ * Either a string to use a HTML element or a component.
222
+ */
223
+ component: Ne,
224
+ /**
225
+ * If `true`, the component is disabled.
226
+ * @default false
227
+ */
228
+ disabled: e.bool,
229
+ /**
230
+ * If `true`, the ripple effect is disabled.
231
+ *
232
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
233
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
234
+ * @default false
235
+ */
236
+ disableRipple: e.bool,
237
+ /**
238
+ * If `true`, the touch ripple effect is disabled.
239
+ * @default false
240
+ */
241
+ disableTouchRipple: e.bool,
242
+ /**
243
+ * If `true`, the base button will have a keyboard focus ripple.
244
+ * @default false
245
+ */
246
+ focusRipple: e.bool,
247
+ /**
248
+ * This prop can help identify which element has keyboard focus.
249
+ * The class name will be applied when the element gains the focus through keyboard interaction.
250
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
251
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
252
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
253
+ * if needed.
254
+ */
255
+ focusVisibleClassName: e.string,
256
+ /**
257
+ * @ignore
258
+ */
259
+ href: e.any,
260
+ /**
261
+ * The component used to render a link when the `href` prop is provided.
262
+ * @default 'a'
263
+ */
264
+ LinkComponent: e.elementType,
265
+ /**
266
+ * @ignore
267
+ */
268
+ onBlur: e.func,
269
+ /**
270
+ * @ignore
271
+ */
272
+ onClick: e.func,
273
+ /**
274
+ * @ignore
275
+ */
276
+ onContextMenu: e.func,
277
+ /**
278
+ * @ignore
279
+ */
280
+ onDragLeave: e.func,
281
+ /**
282
+ * @ignore
283
+ */
284
+ onFocus: e.func,
285
+ /**
286
+ * Callback fired when the component is focused with a keyboard.
287
+ * We trigger a `onFocus` callback too.
288
+ */
289
+ onFocusVisible: e.func,
290
+ /**
291
+ * @ignore
292
+ */
293
+ onKeyDown: e.func,
294
+ /**
295
+ * @ignore
296
+ */
297
+ onKeyUp: e.func,
298
+ /**
299
+ * @ignore
300
+ */
301
+ onMouseDown: e.func,
302
+ /**
303
+ * @ignore
304
+ */
305
+ onMouseLeave: e.func,
306
+ /**
307
+ * @ignore
308
+ */
309
+ onMouseUp: e.func,
310
+ /**
311
+ * @ignore
312
+ */
313
+ onTouchEnd: e.func,
314
+ /**
315
+ * @ignore
316
+ */
317
+ onTouchMove: e.func,
318
+ /**
319
+ * @ignore
320
+ */
321
+ onTouchStart: e.func,
322
+ /**
323
+ * The system prop that allows defining system overrides as well as additional CSS styles.
324
+ */
325
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
326
+ /**
327
+ * @default 0
328
+ */
329
+ tabIndex: e.number,
330
+ /**
331
+ * Props applied to the `TouchRipple` element.
332
+ */
333
+ TouchRippleProps: e.object,
334
+ /**
335
+ * A ref that points to the `TouchRipple` element.
336
+ */
337
+ touchRippleRef: e.oneOfType([e.func, e.shape({
338
+ current: e.shape({
339
+ pulsate: e.func.isRequired,
340
+ start: e.func.isRequired,
341
+ stop: e.func.isRequired
342
+ })
343
+ })]),
344
+ /**
345
+ * @ignore
346
+ */
347
+ type: e.oneOfType([e.oneOf(["button", "reset", "submit"]), e.string])
348
+ });
349
+ const Ze = q;
7
350
  export {
8
- l as getYearCalendarUtilityClass
351
+ je as ButtonBaseRoot,
352
+ Ze as default
9
353
  };
package/index.es283.js CHANGED
@@ -1,12 +1,97 @@
1
- import * as o from "react";
2
- import u from "./index.es333.js";
3
- function f(...e) {
4
- return o.useMemo(() => e.every((r) => r == null) ? null : (r) => {
5
- e.forEach((t) => {
6
- u(t, r);
7
- });
8
- }, e);
1
+ import y from "./index.es311.js";
2
+ import l from "./index.es269.js";
3
+ function h(e, t = 0, n = 1) {
4
+ return process.env.NODE_ENV !== "production" && (e < t || e > n), y(e, t, n);
5
+ }
6
+ function x(e) {
7
+ e = e.slice(1);
8
+ const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
9
+ let n = e.match(t);
10
+ return n && n[0].length === 1 && (n = n.map((s) => s + s)), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((s, r) => r < 3 ? parseInt(s, 16) : Math.round(parseInt(s, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
11
+ }
12
+ function a(e) {
13
+ if (e.type)
14
+ return e;
15
+ if (e.charAt(0) === "#")
16
+ return a(x(e));
17
+ const t = e.indexOf("("), n = e.substring(0, t);
18
+ if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
19
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
20
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : l(9, e));
21
+ let s = e.substring(t + 1, e.length - 1), r;
22
+ if (n === "color") {
23
+ if (s = s.split(" "), r = s.shift(), s.length === 4 && s[3].charAt(0) === "/" && (s[3] = s[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(r) === -1)
24
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${r}\` color space.
25
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : l(10, r));
26
+ } else
27
+ s = s.split(",");
28
+ return s = s.map((p) => parseFloat(p)), {
29
+ type: n,
30
+ values: s,
31
+ colorSpace: r
32
+ };
33
+ }
34
+ function i(e) {
35
+ const {
36
+ type: t,
37
+ colorSpace: n
38
+ } = e;
39
+ let {
40
+ values: s
41
+ } = e;
42
+ return t.indexOf("rgb") !== -1 ? s = s.map((r, p) => p < 3 ? parseInt(r, 10) : r) : t.indexOf("hsl") !== -1 && (s[1] = `${s[1]}%`, s[2] = `${s[2]}%`), t.indexOf("color") !== -1 ? s = `${n} ${s.join(" ")}` : s = `${s.join(", ")}`, `${t}(${s})`;
43
+ }
44
+ function $(e) {
45
+ e = a(e);
46
+ const {
47
+ values: t
48
+ } = e, n = t[0], s = t[1] / 100, r = t[2] / 100, p = s * Math.min(r, 1 - r), u = (b, d = (b + n / 30) % 12) => r - p * Math.max(Math.min(d - 3, 9 - d, 1), -1);
49
+ let f = "rgb";
50
+ const g = [Math.round(u(0) * 255), Math.round(u(8) * 255), Math.round(u(4) * 255)];
51
+ return e.type === "hsla" && (f += "a", g.push(t[3])), i({
52
+ type: f,
53
+ values: g
54
+ });
55
+ }
56
+ function m(e) {
57
+ e = a(e);
58
+ let t = e.type === "hsl" || e.type === "hsla" ? a($(e)).values : e.values;
59
+ return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
60
+ }
61
+ function M(e, t) {
62
+ const n = m(e), s = m(t);
63
+ return (Math.max(n, s) + 0.05) / (Math.min(n, s) + 0.05);
64
+ }
65
+ function o(e, t) {
66
+ return e = a(e), t = h(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, i(e);
67
+ }
68
+ function E(e, t) {
69
+ if (e = a(e), t = h(t), e.type.indexOf("hsl") !== -1)
70
+ e.values[2] *= 1 - t;
71
+ else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
72
+ for (let n = 0; n < 3; n += 1)
73
+ e.values[n] *= 1 - t;
74
+ return i(e);
75
+ }
76
+ function w(e, t) {
77
+ if (e = a(e), t = h(t), e.type.indexOf("hsl") !== -1)
78
+ e.values[2] += (100 - e.values[2]) * t;
79
+ else if (e.type.indexOf("rgb") !== -1)
80
+ for (let n = 0; n < 3; n += 1)
81
+ e.values[n] += (255 - e.values[n]) * t;
82
+ else if (e.type.indexOf("color") !== -1)
83
+ for (let n = 0; n < 3; n += 1)
84
+ e.values[n] += (1 - e.values[n]) * t;
85
+ return i(e);
9
86
  }
10
87
  export {
11
- f as default
88
+ o as alpha,
89
+ E as darken,
90
+ a as decomposeColor,
91
+ M as getContrastRatio,
92
+ m as getLuminance,
93
+ x as hexToRgb,
94
+ $ as hslToRgb,
95
+ w as lighten,
96
+ i as recomposeColor
12
97
  };
package/index.es284.js CHANGED
@@ -1,10 +1,12 @@
1
- import r from "./index.es211.js";
2
- import t from "./index.es210.js";
3
- function a(e) {
4
- return t("MuiPickersYear", e);
1
+ import * as o from "react";
2
+ import u from "./index.es306.js";
3
+ function f(...e) {
4
+ return o.useMemo(() => e.every((r) => r == null) ? null : (r) => {
5
+ e.forEach((t) => {
6
+ u(t, r);
7
+ });
8
+ }, e);
5
9
  }
6
- const o = r("MuiPickersYear", ["root", "yearButton", "selected", "disabled"]);
7
10
  export {
8
- a as getPickersYearUtilityClass,
9
- o as pickersYearClasses
11
+ f as default
10
12
  };
package/index.es285.js CHANGED
@@ -1,10 +1,5 @@
1
- import i from "./index.es211.js";
2
- import t from "./index.es210.js";
3
- function r(e) {
4
- return t("MuiPickersDay", e);
5
- }
6
- const l = i("MuiPickersDay", ["root", "dayWithMargin", "dayOutsideMonth", "hiddenDaySpacingFiller", "today", "selected", "disabled"]);
1
+ import * as e from "react";
2
+ const f = typeof window < "u" ? e.useLayoutEffect : e.useEffect, t = f;
7
3
  export {
8
- r as getPickersDayUtilityClass,
9
- l as pickersDayClasses
4
+ t as default
10
5
  };