@cambly/syntax-core 9.8.0-beta.3 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/LICENSE +201 -0
  2. package/dist/Avatar/Avatar.css +23 -22
  3. package/dist/Avatar/Avatar.css.map +1 -1
  4. package/dist/Avatar/Avatar.d.ts +3 -2
  5. package/dist/Avatar/Avatar.js +6 -5
  6. package/dist/Avatar/Avatar.mjs +5 -4
  7. package/dist/AvatarGroup/AvatarGroup.css +5 -33
  8. package/dist/AvatarGroup/AvatarGroup.css.map +1 -1
  9. package/dist/AvatarGroup/AvatarGroup.d.ts +42 -12
  10. package/dist/AvatarGroup/AvatarGroup.js +7 -7
  11. package/dist/AvatarGroup/AvatarGroup.mjs +8 -8
  12. package/dist/Badge/Badge.css +7 -7
  13. package/dist/Badge/Badge.css.map +1 -1
  14. package/dist/Badge/Badge.d.ts +1 -1
  15. package/dist/Badge/Badge.js +6 -6
  16. package/dist/Badge/Badge.mjs +5 -5
  17. package/dist/Box/Box.css +5 -5
  18. package/dist/Box/Box.css.map +1 -1
  19. package/dist/Box/Box.js +4 -4
  20. package/dist/Box/Box.mjs +3 -3
  21. package/dist/Button/Button.css +30 -28
  22. package/dist/Button/Button.css.map +1 -1
  23. package/dist/Button/Button.js +11 -11
  24. package/dist/Button/Button.mjs +10 -10
  25. package/dist/Button/constants/iconSize.css +24 -22
  26. package/dist/Button/constants/iconSize.css.map +1 -1
  27. package/dist/Button/constants/iconSize.js +2 -2
  28. package/dist/Button/constants/iconSize.mjs +1 -1
  29. package/dist/ButtonGroup/ButtonGroup.css +1 -1
  30. package/dist/ButtonGroup/ButtonGroup.css.map +1 -1
  31. package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
  32. package/dist/ButtonGroup/ButtonGroup.js +2 -2
  33. package/dist/ButtonGroup/ButtonGroup.mjs +1 -1
  34. package/dist/Card/Card.css +5 -5
  35. package/dist/Card/Card.css.map +1 -1
  36. package/dist/Card/Card.js +5 -5
  37. package/dist/Card/Card.mjs +4 -4
  38. package/dist/Checkbox/Checkbox.css +4 -4
  39. package/dist/Checkbox/Checkbox.css.map +1 -1
  40. package/dist/Checkbox/Checkbox.d.ts +1 -1
  41. package/dist/Checkbox/Checkbox.js +5 -5
  42. package/dist/Checkbox/Checkbox.mjs +4 -4
  43. package/dist/Chip/Chip.css +7 -7
  44. package/dist/Chip/Chip.css.map +1 -1
  45. package/dist/Chip/Chip.js +6 -6
  46. package/dist/Chip/Chip.mjs +5 -5
  47. package/dist/Divider/Divider.css +1 -1
  48. package/dist/Divider/Divider.css.map +1 -1
  49. package/dist/Divider/Divider.js +2 -2
  50. package/dist/Divider/Divider.mjs +1 -1
  51. package/dist/Heading/Heading.css +2 -2
  52. package/dist/Heading/Heading.css.map +1 -1
  53. package/dist/Heading/Heading.d.ts +1 -1
  54. package/dist/Heading/Heading.js +4 -4
  55. package/dist/Heading/Heading.mjs +3 -3
  56. package/dist/IconButton/IconButton.css +2 -2
  57. package/dist/IconButton/IconButton.css.map +1 -1
  58. package/dist/IconButton/IconButton.js +5 -5
  59. package/dist/IconButton/IconButton.mjs +4 -4
  60. package/dist/LinkButton/LinkButton.css +27 -25
  61. package/dist/LinkButton/LinkButton.css.map +1 -1
  62. package/dist/LinkButton/LinkButton.js +9 -9
  63. package/dist/LinkButton/LinkButton.mjs +8 -8
  64. package/dist/Modal/Layer.css +5 -5
  65. package/dist/Modal/Layer.css.map +1 -1
  66. package/dist/Modal/Layer.js +5 -5
  67. package/dist/Modal/Layer.mjs +4 -4
  68. package/dist/Modal/Modal.css +7 -7
  69. package/dist/Modal/Modal.css.map +1 -1
  70. package/dist/Modal/Modal.js +8 -8
  71. package/dist/Modal/Modal.mjs +7 -7
  72. package/dist/RadioButton/RadioButton.css +4 -4
  73. package/dist/RadioButton/RadioButton.css.map +1 -1
  74. package/dist/RadioButton/RadioButton.d.ts +1 -1
  75. package/dist/RadioButton/RadioButton.js +5 -5
  76. package/dist/RadioButton/RadioButton.mjs +4 -4
  77. package/dist/SelectList/SelectList.css +4 -4
  78. package/dist/SelectList/SelectList.css.map +1 -1
  79. package/dist/SelectList/SelectList.js +5 -5
  80. package/dist/SelectList/SelectList.mjs +4 -4
  81. package/dist/TapArea/TapArea.css +2 -2
  82. package/dist/TapArea/TapArea.css.map +1 -1
  83. package/dist/TapArea/TapArea.js +3 -3
  84. package/dist/TapArea/TapArea.mjs +2 -2
  85. package/dist/TextField/TextField.css +7 -7
  86. package/dist/TextField/TextField.css.map +1 -1
  87. package/dist/TextField/TextField.js +6 -6
  88. package/dist/TextField/TextField.mjs +5 -5
  89. package/dist/Typography/Typography.css +2 -2
  90. package/dist/Typography/Typography.css.map +1 -1
  91. package/dist/Typography/Typography.d.ts +1 -1
  92. package/dist/Typography/Typography.js +3 -3
  93. package/dist/Typography/Typography.mjs +2 -2
  94. package/dist/__chunks/{P4CNOF3E.js → 2JWMSFS7.js} +3 -3
  95. package/dist/__chunks/{VPGRPGP7.js → 2O6FDRTF.js} +1 -1
  96. package/dist/__chunks/2O6FDRTF.js.map +1 -0
  97. package/dist/__chunks/{WO3NKGKN.js → 2PHVTRWC.js} +7 -7
  98. package/dist/__chunks/{WO3NKGKN.js.map → 2PHVTRWC.js.map} +1 -1
  99. package/dist/__chunks/{LKIXWY5D.js → 37CQV3RS.js} +3 -3
  100. package/dist/__chunks/{LKIXWY5D.js.map → 37CQV3RS.js.map} +1 -1
  101. package/dist/__chunks/{QQUTU6E5.mjs → 3PCHHAIY.mjs} +1 -1
  102. package/dist/__chunks/3PCHHAIY.mjs.map +1 -0
  103. package/dist/__chunks/{5VV77UJJ.js → 3VUMTAUX.js} +5 -5
  104. package/dist/__chunks/{5VV77UJJ.js.map → 3VUMTAUX.js.map} +1 -1
  105. package/dist/__chunks/{37REMIOM.js → 4PWSK5GI.js} +1 -1
  106. package/dist/__chunks/4PWSK5GI.js.map +1 -0
  107. package/dist/__chunks/{V4YM6NMQ.mjs → 5R6HCJP6.mjs} +3 -3
  108. package/dist/__chunks/{V4YM6NMQ.mjs.map → 5R6HCJP6.mjs.map} +1 -1
  109. package/dist/__chunks/{BXCLZFW3.js → 6VWFOSQZ.js} +1 -1
  110. package/dist/__chunks/6VWFOSQZ.js.map +1 -0
  111. package/dist/__chunks/{RCT3DP22.mjs → A7UVLRKG.mjs} +1 -1
  112. package/dist/__chunks/A7UVLRKG.mjs.map +1 -0
  113. package/dist/__chunks/{3HUELEGR.mjs → BCWLWS7W.mjs} +2 -2
  114. package/dist/__chunks/{3HUELEGR.mjs.map → BCWLWS7W.mjs.map} +1 -1
  115. package/dist/__chunks/{WPIBNMAN.mjs → BJXYKZMK.mjs} +3 -3
  116. package/dist/__chunks/BJXYKZMK.mjs.map +1 -0
  117. package/dist/__chunks/{OLOF45YI.js → BSFWQWVJ.js} +3 -3
  118. package/dist/__chunks/{KCIQ73YD.js → BSWWGQAS.js} +6 -6
  119. package/dist/__chunks/{KCIQ73YD.js.map → BSWWGQAS.js.map} +1 -1
  120. package/dist/__chunks/{YUPTQIXD.mjs → BWTLHCW3.mjs} +3 -3
  121. package/dist/__chunks/{YUPTQIXD.mjs.map → BWTLHCW3.mjs.map} +1 -1
  122. package/dist/__chunks/CATJI2RJ.js +26 -0
  123. package/dist/__chunks/CATJI2RJ.js.map +1 -0
  124. package/dist/__chunks/{AYC7TUMS.mjs → CGGEM6XS.mjs} +8 -8
  125. package/dist/__chunks/{AYC7TUMS.mjs.map → CGGEM6XS.mjs.map} +1 -1
  126. package/dist/__chunks/{JQHT6NET.mjs → CPBWDVD4.mjs} +10 -10
  127. package/dist/__chunks/{4U36457H.mjs.map → CPBWDVD4.mjs.map} +1 -1
  128. package/dist/__chunks/{O24347EQ.js → CQ2HIJ62.js} +3 -3
  129. package/dist/__chunks/{DOUZDU3A.js → D24RSGYP.js} +1 -1
  130. package/dist/__chunks/D24RSGYP.js.map +1 -0
  131. package/dist/__chunks/{K3JR7BCX.mjs → DVVFHZBW.mjs} +14 -10
  132. package/dist/__chunks/{LCM6DHNZ.mjs.map → DVVFHZBW.mjs.map} +1 -1
  133. package/dist/__chunks/{TCDLLMZO.js → ERJ5XXDH.js} +12 -12
  134. package/dist/__chunks/{TCDLLMZO.js.map → ERJ5XXDH.js.map} +1 -1
  135. package/dist/__chunks/{ESGV3EEU.js → ERXGNP37.js} +1 -1
  136. package/dist/__chunks/ERXGNP37.js.map +1 -0
  137. package/dist/__chunks/{PTAZUBW6.js → F3ZST4RL.js} +9 -9
  138. package/dist/__chunks/{PTAZUBW6.js.map → F3ZST4RL.js.map} +1 -1
  139. package/dist/__chunks/F7PM3X2U.mjs +42 -0
  140. package/dist/__chunks/F7PM3X2U.mjs.map +1 -0
  141. package/dist/__chunks/{TQ4QQTSW.js → FOTKCGZZ.js} +6 -6
  142. package/dist/__chunks/FOTKCGZZ.js.map +1 -0
  143. package/dist/__chunks/{LICJ6EW4.mjs → FWVHWU47.mjs} +1 -1
  144. package/dist/__chunks/FWVHWU47.mjs.map +1 -0
  145. package/dist/__chunks/G4DDTGDI.js +31 -0
  146. package/dist/__chunks/G4DDTGDI.js.map +1 -0
  147. package/dist/__chunks/{IAF6S5CX.js → GPS2XNQI.js} +20 -16
  148. package/dist/__chunks/GPS2XNQI.js.map +1 -0
  149. package/dist/__chunks/{RBVOI6NO.mjs → H3DNC3QP.mjs} +3 -3
  150. package/dist/__chunks/{RBVOI6NO.mjs.map → H3DNC3QP.mjs.map} +1 -1
  151. package/dist/__chunks/{3LM54GWV.mjs → HAZN2FCY.mjs} +1 -1
  152. package/dist/__chunks/HAZN2FCY.mjs.map +1 -0
  153. package/dist/__chunks/{YKIJQZYO.js → HQVZUEWO.js} +1 -2
  154. package/dist/__chunks/HQVZUEWO.js.map +1 -0
  155. package/dist/__chunks/JD6Q4NMG.mjs +118 -0
  156. package/dist/__chunks/JD6Q4NMG.mjs.map +1 -0
  157. package/dist/__chunks/{FLKYHNRX.mjs → JSEHOGL7.mjs} +1 -1
  158. package/dist/__chunks/JSEHOGL7.mjs.map +1 -0
  159. package/dist/__chunks/{BBNBUAJV.js → LJHH6KUW.js} +1 -1
  160. package/dist/__chunks/LJHH6KUW.js.map +1 -0
  161. package/dist/__chunks/{HJYCSDLB.mjs → LKQ7PJ4S.mjs} +3 -3
  162. package/dist/__chunks/LKQ7PJ4S.mjs.map +1 -0
  163. package/dist/__chunks/{D4JUFTND.mjs → LZSDWT4M.mjs} +3 -3
  164. package/dist/__chunks/{D4JUFTND.mjs.map → LZSDWT4M.mjs.map} +1 -1
  165. package/dist/__chunks/MMHLD5IF.js +118 -0
  166. package/dist/__chunks/MMHLD5IF.js.map +1 -0
  167. package/dist/__chunks/{A2VHEPTR.mjs → MX7C572C.mjs} +2 -2
  168. package/dist/__chunks/{S2O3PM7G.mjs → MZEIZAZH.mjs} +2 -2
  169. package/dist/__chunks/{PN7GAGSA.mjs → OQ26OWU4.mjs} +2 -2
  170. package/dist/__chunks/{PN7GAGSA.mjs.map → OQ26OWU4.mjs.map} +1 -1
  171. package/dist/__chunks/{3OXEYQS2.js → PYNS67IV.js} +5 -5
  172. package/dist/__chunks/{3OXEYQS2.js.map → PYNS67IV.js.map} +1 -1
  173. package/dist/__chunks/{SSU3B5AR.mjs → Q2TIB7ZC.mjs} +2 -3
  174. package/dist/__chunks/{F4HTASEF.mjs.map → Q2TIB7ZC.mjs.map} +1 -1
  175. package/dist/__chunks/{5QXUIARJ.mjs → R6CDK4GP.mjs} +2 -3
  176. package/dist/__chunks/{ZHZ6U63Z.mjs.map → R6CDK4GP.mjs.map} +1 -1
  177. package/dist/__chunks/{JJQRVIE2.mjs → RRE7PRE5.mjs} +3 -3
  178. package/dist/__chunks/{JJQRVIE2.mjs.map → RRE7PRE5.mjs.map} +1 -1
  179. package/dist/__chunks/{KDEHEUYG.mjs → RSU3GDHB.mjs} +3 -3
  180. package/dist/__chunks/{KDEHEUYG.mjs.map → RSU3GDHB.mjs.map} +1 -1
  181. package/dist/__chunks/{MF2FZIOI.mjs → RVT6EXR3.mjs} +2 -2
  182. package/dist/__chunks/SSXWBCF3.js +42 -0
  183. package/dist/__chunks/SSXWBCF3.js.map +1 -0
  184. package/dist/__chunks/{6KRS5AXC.mjs → SXTRSFG5.mjs} +1 -1
  185. package/dist/__chunks/SXTRSFG5.mjs.map +1 -0
  186. package/dist/__chunks/{BFZW2SIU.js → TKYRBLSM.js} +14 -14
  187. package/dist/__chunks/{O7DAECUN.js.map → TKYRBLSM.js.map} +1 -1
  188. package/dist/__chunks/{S2OLRDIA.js → TPMQI44L.js} +1 -1
  189. package/dist/__chunks/TPMQI44L.js.map +1 -0
  190. package/dist/__chunks/{DPOT7MLO.js → TUACMS2V.js} +6 -6
  191. package/dist/__chunks/{DPOT7MLO.js.map → TUACMS2V.js.map} +1 -1
  192. package/dist/__chunks/{4ONM4N5U.js → UNIBFDXV.js} +5 -5
  193. package/dist/__chunks/{4ONM4N5U.js.map → UNIBFDXV.js.map} +1 -1
  194. package/dist/__chunks/{MQPPALTP.mjs → WJDAVT5R.mjs} +1 -1
  195. package/dist/__chunks/WJDAVT5R.mjs.map +1 -0
  196. package/dist/__chunks/{WLELQDTJ.js → X74O4HUS.js} +5 -5
  197. package/dist/__chunks/{WLELQDTJ.js.map → X74O4HUS.js.map} +1 -1
  198. package/dist/__chunks/{SFLBYQCV.mjs → XN5AALLC.mjs} +1 -2
  199. package/dist/__chunks/{LTYTYJEN.mjs.map → XN5AALLC.mjs.map} +1 -1
  200. package/dist/colors/backgroundColor.css +1 -1
  201. package/dist/colors/backgroundColor.css.map +1 -1
  202. package/dist/colors/backgroundColor.js +3 -3
  203. package/dist/colors/backgroundColor.mjs +2 -2
  204. package/dist/colors/foregroundColor.css +1 -1
  205. package/dist/colors/foregroundColor.css.map +1 -1
  206. package/dist/colors/foregroundColor.js +3 -3
  207. package/dist/colors/foregroundColor.mjs +2 -2
  208. package/dist/colors/foregroundTypographyColor.js +2 -2
  209. package/dist/colors/foregroundTypographyColor.mjs +1 -1
  210. package/dist/index.css +61 -58
  211. package/dist/index.css.map +1 -1
  212. package/dist/index.d.ts +0 -1
  213. package/dist/index.js +29 -30
  214. package/dist/index.mjs +30 -31
  215. package/package.json +16 -16
  216. package/dist/AvatarGroup/AvatarGroupAvatar.css +0 -1811
  217. package/dist/AvatarGroup/AvatarGroupAvatar.css.map +0 -1
  218. package/dist/AvatarGroup/AvatarGroupAvatar.d.ts +0 -38
  219. package/dist/AvatarGroup/AvatarGroupAvatar.js +0 -13
  220. package/dist/AvatarGroup/AvatarGroupAvatar.js.map +0 -1
  221. package/dist/AvatarGroup/AvatarGroupAvatar.mjs +0 -13
  222. package/dist/AvatarGroup/AvatarGroupAvatar.mjs.map +0 -1
  223. package/dist/MiniActionCard/MiniActionCard.css +0 -19
  224. package/dist/MiniActionCard/MiniActionCard.css.map +0 -1
  225. package/dist/MiniActionCard/MiniActionCard.d.ts +0 -11
  226. package/dist/MiniActionCard/MiniActionCard.js +0 -8
  227. package/dist/MiniActionCard/MiniActionCard.js.map +0 -1
  228. package/dist/MiniActionCard/MiniActionCard.mjs +0 -8
  229. package/dist/MiniActionCard/MiniActionCard.mjs.map +0 -1
  230. package/dist/__chunks/25AVG5RK.js +0 -28
  231. package/dist/__chunks/25AVG5RK.js.map +0 -1
  232. package/dist/__chunks/2AXWRBLG.mjs +0 -34
  233. package/dist/__chunks/2AXWRBLG.mjs.map +0 -1
  234. package/dist/__chunks/37REMIOM.js.map +0 -1
  235. package/dist/__chunks/3LM54GWV.mjs.map +0 -1
  236. package/dist/__chunks/3MG27OMA.js +0 -64
  237. package/dist/__chunks/3MG27OMA.js.map +0 -1
  238. package/dist/__chunks/3N6HHI46.js +0 -32
  239. package/dist/__chunks/3N6HHI46.js.map +0 -1
  240. package/dist/__chunks/4EEVXYO7.js +0 -216
  241. package/dist/__chunks/4EEVXYO7.js.map +0 -1
  242. package/dist/__chunks/4U36457H.mjs +0 -110
  243. package/dist/__chunks/4VIJNV7V.mjs +0 -216
  244. package/dist/__chunks/4VIJNV7V.mjs.map +0 -1
  245. package/dist/__chunks/5C5EHJ47.js +0 -34
  246. package/dist/__chunks/5C5EHJ47.js.map +0 -1
  247. package/dist/__chunks/5QXUIARJ.mjs.map +0 -1
  248. package/dist/__chunks/5VIJTDOF.mjs +0 -120
  249. package/dist/__chunks/5VIJTDOF.mjs.map +0 -1
  250. package/dist/__chunks/6KRS5AXC.mjs.map +0 -1
  251. package/dist/__chunks/6LPXMM72.js +0 -29
  252. package/dist/__chunks/6LPXMM72.js.map +0 -1
  253. package/dist/__chunks/A4I7G22A.js +0 -7
  254. package/dist/__chunks/A4I7G22A.js.map +0 -1
  255. package/dist/__chunks/AR6OTJE4.mjs +0 -120
  256. package/dist/__chunks/AR6OTJE4.mjs.map +0 -1
  257. package/dist/__chunks/AXK2UBWP.js +0 -120
  258. package/dist/__chunks/AXK2UBWP.js.map +0 -1
  259. package/dist/__chunks/BBNBUAJV.js.map +0 -1
  260. package/dist/__chunks/BFZW2SIU.js.map +0 -1
  261. package/dist/__chunks/BNRC45PX.js +0 -15
  262. package/dist/__chunks/BNRC45PX.js.map +0 -1
  263. package/dist/__chunks/BXCLZFW3.js.map +0 -1
  264. package/dist/__chunks/C33AWSV6.js +0 -61
  265. package/dist/__chunks/C33AWSV6.js.map +0 -1
  266. package/dist/__chunks/CUVXZOBA.mjs +0 -7
  267. package/dist/__chunks/CUVXZOBA.mjs.map +0 -1
  268. package/dist/__chunks/CWODDNFV.mjs +0 -66
  269. package/dist/__chunks/CWODDNFV.mjs.map +0 -1
  270. package/dist/__chunks/DOUZDU3A.js.map +0 -1
  271. package/dist/__chunks/EDT4HTWE.js +0 -24
  272. package/dist/__chunks/EDT4HTWE.js.map +0 -1
  273. package/dist/__chunks/ESGV3EEU.js.map +0 -1
  274. package/dist/__chunks/F4HTASEF.mjs +0 -24
  275. package/dist/__chunks/FLKYHNRX.mjs.map +0 -1
  276. package/dist/__chunks/FOSMT7QJ.js +0 -34
  277. package/dist/__chunks/FOSMT7QJ.js.map +0 -1
  278. package/dist/__chunks/FVU4BA3R.mjs +0 -15
  279. package/dist/__chunks/FVU4BA3R.mjs.map +0 -1
  280. package/dist/__chunks/FZO6U2EP.mjs +0 -61
  281. package/dist/__chunks/FZO6U2EP.mjs.map +0 -1
  282. package/dist/__chunks/GD77DL2Y.mjs +0 -106
  283. package/dist/__chunks/GD77DL2Y.mjs.map +0 -1
  284. package/dist/__chunks/HJYCSDLB.mjs.map +0 -1
  285. package/dist/__chunks/HPQ27RVD.js +0 -7
  286. package/dist/__chunks/HPQ27RVD.js.map +0 -1
  287. package/dist/__chunks/IAF6S5CX.js.map +0 -1
  288. package/dist/__chunks/IFTFN6UJ.mjs +0 -96
  289. package/dist/__chunks/IFTFN6UJ.mjs.map +0 -1
  290. package/dist/__chunks/IMA6TVID.js +0 -14
  291. package/dist/__chunks/IMA6TVID.js.map +0 -1
  292. package/dist/__chunks/JMKHYRFL.mjs +0 -53
  293. package/dist/__chunks/JMKHYRFL.mjs.map +0 -1
  294. package/dist/__chunks/JQHT6NET.mjs.map +0 -1
  295. package/dist/__chunks/K3JR7BCX.mjs.map +0 -1
  296. package/dist/__chunks/K6XUX6LJ.mjs +0 -34
  297. package/dist/__chunks/K6XUX6LJ.mjs.map +0 -1
  298. package/dist/__chunks/KEVWT27Z.mjs +0 -81
  299. package/dist/__chunks/KEVWT27Z.mjs.map +0 -1
  300. package/dist/__chunks/KNBS7I65.mjs +0 -34
  301. package/dist/__chunks/KNBS7I65.mjs.map +0 -1
  302. package/dist/__chunks/KNDHXB3A.js +0 -66
  303. package/dist/__chunks/KNDHXB3A.js.map +0 -1
  304. package/dist/__chunks/KNTQWIRZ.mjs +0 -64
  305. package/dist/__chunks/KNTQWIRZ.mjs.map +0 -1
  306. package/dist/__chunks/LCM6DHNZ.mjs +0 -120
  307. package/dist/__chunks/LICJ6EW4.mjs.map +0 -1
  308. package/dist/__chunks/LJA4ANIH.js +0 -120
  309. package/dist/__chunks/LJA4ANIH.js.map +0 -1
  310. package/dist/__chunks/LTYTYJEN.mjs +0 -20
  311. package/dist/__chunks/MQPPALTP.mjs.map +0 -1
  312. package/dist/__chunks/MQYAYRG7.js +0 -106
  313. package/dist/__chunks/MQYAYRG7.js.map +0 -1
  314. package/dist/__chunks/MUJ5ZM2P.mjs +0 -14
  315. package/dist/__chunks/MUJ5ZM2P.mjs.map +0 -1
  316. package/dist/__chunks/NCGV4CPL.mjs +0 -7
  317. package/dist/__chunks/NCGV4CPL.mjs.map +0 -1
  318. package/dist/__chunks/NS7JP3FM.mjs +0 -105
  319. package/dist/__chunks/NS7JP3FM.mjs.map +0 -1
  320. package/dist/__chunks/O7DAECUN.js +0 -110
  321. package/dist/__chunks/PLJUFTJY.js +0 -120
  322. package/dist/__chunks/PLJUFTJY.js.map +0 -1
  323. package/dist/__chunks/PR3BB3FG.js +0 -96
  324. package/dist/__chunks/PR3BB3FG.js.map +0 -1
  325. package/dist/__chunks/PRHHEVW3.mjs +0 -14
  326. package/dist/__chunks/PRHHEVW3.mjs.map +0 -1
  327. package/dist/__chunks/QQUTU6E5.mjs.map +0 -1
  328. package/dist/__chunks/QTRAGVT2.js +0 -81
  329. package/dist/__chunks/QTRAGVT2.js.map +0 -1
  330. package/dist/__chunks/QX4SPXNO.js +0 -27
  331. package/dist/__chunks/QX4SPXNO.js.map +0 -1
  332. package/dist/__chunks/R3JL4P3Q.js +0 -72
  333. package/dist/__chunks/R3JL4P3Q.js.map +0 -1
  334. package/dist/__chunks/RCT3DP22.mjs.map +0 -1
  335. package/dist/__chunks/S2OLRDIA.js.map +0 -1
  336. package/dist/__chunks/SFLBYQCV.mjs.map +0 -1
  337. package/dist/__chunks/SSU3B5AR.mjs.map +0 -1
  338. package/dist/__chunks/SWA6IQLD.mjs +0 -28
  339. package/dist/__chunks/SWA6IQLD.mjs.map +0 -1
  340. package/dist/__chunks/TC3MWLLE.js +0 -20
  341. package/dist/__chunks/TC3MWLLE.js.map +0 -1
  342. package/dist/__chunks/TCXV6BXC.js +0 -34
  343. package/dist/__chunks/TCXV6BXC.js.map +0 -1
  344. package/dist/__chunks/TQ4QQTSW.js.map +0 -1
  345. package/dist/__chunks/USJPERI4.js +0 -58
  346. package/dist/__chunks/USJPERI4.js.map +0 -1
  347. package/dist/__chunks/VDPH7IK3.js +0 -105
  348. package/dist/__chunks/VDPH7IK3.js.map +0 -1
  349. package/dist/__chunks/VPGRPGP7.js.map +0 -1
  350. package/dist/__chunks/WIDP7NHD.mjs +0 -72
  351. package/dist/__chunks/WIDP7NHD.mjs.map +0 -1
  352. package/dist/__chunks/WOYU2W3H.js +0 -53
  353. package/dist/__chunks/WOYU2W3H.js.map +0 -1
  354. package/dist/__chunks/WPIBNMAN.mjs.map +0 -1
  355. package/dist/__chunks/WSCARST6.mjs +0 -58
  356. package/dist/__chunks/WSCARST6.mjs.map +0 -1
  357. package/dist/__chunks/YKIJQZYO.js.map +0 -1
  358. package/dist/__chunks/YOICG7YI.mjs +0 -31
  359. package/dist/__chunks/YOICG7YI.mjs.map +0 -1
  360. package/dist/__chunks/Z6VJIDKQ.js +0 -31
  361. package/dist/__chunks/Z6VJIDKQ.js.map +0 -1
  362. package/dist/__chunks/ZCN7X7TS.js +0 -14
  363. package/dist/__chunks/ZCN7X7TS.js.map +0 -1
  364. package/dist/__chunks/ZHZ6U63Z.mjs +0 -29
  365. /package/dist/__chunks/{P4CNOF3E.js.map → 2JWMSFS7.js.map} +0 -0
  366. /package/dist/__chunks/{OLOF45YI.js.map → BSFWQWVJ.js.map} +0 -0
  367. /package/dist/__chunks/{O24347EQ.js.map → CQ2HIJ62.js.map} +0 -0
  368. /package/dist/__chunks/{A2VHEPTR.mjs.map → MX7C572C.mjs.map} +0 -0
  369. /package/dist/__chunks/{S2O3PM7G.mjs.map → MZEIZAZH.mjs.map} +0 -0
  370. /package/dist/__chunks/{MF2FZIOI.mjs.map → RVT6EXR3.mjs.map} +0 -0
@@ -1,120 +0,0 @@
1
- import {
2
- loadingIconSize_default
3
- } from "./EKJ4XOIM.mjs";
4
- import {
5
- textVariant_default
6
- } from "./AMBZXKUQ.mjs";
7
- import {
8
- iconSize_default
9
- } from "./FVU4BA3R.mjs";
10
- import {
11
- Box_default
12
- } from "./HJYCSDLB.mjs";
13
- import {
14
- Typography_default
15
- } from "./3HUELEGR.mjs";
16
- import {
17
- useIsHydrated
18
- } from "./XFKGXL73.mjs";
19
- import {
20
- foregroundTypographyColor
21
- } from "./SFLBYQCV.mjs";
22
- import {
23
- foregroundColor
24
- } from "./SSU3B5AR.mjs";
25
- import {
26
- backgroundColor
27
- } from "./5QXUIARJ.mjs";
28
-
29
- // src/Button/Button.tsx
30
- import { forwardRef } from "react";
31
- import classNames from "classnames";
32
-
33
- // css-module:./Button.module.css#css-module
34
- var Button_module_default = { "button": "_button_raa9c_1", "buttonGap": "_buttonGap_raa9c_10", "fullWidth": "_fullWidth_raa9c_51", "sm": "_sm_raa9c_55", "md": "_md_raa9c_61", "lg": "_lg_raa9c_67", "icon": "_icon_raa9c_73", "smIcon": "_smIcon_raa9c_77", "mdIcon": "_mdIcon_raa9c_84", "lgIcon": "_lgIcon_raa9c_91", "secondaryBorder": "_secondaryBorder_raa9c_98", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_raa9c_102", "loading": "_loading_raa9c_116", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_raa9c_1", "loadingCircle": "_loadingCircle_raa9c_120" };
35
-
36
- // src/Button/Button.tsx
37
- import { jsx, jsxs } from "react/jsx-runtime";
38
- var Button = forwardRef(
39
- ({
40
- "data-testid": dataTestId,
41
- text,
42
- loadingText,
43
- color = "primary",
44
- size = "md",
45
- accessibilityLabel,
46
- disabled = false,
47
- loading = false,
48
- fullWidth = false,
49
- startIcon: StartIcon,
50
- endIcon: EndIcon,
51
- onClick,
52
- tooltip,
53
- type = "button"
54
- }, ref) => {
55
- const isHydrated = useIsHydrated();
56
- return /* @__PURE__ */ jsxs(
57
- "button",
58
- {
59
- "data-testid": dataTestId,
60
- ref,
61
- "aria-label": accessibilityLabel,
62
- type,
63
- title: tooltip,
64
- disabled: !isHydrated || disabled || loading,
65
- onClick,
66
- className: classNames(
67
- Button_module_default.button,
68
- foregroundColor(color),
69
- backgroundColor(color),
70
- Button_module_default[size],
71
- {
72
- [Button_module_default.fullWidth]: fullWidth,
73
- [Button_module_default.buttonGap]: size === "lg" || size === "md",
74
- [Button_module_default.secondaryBorder]: color === "secondary",
75
- [Button_module_default.secondaryDestructiveBorder]: color === "destructive-secondary"
76
- }
77
- ),
78
- children: [
79
- !loading && StartIcon && /* @__PURE__ */ jsx(StartIcon, { className: classNames(Button_module_default.icon, iconSize_default[size]) }),
80
- (loading && loadingText || !loading && text) && /* @__PURE__ */ jsx(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx(
81
- Typography_default,
82
- {
83
- size: textVariant_default[size],
84
- color: foregroundTypographyColor(color),
85
- children: loading ? loadingText : text
86
- }
87
- ) }),
88
- !loading && EndIcon && /* @__PURE__ */ jsx(EndIcon, { className: classNames(Button_module_default.icon, iconSize_default[size]) }),
89
- loading && /* @__PURE__ */ jsx(
90
- "svg",
91
- {
92
- className: classNames(Button_module_default.loading, foregroundColor(color)),
93
- viewBox: "22 22 44 44",
94
- width: loadingIconSize_default[size],
95
- height: loadingIconSize_default[size],
96
- children: /* @__PURE__ */ jsx(
97
- "circle",
98
- {
99
- className: Button_module_default.loadingCircle,
100
- cx: "44",
101
- cy: "44",
102
- r: "20.2",
103
- fill: "none",
104
- strokeWidth: "3.6"
105
- }
106
- )
107
- }
108
- )
109
- ]
110
- }
111
- );
112
- }
113
- );
114
- Button.displayName = "Button";
115
- var Button_default = Button;
116
-
117
- export {
118
- Button_default
119
- };
120
- //# sourceMappingURL=LCM6DHNZ.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["css-module:../colors/colors.module.css#css-module"],"sourcesContent":["import \"/Users/christian/cambly/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_11l4y_2\",\"destructive700Color\":\"_destructive700Color_11l4y_6\",\"gray700Color\":\"_gray700Color_11l4y_10\",\"gray900Color\":\"_gray900Color_11l4y_14\",\"primary700Color\":\"_primary700Color_11l4y_18\",\"success700Color\":\"_success700Color_11l4y_22\",\"whiteColor\":\"_whiteColor_11l4y_26\",\"blackBackgroundColor\":\"_blackBackgroundColor_11l4y_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_11l4y_35\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_11l4y_39\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_11l4y_43\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_11l4y_47\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_11l4y_51\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_11l4y_55\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_11l4y_59\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_11l4y_63\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_11l4y_67\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_11l4y_71\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_11l4y_75\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_11l4y_79\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_11l4y_83\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_11l4y_87\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_11l4y_91\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_11l4y_95\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_11l4y_99\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_11l4y_103\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_11l4y_107\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_11l4y_111\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_11l4y_115\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_11l4y_119\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_11l4y_123\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_11l4y_127\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_11l4y_131\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_11l4y_135\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_11l4y_139\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_11l4y_143\",\"success100BackgroundColor\":\"_success100BackgroundColor_11l4y_147\",\"success200BackgroundColor\":\"_success200BackgroundColor_11l4y_151\",\"success300BackgroundColor\":\"_success300BackgroundColor_11l4y_155\",\"success700BackgroundColor\":\"_success700BackgroundColor_11l4y_159\",\"success800BackgroundColor\":\"_success800BackgroundColor_11l4y_163\",\"success900BackgroundColor\":\"_success900BackgroundColor_11l4y_167\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_11l4y_171\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_11l4y_175\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_11l4y_179\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_11l4y_183\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_11l4y_187\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_11l4y_191\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_11l4y_195\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_11l4y_199\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_11l4y_203\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_11l4y_207\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_11l4y_211\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_11l4y_215\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_11l4y_219\"}"],"mappings":";AAA2F,IAAO,wBAAQ,EAAC,gBAAe,yBAAwB,uBAAsB,gCAA+B,gBAAe,0BAAyB,gBAAe,0BAAyB,mBAAkB,6BAA4B,mBAAkB,6BAA4B,cAAa,wBAAuB,wBAAuB,kCAAiC,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,yBAAwB,mCAAkC,yBAAwB,mCAAkC,yBAAwB,mCAAkC,yBAAwB,mCAAkC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,4BAA2B,sCAAqC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,wBAAuB,mCAAkC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,sCAAqC;","names":[]}
@@ -1,120 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
-
3
- var _SAEVPDUPjs = require('./SAEVPDUP.js');
4
-
5
-
6
- var _5DBWL6IKjs = require('./5DBWL6IK.js');
7
-
8
-
9
- var _BNRC45PXjs = require('./BNRC45PX.js');
10
-
11
-
12
- var _3OXEYQS2js = require('./3OXEYQS2.js');
13
-
14
-
15
- var _PTAZUBW6js = require('./PTAZUBW6.js');
16
-
17
-
18
- var _YJ7YDIGBjs = require('./YJ7YDIGB.js');
19
-
20
-
21
- var _YKIJQZYOjs = require('./YKIJQZYO.js');
22
-
23
-
24
- var _QX4SPXNOjs = require('./QX4SPXNO.js');
25
-
26
-
27
- var _3N6HHI46js = require('./3N6HHI46.js');
28
-
29
- // src/Button/Button.tsx
30
- var _react = require('react');
31
- var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
32
-
33
- // css-module:./Button.module.css#css-module
34
- var Button_module_default = { "button": "_button_raa9c_1", "buttonGap": "_buttonGap_raa9c_10", "fullWidth": "_fullWidth_raa9c_51", "sm": "_sm_raa9c_55", "md": "_md_raa9c_61", "lg": "_lg_raa9c_67", "icon": "_icon_raa9c_73", "smIcon": "_smIcon_raa9c_77", "mdIcon": "_mdIcon_raa9c_84", "lgIcon": "_lgIcon_raa9c_91", "secondaryBorder": "_secondaryBorder_raa9c_98", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_raa9c_102", "loading": "_loading_raa9c_116", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_raa9c_1", "loadingCircle": "_loadingCircle_raa9c_120" };
35
-
36
- // src/Button/Button.tsx
37
- var _jsxruntime = require('react/jsx-runtime');
38
- var Button = _react.forwardRef.call(void 0,
39
- ({
40
- "data-testid": dataTestId,
41
- text,
42
- loadingText,
43
- color = "primary",
44
- size = "md",
45
- accessibilityLabel,
46
- disabled = false,
47
- loading = false,
48
- fullWidth = false,
49
- startIcon: StartIcon,
50
- endIcon: EndIcon,
51
- onClick,
52
- tooltip,
53
- type = "button"
54
- }, ref) => {
55
- const isHydrated = _YJ7YDIGBjs.useIsHydrated.call(void 0, );
56
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
57
- "button",
58
- {
59
- "data-testid": dataTestId,
60
- ref,
61
- "aria-label": accessibilityLabel,
62
- type,
63
- title: tooltip,
64
- disabled: !isHydrated || disabled || loading,
65
- onClick,
66
- className: _classnames2.default.call(void 0,
67
- Button_module_default.button,
68
- _QX4SPXNOjs.foregroundColor.call(void 0, color),
69
- _3N6HHI46js.backgroundColor.call(void 0, color),
70
- Button_module_default[size],
71
- {
72
- [Button_module_default.fullWidth]: fullWidth,
73
- [Button_module_default.buttonGap]: size === "lg" || size === "md",
74
- [Button_module_default.secondaryBorder]: color === "secondary",
75
- [Button_module_default.secondaryDestructiveBorder]: color === "destructive-secondary"
76
- }
77
- ),
78
- children: [
79
- !loading && StartIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StartIcon, { className: _classnames2.default.call(void 0, Button_module_default.icon, _BNRC45PXjs.iconSize_default[size]) }),
80
- (loading && loadingText || !loading && text) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _3OXEYQS2js.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
81
- _PTAZUBW6js.Typography_default,
82
- {
83
- size: _5DBWL6IKjs.textVariant_default[size],
84
- color: _YKIJQZYOjs.foregroundTypographyColor.call(void 0, color),
85
- children: loading ? loadingText : text
86
- }
87
- ) }),
88
- !loading && EndIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EndIcon, { className: _classnames2.default.call(void 0, Button_module_default.icon, _BNRC45PXjs.iconSize_default[size]) }),
89
- loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
90
- "svg",
91
- {
92
- className: _classnames2.default.call(void 0, Button_module_default.loading, _QX4SPXNOjs.foregroundColor.call(void 0, color)),
93
- viewBox: "22 22 44 44",
94
- width: _SAEVPDUPjs.loadingIconSize_default[size],
95
- height: _SAEVPDUPjs.loadingIconSize_default[size],
96
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
97
- "circle",
98
- {
99
- className: Button_module_default.loadingCircle,
100
- cx: "44",
101
- cy: "44",
102
- r: "20.2",
103
- fill: "none",
104
- strokeWidth: "3.6"
105
- }
106
- )
107
- }
108
- )
109
- ]
110
- }
111
- );
112
- }
113
- );
114
- Button.displayName = "Button";
115
- var Button_default = Button;
116
-
117
-
118
-
119
- exports.Button_default = Button_default;
120
- //# sourceMappingURL=LJA4ANIH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Button/Button.tsx","css-module:./Button.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAgB,kBAAkB;AAClC,OAAO,gBAAgB;;;ACDoE,IAAO,wBAAQ,EAAC,UAAS,mBAAkB,aAAY,uBAAsB,aAAY,uBAAsB,MAAK,gBAAe,MAAK,gBAAe,MAAK,gBAAe,QAAO,kBAAiB,UAAS,oBAAmB,UAAS,oBAAmB,UAAS,oBAAmB,mBAAkB,6BAA4B,8BAA6B,yCAAwC,WAAU,sBAAqB,6BAA4B,sCAAqC,iBAAgB,2BAA0B;;;AD4HzmB,SAuBI,KAvBJ;AAvBN,IAAM,SAAS;AAAA,EACb,CACE;AAAA,IACE,eAAe;AAAA,IACf;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,IACR,OAAO;AAAA,IACP;AAAA,IACA,WAAW;AAAA,IACX,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,SAAS;AAAA,IACT;AAAA,IACA;AAAA,IACA,OAAO;AAAA,EACT,GACA,QACG;AACH,UAAM,aAAa,cAAc;AAEjC,WACE;AAAA,MAAC;AAAA;AAAA,QACC,eAAa;AAAA,QACb;AAAA,QACA,cAAY;AAAA,QACZ;AAAA,QACA,OAAO;AAAA,QACP,UAAU,CAAC,cAAc,YAAY;AAAA,QACrC;AAAA,QACA,WAAW;AAAA,UACT,sBAAO;AAAA,UACP,gBAAgB,KAAK;AAAA,UACrB,gBAAgB,KAAK;AAAA,UACrB,sBAAO,IAAI;AAAA,UACX;AAAA,YACE,CAAC,sBAAO,SAAS,GAAG;AAAA,YACpB,CAAC,sBAAO,SAAS,GAAG,SAAS,QAAQ,SAAS;AAAA,YAC9C,CAAC,sBAAO,eAAe,GAAG,UAAU;AAAA,YACpC,CAAC,sBAAO,0BAA0B,GAChC,UAAU;AAAA,UACd;AAAA,QACF;AAAA,QAEC;AAAA,WAAC,WAAW,aACX,oBAAC,aAAU,WAAW,WAAW,sBAAO,MAAM,iBAAS,IAAI,CAAC,GAAG;AAAA,WAE9D,WAAW,eAAiB,CAAC,WAAW,SACzC,oBAAC,eAAI,UAAU,GACb;AAAA,YAAC;AAAA;AAAA,cACC,MAAM,oBAAY,IAAI;AAAA,cACtB,OAAO,0BAA0B,KAAK;AAAA,cAErC,oBAAU,cAAc;AAAA;AAAA,UAC3B,GACF;AAAA,UAED,CAAC,WAAW,WACX,oBAAC,WAAQ,WAAW,WAAW,sBAAO,MAAM,iBAAS,IAAI,CAAC,GAAG;AAAA,UAE9D,WACC;AAAA,YAAC;AAAA;AAAA,cACC,WAAW,WAAW,sBAAO,SAAS,gBAAgB,KAAK,CAAC;AAAA,cAC5D,SAAQ;AAAA,cACR,OAAO,wBAAgB,IAAI;AAAA,cAC3B,QAAQ,wBAAgB,IAAI;AAAA,cAE5B;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,sBAAO;AAAA,kBAClB,IAAG;AAAA,kBACH,IAAG;AAAA,kBACH,GAAE;AAAA,kBACF,MAAK;AAAA,kBACL,aAAY;AAAA;AAAA,cACd;AAAA;AAAA,UACF;AAAA;AAAA;AAAA,IAEJ;AAAA,EAEJ;AACF;AAEA,OAAO,cAAc;AAErB,IAAO,iBAAQ","sourcesContent":["import React, { forwardRef } from \"react\";\nimport classNames from \"classnames\";\n\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport foregroundTypographyColor from \"../colors/foregroundTypographyColor\";\nimport { type Size } from \"../constants\";\nimport Typography from \"../Typography/Typography\";\nimport Box from \"../Box/Box\";\n\nimport iconSize from \"./constants/iconSize\";\nimport textVariant from \"./constants/textVariant\";\nimport loadingIconSize from \"./constants/loadingIconSize\";\nimport styles from \"./Button.module.css\";\nimport useIsHydrated from \"../useIsHydrated\";\n\ntype ButtonProps = {\n /**\n * Test id for the button\n */\n \"data-testid\"?: string;\n /**\n * The text to be displayed inside the button\n */\n text: string;\n /**\n * The text to be displayed inside the button when it is in a loading state\n */\n loadingText?: string;\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?:\n | \"primary\"\n | \"secondary\"\n | \"tertiary\"\n | \"destructive-primary\"\n | \"destructive-secondary\"\n | \"destructive-tertiary\"\n | \"branded\"\n | \"success\"\n | \"inverse\";\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, the button will be in a loading state\n *\n * @defaultValue false\n */\n loading?: boolean;\n /**\n * If `true`, the button will take up the full width of its container\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n startIcon?: React.ComponentType<{ className?: string }>;\n /**\n * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n endIcon?: React.ComponentType<{ className?: string }>;\n /**\n * The callback to be called when the button is clicked\n */\n onClick?: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n /**\n * The type you want to set for the primitive <button/>\n */\n type?: \"button\" | \"submit\" | \"reset\";\n};\n\n/**\n * [Button](https://cambly-syntax.vercel.app/?path=/docs/components-button--docs) is used to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.\n */\nconst Button = forwardRef<HTMLButtonElement, ButtonProps>(\n (\n {\n \"data-testid\": dataTestId,\n text,\n loadingText,\n color = \"primary\",\n size = \"md\",\n accessibilityLabel,\n disabled = false,\n loading = false,\n fullWidth = false,\n startIcon: StartIcon,\n endIcon: EndIcon,\n onClick,\n tooltip,\n type = \"button\",\n }: ButtonProps,\n ref,\n ) => {\n const isHydrated = useIsHydrated();\n\n return (\n <button\n data-testid={dataTestId}\n ref={ref}\n aria-label={accessibilityLabel}\n type={type}\n title={tooltip}\n disabled={!isHydrated || disabled || loading}\n onClick={onClick}\n className={classNames(\n styles.button,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n {\n [styles.fullWidth]: fullWidth,\n [styles.buttonGap]: size === \"lg\" || size === \"md\",\n [styles.secondaryBorder]: color === \"secondary\",\n [styles.secondaryDestructiveBorder]:\n color === \"destructive-secondary\",\n },\n )}\n >\n {!loading && StartIcon && (\n <StartIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {((loading && loadingText) || (!loading && text)) && (\n <Box paddingX={1}>\n <Typography\n size={textVariant[size]}\n color={foregroundTypographyColor(color)}\n >\n {loading ? loadingText : text}\n </Typography>\n </Box>\n )}\n {!loading && EndIcon && (\n <EndIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {loading && (\n <svg\n className={classNames(styles.loading, foregroundColor(color))}\n viewBox=\"22 22 44 44\"\n width={loadingIconSize[size]}\n height={loadingIconSize[size]}\n >\n <circle\n className={styles.loadingCircle}\n cx=\"44\"\n cy=\"44\"\n r=\"20.2\"\n fill=\"none\"\n strokeWidth=\"3.6\"\n />\n </svg>\n )}\n </button>\n );\n },\n);\n\nButton.displayName = \"Button\";\n\nexport default Button;\n","import \"/Users/christian/cambly/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_raa9c_1\",\"buttonGap\":\"_buttonGap_raa9c_10\",\"fullWidth\":\"_fullWidth_raa9c_51\",\"sm\":\"_sm_raa9c_55\",\"md\":\"_md_raa9c_61\",\"lg\":\"_lg_raa9c_67\",\"icon\":\"_icon_raa9c_73\",\"smIcon\":\"_smIcon_raa9c_77\",\"mdIcon\":\"_mdIcon_raa9c_84\",\"lgIcon\":\"_lgIcon_raa9c_91\",\"secondaryBorder\":\"_secondaryBorder_raa9c_98\",\"secondaryDestructiveBorder\":\"_secondaryDestructiveBorder_raa9c_102\",\"loading\":\"_loading_raa9c_116\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_raa9c_1\",\"loadingCircle\":\"_loadingCircle_raa9c_120\"}"]}
@@ -1,20 +0,0 @@
1
- // src/colors/foregroundTypographyColor.ts
2
- function foregroundTypographyColor(color) {
3
- switch (color) {
4
- case "secondary":
5
- case "tertiary":
6
- return "primary";
7
- case "destructive-secondary":
8
- case "destructive-tertiary":
9
- return "destructive-primary";
10
- case "branded":
11
- return "gray900";
12
- default:
13
- return "white";
14
- }
15
- }
16
-
17
- export {
18
- foregroundTypographyColor
19
- };
20
- //# sourceMappingURL=LTYTYJEN.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["css-module:../Focus.module.css#css-module"],"sourcesContent":["import \"/Users/christian/cambly/syntax/packages/syntax-core/src/Focus.module.css\"; export default {\"accessibilityOutlineFocus\":\"_accessibilityOutlineFocus_1h8bq_1\"}"],"mappings":";AAAmF,IAAO,uBAAQ,EAAC,6BAA4B,qCAAoC;","names":[]}
@@ -1,106 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
-
3
- var _VPGRPGP7js = require('./VPGRPGP7.js');
4
-
5
-
6
- var _OGJDUOWPjs = require('./OGJDUOWP.js');
7
-
8
-
9
- var _R3JL4P3Qjs = require('./R3JL4P3Q.js');
10
-
11
- // src/Checkbox/Checkbox.tsx
12
- var _react = require('react');
13
- var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
14
-
15
- // css-module:./Checkbox.module.css#css-module
16
- var Checkbox_module_default = { "mainContainer": "_mainContainer_1omm6_1", "inputOverlay": "_inputOverlay_1omm6_8", "checkbox": "_checkbox_1omm6_14", "disabled": "_disabled_1omm6_22", "cursorDisabled": "_cursorDisabled_1omm6_26", "cursorEnabled": "_cursorEnabled_1omm6_30", "uncheckedBox": "_uncheckedBox_1omm6_34", "uncheckedBorder": "_uncheckedBorder_1omm6_38", "uncheckedErrorBorder": "_uncheckedErrorBorder_1omm6_42", "checkedBox": "_checkedBox_1omm6_46", "checkedNonError": "_checkedNonError_1omm6_50", "checkedError": "_checkedError_1omm6_54", "sm": "_sm_1omm6_58", "md": "_md_1omm6_64" };
17
-
18
- // src/Checkbox/Checkbox.tsx
19
- var _jsxruntime = require('react/jsx-runtime');
20
- var typographySize = {
21
- sm: 100,
22
- md: 200
23
- };
24
- var iconWidth = {
25
- sm: 12,
26
- md: 20
27
- };
28
- var Checkbox = ({
29
- checked = false,
30
- "data-testid": dataTestId,
31
- disabled = false,
32
- size = "md",
33
- label,
34
- error = false,
35
- onChange
36
- }) => {
37
- const [isFocused, setIsFocused] = _react.useState.call(void 0, false);
38
- const { isFocusVisible } = _OGJDUOWPjs.useFocusVisible.call(void 0, );
39
- const checkboxStyling = _classnames2.default.call(void 0, Checkbox_module_default.checkbox, Checkbox_module_default[size]);
40
- const uncheckedStyling = _classnames2.default.call(void 0, checkboxStyling, Checkbox_module_default.uncheckedBox, {
41
- [Checkbox_module_default.uncheckedBorder]: !error,
42
- [Checkbox_module_default.uncheckedErrorBorder]: error,
43
- [_VPGRPGP7js.Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
44
- });
45
- const checkedStyling = _classnames2.default.call(void 0, checkboxStyling, Checkbox_module_default.checkedBox, {
46
- [Checkbox_module_default.checkedNonError]: !error,
47
- [Checkbox_module_default.checkedError]: error,
48
- [_VPGRPGP7js.Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
49
- });
50
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
51
- "label",
52
- {
53
- className: _classnames2.default.call(void 0,
54
- Checkbox_module_default.mainContainer,
55
- Checkbox_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
56
- {
57
- [Checkbox_module_default.disabled]: disabled
58
- }
59
- ),
60
- children: [
61
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
62
- "path",
63
- {
64
- fill: "#fff",
65
- d: "m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0L9 16.2z"
66
- }
67
- ) }) }),
68
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
69
- "input",
70
- {
71
- "data-testid": dataTestId,
72
- type: "checkbox",
73
- className: _classnames2.default.call(void 0,
74
- Checkbox_module_default.inputOverlay,
75
- Checkbox_module_default[size],
76
- Checkbox_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`]
77
- ),
78
- checked,
79
- onChange,
80
- disabled,
81
- onFocus: () => {
82
- setIsFocused(true);
83
- },
84
- onBlur: () => {
85
- setIsFocused(false);
86
- }
87
- }
88
- ),
89
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
90
- _R3JL4P3Qjs.Typography_default,
91
- {
92
- size: typographySize[size],
93
- color: error ? "destructive-primary" : "gray800",
94
- children: label
95
- }
96
- )
97
- ]
98
- }
99
- );
100
- };
101
- var Checkbox_default = Checkbox;
102
-
103
-
104
-
105
- exports.Checkbox_default = Checkbox_default;
106
- //# sourceMappingURL=MQYAYRG7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Checkbox/Checkbox.tsx","css-module:./Checkbox.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACDwE,IAAO,0BAAQ,EAAC,iBAAgB,0BAAyB,gBAAe,yBAAwB,YAAW,sBAAqB,YAAW,sBAAqB,kBAAiB,4BAA2B,iBAAgB,2BAA0B,gBAAe,0BAAyB,mBAAkB,6BAA4B,wBAAuB,kCAAiC,cAAa,wBAAuB,mBAAkB,6BAA4B,gBAAe,0BAAyB,MAAK,gBAAe,MAAK,eAAc;;;ADqFhoB,SAYQ,KAZR;AA9EJ,IAAM,iBAAiB;AAAA,EACrB,IAAI;AAAA,EACJ,IAAI;AACN;AAEA,IAAM,YAAY;AAAA,EAChB,IAAI;AAAA,EACJ,IAAI;AACN;AAKA,IAAM,WAAW,CAAC;AAAA,EAChB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,WAAW;AAAA,EACX,OAAO;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,EACR;AACF,MAwCoB;AAClB,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,eAAe,IAAI,gBAAgB;AAE3C,QAAM,kBAAkB,WAAW,wBAAO,UAAU,wBAAO,IAAI,CAAC;AAChE,QAAM,mBAAmB,WAAW,iBAAiB,wBAAO,cAAc;AAAA,IACxE,CAAC,wBAAO,eAAe,GAAG,CAAC;AAAA,IAC3B,CAAC,wBAAO,oBAAoB,GAAG;AAAA,IAC/B,CAAC,qBAAY,yBAAyB,GAAG,aAAa;AAAA,EACxD,CAAC;AACD,QAAM,iBAAiB,WAAW,iBAAiB,wBAAO,YAAY;AAAA,IACpE,CAAC,wBAAO,eAAe,GAAG,CAAC;AAAA,IAC3B,CAAC,wBAAO,YAAY,GAAG;AAAA,IACvB,CAAC,qBAAY,yBAAyB,GAAG,aAAa;AAAA,EACxD,CAAC;AAED,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT,wBAAO;AAAA,QACP,wBAAO,SAAS,WAAW,aAAa,WAAW;AAAA,QACnD;AAAA,UACE,CAAC,wBAAO,QAAQ,GAAG;AAAA,QACrB;AAAA,MACF;AAAA,MAEA;AAAA,4BAAC,SAAI,WAAW,UAAU,iBAAiB,kBACxC,qBACC,oBAAC,SAAI,eAAY,QAAO,SAAQ,aAAY,OAAO,UAAU,IAAI,GAC/D;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,GAAE;AAAA;AAAA,QACH,GACH,GAEJ;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,eAAa;AAAA,YACb,MAAK;AAAA,YACL,WAAW;AAAA,cACT,wBAAO;AAAA,cACP,wBAAO,IAAI;AAAA,cACX,wBAAO,SAAS,WAAW,aAAa,WAAW;AAAA,YACrD;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,SAAS,MAAM;AACb,2BAAa,IAAI;AAAA,YACnB;AAAA,YACA,QAAQ,MAAM;AACZ,2BAAa,KAAK;AAAA,YACpB;AAAA;AAAA,QACF;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,eAAe,IAAI;AAAA,YACzB,OAAO,QAAQ,wBAAwB;AAAA,YAEtC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,mBAAQ","sourcesContent":["import React, { type ReactElement, useState } from \"react\";\nimport classNames from \"classnames\";\nimport useFocusVisible from \"../useFocusVisible\";\nimport styles from \"./Checkbox.module.css\";\nimport focusStyles from \"../Focus.module.css\";\nimport Typography from \"../Typography/Typography\";\n\nconst typographySize = {\n sm: 100,\n md: 200,\n} as const;\n\nconst iconWidth = {\n sm: 12,\n md: 20,\n};\n\n/**\n * [Checkbox](https://cambly-syntax.vercel.app/?path=/docs/components-checkbox--docs) is a clickable element that will show if an option has been selected or not.\n */\nconst Checkbox = ({\n checked = false,\n \"data-testid\": dataTestId,\n disabled = false,\n size = \"md\",\n label,\n error = false,\n onChange,\n}: {\n /**\n * Whether or not the box has been clicked\n *\n * @defaultValue false\n */\n checked: boolean;\n /**\n * Test id for the checkbox\n */\n \"data-testid\"?: string;\n /**\n * The callback to be called when the checkbox value changes\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Whether or not the box is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The size of the checkbox and icon\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * The text accompanying the checkbox\n */\n label: string;\n /**\n * Whether or not there is an error with the input\n *\n * @defaultValue false\n */\n error?: boolean;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\n\n const checkboxStyling = classNames(styles.checkbox, styles[size]);\n const uncheckedStyling = classNames(checkboxStyling, styles.uncheckedBox, {\n [styles.uncheckedBorder]: !error,\n [styles.uncheckedErrorBorder]: error,\n [focusStyles.accessibilityOutlineFocus]: isFocused && isFocusVisible,\n });\n const checkedStyling = classNames(checkboxStyling, styles.checkedBox, {\n [styles.checkedNonError]: !error,\n [styles.checkedError]: error,\n [focusStyles.accessibilityOutlineFocus]: isFocused && isFocusVisible,\n });\n\n return (\n <label\n className={classNames(\n styles.mainContainer,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.disabled]: disabled,\n },\n )}\n >\n <div className={checked ? checkedStyling : uncheckedStyling}>\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n fill=\"#fff\"\n d=\"m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0L9 16.2z\"\n ></path>\n </svg>\n )}\n </div>\n <input\n data-testid={dataTestId}\n type=\"checkbox\"\n className={classNames(\n styles.inputOverlay,\n styles[size],\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n )}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n <Typography\n size={typographySize[size]}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/Users/christian/cambly/syntax/packages/syntax-core/src/Checkbox/Checkbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_1omm6_1\",\"inputOverlay\":\"_inputOverlay_1omm6_8\",\"checkbox\":\"_checkbox_1omm6_14\",\"disabled\":\"_disabled_1omm6_22\",\"cursorDisabled\":\"_cursorDisabled_1omm6_26\",\"cursorEnabled\":\"_cursorEnabled_1omm6_30\",\"uncheckedBox\":\"_uncheckedBox_1omm6_34\",\"uncheckedBorder\":\"_uncheckedBorder_1omm6_38\",\"uncheckedErrorBorder\":\"_uncheckedErrorBorder_1omm6_42\",\"checkedBox\":\"_checkedBox_1omm6_46\",\"checkedNonError\":\"_checkedNonError_1omm6_50\",\"checkedError\":\"_checkedError_1omm6_54\",\"sm\":\"_sm_1omm6_58\",\"md\":\"_md_1omm6_64\"}"]}
@@ -1,14 +0,0 @@
1
- // css-module:./MiniActionCard.module.css#css-module
2
- var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
3
-
4
- // src/MiniActionCard/MiniActionCard.tsx
5
- import { jsx } from "react/jsx-runtime";
6
- var MiniActionCard = ({
7
- children
8
- }) => /* @__PURE__ */ jsx("div", { className: MiniActionCard_module_default.miniActionCard, children });
9
- var MiniActionCard_default = MiniActionCard;
10
-
11
- export {
12
- MiniActionCard_default
13
- };
14
- //# sourceMappingURL=MUJ5ZM2P.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["css-module:./MiniActionCard.module.css#css-module","../../src/MiniActionCard/MiniActionCard.tsx"],"sourcesContent":["import \"/Users/christian/cambly/syntax/packages/syntax-core/src/MiniActionCard/MiniActionCard.module.css\"; export default {\"miniActionCard\":\"_miniActionCard_qebkn_1\",\"card\":\"_card_qebkn_9\"}","import styles from \"./MiniActionCard.module.css\";\n\n/**\n * [MiniActionCard](https://cambly-syntax.vercel.app/?path=/docs/components-miniactioncard--docs) is component that alerts users to a call to action.\n */\nconst MiniActionCard = ({\n children,\n}: {\n /**\n * The child components to render within MiniActionCard.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.miniActionCard}>{children}</div>;\n\nexport default MiniActionCard;\n"],"mappings":";AAA2G,IAAO,gCAAQ,EAAC,kBAAiB,2BAA0B,QAAO,gBAAe;;;ACYzK;AAPnB,IAAM,iBAAiB,CAAC;AAAA,EACtB;AACF,MAKmB,oBAAC,SAAI,WAAW,8BAAO,gBAAiB,UAAS;AAEpE,IAAO,yBAAQ;","names":[]}
@@ -1,7 +0,0 @@
1
- // css-module:../colors/colors.module.css#css-module
2
- var colors_module_default = { "inheritColor": "_inheritColor_11wj3_2", "destructive700Color": "_destructive700Color_11wj3_6", "gray700Color": "_gray700Color_11wj3_10", "gray900Color": "_gray900Color_11wj3_14", "primary700Color": "_primary700Color_11wj3_18", "whiteColor": "_whiteColor_11wj3_22", "blackBackgroundColor": "_blackBackgroundColor_11wj3_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_11wj3_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_11wj3_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_11wj3_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_11wj3_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_11wj3_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_11wj3_51", "gray10BackgroundColor": "_gray10BackgroundColor_11wj3_55", "gray30BackgroundColor": "_gray30BackgroundColor_11wj3_59", "gray60BackgroundColor": "_gray60BackgroundColor_11wj3_63", "gray80BackgroundColor": "_gray80BackgroundColor_11wj3_67", "gray100BackgroundColor": "_gray100BackgroundColor_11wj3_71", "gray200BackgroundColor": "_gray200BackgroundColor_11wj3_75", "gray300BackgroundColor": "_gray300BackgroundColor_11wj3_79", "gray700BackgroundColor": "_gray700BackgroundColor_11wj3_83", "gray800BackgroundColor": "_gray800BackgroundColor_11wj3_87", "gray900BackgroundColor": "_gray900BackgroundColor_11wj3_91", "orange100BackgroundColor": "_orange100BackgroundColor_11wj3_95", "orange200BackgroundColor": "_orange200BackgroundColor_11wj3_99", "orange300BackgroundColor": "_orange300BackgroundColor_11wj3_103", "orange700BackgroundColor": "_orange700BackgroundColor_11wj3_107", "orange800BackgroundColor": "_orange800BackgroundColor_11wj3_111", "orange900BackgroundColor": "_orange900BackgroundColor_11wj3_115", "primary100BackgroundColor": "_primary100BackgroundColor_11wj3_119", "primary200BackgroundColor": "_primary200BackgroundColor_11wj3_123", "primary300BackgroundColor": "_primary300BackgroundColor_11wj3_127", "primary700BackgroundColor": "_primary700BackgroundColor_11wj3_131", "primary800BackgroundColor": "_primary800BackgroundColor_11wj3_135", "primary900BackgroundColor": "_primary900BackgroundColor_11wj3_139", "success100BackgroundColor": "_success100BackgroundColor_11wj3_143", "success200BackgroundColor": "_success200BackgroundColor_11wj3_147", "success300BackgroundColor": "_success300BackgroundColor_11wj3_151", "success700BackgroundColor": "_success700BackgroundColor_11wj3_155", "success800BackgroundColor": "_success800BackgroundColor_11wj3_159", "success900BackgroundColor": "_success900BackgroundColor_11wj3_163", "purple100BackgroundColor": "_purple100BackgroundColor_11wj3_167", "purple200BackgroundColor": "_purple200BackgroundColor_11wj3_171", "purple300BackgroundColor": "_purple300BackgroundColor_11wj3_175", "purple700BackgroundColor": "_purple700BackgroundColor_11wj3_179", "purple800BackgroundColor": "_purple800BackgroundColor_11wj3_183", "purple900BackgroundColor": "_purple900BackgroundColor_11wj3_187", "whiteBackgroundColor": "_whiteBackgroundColor_11wj3_191", "yellow100BackgroundColor": "_yellow100BackgroundColor_11wj3_195", "yellow200BackgroundColor": "_yellow200BackgroundColor_11wj3_199", "yellow300BackgroundColor": "_yellow300BackgroundColor_11wj3_203", "yellow700BackgroundColor": "_yellow700BackgroundColor_11wj3_207", "yellow800BackgroundColor": "_yellow800BackgroundColor_11wj3_211", "yellow900BackgroundColor": "_yellow900BackgroundColor_11wj3_215" };
3
-
4
- export {
5
- colors_module_default
6
- };
7
- //# sourceMappingURL=NCGV4CPL.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["css-module:../colors/colors.module.css#css-module"],"sourcesContent":["import \"/Users/christian/cambly/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_11wj3_2\",\"destructive700Color\":\"_destructive700Color_11wj3_6\",\"gray700Color\":\"_gray700Color_11wj3_10\",\"gray900Color\":\"_gray900Color_11wj3_14\",\"primary700Color\":\"_primary700Color_11wj3_18\",\"whiteColor\":\"_whiteColor_11wj3_22\",\"blackBackgroundColor\":\"_blackBackgroundColor_11wj3_27\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_11wj3_31\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_11wj3_35\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_11wj3_39\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_11wj3_43\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_11wj3_47\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_11wj3_51\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_11wj3_55\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_11wj3_59\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_11wj3_63\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_11wj3_67\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_11wj3_71\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_11wj3_75\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_11wj3_79\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_11wj3_83\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_11wj3_87\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_11wj3_91\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_11wj3_95\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_11wj3_99\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_11wj3_103\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_11wj3_107\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_11wj3_111\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_11wj3_115\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_11wj3_119\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_11wj3_123\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_11wj3_127\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_11wj3_131\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_11wj3_135\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_11wj3_139\",\"success100BackgroundColor\":\"_success100BackgroundColor_11wj3_143\",\"success200BackgroundColor\":\"_success200BackgroundColor_11wj3_147\",\"success300BackgroundColor\":\"_success300BackgroundColor_11wj3_151\",\"success700BackgroundColor\":\"_success700BackgroundColor_11wj3_155\",\"success800BackgroundColor\":\"_success800BackgroundColor_11wj3_159\",\"success900BackgroundColor\":\"_success900BackgroundColor_11wj3_163\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_11wj3_167\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_11wj3_171\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_11wj3_175\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_11wj3_179\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_11wj3_183\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_11wj3_187\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_11wj3_191\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_11wj3_195\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_11wj3_199\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_11wj3_203\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_11wj3_207\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_11wj3_211\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_11wj3_215\"}"],"mappings":";AAA2F,IAAO,wBAAQ,EAAC,gBAAe,yBAAwB,uBAAsB,gCAA+B,gBAAe,0BAAyB,gBAAe,0BAAyB,mBAAkB,6BAA4B,cAAa,wBAAuB,wBAAuB,kCAAiC,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,yBAAwB,mCAAkC,yBAAwB,mCAAkC,yBAAwB,mCAAkC,yBAAwB,mCAAkC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,0BAAyB,oCAAmC,4BAA2B,sCAAqC,4BAA2B,sCAAqC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,wBAAuB,mCAAkC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,uCAAsC,4BAA2B,sCAAqC;","names":[]}
@@ -1,105 +0,0 @@
1
- import {
2
- Focus_module_default
3
- } from "./MQPPALTP.mjs";
4
- import {
5
- useFocusVisible
6
- } from "./FCX7QDZS.mjs";
7
- import {
8
- Typography_default
9
- } from "./WIDP7NHD.mjs";
10
-
11
- // src/RadioButton/RadioButton.tsx
12
- import { useState } from "react";
13
- import classnames from "classnames";
14
-
15
- // css-module:./RadioButton.module.css#css-module
16
- var RadioButton_module_default = { "radioBaseContainer": "_radioBaseContainer_6h2zg_1", "disabled": "_disabled_6h2zg_9", "cursorDisabled": "_cursorDisabled_6h2zg_13", "cursorEnabled": "_cursorEnabled_6h2zg_17", "smBase": "_smBase_6h2zg_21", "mdBase": "_mdBase_6h2zg_25", "radioStyleOverride": "_radioStyleOverride_6h2zg_29", "smOverride": "_smOverride_6h2zg_34", "mdOverride": "_mdOverride_6h2zg_39", "background": "_background_6h2zg_44", "sm": "_sm_6h2zg_21", "md": "_md_6h2zg_25", "neutralBorder": "_neutralBorder_6h2zg_61", "smCheckedBorder": "_smCheckedBorder_6h2zg_65", "mdCheckedBorder": "_mdCheckedBorder_6h2zg_69", "errorBorderColor": "_errorBorderColor_6h2zg_73", "borderColor": "_borderColor_6h2zg_77" };
17
-
18
- // src/RadioButton/RadioButton.tsx
19
- import { jsx, jsxs } from "react/jsx-runtime";
20
- var RadioButton = ({
21
- checked = false,
22
- "data-testid": dataTestId,
23
- disabled = false,
24
- error = false,
25
- id,
26
- label,
27
- name,
28
- onChange,
29
- size = "md",
30
- value
31
- }) => {
32
- const [isFocused, setIsFocused] = useState(false);
33
- const { isFocusVisible } = useFocusVisible();
34
- const sharedStyles = classnames(RadioButton_module_default.background, RadioButton_module_default[size], {
35
- [RadioButton_module_default.errorBorderColor]: error,
36
- [RadioButton_module_default.borderColor]: !error,
37
- [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
38
- });
39
- return /* @__PURE__ */ jsxs(
40
- "label",
41
- {
42
- className: classnames(
43
- RadioButton_module_default.radioBaseContainer,
44
- RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
45
- {
46
- [RadioButton_module_default.disabled]: disabled,
47
- [RadioButton_module_default.smBase]: size === "sm",
48
- [RadioButton_module_default.mdBase]: size === "md"
49
- }
50
- ),
51
- children: [
52
- checked ? /* @__PURE__ */ jsx(
53
- "div",
54
- {
55
- className: classnames(sharedStyles, {
56
- [RadioButton_module_default.mdCheckedBorder]: size === "md",
57
- [RadioButton_module_default.smCheckedBorder]: size === "sm"
58
- })
59
- }
60
- ) : /* @__PURE__ */ jsx("div", { className: classnames(sharedStyles, RadioButton_module_default.neutralBorder) }),
61
- /* @__PURE__ */ jsx(
62
- "input",
63
- {
64
- "data-testid": dataTestId,
65
- type: "radio",
66
- id,
67
- name,
68
- className: classnames(
69
- RadioButton_module_default.radioStyleOverride,
70
- RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
71
- {
72
- [RadioButton_module_default.smOverride]: size === "sm",
73
- [RadioButton_module_default.mdOverride]: size === "md"
74
- }
75
- ),
76
- checked,
77
- onChange,
78
- disabled,
79
- value,
80
- onFocus: () => {
81
- setIsFocused(true);
82
- },
83
- onBlur: () => {
84
- setIsFocused(false);
85
- }
86
- }
87
- ),
88
- label && /* @__PURE__ */ jsx(
89
- Typography_default,
90
- {
91
- size: size === "md" ? 200 : 100,
92
- color: error ? "destructive-primary" : "gray800",
93
- children: label
94
- }
95
- )
96
- ]
97
- }
98
- );
99
- };
100
- var RadioButton_default = RadioButton;
101
-
102
- export {
103
- RadioButton_default
104
- };
105
- //# sourceMappingURL=NS7JP3FM.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"sourcesContent":["import React, { type ReactElement, useState } from \"react\";\nimport classnames from \"classnames\";\n\nimport styles from \"./RadioButton.module.css\";\nimport focusStyles from \"../Focus.module.css\";\nimport Typography from \"../Typography/Typography\";\nimport useFocusVisible from \"../useFocusVisible\";\n\n/**\n * [RadioButton](https://cambly-syntax.vercel.app/?path=/docs/components-radiobutton--docs) is a radio button with accompanying text\n */\nconst RadioButton = ({\n checked = false,\n \"data-testid\": dataTestId,\n disabled = false,\n error = false,\n id,\n label,\n name,\n onChange,\n size = \"md\",\n value,\n}: {\n /**\n * Whether or not the radio button is checked\n *\n * @defaultValue false\n */\n checked?: boolean;\n /**\n * Test id for the radio button\n */\n \"data-testid\"?: string;\n /**\n * Whether or not the radio button is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * Whether to show error color schema\n *\n * @defaultValue false\n */\n error?: boolean;\n /**\n * Id for the the radio button\n */\n id?: string;\n /**\n * Value to show end user\n */\n label: string;\n /**\n * The name of the grouping the radio buttons are in\n */\n name: string;\n /**\n * The callback to be called when the radio button is clicked\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Size of the components\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * Value of the selected radio option\n */\n value: string | number;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\n\n const sharedStyles = classnames(styles.background, styles[size], {\n [styles.errorBorderColor]: error,\n [styles.borderColor]: !error,\n [focusStyles.accessibilityOutlineFocus]: isFocused && isFocusVisible,\n });\n\n return (\n <label\n className={classnames(\n styles.radioBaseContainer,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.disabled]: disabled,\n [styles.smBase]: size === \"sm\",\n [styles.mdBase]: size === \"md\",\n },\n )}\n >\n {checked ? (\n <div\n className={classnames(sharedStyles, {\n [styles.mdCheckedBorder]: size === \"md\",\n [styles.smCheckedBorder]: size === \"sm\",\n })}\n />\n ) : (\n <div className={classnames(sharedStyles, styles.neutralBorder)} />\n )}\n <input\n data-testid={dataTestId}\n type=\"radio\"\n id={id}\n name={name}\n className={classnames(\n styles.radioStyleOverride,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.smOverride]: size === \"sm\",\n [styles.mdOverride]: size === \"md\",\n },\n )}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n value={value}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n {label && (\n <Typography\n size={size === \"md\" ? 200 : 100}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n )}\n </label>\n );\n};\n\nexport default RadioButton;\n","import \"/Users/christian/cambly/syntax/packages/syntax-core/src/RadioButton/RadioButton.module.css\"; export default {\"radioBaseContainer\":\"_radioBaseContainer_6h2zg_1\",\"disabled\":\"_disabled_6h2zg_9\",\"cursorDisabled\":\"_cursorDisabled_6h2zg_13\",\"cursorEnabled\":\"_cursorEnabled_6h2zg_17\",\"smBase\":\"_smBase_6h2zg_21\",\"mdBase\":\"_mdBase_6h2zg_25\",\"radioStyleOverride\":\"_radioStyleOverride_6h2zg_29\",\"smOverride\":\"_smOverride_6h2zg_34\",\"mdOverride\":\"_mdOverride_6h2zg_39\",\"background\":\"_background_6h2zg_44\",\"sm\":\"_sm_6h2zg_21\",\"md\":\"_md_6h2zg_25\",\"neutralBorder\":\"_neutralBorder_6h2zg_61\",\"smCheckedBorder\":\"_smCheckedBorder_6h2zg_65\",\"mdCheckedBorder\":\"_mdCheckedBorder_6h2zg_69\",\"errorBorderColor\":\"_errorBorderColor_6h2zg_73\",\"borderColor\":\"_borderColor_6h2zg_77\"}"],"mappings":";;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACD8E,IAAO,6BAAQ,EAAC,sBAAqB,+BAA8B,YAAW,qBAAoB,kBAAiB,4BAA2B,iBAAgB,2BAA0B,UAAS,oBAAmB,UAAS,oBAAmB,sBAAqB,gCAA+B,cAAa,wBAAuB,cAAa,wBAAuB,cAAa,wBAAuB,MAAK,gBAAe,MAAK,gBAAe,iBAAgB,2BAA0B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,oBAAmB,8BAA6B,eAAc,wBAAuB;;;ADqFpvB,SAYI,KAZJ;AA1EJ,IAAM,cAAc,CAAC;AAAA,EACnB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,WAAW;AAAA,EACX,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP;AACF,MAoDoB;AAClB,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,eAAe,IAAI,gBAAgB;AAE3C,QAAM,eAAe,WAAW,2BAAO,YAAY,2BAAO,IAAI,GAAG;AAAA,IAC/D,CAAC,2BAAO,gBAAgB,GAAG;AAAA,IAC3B,CAAC,2BAAO,WAAW,GAAG,CAAC;AAAA,IACvB,CAAC,qBAAY,yBAAyB,GAAG,aAAa;AAAA,EACxD,CAAC;AAED,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT,2BAAO;AAAA,QACP,2BAAO,SAAS,WAAW,aAAa,WAAW;AAAA,QACnD;AAAA,UACE,CAAC,2BAAO,QAAQ,GAAG;AAAA,UACnB,CAAC,2BAAO,MAAM,GAAG,SAAS;AAAA,UAC1B,CAAC,2BAAO,MAAM,GAAG,SAAS;AAAA,QAC5B;AAAA,MACF;AAAA,MAEC;AAAA,kBACC;AAAA,UAAC;AAAA;AAAA,YACC,WAAW,WAAW,cAAc;AAAA,cAClC,CAAC,2BAAO,eAAe,GAAG,SAAS;AAAA,cACnC,CAAC,2BAAO,eAAe,GAAG,SAAS;AAAA,YACrC,CAAC;AAAA;AAAA,QACH,IAEA,oBAAC,SAAI,WAAW,WAAW,cAAc,2BAAO,aAAa,GAAG;AAAA,QAElE;AAAA,UAAC;AAAA;AAAA,YACC,eAAa;AAAA,YACb,MAAK;AAAA,YACL;AAAA,YACA;AAAA,YACA,WAAW;AAAA,cACT,2BAAO;AAAA,cACP,2BAAO,SAAS,WAAW,aAAa,WAAW;AAAA,cACnD;AAAA,gBACE,CAAC,2BAAO,UAAU,GAAG,SAAS;AAAA,gBAC9B,CAAC,2BAAO,UAAU,GAAG,SAAS;AAAA,cAChC;AAAA,YACF;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,SAAS,MAAM;AACb,2BAAa,IAAI;AAAA,YACnB;AAAA,YACA,QAAQ,MAAM;AACZ,2BAAa,KAAK;AAAA,YACpB;AAAA;AAAA,QACF;AAAA,QACC,SACC;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,SAAS,OAAO,MAAM;AAAA,YAC5B,OAAO,QAAQ,wBAAwB;AAAA,YAEtC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EAEJ;AAEJ;AAEA,IAAO,sBAAQ;","names":[]}