mada-design-system 0.8.0 → 0.8.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 (408) hide show
  1. package/index.cjs128.js +1 -1
  2. package/index.cjs141.js +1 -1
  3. package/index.cjs144.js +1 -1
  4. package/index.cjs145.js +1 -1
  5. package/index.cjs146.js +1 -1
  6. package/index.cjs147.js +1 -1
  7. package/index.cjs185.js +1 -1
  8. package/index.cjs186.js +1 -1
  9. package/index.cjs187.js +1 -1
  10. package/index.cjs188.js +1 -1
  11. package/index.cjs189.js +1 -1
  12. package/index.cjs190.js +1 -1
  13. package/index.cjs205.js +1 -1
  14. package/index.cjs225.js +1 -1
  15. package/index.cjs231.js +1 -1
  16. package/index.cjs236.js +1 -1
  17. package/index.cjs237.js +1 -1
  18. package/index.cjs238.js +1 -1
  19. package/index.cjs239.js +1 -1
  20. package/index.cjs240.js +1 -1
  21. package/index.cjs241.js +1 -1
  22. package/index.cjs242.js +1 -1
  23. package/index.cjs243.js +1 -1
  24. package/index.cjs244.js +1 -1
  25. package/index.cjs245.js +1 -1
  26. package/index.cjs246.js +1 -1
  27. package/index.cjs247.js +1 -1
  28. package/index.cjs248.js +1 -1
  29. package/index.cjs249.js +1 -1
  30. package/index.cjs250.js +1 -1
  31. package/index.cjs251.js +1 -1
  32. package/index.cjs252.js +1 -1
  33. package/index.cjs253.js +1 -1
  34. package/index.cjs254.js +1 -1
  35. package/index.cjs255.js +1 -1
  36. package/index.cjs256.js +1 -1
  37. package/index.cjs257.js +1 -1
  38. package/index.cjs258.js +1 -1
  39. package/index.cjs259.js +1 -1
  40. package/index.cjs260.js +1 -1
  41. package/index.cjs261.js +1 -1
  42. package/index.cjs262.js +1 -1
  43. package/index.cjs263.js +1 -1
  44. package/index.cjs264.js +1 -1
  45. package/index.cjs265.js +1 -1
  46. package/index.cjs266.js +1 -1
  47. package/index.cjs267.js +1 -1
  48. package/index.cjs268.js +1 -1
  49. package/index.cjs269.js +1 -1
  50. package/index.cjs270.js +1 -1
  51. package/index.cjs271.js +1 -1
  52. package/index.cjs272.js +1 -1
  53. package/index.cjs273.js +1 -1
  54. package/index.cjs274.js +1 -1
  55. package/index.cjs275.js +1 -1
  56. package/index.cjs276.js +1 -1
  57. package/index.cjs277.js +1 -1
  58. package/index.cjs278.js +1 -1
  59. package/index.cjs282.js +1 -1
  60. package/index.cjs283.js +1 -1
  61. package/index.cjs284.js +1 -1
  62. package/index.cjs285.js +1 -1
  63. package/index.cjs286.js +1 -1
  64. package/index.cjs287.js +1 -1
  65. package/index.cjs288.js +1 -1
  66. package/index.cjs289.js +1 -1
  67. package/index.cjs290.js +1 -1
  68. package/index.cjs291.js +1 -1
  69. package/index.cjs301.js +1 -1
  70. package/index.cjs304.js +1 -1
  71. package/index.cjs306.js +1 -1
  72. package/index.cjs310.js +1 -1
  73. package/index.cjs312.js +1 -1
  74. package/index.cjs313.js +1 -1
  75. package/index.cjs314.js +1 -1
  76. package/index.cjs315.js +1 -1
  77. package/index.cjs316.js +1 -1
  78. package/index.cjs317.js +1 -1
  79. package/index.cjs318.js +1 -1
  80. package/index.cjs319.js +1 -1
  81. package/index.cjs320.js +1 -1
  82. package/index.cjs321.js +1 -1
  83. package/index.cjs322.js +1 -1
  84. package/index.cjs323.js +1 -1
  85. package/index.cjs324.js +1 -1
  86. package/index.cjs325.js +1 -1
  87. package/index.cjs326.js +1 -1
  88. package/index.cjs327.js +1 -1
  89. package/index.cjs328.js +1 -1
  90. package/index.cjs329.js +1 -1
  91. package/index.cjs330.js +1 -1
  92. package/index.cjs331.js +1 -1
  93. package/index.cjs332.js +1 -1
  94. package/index.cjs333.js +1 -1
  95. package/index.cjs334.js +1 -1
  96. package/index.cjs335.js +1 -1
  97. package/index.cjs336.js +1 -1
  98. package/index.cjs337.js +1 -1
  99. package/index.cjs338.js +1 -1
  100. package/index.cjs339.js +1 -1
  101. package/index.cjs340.js +1 -1
  102. package/index.cjs341.js +1 -1
  103. package/index.cjs342.js +1 -1
  104. package/index.cjs343.js +1 -1
  105. package/index.cjs344.js +1 -1
  106. package/index.cjs345.js +1 -1
  107. package/index.cjs346.js +1 -1
  108. package/index.cjs347.js +1 -1
  109. package/index.cjs348.js +1 -1
  110. package/index.cjs356.js +1 -1
  111. package/index.cjs357.js +1 -1
  112. package/index.cjs365.js +1 -1
  113. package/index.cjs371.js +1 -1
  114. package/index.cjs373.js +1 -1
  115. package/index.cjs374.js +1 -1
  116. package/index.cjs376.js +1 -1
  117. package/index.cjs378.js +1 -1
  118. package/index.cjs383.js +1 -1
  119. package/index.cjs384.js +1 -1
  120. package/index.cjs385.js +1 -1
  121. package/index.cjs395.js +1 -1
  122. package/index.cjs396.js +1 -1
  123. package/index.cjs401.js +1 -1
  124. package/index.cjs403.js +1 -1
  125. package/index.cjs404.js +1 -1
  126. package/index.cjs405.js +1 -1
  127. package/index.cjs406.js +1 -1
  128. package/index.cjs407.js +1 -1
  129. package/index.cjs408.js +1 -1
  130. package/index.cjs409.js +1 -1
  131. package/index.cjs410.js +1 -1
  132. package/index.cjs411.js +1 -1
  133. package/index.cjs412.js +1 -1
  134. package/index.cjs413.js +1 -1
  135. package/index.cjs414.js +1 -1
  136. package/index.cjs415.js +1 -1
  137. package/index.cjs416.js +1 -1
  138. package/index.cjs417.js +1 -1
  139. package/index.cjs418.js +1 -1
  140. package/index.cjs419.js +1 -1
  141. package/index.cjs420.js +1 -1
  142. package/index.cjs421.js +1 -1
  143. package/index.cjs422.js +1 -1
  144. package/index.cjs423.js +1 -1
  145. package/index.cjs424.js +1 -1
  146. package/index.cjs425.js +1 -1
  147. package/index.cjs426.js +1 -1
  148. package/index.cjs427.js +1 -1
  149. package/index.cjs428.js +1 -1
  150. package/index.cjs429.js +1 -1
  151. package/index.cjs430.js +1 -1
  152. package/index.cjs431.js +1 -1
  153. package/index.cjs432.js +1 -1
  154. package/index.cjs433.js +1 -1
  155. package/index.cjs434.js +1 -1
  156. package/index.cjs435.js +1 -1
  157. package/index.cjs436.js +1 -1
  158. package/index.cjs437.js +1 -1
  159. package/index.cjs438.js +1 -1
  160. package/index.cjs439.js +1 -1
  161. package/index.cjs440.js +1 -1
  162. package/index.cjs441.js +1 -1
  163. package/index.cjs455.js +1 -1
  164. package/index.cjs460.js +1 -1
  165. package/index.cjs461.js +1 -1
  166. package/index.cjs462.js +1 -1
  167. package/index.cjs463.js +2 -1
  168. package/index.cjs464.js +1 -1
  169. package/index.cjs465.js +1 -1
  170. package/index.cjs466.js +1 -2
  171. package/index.cjs467.js +1 -1
  172. package/index.cjs468.js +1 -1
  173. package/index.cjs469.js +1 -1
  174. package/index.cjs47.js +1 -1
  175. package/index.cjs470.js +1 -1
  176. package/index.cjs471.js +1 -1
  177. package/index.cjs472.js +1 -1
  178. package/index.cjs473.js +1 -1
  179. package/index.cjs474.js +1 -1
  180. package/index.cjs475.js +1 -1
  181. package/index.cjs479.js +1 -1
  182. package/index.cjs480.js +1 -1
  183. package/index.cjs484.js +1 -1
  184. package/index.cjs486.js +1 -1
  185. package/index.cjs487.js +1 -1
  186. package/index.cjs488.js +1 -1
  187. package/index.cjs489.js +1 -1
  188. package/index.cjs490.js +1 -1
  189. package/index.cjs491.js +1 -1
  190. package/index.cjs492.js +1 -1
  191. package/index.cjs493.js +1 -1
  192. package/index.cjs494.js +1 -1
  193. package/index.cjs495.js +1 -1
  194. package/index.cjs496.js +1 -1
  195. package/index.cjs497.js +1 -1
  196. package/index.cjs498.js +1 -1
  197. package/index.cjs499.js +1 -1
  198. package/index.cjs500.js +1 -1
  199. package/index.cjs85.js +1 -1
  200. package/index.cjs86.js +1 -1
  201. package/index.cjs89.js +1 -1
  202. package/index.cjs92.js +1 -1
  203. package/index.cjs96.js +1 -1
  204. package/index.es128.js +1 -1
  205. package/index.es141.js +6 -6
  206. package/index.es144.js +5 -5
  207. package/index.es145.js +1 -1
  208. package/index.es146.js +7 -7
  209. package/index.es147.js +5 -5
  210. package/index.es185.js +443 -2310
  211. package/index.es186.js +2300 -2114
  212. package/index.es187.js +2152 -11
  213. package/index.es188.js +11 -139
  214. package/index.es189.js +139 -6
  215. package/index.es190.js +6 -471
  216. package/index.es205.js +2 -2
  217. package/index.es225.js +4 -4
  218. package/index.es231.js +1 -1
  219. package/index.es236.js +98 -8
  220. package/index.es237.js +31 -6
  221. package/index.es238.js +9 -6
  222. package/index.es239.js +141 -7
  223. package/index.es240.js +117 -14
  224. package/index.es241.js +68 -16
  225. package/index.es242.js +31 -9
  226. package/index.es243.js +9 -7
  227. package/index.es244.js +153 -5
  228. package/index.es245.js +106 -513
  229. package/index.es246.js +8 -50
  230. package/index.es247.js +5 -18
  231. package/index.es248.js +5 -6
  232. package/index.es249.js +7 -9
  233. package/index.es250.js +13 -6
  234. package/index.es251.js +15 -5
  235. package/index.es252.js +8 -6
  236. package/index.es253.js +6 -9
  237. package/index.es254.js +4 -5
  238. package/index.es255.js +514 -8
  239. package/index.es256.js +50 -13
  240. package/index.es257.js +18 -9
  241. package/index.es258.js +6 -8
  242. package/index.es259.js +8 -10
  243. package/index.es260.js +6 -14
  244. package/index.es261.js +5 -4
  245. package/index.es262.js +6 -38
  246. package/index.es263.js +10 -65
  247. package/index.es264.js +5 -9
  248. package/index.es265.js +8 -8
  249. package/index.es266.js +12 -7
  250. package/index.es267.js +9 -7
  251. package/index.es268.js +8 -15
  252. package/index.es269.js +11 -98
  253. package/index.es270.js +15 -31
  254. package/index.es271.js +5 -9
  255. package/index.es272.js +37 -139
  256. package/index.es273.js +64 -116
  257. package/index.es274.js +10 -68
  258. package/index.es275.js +9 -31
  259. package/index.es276.js +8 -9
  260. package/index.es277.js +8 -153
  261. package/index.es278.js +16 -108
  262. package/index.es282.js +12 -3
  263. package/index.es283.js +25 -2
  264. package/index.es284.js +10 -12
  265. package/index.es285.js +38 -24
  266. package/index.es286.js +1997 -8
  267. package/index.es287.js +6 -38
  268. package/index.es288.js +71 -1999
  269. package/index.es289.js +24 -6
  270. package/index.es290.js +3 -71
  271. package/index.es291.js +2 -25
  272. package/index.es301.js +1 -1
  273. package/index.es304.js +1 -1
  274. package/index.es306.js +1 -1
  275. package/index.es310.js +2 -2
  276. package/index.es312.js +6 -4
  277. package/index.es313.js +15 -56
  278. package/index.es314.js +28 -27
  279. package/index.es315.js +14 -46
  280. package/index.es316.js +4 -66
  281. package/index.es317.js +56 -37
  282. package/index.es318.js +22 -13
  283. package/index.es319.js +38 -59
  284. package/index.es320.js +47 -48
  285. package/index.es321.js +21 -52
  286. package/index.es322.js +13 -63
  287. package/index.es323.js +47 -25
  288. package/index.es324.js +47 -26
  289. package/index.es325.js +47 -37
  290. package/index.es326.js +47 -27
  291. package/index.es327.js +37 -34
  292. package/index.es328.js +26 -51
  293. package/index.es329.js +39 -52
  294. package/index.es330.js +27 -75
  295. package/index.es331.js +28 -32
  296. package/index.es332.js +56 -31
  297. package/index.es333.js +60 -35
  298. package/index.es334.js +88 -22
  299. package/index.es335.js +39 -22
  300. package/index.es336.js +39 -22
  301. package/index.es337.js +39 -23
  302. package/index.es338.js +22 -21
  303. package/index.es339.js +20 -20
  304. package/index.es340.js +24 -14
  305. package/index.es341.js +23 -38
  306. package/index.es342.js +22 -38
  307. package/index.es343.js +24 -14
  308. package/index.es344.js +14 -14
  309. package/index.es345.js +45 -6
  310. package/index.es346.js +44 -14
  311. package/index.es347.js +19 -28
  312. package/index.es348.js +19 -14
  313. package/index.es356.js +1 -1
  314. package/index.es357.js +1 -1
  315. package/index.es365.js +8 -8
  316. package/index.es371.js +4 -4
  317. package/index.es373.js +5 -5
  318. package/index.es374.js +4 -4
  319. package/index.es376.js +1 -1
  320. package/index.es378.js +3 -3
  321. package/index.es383.js +3 -3
  322. package/index.es384.js +1 -1
  323. package/index.es385.js +1 -1
  324. package/index.es395.js +1 -1
  325. package/index.es396.js +1 -1
  326. package/index.es401.js +6 -2
  327. package/index.es402.js +2 -2
  328. package/index.es403.js +2 -13
  329. package/index.es404.js +24 -143
  330. package/index.es405.js +19 -41
  331. package/index.es406.js +32 -3
  332. package/index.es407.js +6 -41
  333. package/index.es408.js +2 -7
  334. package/index.es409.js +6 -75
  335. package/index.es410.js +3 -54
  336. package/index.es411.js +18 -7
  337. package/index.es412.js +64 -73
  338. package/index.es413.js +15 -23
  339. package/index.es414.js +15 -62
  340. package/index.es415.js +3 -4
  341. package/index.es416.js +12 -6
  342. package/index.es417.js +143 -32
  343. package/index.es418.js +42 -58
  344. package/index.es419.js +3 -13
  345. package/index.es420.js +41 -4
  346. package/index.es421.js +7 -9
  347. package/index.es422.js +75 -54
  348. package/index.es423.js +54 -3
  349. package/index.es424.js +8 -5
  350. package/index.es425.js +76 -17
  351. package/index.es426.js +24 -17
  352. package/index.es427.js +62 -17
  353. package/index.es428.js +5 -17
  354. package/index.es429.js +59 -17
  355. package/index.es430.js +13 -17
  356. package/index.es431.js +3 -16
  357. package/index.es432.js +9 -5
  358. package/index.es433.js +55 -24
  359. package/index.es434.js +5 -21
  360. package/index.es435.js +17 -6
  361. package/index.es436.js +17 -3
  362. package/index.es437.js +16 -3
  363. package/index.es438.js +17 -19
  364. package/index.es439.js +17 -67
  365. package/index.es440.js +17 -16
  366. package/index.es441.js +17 -15
  367. package/index.es455.js +1 -1
  368. package/index.es460.js +2 -11
  369. package/index.es461.js +66 -3
  370. package/index.es462.js +65 -8
  371. package/index.es463.js +78 -4
  372. package/index.es464.js +255 -42
  373. package/index.es465.js +31 -24
  374. package/index.es466.js +6 -78
  375. package/index.es467.js +120 -247
  376. package/index.es468.js +17 -34
  377. package/index.es469.js +7 -6
  378. package/index.es47.js +2 -2
  379. package/index.es470.js +3 -131
  380. package/index.es471.js +48 -17
  381. package/index.es472.js +24 -6
  382. package/index.es473.js +11 -2
  383. package/index.es474.js +3 -66
  384. package/index.es475.js +8 -65
  385. package/index.es479.js +1 -1
  386. package/index.es480.js +1 -1
  387. package/index.es484.js +1 -1
  388. package/index.es486.js +1 -1
  389. package/index.es487.js +2 -8
  390. package/index.es488.js +2 -7
  391. package/index.es489.js +7 -19
  392. package/index.es490.js +7 -51
  393. package/index.es491.js +18 -247
  394. package/index.es492.js +51 -43
  395. package/index.es493.js +247 -14
  396. package/index.es494.js +43 -10
  397. package/index.es495.js +15 -47
  398. package/index.es496.js +10 -26
  399. package/index.es497.js +37 -118
  400. package/index.es498.js +23 -109
  401. package/index.es499.js +129 -2
  402. package/index.es500.js +112 -2
  403. package/index.es85.js +1 -1
  404. package/index.es86.js +1 -1
  405. package/index.es89.js +2 -2
  406. package/index.es92.js +2 -2
  407. package/index.es96.js +1 -1
  408. package/package.json +1 -1
package/index.es467.js CHANGED
@@ -1,261 +1,134 @@
1
- import { w as x, T as g } from "./index.es422.js";
2
- import * as u from "react";
3
- import { insertStyles as w, registerStyles as E, getRegisteredStyles as N } from "./index.es468.js";
4
- import { useInsertionEffectWithLayoutFallback as v, useInsertionEffectAlwaysWithSyncFallback as k } from "./index.es469.js";
5
- import { serializeStyles as p } from "./index.es470.js";
6
- import "./index.es471.js";
7
- var _ = {
8
- name: "@emotion/react",
9
- version: "11.11.3",
10
- main: "dist/emotion-react.cjs.js",
11
- module: "dist/emotion-react.esm.js",
12
- browser: {
13
- "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
14
- },
15
- exports: {
16
- ".": {
17
- module: {
18
- worker: "./dist/emotion-react.worker.esm.js",
19
- browser: "./dist/emotion-react.browser.esm.js",
20
- default: "./dist/emotion-react.esm.js"
21
- },
22
- import: "./dist/emotion-react.cjs.mjs",
23
- default: "./dist/emotion-react.cjs.js"
24
- },
25
- "./jsx-runtime": {
26
- module: {
27
- worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
28
- browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
29
- default: "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
30
- },
31
- import: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
32
- default: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
33
- },
34
- "./_isolated-hnrs": {
35
- module: {
36
- worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
37
- browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
38
- default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
39
- },
40
- import: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
41
- default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
42
- },
43
- "./jsx-dev-runtime": {
44
- module: {
45
- worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
46
- browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
47
- default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
48
- },
49
- import: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
50
- default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
51
- },
52
- "./package.json": "./package.json",
53
- "./types/css-prop": "./types/css-prop.d.ts",
54
- "./macro": {
55
- types: {
56
- import: "./macro.d.mts",
57
- default: "./macro.d.ts"
58
- },
59
- default: "./macro.js"
60
- }
61
- },
62
- types: "types/index.d.ts",
63
- files: [
64
- "src",
65
- "dist",
66
- "jsx-runtime",
67
- "jsx-dev-runtime",
68
- "_isolated-hnrs",
69
- "types/*.d.ts",
70
- "macro.*"
71
- ],
72
- sideEffects: !1,
73
- author: "Emotion Contributors",
74
- license: "MIT",
75
- scripts: {
76
- "test:typescript": "dtslint types"
77
- },
78
- dependencies: {
79
- "@babel/runtime": "^7.18.3",
80
- "@emotion/babel-plugin": "^11.11.0",
81
- "@emotion/cache": "^11.11.0",
82
- "@emotion/serialize": "^1.1.3",
83
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
84
- "@emotion/utils": "^1.2.1",
85
- "@emotion/weak-memoize": "^0.3.1",
86
- "hoist-non-react-statics": "^3.3.1"
87
- },
88
- peerDependencies: {
89
- react: ">=16.8.0"
90
- },
91
- peerDependenciesMeta: {
92
- "@types/react": {
93
- optional: !0
1
+ import w from "./index.es491.js";
2
+ import C from "./index.es492.js";
3
+ import E from "./index.es490.js";
4
+ var _ = !1, x = /[A-Z]|^ms/g, O = /_EMO_([^_]+?)_([^]*?)_EMO_/g, d = function(n) {
5
+ return n.charCodeAt(1) === 45;
6
+ }, p = function(n) {
7
+ return n != null && typeof n != "boolean";
8
+ }, h = /* @__PURE__ */ E(function(r) {
9
+ return d(r) ? r : r.replace(x, "-$&").toLowerCase();
10
+ }), y = function(n, e) {
11
+ switch (n) {
12
+ case "animation":
13
+ case "animationName":
14
+ if (typeof e == "string")
15
+ return e.replace(O, function(f, a, t) {
16
+ return s = {
17
+ name: a,
18
+ styles: t,
19
+ next: s
20
+ }, a;
21
+ });
22
+ }
23
+ return C[n] !== 1 && !d(n) && typeof e == "number" && e !== 0 ? e + "px" : e;
24
+ }, A = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
25
+ function m(r, n, e) {
26
+ if (e == null)
27
+ return "";
28
+ var f = e;
29
+ if (f.__emotion_styles !== void 0)
30
+ return f;
31
+ switch (typeof e) {
32
+ case "boolean":
33
+ return "";
34
+ case "object": {
35
+ var a = e;
36
+ if (a.anim === 1)
37
+ return s = {
38
+ name: a.name,
39
+ styles: a.styles,
40
+ next: s
41
+ }, a.name;
42
+ var t = e;
43
+ if (t.styles !== void 0) {
44
+ var o = t.next;
45
+ if (o !== void 0)
46
+ for (; o !== void 0; )
47
+ s = {
48
+ name: o.name,
49
+ styles: o.styles,
50
+ next: s
51
+ }, o = o.next;
52
+ var i = t.styles + ";";
53
+ return i;
54
+ }
55
+ return M(r, n, e);
94
56
  }
95
- },
96
- devDependencies: {
97
- "@definitelytyped/dtslint": "0.0.112",
98
- "@emotion/css": "11.11.2",
99
- "@emotion/css-prettifier": "1.1.3",
100
- "@emotion/server": "11.11.0",
101
- "@emotion/styled": "11.11.0",
102
- "html-tag-names": "^1.1.2",
103
- react: "16.14.0",
104
- "svg-tag-names": "^1.1.1",
105
- typescript: "^4.5.5"
106
- },
107
- repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
108
- publishConfig: {
109
- access: "public"
110
- },
111
- "umd:main": "dist/emotion-react.umd.min.js",
112
- preconstruct: {
113
- entrypoints: [
114
- "./index.js",
115
- "./jsx-runtime.js",
116
- "./jsx-dev-runtime.js",
117
- "./_isolated-hnrs.js"
118
- ],
119
- umdName: "emotionReact",
120
- exports: {
121
- envConditions: [
122
- "browser",
123
- "worker"
124
- ],
125
- extra: {
126
- "./types/css-prop": "./types/css-prop.d.ts",
127
- "./macro": {
128
- types: {
129
- import: "./macro.d.mts",
130
- default: "./macro.d.ts"
131
- },
132
- default: "./macro.js"
133
- }
57
+ case "function": {
58
+ if (r !== void 0) {
59
+ var u = s, c = e(r);
60
+ return s = u, m(r, n, c);
134
61
  }
62
+ break;
135
63
  }
136
64
  }
137
- }, j = !1, C = /* @__PURE__ */ x(function(i, e) {
138
- process.env.NODE_ENV !== "production" && !j && // check for className as well since the user is
139
- // probably using the custom createElement which
140
- // means it will be turned into a className prop
141
- // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
142
- (i.className || i.css) && (j = !0);
143
- var s = i.styles, r = p([s], void 0, u.useContext(g)), o = u.useRef();
144
- return v(function() {
145
- var n = e.key + "-global", t = new e.sheet.constructor({
146
- key: n,
147
- nonce: e.sheet.nonce,
148
- container: e.sheet.container,
149
- speedy: e.sheet.isSpeedy
150
- }), a = !1, l = document.querySelector('style[data-emotion="' + n + " " + r.name + '"]');
151
- return e.sheet.tags.length && (t.before = e.sheet.tags[0]), l !== null && (a = !0, l.setAttribute("data-emotion", n), t.hydrate([l])), o.current = [t, a], function() {
152
- t.flush();
153
- };
154
- }, [e]), v(function() {
155
- var n = o.current, t = n[0], a = n[1];
156
- if (a) {
157
- n[1] = !1;
158
- return;
159
- }
160
- if (r.next !== void 0 && w(e, r.next, !0), t.tags.length) {
161
- var l = t.tags[t.tags.length - 1].nextElementSibling;
162
- t.before = l, t.flush();
163
- }
164
- e.insert("", r, t, !1);
165
- }, [e, r.name]), null;
166
- });
167
- process.env.NODE_ENV !== "production" && (C.displayName = "EmotionGlobal");
168
- function O() {
169
- for (var i = arguments.length, e = new Array(i), s = 0; s < i; s++)
170
- e[s] = arguments[s];
171
- return p(e);
65
+ var l = e;
66
+ if (n == null)
67
+ return l;
68
+ var v = n[l];
69
+ return v !== void 0 ? v : l;
172
70
  }
173
- var G = function() {
174
- var e = O.apply(void 0, arguments), s = "animation-" + e.name;
175
- return {
176
- name: s,
177
- styles: "@keyframes " + s + "{" + e.styles + "}",
178
- anim: 1,
179
- toString: function() {
180
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
181
- }
182
- };
183
- }, S = function i(e) {
184
- for (var s = e.length, r = 0, o = ""; r < s; r++) {
185
- var n = e[r];
186
- if (n != null) {
187
- var t = void 0;
188
- switch (typeof n) {
189
- case "boolean":
190
- break;
191
- case "object": {
192
- if (Array.isArray(n))
193
- t = i(n);
194
- else {
195
- process.env.NODE_ENV !== "production" && n.styles !== void 0 && n.name, t = "";
196
- for (var a in n)
197
- n[a] && a && (t && (t += " "), t += a);
71
+ function M(r, n, e) {
72
+ var f = "";
73
+ if (Array.isArray(e))
74
+ for (var a = 0; a < e.length; a++)
75
+ f += m(r, n, e[a]) + ";";
76
+ else
77
+ for (var t in e) {
78
+ var o = e[t];
79
+ if (typeof o != "object") {
80
+ var i = o;
81
+ n != null && n[i] !== void 0 ? f += t + "{" + n[i] + "}" : p(i) && (f += h(t) + ":" + y(t, i) + ";");
82
+ } else {
83
+ if (t === "NO_COMPONENT_SELECTOR" && _)
84
+ throw new Error(A);
85
+ if (Array.isArray(o) && typeof o[0] == "string" && (n == null || n[o[0]] === void 0))
86
+ for (var u = 0; u < o.length; u++)
87
+ p(o[u]) && (f += h(t) + ":" + y(t, o[u]) + ";");
88
+ else {
89
+ var c = m(r, n, o);
90
+ switch (t) {
91
+ case "animation":
92
+ case "animationName": {
93
+ f += h(t) + ":" + c + ";";
94
+ break;
95
+ }
96
+ default:
97
+ f += t + "{" + c + "}";
198
98
  }
199
- break;
200
99
  }
201
- default:
202
- t = n;
203
100
  }
204
- t && (o && (o += " "), o += t);
205
101
  }
206
- }
207
- return o;
208
- };
209
- function D(i, e, s) {
210
- var r = [], o = N(i, r, s);
211
- return r.length < 2 ? s : o + e(r);
102
+ return f;
212
103
  }
213
- var z = function(e) {
214
- var s = e.cache, r = e.serializedArr;
215
- return k(function() {
216
- for (var o = 0; o < r.length; o++)
217
- w(s, r[o], !1);
218
- }), null;
219
- }, R = /* @__PURE__ */ x(function(i, e) {
220
- var s = !1, r = [], o = function() {
221
- if (s && process.env.NODE_ENV !== "production")
222
- throw new Error("css can only be used during render");
223
- for (var d = arguments.length, c = new Array(d), m = 0; m < d; m++)
224
- c[m] = arguments[m];
225
- var f = p(c, e.registered);
226
- return r.push(f), E(e, f, !1), e.key + "-" + f.name;
227
- }, n = function() {
228
- if (s && process.env.NODE_ENV !== "production")
229
- throw new Error("cx can only be used during render");
230
- for (var d = arguments.length, c = new Array(d), m = 0; m < d; m++)
231
- c[m] = arguments[m];
232
- return D(e.registered, o, S(c));
233
- }, t = {
234
- css: o,
235
- cx: n,
236
- theme: u.useContext(g)
237
- }, a = i.children(t);
238
- return s = !0, /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement(z, {
239
- cache: e,
240
- serializedArr: r
241
- }), a);
242
- });
243
- process.env.NODE_ENV !== "production" && (R.displayName = "EmotionClassNames");
244
- if (process.env.NODE_ENV !== "production") {
245
- var h = !0, T = typeof jest < "u" || typeof vi < "u";
246
- if (h && !T) {
247
- var y = (
248
- // $FlowIgnore
249
- typeof globalThis < "u" ? globalThis : h ? window : global
250
- ), b = "__EMOTION_REACT_" + _.version.split(".")[0] + "__";
251
- y[b], y[b] = !0;
104
+ var b = /label:\s*([^\s;{]+)\s*(;|$)/g, s;
105
+ function R(r, n, e) {
106
+ if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
107
+ return r[0];
108
+ var f = !0, a = "";
109
+ s = void 0;
110
+ var t = r[0];
111
+ if (t == null || t.raw === void 0)
112
+ f = !1, a += m(e, n, t);
113
+ else {
114
+ var o = t;
115
+ a += o[0];
252
116
  }
117
+ for (var i = 1; i < r.length; i++)
118
+ if (a += m(e, n, r[i]), f) {
119
+ var u = t;
120
+ a += u[i];
121
+ }
122
+ b.lastIndex = 0;
123
+ for (var c = "", l; (l = b.exec(a)) !== null; )
124
+ c += "-" + l[1];
125
+ var v = w(a) + c;
126
+ return {
127
+ name: v,
128
+ styles: a,
129
+ next: s
130
+ };
253
131
  }
254
132
  export {
255
- R as ClassNames,
256
- C as Global,
257
- g as ThemeContext,
258
- O as css,
259
- G as keyframes,
260
- x as withEmotionCache
133
+ R as serializeStyles
261
134
  };
package/index.es468.js CHANGED
@@ -1,34 +1,17 @@
1
- var i = !0;
2
- function u(r, e, t) {
3
- var s = "";
4
- return t.split(" ").forEach(function(n) {
5
- r[n] !== void 0 ? e.push(r[n] + ";") : n && (s += n + " ");
6
- }), s;
7
- }
8
- var o = function(e, t, s) {
9
- var n = e.key + "-" + t.name;
10
- // we only need to add the styles to the registered cache if the
11
- // class name could be used further down
12
- // the tree but if it's a string tag, we know it won't
13
- // so we don't have to add it to registered cache.
14
- // this improves memory usage since we can avoid storing the whole style string
15
- (s === !1 || // we need to always store it if we're in compat mode and
16
- // in node since emotion-server relies on whether a style is in
17
- // the registered cache to know whether a style is global or not
18
- // also, note that this check will be dead code eliminated in the browser
19
- i === !1) && e.registered[n] === void 0 && (e.registered[n] = t.styles);
20
- }, y = function(e, t, s) {
21
- o(e, t, s);
22
- var n = e.key + "-" + t.name;
23
- if (e.inserted[t.name] === void 0) {
24
- var f = t;
25
- do
26
- e.insert(t === f ? "." + n : "", f, e.sheet, !0), f = f.next;
27
- while (f !== void 0);
28
- }
29
- };
30
- export {
31
- u as getRegisteredStyles,
32
- y as insertStyles,
33
- o as registerStyles
34
- };
1
+ import { __require as t } from "./index.es293.js";
2
+ var e = t(), a = {
3
+ $$typeof: !0,
4
+ render: !0,
5
+ defaultProps: !0,
6
+ displayName: !0,
7
+ propTypes: !0
8
+ }, p = {
9
+ $$typeof: !0,
10
+ compare: !0,
11
+ defaultProps: !0,
12
+ displayName: !0,
13
+ propTypes: !0,
14
+ type: !0
15
+ }, r = {};
16
+ r[e.ForwardRef] = a;
17
+ r[e.Memo] = p;
package/index.es469.js CHANGED
@@ -1,8 +1,9 @@
1
- import * as e from "react";
2
- var n = function(a) {
3
- return a();
4
- }, t = e["useInsertionEffect"] ? e["useInsertionEffect"] : !1, c = t || n, f = t || e.useLayoutEffect;
1
+ function c(t, r) {
2
+ const e = this;
3
+ return e.vars && typeof e.getColorSchemeSelector == "function" ? {
4
+ [e.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/, "*:where($1)")]: r
5
+ } : e.palette.mode === t ? r : {};
6
+ }
5
7
  export {
6
- c as useInsertionEffectAlwaysWithSyncFallback,
7
- f as useInsertionEffectWithLayoutFallback
8
+ c as default
8
9
  };
package/index.es47.js CHANGED
@@ -125,7 +125,7 @@ const $ = ({ data: t, name: r, multi: a }) => {
125
125
  ] });
126
126
  }, me = w.memo(
127
127
  ({ multi: t, data: r, placeholder: a, disabled: s, isLoading: h, rounded: m, size: f, name: l, defaultOpen: c, renderItem: p }) => {
128
- const { value: i, upsert: d } = B(), b = j("(max-width: 767px)"), { dir: u } = L();
128
+ const { value: i, upsert: d } = B(), b = j("(max-width: 768px)"), { dir: u } = L();
129
129
  let o;
130
130
  return t ? o = Array.isArray(i == null ? void 0 : i[l]) ? i == null ? void 0 : i[l] : [] : o = typeof (i == null ? void 0 : i[l]) == "string" ? i == null ? void 0 : i[l] : void 0, b ? /* @__PURE__ */ n(F, { dir: u, defaultOpen: c, className: "border-b border-border-primary px-space-03 py-space-02", children: [
131
131
  /* @__PURE__ */ n(k, { id: "subcategoriesCollapsible", className: "flex w-full items-center justify-between py-space-01 ps-space-02", children: [
@@ -196,7 +196,7 @@ const he = w.forwardRef(
196
196
  value: p,
197
197
  ...i
198
198
  }, d) => {
199
- const b = j("(max-width: 767px)"), u = A(
199
+ const b = j("(max-width: 768px)"), u = A(
200
200
  ({ name: N, selectedValue: G }) => {
201
201
  const E = { ...p || {}, [N]: G };
202
202
  r == null || r(E);
package/index.es470.js CHANGED
@@ -1,134 +1,6 @@
1
- import w from "./index.es489.js";
2
- import C from "./index.es490.js";
3
- import E from "./index.es488.js";
4
- var _ = !1, x = /[A-Z]|^ms/g, O = /_EMO_([^_]+?)_([^]*?)_EMO_/g, d = function(n) {
5
- return n.charCodeAt(1) === 45;
6
- }, p = function(n) {
7
- return n != null && typeof n != "boolean";
8
- }, h = /* @__PURE__ */ E(function(r) {
9
- return d(r) ? r : r.replace(x, "-$&").toLowerCase();
10
- }), y = function(n, e) {
11
- switch (n) {
12
- case "animation":
13
- case "animationName":
14
- if (typeof e == "string")
15
- return e.replace(O, function(f, a, t) {
16
- return s = {
17
- name: a,
18
- styles: t,
19
- next: s
20
- }, a;
21
- });
22
- }
23
- return C[n] !== 1 && !d(n) && typeof e == "number" && e !== 0 ? e + "px" : e;
24
- }, A = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
25
- function m(r, n, e) {
26
- if (e == null)
27
- return "";
28
- var f = e;
29
- if (f.__emotion_styles !== void 0)
30
- return f;
31
- switch (typeof e) {
32
- case "boolean":
33
- return "";
34
- case "object": {
35
- var a = e;
36
- if (a.anim === 1)
37
- return s = {
38
- name: a.name,
39
- styles: a.styles,
40
- next: s
41
- }, a.name;
42
- var t = e;
43
- if (t.styles !== void 0) {
44
- var o = t.next;
45
- if (o !== void 0)
46
- for (; o !== void 0; )
47
- s = {
48
- name: o.name,
49
- styles: o.styles,
50
- next: s
51
- }, o = o.next;
52
- var i = t.styles + ";";
53
- return i;
54
- }
55
- return M(r, n, e);
56
- }
57
- case "function": {
58
- if (r !== void 0) {
59
- var u = s, c = e(r);
60
- return s = u, m(r, n, c);
61
- }
62
- break;
63
- }
64
- }
65
- var l = e;
66
- if (n == null)
67
- return l;
68
- var v = n[l];
69
- return v !== void 0 ? v : l;
70
- }
71
- function M(r, n, e) {
72
- var f = "";
73
- if (Array.isArray(e))
74
- for (var a = 0; a < e.length; a++)
75
- f += m(r, n, e[a]) + ";";
76
- else
77
- for (var t in e) {
78
- var o = e[t];
79
- if (typeof o != "object") {
80
- var i = o;
81
- n != null && n[i] !== void 0 ? f += t + "{" + n[i] + "}" : p(i) && (f += h(t) + ":" + y(t, i) + ";");
82
- } else {
83
- if (t === "NO_COMPONENT_SELECTOR" && _)
84
- throw new Error(A);
85
- if (Array.isArray(o) && typeof o[0] == "string" && (n == null || n[o[0]] === void 0))
86
- for (var u = 0; u < o.length; u++)
87
- p(o[u]) && (f += h(t) + ":" + y(t, o[u]) + ";");
88
- else {
89
- var c = m(r, n, o);
90
- switch (t) {
91
- case "animation":
92
- case "animationName": {
93
- f += h(t) + ":" + c + ";";
94
- break;
95
- }
96
- default:
97
- f += t + "{" + c + "}";
98
- }
99
- }
100
- }
101
- }
102
- return f;
103
- }
104
- var b = /label:\s*([^\s;{]+)\s*(;|$)/g, s;
105
- function R(r, n, e) {
106
- if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
107
- return r[0];
108
- var f = !0, a = "";
109
- s = void 0;
110
- var t = r[0];
111
- if (t == null || t.raw === void 0)
112
- f = !1, a += m(e, n, t);
113
- else {
114
- var o = t;
115
- a += o[0];
116
- }
117
- for (var i = 1; i < r.length; i++)
118
- if (a += m(e, n, r[i]), f) {
119
- var u = t;
120
- a += u[i];
121
- }
122
- b.lastIndex = 0;
123
- for (var c = "", l; (l = b.exec(a)) !== null; )
124
- c += "-" + l[1];
125
- var v = w(a) + c;
126
- return {
127
- name: v,
128
- styles: a,
129
- next: s
130
- };
1
+ function r(e, t, f) {
2
+ return typeof e == "function" ? e(t, f) : e;
131
3
  }
132
4
  export {
133
- R as serializeStyles
5
+ r as default
134
6
  };