@cambly/syntax-core 11.1.0 → 12.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 (301) hide show
  1. package/dist/Avatar/Avatar.cjs +5 -5
  2. package/dist/Avatar/Avatar.css +305 -95
  3. package/dist/Avatar/Avatar.css.map +1 -1
  4. package/dist/Avatar/Avatar.d.ts +1 -1
  5. package/dist/Avatar/Avatar.js +4 -4
  6. package/dist/AvatarGroup/AvatarGroup.cjs +4 -4
  7. package/dist/AvatarGroup/AvatarGroup.css +305 -95
  8. package/dist/AvatarGroup/AvatarGroup.css.map +1 -1
  9. package/dist/AvatarGroup/AvatarGroup.js +3 -3
  10. package/dist/Badge/Badge.cjs +5 -5
  11. package/dist/Badge/Badge.css +305 -95
  12. package/dist/Badge/Badge.css.map +1 -1
  13. package/dist/Badge/Badge.d.ts +1 -1
  14. package/dist/Badge/Badge.js +4 -4
  15. package/dist/Box/Box.cjs +3 -3
  16. package/dist/Box/Box.css +305 -95
  17. package/dist/Box/Box.css.map +1 -1
  18. package/dist/Box/Box.js +2 -2
  19. package/dist/Button/Button.cjs +9 -9
  20. package/dist/Button/Button.css +305 -95
  21. package/dist/Button/Button.css.map +1 -1
  22. package/dist/Button/Button.js +8 -8
  23. package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
  24. package/dist/Card/Card.cjs +4 -4
  25. package/dist/Card/Card.css +305 -95
  26. package/dist/Card/Card.css.map +1 -1
  27. package/dist/Card/Card.js +3 -3
  28. package/dist/Checkbox/Checkbox.cjs +4 -4
  29. package/dist/Checkbox/Checkbox.css +305 -95
  30. package/dist/Checkbox/Checkbox.css.map +1 -1
  31. package/dist/Checkbox/Checkbox.d.ts +1 -1
  32. package/dist/Checkbox/Checkbox.js +3 -3
  33. package/dist/Chip/Chip.cjs +5 -5
  34. package/dist/Chip/Chip.css +305 -95
  35. package/dist/Chip/Chip.css.map +1 -1
  36. package/dist/Chip/Chip.js +4 -4
  37. package/dist/Dialog/Dialog.cjs +3 -3
  38. package/dist/Dialog/Dialog.css +305 -95
  39. package/dist/Dialog/Dialog.css.map +1 -1
  40. package/dist/Dialog/Dialog.js +2 -2
  41. package/dist/Dialog/ModalDialog.cjs +10 -10
  42. package/dist/Dialog/ModalDialog.css +305 -95
  43. package/dist/Dialog/ModalDialog.css.map +1 -1
  44. package/dist/Dialog/ModalDialog.js +9 -9
  45. package/dist/Divider/Divider.cjs +3 -3
  46. package/dist/Divider/Divider.css +305 -95
  47. package/dist/Divider/Divider.css.map +1 -1
  48. package/dist/Divider/Divider.js +2 -2
  49. package/dist/Heading/Heading.cjs +4 -4
  50. package/dist/Heading/Heading.css +305 -95
  51. package/dist/Heading/Heading.css.map +1 -1
  52. package/dist/Heading/Heading.d.ts +1 -1
  53. package/dist/Heading/Heading.js +3 -3
  54. package/dist/IconButton/IconButton.cjs +6 -6
  55. package/dist/IconButton/IconButton.css +305 -95
  56. package/dist/IconButton/IconButton.css.map +1 -1
  57. package/dist/IconButton/IconButton.js +5 -5
  58. package/dist/LinkButton/LinkButton.cjs +8 -8
  59. package/dist/LinkButton/LinkButton.css +305 -95
  60. package/dist/LinkButton/LinkButton.css.map +1 -1
  61. package/dist/LinkButton/LinkButton.js +7 -7
  62. package/dist/Modal/Layer.cjs +4 -4
  63. package/dist/Modal/Layer.css +305 -95
  64. package/dist/Modal/Layer.css.map +1 -1
  65. package/dist/Modal/Layer.js +3 -3
  66. package/dist/Modal/Modal.cjs +12 -12
  67. package/dist/Modal/Modal.css +305 -95
  68. package/dist/Modal/Modal.css.map +1 -1
  69. package/dist/Modal/Modal.js +11 -11
  70. package/dist/Popover/Popover.cjs +11 -11
  71. package/dist/Popover/Popover.css +305 -95
  72. package/dist/Popover/Popover.css.map +1 -1
  73. package/dist/Popover/Popover.js +10 -10
  74. package/dist/RadioButton/RadioButton.cjs +5 -5
  75. package/dist/RadioButton/RadioButton.css +305 -95
  76. package/dist/RadioButton/RadioButton.css.map +1 -1
  77. package/dist/RadioButton/RadioButton.d.ts +1 -1
  78. package/dist/RadioButton/RadioButton.js +4 -4
  79. package/dist/RichSelect/RichSelectBox.cjs +16 -16
  80. package/dist/RichSelect/RichSelectBox.css +305 -95
  81. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  82. package/dist/RichSelect/RichSelectBox.d.ts +1 -1
  83. package/dist/RichSelect/RichSelectBox.js +15 -15
  84. package/dist/RichSelect/RichSelectChip.cjs +6 -6
  85. package/dist/RichSelect/RichSelectChip.css +305 -95
  86. package/dist/RichSelect/RichSelectChip.css.map +1 -1
  87. package/dist/RichSelect/RichSelectChip.js +5 -5
  88. package/dist/RichSelect/RichSelectList.cjs +22 -22
  89. package/dist/RichSelect/RichSelectList.css +305 -95
  90. package/dist/RichSelect/RichSelectList.css.map +1 -1
  91. package/dist/RichSelect/RichSelectList.d.ts +1 -1
  92. package/dist/RichSelect/RichSelectList.js +21 -21
  93. package/dist/RichSelect/RichSelectRadioButton.cjs +6 -6
  94. package/dist/RichSelect/RichSelectRadioButton.css +305 -95
  95. package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
  96. package/dist/RichSelect/RichSelectRadioButton.d.ts +1 -1
  97. package/dist/RichSelect/RichSelectRadioButton.js +5 -5
  98. package/dist/RichSelect/RichSelectSection.cjs +4 -4
  99. package/dist/RichSelect/RichSelectSection.css +305 -95
  100. package/dist/RichSelect/RichSelectSection.css.map +1 -1
  101. package/dist/RichSelect/RichSelectSection.js +3 -3
  102. package/dist/SelectList/SelectList.cjs +6 -6
  103. package/dist/SelectList/SelectList.css +305 -95
  104. package/dist/SelectList/SelectList.css.map +1 -1
  105. package/dist/SelectList/SelectList.js +5 -5
  106. package/dist/TapArea/TapArea.d.ts +1 -1
  107. package/dist/TextArea/TextArea.cjs +5 -5
  108. package/dist/TextArea/TextArea.css +305 -95
  109. package/dist/TextArea/TextArea.css.map +1 -1
  110. package/dist/TextArea/TextArea.js +4 -4
  111. package/dist/TextField/TextField.cjs +5 -5
  112. package/dist/TextField/TextField.css +305 -95
  113. package/dist/TextField/TextField.css.map +1 -1
  114. package/dist/TextField/TextField.js +4 -4
  115. package/dist/Tooltip/Tooltip.cjs +4 -4
  116. package/dist/Tooltip/Tooltip.css +305 -95
  117. package/dist/Tooltip/Tooltip.css.map +1 -1
  118. package/dist/Tooltip/Tooltip.js +3 -3
  119. package/dist/Typography/Typography.cjs +3 -3
  120. package/dist/Typography/Typography.css +305 -95
  121. package/dist/Typography/Typography.css.map +1 -1
  122. package/dist/Typography/Typography.d.ts +1 -1
  123. package/dist/Typography/Typography.js +2 -2
  124. package/dist/__chunks/{JAXGMEPD.cjs → 272LSIIS.cjs} +5 -5
  125. package/dist/__chunks/{JAXGMEPD.cjs.map → 272LSIIS.cjs.map} +1 -1
  126. package/dist/__chunks/{TBUKUED7.js → 2IXPTAJD.js} +9 -9
  127. package/dist/__chunks/2IXPTAJD.js.map +1 -0
  128. package/dist/__chunks/{MMNNVPCG.cjs → 3OMIAWRN.cjs} +9 -9
  129. package/dist/__chunks/{K2FAHGSH.js → 4EIK6LQR.js} +3 -3
  130. package/dist/__chunks/{PTVLAQTI.js → 535SBVS5.js} +2 -2
  131. package/dist/__chunks/{DVMC64KV.js → 6PRG6ZYW.js} +2 -2
  132. package/dist/__chunks/{NF2YIWFL.cjs → 76LTWV2Q.cjs} +3 -3
  133. package/dist/__chunks/{HM5KLX2C.cjs → 7IV2L4B4.cjs} +6 -6
  134. package/dist/__chunks/{HM5KLX2C.cjs.map → 7IV2L4B4.cjs.map} +1 -1
  135. package/dist/__chunks/{E6LOVUFY.js → A6EQN4YQ.js} +7 -7
  136. package/dist/__chunks/{J7L6PFDK.js → ASY5BZ34.js} +6 -6
  137. package/dist/__chunks/{MGZ7SSZY.cjs → AZAEEMPJ.cjs} +24 -24
  138. package/dist/__chunks/{OF6Z2WQO.cjs → BOU7KSFV.cjs} +14 -14
  139. package/dist/__chunks/C3KZXHTV.cjs +37 -0
  140. package/dist/__chunks/{ELWUG72Q.cjs → CGBH73TM.cjs} +3 -3
  141. package/dist/__chunks/{2JCHGM3O.cjs → CHOHIFJN.cjs} +3 -3
  142. package/dist/__chunks/{SMUVGNSV.cjs → COLPERJT.cjs} +7 -7
  143. package/dist/__chunks/{IYOWDOGA.js → CTNDDLBZ.js} +3 -3
  144. package/dist/__chunks/{CRTJSUY6.cjs → D5AQ3PGB.cjs} +3 -3
  145. package/dist/__chunks/{KVLGXSSR.cjs → D62L3CWM.cjs} +7 -7
  146. package/dist/__chunks/{KZ6BPBCZ.cjs → DMA6PPUZ.cjs} +6 -3
  147. package/dist/__chunks/DMA6PPUZ.cjs.map +1 -0
  148. package/dist/__chunks/{ARTPKE5C.js → ECA33JJ5.js} +2 -2
  149. package/dist/__chunks/{TN6CN7PM.cjs → EZUXET6V.cjs} +3 -3
  150. package/dist/__chunks/{2TIKEFR7.cjs → FESAFV44.cjs} +3 -3
  151. package/dist/__chunks/{WPHGBTGT.js → FVGIQTM2.js} +4 -4
  152. package/dist/__chunks/{4HXBTT75.js → GJMFOAIB.js} +4 -4
  153. package/dist/__chunks/GJMFOAIB.js.map +1 -0
  154. package/dist/__chunks/{Q47WO7QC.js → H3IUTBTY.js} +3 -3
  155. package/dist/__chunks/{S3EVAXXU.js → HLC7NU6Z.js} +2 -2
  156. package/dist/__chunks/{4DZVHIPT.js → HXTCI7A3.js} +2 -2
  157. package/dist/__chunks/{OGLUPI6S.cjs → JHUEQO5Q.cjs} +3 -3
  158. package/dist/__chunks/{XDIQALHJ.cjs → JRTUP3VP.cjs} +8 -8
  159. package/dist/__chunks/{2Q3GMVBY.js → JUQWWD2D.js} +3 -3
  160. package/dist/__chunks/{JQSWGYT7.js → K65WDLIC.js} +5 -5
  161. package/dist/__chunks/K65WDLIC.js.map +1 -0
  162. package/dist/__chunks/KZT53ITQ.cjs +9 -0
  163. package/dist/__chunks/KZT53ITQ.cjs.map +1 -0
  164. package/dist/__chunks/{KNF6KV5N.js → LDHALTXE.js} +3 -3
  165. package/dist/__chunks/{Z37NBAGL.js → LTSX5P7G.js} +4 -4
  166. package/dist/__chunks/{HUK5SGUK.js → M36V23WR.js} +2 -2
  167. package/dist/__chunks/{KES7FY4B.js → MEOMWLNG.js} +4 -4
  168. package/dist/__chunks/{OY2VX2FL.cjs → MKZONAGT.cjs} +11 -11
  169. package/dist/__chunks/{OY2VX2FL.cjs.map → MKZONAGT.cjs.map} +1 -1
  170. package/dist/__chunks/{3XOSZ7IX.cjs → MOJ335LT.cjs} +8 -8
  171. package/dist/__chunks/{5UVVBU7N.cjs → MQHJC5QX.cjs} +1 -1
  172. package/dist/__chunks/{5UVVBU7N.cjs.map → MQHJC5QX.cjs.map} +1 -1
  173. package/dist/__chunks/{P6OQJFH5.js → NMX5UDLV.js} +2 -2
  174. package/dist/__chunks/{TCEWBILP.cjs → OUH7XWQR.cjs} +7 -7
  175. package/dist/__chunks/{REJEA326.cjs → PROA22UK.cjs} +7 -7
  176. package/dist/__chunks/PUTZ53EC.js +9 -0
  177. package/dist/__chunks/PUTZ53EC.js.map +1 -0
  178. package/dist/__chunks/{XFMJQT43.js → PX2UXNON.js} +4 -4
  179. package/dist/__chunks/PX2UXNON.js.map +1 -0
  180. package/dist/__chunks/QT6IRCGW.cjs +9 -0
  181. package/dist/__chunks/QT6IRCGW.cjs.map +1 -0
  182. package/dist/__chunks/{Z7UP6E6H.js → QVOCSKIN.js} +5 -5
  183. package/dist/__chunks/RAL6R27S.cjs +56 -0
  184. package/dist/__chunks/RAL6R27S.cjs.map +1 -0
  185. package/dist/__chunks/{XKDFNBF7.js → RQ5XRLL6.js} +2 -2
  186. package/dist/__chunks/S6TNP7G5.js +9 -0
  187. package/dist/__chunks/S6TNP7G5.js.map +1 -0
  188. package/dist/__chunks/{2QVZAC4M.js → SSVDOCMD.js} +3 -3
  189. package/dist/__chunks/{KK6SH2LZ.cjs → T2G4KRBE.cjs} +4 -4
  190. package/dist/__chunks/{63FZTUP4.cjs → T2WJJCS3.cjs} +7 -7
  191. package/dist/__chunks/{63FZTUP4.cjs.map → T2WJJCS3.cjs.map} +1 -1
  192. package/dist/__chunks/{5IIE2GTT.js → T32LVZ6S.js} +2 -2
  193. package/dist/__chunks/{EC632XXP.js → T43E4BS4.js} +5 -5
  194. package/dist/__chunks/T6PXFSRX.js +56 -0
  195. package/dist/__chunks/T6PXFSRX.js.map +1 -0
  196. package/dist/__chunks/{G3XGB7CC.js → TK2EQ6QG.js} +6 -3
  197. package/dist/__chunks/{G3XGB7CC.js.map → TK2EQ6QG.js.map} +1 -1
  198. package/dist/__chunks/{I7KZVDTA.js → TZGJS522.js} +2 -2
  199. package/dist/__chunks/{ELJOCI7T.cjs → UT353VLR.cjs} +3 -3
  200. package/dist/__chunks/{W3XKR7CX.js → UVQS6LU3.js} +11 -11
  201. package/dist/__chunks/UVQS6LU3.js.map +1 -0
  202. package/dist/__chunks/{S3XLYVVP.cjs → W52D7D34.cjs} +5 -5
  203. package/dist/__chunks/{GH2H5B4A.js → WBVMCGHT.js} +1 -1
  204. package/dist/__chunks/{GH2H5B4A.js.map → WBVMCGHT.js.map} +1 -1
  205. package/dist/__chunks/{MRFUDGUN.cjs → X67IWLZJ.cjs} +16 -16
  206. package/dist/__chunks/{ZGUPRSQD.cjs → XCGRNBQH.cjs} +10 -10
  207. package/dist/__chunks/XCGRNBQH.cjs.map +1 -0
  208. package/dist/__chunks/{IB2POWVU.cjs → Y2AMPQUU.cjs} +10 -10
  209. package/dist/__chunks/{7DIY3ETD.js → YG2IOLCC.js} +10 -10
  210. package/dist/__chunks/{626CBOFH.cjs → YUW7GFTZ.cjs} +8 -8
  211. package/dist/__chunks/{ZCB7NVKI.cjs → ZGI5YNKG.cjs} +3 -3
  212. package/dist/colors/allColors.cjs +55 -33
  213. package/dist/colors/allColors.cjs.map +1 -1
  214. package/dist/colors/allColors.d.ts +1 -1
  215. package/dist/colors/allColors.js +55 -33
  216. package/dist/colors/allColors.js.map +1 -1
  217. package/dist/colors/backgroundColor.cjs +3 -3
  218. package/dist/colors/backgroundColor.css +305 -95
  219. package/dist/colors/backgroundColor.css.map +1 -1
  220. package/dist/colors/backgroundColor.js +2 -2
  221. package/dist/colors/border.cjs +3 -3
  222. package/dist/colors/border.css +305 -95
  223. package/dist/colors/border.css.map +1 -1
  224. package/dist/colors/border.js +2 -2
  225. package/dist/colors/foregroundColor.cjs +3 -3
  226. package/dist/colors/foregroundColor.css +305 -95
  227. package/dist/colors/foregroundColor.css.map +1 -1
  228. package/dist/colors/foregroundColor.js +2 -2
  229. package/dist/index.cjs +35 -35
  230. package/dist/index.css +305 -95
  231. package/dist/index.css.map +1 -1
  232. package/dist/index.js +34 -34
  233. package/package.json +3 -3
  234. package/dist/__chunks/2HE6XUY3.js +0 -56
  235. package/dist/__chunks/2HE6XUY3.js.map +0 -1
  236. package/dist/__chunks/4HXBTT75.js.map +0 -1
  237. package/dist/__chunks/5OHL5JV3.cjs +0 -9
  238. package/dist/__chunks/5OHL5JV3.cjs.map +0 -1
  239. package/dist/__chunks/GWLCLQDE.cjs +0 -56
  240. package/dist/__chunks/GWLCLQDE.cjs.map +0 -1
  241. package/dist/__chunks/JQSWGYT7.js.map +0 -1
  242. package/dist/__chunks/KF6THXJV.js +0 -9
  243. package/dist/__chunks/KF6THXJV.js.map +0 -1
  244. package/dist/__chunks/KZ6BPBCZ.cjs.map +0 -1
  245. package/dist/__chunks/R52TAWLB.cjs +0 -9
  246. package/dist/__chunks/R52TAWLB.cjs.map +0 -1
  247. package/dist/__chunks/TBUKUED7.js.map +0 -1
  248. package/dist/__chunks/UKTHB7CW.cjs +0 -37
  249. package/dist/__chunks/W3XKR7CX.js.map +0 -1
  250. package/dist/__chunks/XFMJQT43.js.map +0 -1
  251. package/dist/__chunks/YKNNKOSA.js +0 -9
  252. package/dist/__chunks/YKNNKOSA.js.map +0 -1
  253. package/dist/__chunks/ZGUPRSQD.cjs.map +0 -1
  254. /package/dist/__chunks/{MMNNVPCG.cjs.map → 3OMIAWRN.cjs.map} +0 -0
  255. /package/dist/__chunks/{K2FAHGSH.js.map → 4EIK6LQR.js.map} +0 -0
  256. /package/dist/__chunks/{PTVLAQTI.js.map → 535SBVS5.js.map} +0 -0
  257. /package/dist/__chunks/{DVMC64KV.js.map → 6PRG6ZYW.js.map} +0 -0
  258. /package/dist/__chunks/{NF2YIWFL.cjs.map → 76LTWV2Q.cjs.map} +0 -0
  259. /package/dist/__chunks/{E6LOVUFY.js.map → A6EQN4YQ.js.map} +0 -0
  260. /package/dist/__chunks/{J7L6PFDK.js.map → ASY5BZ34.js.map} +0 -0
  261. /package/dist/__chunks/{MGZ7SSZY.cjs.map → AZAEEMPJ.cjs.map} +0 -0
  262. /package/dist/__chunks/{OF6Z2WQO.cjs.map → BOU7KSFV.cjs.map} +0 -0
  263. /package/dist/__chunks/{UKTHB7CW.cjs.map → C3KZXHTV.cjs.map} +0 -0
  264. /package/dist/__chunks/{ELWUG72Q.cjs.map → CGBH73TM.cjs.map} +0 -0
  265. /package/dist/__chunks/{2JCHGM3O.cjs.map → CHOHIFJN.cjs.map} +0 -0
  266. /package/dist/__chunks/{SMUVGNSV.cjs.map → COLPERJT.cjs.map} +0 -0
  267. /package/dist/__chunks/{IYOWDOGA.js.map → CTNDDLBZ.js.map} +0 -0
  268. /package/dist/__chunks/{CRTJSUY6.cjs.map → D5AQ3PGB.cjs.map} +0 -0
  269. /package/dist/__chunks/{KVLGXSSR.cjs.map → D62L3CWM.cjs.map} +0 -0
  270. /package/dist/__chunks/{ARTPKE5C.js.map → ECA33JJ5.js.map} +0 -0
  271. /package/dist/__chunks/{TN6CN7PM.cjs.map → EZUXET6V.cjs.map} +0 -0
  272. /package/dist/__chunks/{2TIKEFR7.cjs.map → FESAFV44.cjs.map} +0 -0
  273. /package/dist/__chunks/{WPHGBTGT.js.map → FVGIQTM2.js.map} +0 -0
  274. /package/dist/__chunks/{Q47WO7QC.js.map → H3IUTBTY.js.map} +0 -0
  275. /package/dist/__chunks/{S3EVAXXU.js.map → HLC7NU6Z.js.map} +0 -0
  276. /package/dist/__chunks/{4DZVHIPT.js.map → HXTCI7A3.js.map} +0 -0
  277. /package/dist/__chunks/{OGLUPI6S.cjs.map → JHUEQO5Q.cjs.map} +0 -0
  278. /package/dist/__chunks/{XDIQALHJ.cjs.map → JRTUP3VP.cjs.map} +0 -0
  279. /package/dist/__chunks/{2Q3GMVBY.js.map → JUQWWD2D.js.map} +0 -0
  280. /package/dist/__chunks/{KNF6KV5N.js.map → LDHALTXE.js.map} +0 -0
  281. /package/dist/__chunks/{Z37NBAGL.js.map → LTSX5P7G.js.map} +0 -0
  282. /package/dist/__chunks/{HUK5SGUK.js.map → M36V23WR.js.map} +0 -0
  283. /package/dist/__chunks/{KES7FY4B.js.map → MEOMWLNG.js.map} +0 -0
  284. /package/dist/__chunks/{3XOSZ7IX.cjs.map → MOJ335LT.cjs.map} +0 -0
  285. /package/dist/__chunks/{P6OQJFH5.js.map → NMX5UDLV.js.map} +0 -0
  286. /package/dist/__chunks/{TCEWBILP.cjs.map → OUH7XWQR.cjs.map} +0 -0
  287. /package/dist/__chunks/{REJEA326.cjs.map → PROA22UK.cjs.map} +0 -0
  288. /package/dist/__chunks/{Z7UP6E6H.js.map → QVOCSKIN.js.map} +0 -0
  289. /package/dist/__chunks/{XKDFNBF7.js.map → RQ5XRLL6.js.map} +0 -0
  290. /package/dist/__chunks/{2QVZAC4M.js.map → SSVDOCMD.js.map} +0 -0
  291. /package/dist/__chunks/{KK6SH2LZ.cjs.map → T2G4KRBE.cjs.map} +0 -0
  292. /package/dist/__chunks/{5IIE2GTT.js.map → T32LVZ6S.js.map} +0 -0
  293. /package/dist/__chunks/{EC632XXP.js.map → T43E4BS4.js.map} +0 -0
  294. /package/dist/__chunks/{I7KZVDTA.js.map → TZGJS522.js.map} +0 -0
  295. /package/dist/__chunks/{ELJOCI7T.cjs.map → UT353VLR.cjs.map} +0 -0
  296. /package/dist/__chunks/{S3XLYVVP.cjs.map → W52D7D34.cjs.map} +0 -0
  297. /package/dist/__chunks/{MRFUDGUN.cjs.map → X67IWLZJ.cjs.map} +0 -0
  298. /package/dist/__chunks/{IB2POWVU.cjs.map → Y2AMPQUU.cjs.map} +0 -0
  299. /package/dist/__chunks/{7DIY3ETD.js.map → YG2IOLCC.js.map} +0 -0
  300. /package/dist/__chunks/{626CBOFH.cjs.map → YUW7GFTZ.cjs.map} +0 -0
  301. /package/dist/__chunks/{ZCB7NVKI.cjs.map → ZGI5YNKG.cjs.map} +0 -0
@@ -0,0 +1,56 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
2
+
3
+
4
+ var _KZT53ITQcjs = require('./KZT53ITQ.cjs');
5
+
6
+ // src/colors/backgroundColor.ts
7
+ function backgroundColor(color, on) {
8
+ if (on === "lightBackground") {
9
+ switch (color) {
10
+ case "primary":
11
+ return _KZT53ITQcjs.colors_module_default.cambioBlackBackgroundColor;
12
+ case "secondary":
13
+ case "success-secondary":
14
+ case "destructive-secondary":
15
+ return _KZT53ITQcjs.colors_module_default.cambioTransparentFullBackgroundColor;
16
+ case "tertiary":
17
+ case "success-tertiary":
18
+ case "destructive-tertiary":
19
+ return _KZT53ITQcjs.colors_module_default.cambioTransparentFullBackgroundColor;
20
+ case "success-primary":
21
+ return _KZT53ITQcjs.colors_module_default.cambioSuccess700BackgroundColor;
22
+ case "destructive-primary":
23
+ return _KZT53ITQcjs.colors_module_default.cambioDestructive700BackgroundColor;
24
+ case "branded":
25
+ return _KZT53ITQcjs.colors_module_default.cambioYellow700BackgroundColor;
26
+ default:
27
+ return _KZT53ITQcjs.colors_module_default.cambioBlackBackgroundColor;
28
+ }
29
+ } else {
30
+ switch (color) {
31
+ case "primary":
32
+ return _KZT53ITQcjs.colors_module_default.cambioGray200BackgroundColor;
33
+ case "secondary":
34
+ case "success-secondary":
35
+ case "destructive-secondary":
36
+ return _KZT53ITQcjs.colors_module_default.cambioTransparentFullBackgroundColor;
37
+ case "tertiary":
38
+ case "success-tertiary":
39
+ case "destructive-tertiary":
40
+ return _KZT53ITQcjs.colors_module_default.cambioTransparentFullBackgroundColor;
41
+ case "success-primary":
42
+ return _KZT53ITQcjs.colors_module_default.cambioSuccess300BackgroundColor;
43
+ case "destructive-primary":
44
+ return _KZT53ITQcjs.colors_module_default.cambioDestructive300BackgroundColor;
45
+ case "branded":
46
+ return _KZT53ITQcjs.colors_module_default.cambioYellow700BackgroundColor;
47
+ default:
48
+ return _KZT53ITQcjs.colors_module_default.cambioWhiteBackgroundColor;
49
+ }
50
+ }
51
+ }
52
+
53
+
54
+
55
+ exports.backgroundColor = backgroundColor;
56
+ //# sourceMappingURL=RAL6R27S.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/colors/backgroundColor.ts"],"names":[],"mappings":";;;;;;AAGO,SAAS,gBACd,OACA,IACQ;AACR,MAAI,OAAO,mBAAmB;AAC5B,YAAQ,OAAO;AAAA,MACb,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF,OAAO;AACL,YAAQ,OAAO;AAAA,MACb,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF;AACF","sourcesContent":["import { type Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport function backgroundColor(\n color: (typeof Color)[number],\n on: \"lightBackground\" | \"darkBackground\",\n): string {\n if (on === \"lightBackground\") {\n switch (color) {\n case \"primary\":\n return styles.cambioBlackBackgroundColor;\n case \"secondary\":\n case \"success-secondary\":\n case \"destructive-secondary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"tertiary\":\n case \"success-tertiary\":\n case \"destructive-tertiary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"success-primary\":\n return styles.cambioSuccess700BackgroundColor;\n case \"destructive-primary\":\n return styles.cambioDestructive700BackgroundColor;\n case \"branded\":\n return styles.cambioYellow700BackgroundColor;\n default:\n return styles.cambioBlackBackgroundColor;\n }\n } else {\n switch (color) {\n case \"primary\":\n return styles.cambioGray200BackgroundColor;\n case \"secondary\":\n case \"success-secondary\":\n case \"destructive-secondary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"tertiary\":\n case \"success-tertiary\":\n case \"destructive-tertiary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"success-primary\":\n return styles.cambioSuccess300BackgroundColor;\n case \"destructive-primary\":\n return styles.cambioDestructive300BackgroundColor;\n case \"branded\":\n return styles.cambioYellow700BackgroundColor;\n default:\n return styles.cambioWhiteBackgroundColor;\n }\n }\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  RadioButton_default
4
- } from "./JQSWGYT7.js";
4
+ } from "./K65WDLIC.js";
5
5
  import {
6
6
  RichSelectItem_default
7
7
  } from "./ODMJANSX.js";
@@ -37,4 +37,4 @@ var RichSelectRadioButton_default = forwardRef(
37
37
  export {
38
38
  RichSelectRadioButton_default
39
39
  };
40
- //# sourceMappingURL=XKDFNBF7.js.map
40
+ //# sourceMappingURL=RQ5XRLL6.js.map
@@ -0,0 +1,9 @@
1
+ "use client"
2
+
3
+ // css-module:../colors/colors.module.css#css-module
4
+ var colors_module_default = { "inheritColor": "_inheritColor_duy1y_2", "destructive700Color": "_destructive700Color_duy1y_6", "gray700Color": "_gray700Color_duy1y_10", "gray900Color": "_gray900Color_duy1y_14", "primary700Color": "_primary700Color_duy1y_18", "success700Color": "_success700Color_duy1y_22", "whiteColor": "_whiteColor_duy1y_26", "noBorder": "_noBorder_duy1y_31", "blackBorderColor": "_blackBorderColor_duy1y_35", "whiteBorderColor": "_whiteBorderColor_duy1y_39", "success770BorderColor": "_success770BorderColor_duy1y_43", "destructive770BorderColor": "_destructive770BorderColor_duy1y_47", "gray370BorderColor": "_gray370BorderColor_duy1y_51", "success370BorderColor": "_success370BorderColor_duy1y_55", "destructive370BorderColor": "_destructive370BorderColor_duy1y_59", "blackBackgroundColor": "_blackBackgroundColor_duy1y_65", "destructive100BackgroundColor": "_destructive100BackgroundColor_duy1y_69", "destructive200BackgroundColor": "_destructive200BackgroundColor_duy1y_73", "destructive300BackgroundColor": "_destructive300BackgroundColor_duy1y_77", "destructive700BackgroundColor": "_destructive700BackgroundColor_duy1y_81", "destructive800BackgroundColor": "_destructive800BackgroundColor_duy1y_85", "destructive900BackgroundColor": "_destructive900BackgroundColor_duy1y_89", "gray10BackgroundColor": "_gray10BackgroundColor_duy1y_93", "gray30BackgroundColor": "_gray30BackgroundColor_duy1y_97", "gray60BackgroundColor": "_gray60BackgroundColor_duy1y_101", "gray80BackgroundColor": "_gray80BackgroundColor_duy1y_105", "gray100BackgroundColor": "_gray100BackgroundColor_duy1y_109", "gray200BackgroundColor": "_gray200BackgroundColor_duy1y_113", "gray300BackgroundColor": "_gray300BackgroundColor_duy1y_117", "gray700BackgroundColor": "_gray700BackgroundColor_duy1y_121", "gray800BackgroundColor": "_gray800BackgroundColor_duy1y_125", "gray900BackgroundColor": "_gray900BackgroundColor_duy1y_129", "orange100BackgroundColor": "_orange100BackgroundColor_duy1y_133", "orange200BackgroundColor": "_orange200BackgroundColor_duy1y_137", "orange300BackgroundColor": "_orange300BackgroundColor_duy1y_141", "orange700BackgroundColor": "_orange700BackgroundColor_duy1y_145", "orange800BackgroundColor": "_orange800BackgroundColor_duy1y_149", "orange900BackgroundColor": "_orange900BackgroundColor_duy1y_153", "primary100BackgroundColor": "_primary100BackgroundColor_duy1y_157", "primary200BackgroundColor": "_primary200BackgroundColor_duy1y_161", "primary300BackgroundColor": "_primary300BackgroundColor_duy1y_165", "primary700BackgroundColor": "_primary700BackgroundColor_duy1y_169", "primary800BackgroundColor": "_primary800BackgroundColor_duy1y_173", "primary900BackgroundColor": "_primary900BackgroundColor_duy1y_177", "success100BackgroundColor": "_success100BackgroundColor_duy1y_181", "success200BackgroundColor": "_success200BackgroundColor_duy1y_185", "success300BackgroundColor": "_success300BackgroundColor_duy1y_189", "success700BackgroundColor": "_success700BackgroundColor_duy1y_193", "success800BackgroundColor": "_success800BackgroundColor_duy1y_197", "success900BackgroundColor": "_success900BackgroundColor_duy1y_201", "purple100BackgroundColor": "_purple100BackgroundColor_duy1y_205", "purple200BackgroundColor": "_purple200BackgroundColor_duy1y_209", "purple300BackgroundColor": "_purple300BackgroundColor_duy1y_213", "purple700BackgroundColor": "_purple700BackgroundColor_duy1y_217", "purple800BackgroundColor": "_purple800BackgroundColor_duy1y_221", "purple900BackgroundColor": "_purple900BackgroundColor_duy1y_225", "whiteBackgroundColor": "_whiteBackgroundColor_duy1y_229", "yellow100BackgroundColor": "_yellow100BackgroundColor_duy1y_233", "yellow200BackgroundColor": "_yellow200BackgroundColor_duy1y_237", "yellow300BackgroundColor": "_yellow300BackgroundColor_duy1y_241", "yellow700BackgroundColor": "_yellow700BackgroundColor_duy1y_245", "yellow800BackgroundColor": "_yellow800BackgroundColor_duy1y_249", "yellow900BackgroundColor": "_yellow900BackgroundColor_duy1y_253", "cambioBlackColor": "_cambioBlackColor_duy1y_258", "cambioWhiteColor": "_cambioWhiteColor_duy1y_262", "cambioGray100Color": "_cambioGray100Color_duy1y_266", "cambioGray200Color": "_cambioGray200Color_duy1y_270", "cambioGray300Color": "_cambioGray300Color_duy1y_274", "cambioGray370Color": "_cambioGray370Color_duy1y_278", "cambioGray700Color": "_cambioGray700Color_duy1y_282", "cambioGray800Color": "_cambioGray800Color_duy1y_286", "cambioGray870Color": "_cambioGray870Color_duy1y_290", "cambioGray900Color": "_cambioGray900Color_duy1y_294", "cambioDestructive100Color": "_cambioDestructive100Color_duy1y_298", "cambioDestructive300Color": "_cambioDestructive300Color_duy1y_302", "cambioDestructive370Color": "_cambioDestructive370Color_duy1y_306", "cambioDestructive700Color": "_cambioDestructive700Color_duy1y_310", "cambioDestructive770Color": "_cambioDestructive770Color_duy1y_314", "cambioDestructive900Color": "_cambioDestructive900Color_duy1y_318", "cambioSuccess100Color": "_cambioSuccess100Color_duy1y_322", "cambioSuccess300Color": "_cambioSuccess300Color_duy1y_326", "cambioSuccess370Color": "_cambioSuccess370Color_duy1y_330", "cambioSuccess700Color": "_cambioSuccess700Color_duy1y_334", "cambioSuccess770Color": "_cambioSuccess770Color_duy1y_338", "cambioSuccess900Color": "_cambioSuccess900Color_duy1y_342", "cambioRedColor": "_cambioRedColor_duy1y_346", "cambioOrangeColor": "_cambioOrangeColor_duy1y_350", "cambioTanColor": "_cambioTanColor_duy1y_354", "cambioCreamColor": "_cambioCreamColor_duy1y_358", "cambioPurpleColor": "_cambioPurpleColor_duy1y_362", "cambioLilacColor": "_cambioLilacColor_duy1y_366", "cambioThistleColor": "_cambioThistleColor_duy1y_370", "cambioPinkColor": "_cambioPinkColor_duy1y_374", "cambioNavyColor": "_cambioNavyColor_duy1y_378", "cambioTealColor": "_cambioTealColor_duy1y_382", "cambioSlateColor": "_cambioSlateColor_duy1y_386", "cambioSkyColor": "_cambioSkyColor_duy1y_390", "cambioYellow700Color": "_cambioYellow700Color_duy1y_394", "cambioTransparentFullBackgroundColor": "_cambioTransparentFullBackgroundColor_duy1y_398", "cambioBlackBackgroundColor": "_cambioBlackBackgroundColor_duy1y_402", "cambioWhiteBackgroundColor": "_cambioWhiteBackgroundColor_duy1y_406", "cambioGray100BackgroundColor": "_cambioGray100BackgroundColor_duy1y_410", "cambioGray200BackgroundColor": "_cambioGray200BackgroundColor_duy1y_414", "cambioGray300BackgroundColor": "_cambioGray300BackgroundColor_duy1y_418", "gray370BackgroundColor": "_gray370BackgroundColor_duy1y_422", "cambioGray370BackgroundColor": "_cambioGray370BackgroundColor_duy1y_426", "cambioGray700BackgroundColor": "_cambioGray700BackgroundColor_duy1y_430", "cambioGray800BackgroundColor": "_cambioGray800BackgroundColor_duy1y_434", "gray870BackgroundColor": "_gray870BackgroundColor_duy1y_438", "cambioGray870BackgroundColor": "_cambioGray870BackgroundColor_duy1y_442", "cambioGray900BackgroundColor": "_cambioGray900BackgroundColor_duy1y_446", "cambioDestructive100BackgroundColor": "_cambioDestructive100BackgroundColor_duy1y_450", "cambioDestructive300BackgroundColor": "_cambioDestructive300BackgroundColor_duy1y_454", "cambioDestructive370BackgroundColor": "_cambioDestructive370BackgroundColor_duy1y_458", "cambioDestructive700BackgroundColor": "_cambioDestructive700BackgroundColor_duy1y_462", "cambioDestructive770BackgroundColor": "_cambioDestructive770BackgroundColor_duy1y_466", "cambioDestructive900BackgroundColor": "_cambioDestructive900BackgroundColor_duy1y_470", "cambioSuccess100BackgroundColor": "_cambioSuccess100BackgroundColor_duy1y_474", "cambioSuccess300BackgroundColor": "_cambioSuccess300BackgroundColor_duy1y_478", "cambioSuccess370BackgroundColor": "_cambioSuccess370BackgroundColor_duy1y_482", "cambioSuccess700BackgroundColor": "_cambioSuccess700BackgroundColor_duy1y_486", "cambioSuccess770BackgroundColor": "_cambioSuccess770BackgroundColor_duy1y_490", "cambioSuccess900BackgroundColor": "_cambioSuccess900BackgroundColor_duy1y_494", "redBackgroundColor": "_redBackgroundColor_duy1y_498", "cambioRedBackgroundColor": "_cambioRedBackgroundColor_duy1y_502", "orangeBackgroundColor": "_orangeBackgroundColor_duy1y_506", "cambioOrangeBackgroundColor": "_cambioOrangeBackgroundColor_duy1y_510", "tanBackgroundColor": "_tanBackgroundColor_duy1y_514", "cambioTanBackgroundColor": "_cambioTanBackgroundColor_duy1y_518", "creamBackgroundColor": "_creamBackgroundColor_duy1y_522", "cambioCreamBackgroundColor": "_cambioCreamBackgroundColor_duy1y_526", "purpleBackgroundColor": "_purpleBackgroundColor_duy1y_530", "cambioPurpleBackgroundColor": "_cambioPurpleBackgroundColor_duy1y_534", "lilacBackgroundColor": "_lilacBackgroundColor_duy1y_538", "cambioLilacBackgroundColor": "_cambioLilacBackgroundColor_duy1y_542", "thistleBackgroundColor": "_thistleBackgroundColor_duy1y_546", "cambioThistleBackgroundColor": "_cambioThistleBackgroundColor_duy1y_550", "pinkBackgroundColor": "_pinkBackgroundColor_duy1y_554", "cambioPinkBackgroundColor": "_cambioPinkBackgroundColor_duy1y_558", "navyBackgroundColor": "_navyBackgroundColor_duy1y_562", "cambioNavyBackgroundColor": "_cambioNavyBackgroundColor_duy1y_566", "tealBackgroundColor": "_tealBackgroundColor_duy1y_570", "cambioTealBackgroundColor": "_cambioTealBackgroundColor_duy1y_574", "slateBackgroundColor": "_slateBackgroundColor_duy1y_578", "cambioSlateBackgroundColor": "_cambioSlateBackgroundColor_duy1y_582", "skyBackgroundColor": "_skyBackgroundColor_duy1y_586", "cambioSkyBackgroundColor": "_cambioSkyBackgroundColor_duy1y_590", "cambioYellow700BackgroundColor": "_cambioYellow700BackgroundColor_duy1y_594" };
5
+
6
+ export {
7
+ colors_module_default
8
+ };
9
+ //# sourceMappingURL=S6TNP7G5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["css-module:../colors/colors.module.css#css-module"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"inheritColor\":\"_inheritColor_duy1y_2\",\"destructive700Color\":\"_destructive700Color_duy1y_6\",\"gray700Color\":\"_gray700Color_duy1y_10\",\"gray900Color\":\"_gray900Color_duy1y_14\",\"primary700Color\":\"_primary700Color_duy1y_18\",\"success700Color\":\"_success700Color_duy1y_22\",\"whiteColor\":\"_whiteColor_duy1y_26\",\"noBorder\":\"_noBorder_duy1y_31\",\"blackBorderColor\":\"_blackBorderColor_duy1y_35\",\"whiteBorderColor\":\"_whiteBorderColor_duy1y_39\",\"success770BorderColor\":\"_success770BorderColor_duy1y_43\",\"destructive770BorderColor\":\"_destructive770BorderColor_duy1y_47\",\"gray370BorderColor\":\"_gray370BorderColor_duy1y_51\",\"success370BorderColor\":\"_success370BorderColor_duy1y_55\",\"destructive370BorderColor\":\"_destructive370BorderColor_duy1y_59\",\"blackBackgroundColor\":\"_blackBackgroundColor_duy1y_65\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_duy1y_69\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_duy1y_73\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_duy1y_77\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_duy1y_81\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_duy1y_85\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_duy1y_89\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_duy1y_93\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_duy1y_97\",\"gray60BackgroundColor\":\"_gray60BackgroundColor_duy1y_101\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_duy1y_105\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_duy1y_109\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_duy1y_113\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_duy1y_117\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_duy1y_121\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_duy1y_125\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_duy1y_129\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_duy1y_133\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_duy1y_137\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_duy1y_141\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_duy1y_145\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_duy1y_149\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_duy1y_153\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_duy1y_157\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_duy1y_161\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_duy1y_165\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_duy1y_169\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_duy1y_173\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_duy1y_177\",\"success100BackgroundColor\":\"_success100BackgroundColor_duy1y_181\",\"success200BackgroundColor\":\"_success200BackgroundColor_duy1y_185\",\"success300BackgroundColor\":\"_success300BackgroundColor_duy1y_189\",\"success700BackgroundColor\":\"_success700BackgroundColor_duy1y_193\",\"success800BackgroundColor\":\"_success800BackgroundColor_duy1y_197\",\"success900BackgroundColor\":\"_success900BackgroundColor_duy1y_201\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_duy1y_205\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_duy1y_209\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_duy1y_213\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_duy1y_217\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_duy1y_221\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_duy1y_225\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_duy1y_229\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_duy1y_233\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_duy1y_237\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_duy1y_241\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_duy1y_245\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_duy1y_249\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_duy1y_253\",\"cambioBlackColor\":\"_cambioBlackColor_duy1y_258\",\"cambioWhiteColor\":\"_cambioWhiteColor_duy1y_262\",\"cambioGray100Color\":\"_cambioGray100Color_duy1y_266\",\"cambioGray200Color\":\"_cambioGray200Color_duy1y_270\",\"cambioGray300Color\":\"_cambioGray300Color_duy1y_274\",\"cambioGray370Color\":\"_cambioGray370Color_duy1y_278\",\"cambioGray700Color\":\"_cambioGray700Color_duy1y_282\",\"cambioGray800Color\":\"_cambioGray800Color_duy1y_286\",\"cambioGray870Color\":\"_cambioGray870Color_duy1y_290\",\"cambioGray900Color\":\"_cambioGray900Color_duy1y_294\",\"cambioDestructive100Color\":\"_cambioDestructive100Color_duy1y_298\",\"cambioDestructive300Color\":\"_cambioDestructive300Color_duy1y_302\",\"cambioDestructive370Color\":\"_cambioDestructive370Color_duy1y_306\",\"cambioDestructive700Color\":\"_cambioDestructive700Color_duy1y_310\",\"cambioDestructive770Color\":\"_cambioDestructive770Color_duy1y_314\",\"cambioDestructive900Color\":\"_cambioDestructive900Color_duy1y_318\",\"cambioSuccess100Color\":\"_cambioSuccess100Color_duy1y_322\",\"cambioSuccess300Color\":\"_cambioSuccess300Color_duy1y_326\",\"cambioSuccess370Color\":\"_cambioSuccess370Color_duy1y_330\",\"cambioSuccess700Color\":\"_cambioSuccess700Color_duy1y_334\",\"cambioSuccess770Color\":\"_cambioSuccess770Color_duy1y_338\",\"cambioSuccess900Color\":\"_cambioSuccess900Color_duy1y_342\",\"cambioRedColor\":\"_cambioRedColor_duy1y_346\",\"cambioOrangeColor\":\"_cambioOrangeColor_duy1y_350\",\"cambioTanColor\":\"_cambioTanColor_duy1y_354\",\"cambioCreamColor\":\"_cambioCreamColor_duy1y_358\",\"cambioPurpleColor\":\"_cambioPurpleColor_duy1y_362\",\"cambioLilacColor\":\"_cambioLilacColor_duy1y_366\",\"cambioThistleColor\":\"_cambioThistleColor_duy1y_370\",\"cambioPinkColor\":\"_cambioPinkColor_duy1y_374\",\"cambioNavyColor\":\"_cambioNavyColor_duy1y_378\",\"cambioTealColor\":\"_cambioTealColor_duy1y_382\",\"cambioSlateColor\":\"_cambioSlateColor_duy1y_386\",\"cambioSkyColor\":\"_cambioSkyColor_duy1y_390\",\"cambioYellow700Color\":\"_cambioYellow700Color_duy1y_394\",\"cambioTransparentFullBackgroundColor\":\"_cambioTransparentFullBackgroundColor_duy1y_398\",\"cambioBlackBackgroundColor\":\"_cambioBlackBackgroundColor_duy1y_402\",\"cambioWhiteBackgroundColor\":\"_cambioWhiteBackgroundColor_duy1y_406\",\"cambioGray100BackgroundColor\":\"_cambioGray100BackgroundColor_duy1y_410\",\"cambioGray200BackgroundColor\":\"_cambioGray200BackgroundColor_duy1y_414\",\"cambioGray300BackgroundColor\":\"_cambioGray300BackgroundColor_duy1y_418\",\"gray370BackgroundColor\":\"_gray370BackgroundColor_duy1y_422\",\"cambioGray370BackgroundColor\":\"_cambioGray370BackgroundColor_duy1y_426\",\"cambioGray700BackgroundColor\":\"_cambioGray700BackgroundColor_duy1y_430\",\"cambioGray800BackgroundColor\":\"_cambioGray800BackgroundColor_duy1y_434\",\"gray870BackgroundColor\":\"_gray870BackgroundColor_duy1y_438\",\"cambioGray870BackgroundColor\":\"_cambioGray870BackgroundColor_duy1y_442\",\"cambioGray900BackgroundColor\":\"_cambioGray900BackgroundColor_duy1y_446\",\"cambioDestructive100BackgroundColor\":\"_cambioDestructive100BackgroundColor_duy1y_450\",\"cambioDestructive300BackgroundColor\":\"_cambioDestructive300BackgroundColor_duy1y_454\",\"cambioDestructive370BackgroundColor\":\"_cambioDestructive370BackgroundColor_duy1y_458\",\"cambioDestructive700BackgroundColor\":\"_cambioDestructive700BackgroundColor_duy1y_462\",\"cambioDestructive770BackgroundColor\":\"_cambioDestructive770BackgroundColor_duy1y_466\",\"cambioDestructive900BackgroundColor\":\"_cambioDestructive900BackgroundColor_duy1y_470\",\"cambioSuccess100BackgroundColor\":\"_cambioSuccess100BackgroundColor_duy1y_474\",\"cambioSuccess300BackgroundColor\":\"_cambioSuccess300BackgroundColor_duy1y_478\",\"cambioSuccess370BackgroundColor\":\"_cambioSuccess370BackgroundColor_duy1y_482\",\"cambioSuccess700BackgroundColor\":\"_cambioSuccess700BackgroundColor_duy1y_486\",\"cambioSuccess770BackgroundColor\":\"_cambioSuccess770BackgroundColor_duy1y_490\",\"cambioSuccess900BackgroundColor\":\"_cambioSuccess900BackgroundColor_duy1y_494\",\"redBackgroundColor\":\"_redBackgroundColor_duy1y_498\",\"cambioRedBackgroundColor\":\"_cambioRedBackgroundColor_duy1y_502\",\"orangeBackgroundColor\":\"_orangeBackgroundColor_duy1y_506\",\"cambioOrangeBackgroundColor\":\"_cambioOrangeBackgroundColor_duy1y_510\",\"tanBackgroundColor\":\"_tanBackgroundColor_duy1y_514\",\"cambioTanBackgroundColor\":\"_cambioTanBackgroundColor_duy1y_518\",\"creamBackgroundColor\":\"_creamBackgroundColor_duy1y_522\",\"cambioCreamBackgroundColor\":\"_cambioCreamBackgroundColor_duy1y_526\",\"purpleBackgroundColor\":\"_purpleBackgroundColor_duy1y_530\",\"cambioPurpleBackgroundColor\":\"_cambioPurpleBackgroundColor_duy1y_534\",\"lilacBackgroundColor\":\"_lilacBackgroundColor_duy1y_538\",\"cambioLilacBackgroundColor\":\"_cambioLilacBackgroundColor_duy1y_542\",\"thistleBackgroundColor\":\"_thistleBackgroundColor_duy1y_546\",\"cambioThistleBackgroundColor\":\"_cambioThistleBackgroundColor_duy1y_550\",\"pinkBackgroundColor\":\"_pinkBackgroundColor_duy1y_554\",\"cambioPinkBackgroundColor\":\"_cambioPinkBackgroundColor_duy1y_558\",\"navyBackgroundColor\":\"_navyBackgroundColor_duy1y_562\",\"cambioNavyBackgroundColor\":\"_cambioNavyBackgroundColor_duy1y_566\",\"tealBackgroundColor\":\"_tealBackgroundColor_duy1y_570\",\"cambioTealBackgroundColor\":\"_cambioTealBackgroundColor_duy1y_574\",\"slateBackgroundColor\":\"_slateBackgroundColor_duy1y_578\",\"cambioSlateBackgroundColor\":\"_cambioSlateBackgroundColor_duy1y_582\",\"skyBackgroundColor\":\"_skyBackgroundColor_duy1y_586\",\"cambioSkyBackgroundColor\":\"_cambioSkyBackgroundColor_duy1y_590\",\"cambioYellow700BackgroundColor\":\"_cambioYellow700BackgroundColor_duy1y_594\"}"],"mappings":";;;AAA4F,IAAO,wBAAQ,EAAC,gBAAe,yBAAwB,uBAAsB,gCAA+B,gBAAe,0BAAyB,gBAAe,0BAAyB,mBAAkB,6BAA4B,mBAAkB,6BAA4B,cAAa,wBAAuB,YAAW,sBAAqB,oBAAmB,8BAA6B,oBAAmB,8BAA6B,yBAAwB,mCAAkC,6BAA4B,uCAAsC,sBAAqB,gCAA+B,yBAAwB,mCAAkC,6BAA4B,uCAAsC,wBAAuB,kCAAiC,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,iCAAgC,2CAA0C,yBAAwB,mCAAkC,yBAAwB,mCAAkC,yBAAwB,oCAAmC,yBAAwB,oCAAmC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,4BAA2B,uCAAsC,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,uCAAsC,oBAAmB,+BAA8B,oBAAmB,+BAA8B,sBAAqB,iCAAgC,sBAAqB,iCAAgC,sBAAqB,iCAAgC,sBAAqB,iCAAgC,sBAAqB,iCAAgC,sBAAqB,iCAAgC,sBAAqB,iCAAgC,sBAAqB,iCAAgC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,yBAAwB,oCAAmC,yBAAwB,oCAAmC,yBAAwB,oCAAmC,yBAAwB,oCAAmC,yBAAwB,oCAAmC,yBAAwB,oCAAmC,kBAAiB,6BAA4B,qBAAoB,gCAA+B,kBAAiB,6BAA4B,oBAAmB,+BAA8B,qBAAoB,gCAA+B,oBAAmB,+BAA8B,sBAAqB,iCAAgC,mBAAkB,8BAA6B,mBAAkB,8BAA6B,mBAAkB,8BAA6B,oBAAmB,+BAA8B,kBAAiB,6BAA4B,wBAAuB,mCAAkC,wCAAuC,mDAAkD,8BAA6B,yCAAwC,8BAA6B,yCAAwC,gCAA+B,2CAA0C,gCAA+B,2CAA0C,gCAA+B,2CAA0C,0BAAyB,qCAAoC,gCAA+B,2CAA0C,gCAA+B,2CAA0C,gCAA+B,2CAA0C,0BAAyB,qCAAoC,gCAA+B,2CAA0C,gCAA+B,2CAA0C,uCAAsC,kDAAiD,uCAAsC,kDAAiD,uCAAsC,kDAAiD,uCAAsC,kDAAiD,uCAAsC,kDAAiD,uCAAsC,kDAAiD,mCAAkC,8CAA6C,mCAAkC,8CAA6C,mCAAkC,8CAA6C,mCAAkC,8CAA6C,mCAAkC,8CAA6C,mCAAkC,8CAA6C,sBAAqB,iCAAgC,4BAA2B,uCAAsC,yBAAwB,oCAAmC,+BAA8B,0CAAyC,sBAAqB,iCAAgC,4BAA2B,uCAAsC,wBAAuB,mCAAkC,8BAA6B,yCAAwC,yBAAwB,oCAAmC,+BAA8B,0CAAyC,wBAAuB,mCAAkC,8BAA6B,yCAAwC,0BAAyB,qCAAoC,gCAA+B,2CAA0C,uBAAsB,kCAAiC,6BAA4B,wCAAuC,uBAAsB,kCAAiC,6BAA4B,wCAAuC,uBAAsB,kCAAiC,6BAA4B,wCAAuC,wBAAuB,mCAAkC,8BAA6B,yCAAwC,sBAAqB,iCAAgC,4BAA2B,uCAAsC,kCAAiC,4CAA2C;","names":[]}
@@ -1,10 +1,10 @@
1
1
  "use client"
2
2
  import {
3
3
  ModalDialog_default
4
- } from "./WPHGBTGT.js";
4
+ } from "./FVGIQTM2.js";
5
5
  import {
6
6
  Dialog_default
7
- } from "./I7KZVDTA.js";
7
+ } from "./TZGJS522.js";
8
8
  import {
9
9
  layout_module_default
10
10
  } from "./DDUJFFG7.js";
@@ -141,4 +141,4 @@ export {
141
141
  AriaPopover,
142
142
  Popover_default
143
143
  };
144
- //# sourceMappingURL=2QVZAC4M.js.map
144
+ //# sourceMappingURL=SSVDOCMD.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
2
2
 
3
3
 
4
- var _2TIKEFR7cjs = require('./2TIKEFR7.cjs');
4
+ var _FESAFV44cjs = require('./FESAFV44.cjs');
5
5
 
6
6
 
7
- var _ZGUPRSQDcjs = require('./ZGUPRSQD.cjs');
7
+ var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
8
8
 
9
9
 
10
10
  var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
@@ -76,7 +76,7 @@ var Chip = _react.forwardRef.call(void 0,
76
76
  onClick: onChange,
77
77
  children: [
78
78
  Icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: iconStyles }),
79
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _2TIKEFR7cjs.Box_default, { paddingX: Icon ? 1 : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ZGUPRSQDcjs.Typography_default, { size: 100, color, weight: "medium", children: text }) })
79
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FESAFV44cjs.Box_default, { paddingX: Icon ? 1 : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XCGRNBQHcjs.Typography_default, { size: 100, color, weight: "medium", children: text }) })
80
80
  ]
81
81
  }
82
82
  );
@@ -88,4 +88,4 @@ var Chip_default = Chip;
88
88
 
89
89
 
90
90
  exports.Chip_default = Chip_default;
91
- //# sourceMappingURL=KK6SH2LZ.cjs.map
91
+ //# sourceMappingURL=T2G4KRBE.cjs.map
@@ -4,13 +4,13 @@
4
4
  var _XLUVINJWcjs = require('./XLUVINJW.cjs');
5
5
 
6
6
 
7
- var _2TIKEFR7cjs = require('./2TIKEFR7.cjs');
7
+ var _FESAFV44cjs = require('./FESAFV44.cjs');
8
8
 
9
9
 
10
- var _ZGUPRSQDcjs = require('./ZGUPRSQD.cjs');
10
+ var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
11
11
 
12
12
 
13
- var _5OHL5JV3cjs = require('./5OHL5JV3.cjs');
13
+ var _QT6IRCGWcjs = require('./QT6IRCGW.cjs');
14
14
 
15
15
 
16
16
  var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
@@ -62,7 +62,7 @@ var RadioButton = ({
62
62
  {
63
63
  className: _classnames2.default.call(void 0,
64
64
  RadioButton_module_default.background,
65
- error ? _5OHL5JV3cjs.colors_module_default.destructive370BackgroundColor : _5OHL5JV3cjs.colors_module_default.gray370BackgroundColor,
65
+ error ? _QT6IRCGWcjs.colors_module_default.cambioDestructive370BackgroundColor : _QT6IRCGWcjs.colors_module_default.cambioGray370BackgroundColor,
66
66
  RadioButton_module_default[size],
67
67
  {
68
68
  [_XLUVINJWcjs.Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible || dangerouslyForceFocusStyles
@@ -71,7 +71,7 @@ var RadioButton = ({
71
71
  }
72
72
  ),
73
73
  checked && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
74
- _2TIKEFR7cjs.Box_default,
74
+ _FESAFV44cjs.Box_default,
75
75
  {
76
76
  backgroundColor: error ? "destructive900" : "gray900",
77
77
  width: size === "md" ? 12 : 8,
@@ -113,7 +113,7 @@ var RadioButton = ({
113
113
  }
114
114
  ),
115
115
  label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
116
- _ZGUPRSQDcjs.Typography_default,
116
+ _XCGRNBQHcjs.Typography_default,
117
117
  {
118
118
  size: size === "md" ? 200 : 100,
119
119
  color: error ? "destructive-primary" : "gray900",
@@ -129,4 +129,4 @@ var RadioButton_default = RadioButton;
129
129
 
130
130
 
131
131
  exports.RadioButton_default = RadioButton_default;
132
- //# sourceMappingURL=63FZTUP4.cjs.map
132
+ //# sourceMappingURL=T2WJJCS3.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACD+E,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;;;ADuFrvB,SAWE,KAXF;AAzEJ,IAAM,cAAc,CAAC;AAAA,EACnB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,8BAA8B;AAAA,EAC9B,UAAU,eAAe;AAAA,EACzB,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP;AACF,MAsDoB;AAClB,QAAM,aAAa,cAAc;AACjC,QAAM,WAAW,CAAC,cAAc;AAChC,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,eAAe,IAAI,gBAAgB;AAE3C,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,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,cACT,2BAAO;AAAA,cACP,QACI,sBAAY,gCACZ,sBAAY;AAAA,cAChB,2BAAO,IAAI;AAAA,cACX;AAAA,gBACE,CAAC,qBAAY,yBAAyB,GACnC,aAAa,kBAAmB;AAAA,cACrC;AAAA,YACF;AAAA;AAAA,QACF;AAAA,QACC,WACC;AAAA,UAAC;AAAA;AAAA,YACC,iBAAiB,QAAQ,mBAAmB;AAAA,YAC5C,OAAO,SAAS,OAAO,KAAK;AAAA,YAC5B,QAAQ,SAAS,OAAO,KAAK;AAAA,YAC7B,UAAS;AAAA,YACT,UAAS;AAAA,YACT,2BAA2B;AAAA,cACzB,SAAS;AAAA,gBACP,MAAM,SAAS,OAAO,IAAI;AAAA,cAC5B;AAAA,YACF;AAAA;AAAA,QACF;AAAA,QAEF;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","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\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport colorStyles from \"../colors/colors.module.css\";\nimport Box from \"../Box/Box\";\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 dangerouslyForceFocusStyles = false,\n disabled: disabledProp = 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 /** forces focus ring styling */\n dangerouslyForceFocusStyles?: boolean;\n}): ReactElement => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\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 <div\n className={classnames(\n styles.background,\n error\n ? colorStyles.destructive370BackgroundColor\n : colorStyles.gray370BackgroundColor,\n styles[size],\n {\n [focusStyles.accessibilityOutlineFocus]:\n (isFocused && isFocusVisible) || dangerouslyForceFocusStyles,\n },\n )}\n />\n {checked && (\n <Box\n backgroundColor={error ? \"destructive900\" : \"gray900\"}\n width={size === \"md\" ? 12 : 8}\n height={size === \"md\" ? 12 : 8}\n position=\"absolute\"\n rounding=\"full\"\n dangerouslySetInlineStyle={{\n __style: {\n left: size === \"md\" ? 6 : 4,\n },\n }}\n />\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\" : \"gray900\"}\n >\n {label}\n </Typography>\n )}\n </label>\n );\n};\n\nexport default RadioButton;\n","import \"/home/runner/work/syntax/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\"}"]}
1
+ {"version":3,"sources":["../../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACD+E,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;;;ADuFrvB,SAWE,KAXF;AAzEJ,IAAM,cAAc,CAAC;AAAA,EACnB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,8BAA8B;AAAA,EAC9B,UAAU,eAAe;AAAA,EACzB,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP;AACF,MAsDoB;AAClB,QAAM,aAAa,cAAc;AACjC,QAAM,WAAW,CAAC,cAAc;AAChC,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,eAAe,IAAI,gBAAgB;AAE3C,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,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,cACT,2BAAO;AAAA,cACP,QACI,sBAAY,sCACZ,sBAAY;AAAA,cAChB,2BAAO,IAAI;AAAA,cACX;AAAA,gBACE,CAAC,qBAAY,yBAAyB,GACnC,aAAa,kBAAmB;AAAA,cACrC;AAAA,YACF;AAAA;AAAA,QACF;AAAA,QACC,WACC;AAAA,UAAC;AAAA;AAAA,YACC,iBAAiB,QAAQ,mBAAmB;AAAA,YAC5C,OAAO,SAAS,OAAO,KAAK;AAAA,YAC5B,QAAQ,SAAS,OAAO,KAAK;AAAA,YAC7B,UAAS;AAAA,YACT,UAAS;AAAA,YACT,2BAA2B;AAAA,cACzB,SAAS;AAAA,gBACP,MAAM,SAAS,OAAO,IAAI;AAAA,cAC5B;AAAA,YACF;AAAA;AAAA,QACF;AAAA,QAEF;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","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\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport colorStyles from \"../colors/colors.module.css\";\nimport Box from \"../Box/Box\";\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 dangerouslyForceFocusStyles = false,\n disabled: disabledProp = 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 /** forces focus ring styling */\n dangerouslyForceFocusStyles?: boolean;\n}): ReactElement => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [isFocused, setIsFocused] = useState(false);\n const { isFocusVisible } = useFocusVisible();\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 <div\n className={classnames(\n styles.background,\n error\n ? colorStyles.cambioDestructive370BackgroundColor\n : colorStyles.cambioGray370BackgroundColor,\n styles[size],\n {\n [focusStyles.accessibilityOutlineFocus]:\n (isFocused && isFocusVisible) || dangerouslyForceFocusStyles,\n },\n )}\n />\n {checked && (\n <Box\n backgroundColor={error ? \"destructive900\" : \"gray900\"}\n width={size === \"md\" ? 12 : 8}\n height={size === \"md\" ? 12 : 8}\n position=\"absolute\"\n rounding=\"full\"\n dangerouslySetInlineStyle={{\n __style: {\n left: size === \"md\" ? 6 : 4,\n },\n }}\n />\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\" : \"gray900\"}\n >\n {label}\n </Typography>\n )}\n </label>\n );\n};\n\nexport default RadioButton;\n","import \"/home/runner/work/syntax/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\"}"]}
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Box_default
4
- } from "./HUK5SGUK.js";
4
+ } from "./M36V23WR.js";
5
5
 
6
6
  // src/AvatarGroup/AvatarGroup.tsx
7
7
  import {
@@ -39,4 +39,4 @@ export {
39
39
  useAvatarGroup,
40
40
  AvatarGroup
41
41
  };
42
- //# sourceMappingURL=5IIE2GTT.js.map
42
+ //# sourceMappingURL=T32LVZ6S.js.map
@@ -1,22 +1,22 @@
1
1
  "use client"
2
2
  import {
3
3
  Heading_default
4
- } from "./S3EVAXXU.js";
4
+ } from "./HLC7NU6Z.js";
5
5
  import {
6
6
  StopScroll
7
7
  } from "./QQT35OLE.js";
8
8
  import {
9
9
  Layer
10
- } from "./P6OQJFH5.js";
10
+ } from "./NMX5UDLV.js";
11
11
  import {
12
12
  FocusTrap
13
13
  } from "./HVA7R2EL.js";
14
14
  import {
15
15
  IconButton_default
16
- } from "./KES7FY4B.js";
16
+ } from "./MEOMWLNG.js";
17
17
  import {
18
18
  Box_default
19
- } from "./HUK5SGUK.js";
19
+ } from "./M36V23WR.js";
20
20
 
21
21
  // css-module:./Modal.module.css#css-module
22
22
  var Modal_module_default = { "backdrop": "_backdrop_17lbk_1", "closeButton": "_closeButton_17lbk_10" };
@@ -130,4 +130,4 @@ Modal.displayName = "Modal";
130
130
  export {
131
131
  Modal
132
132
  };
133
- //# sourceMappingURL=EC632XXP.js.map
133
+ //# sourceMappingURL=T43E4BS4.js.map
@@ -0,0 +1,56 @@
1
+ "use client"
2
+ import {
3
+ colors_module_default
4
+ } from "./PUTZ53EC.js";
5
+
6
+ // src/colors/backgroundColor.ts
7
+ function backgroundColor(color, on) {
8
+ if (on === "lightBackground") {
9
+ switch (color) {
10
+ case "primary":
11
+ return colors_module_default.cambioBlackBackgroundColor;
12
+ case "secondary":
13
+ case "success-secondary":
14
+ case "destructive-secondary":
15
+ return colors_module_default.cambioTransparentFullBackgroundColor;
16
+ case "tertiary":
17
+ case "success-tertiary":
18
+ case "destructive-tertiary":
19
+ return colors_module_default.cambioTransparentFullBackgroundColor;
20
+ case "success-primary":
21
+ return colors_module_default.cambioSuccess700BackgroundColor;
22
+ case "destructive-primary":
23
+ return colors_module_default.cambioDestructive700BackgroundColor;
24
+ case "branded":
25
+ return colors_module_default.cambioYellow700BackgroundColor;
26
+ default:
27
+ return colors_module_default.cambioBlackBackgroundColor;
28
+ }
29
+ } else {
30
+ switch (color) {
31
+ case "primary":
32
+ return colors_module_default.cambioGray200BackgroundColor;
33
+ case "secondary":
34
+ case "success-secondary":
35
+ case "destructive-secondary":
36
+ return colors_module_default.cambioTransparentFullBackgroundColor;
37
+ case "tertiary":
38
+ case "success-tertiary":
39
+ case "destructive-tertiary":
40
+ return colors_module_default.cambioTransparentFullBackgroundColor;
41
+ case "success-primary":
42
+ return colors_module_default.cambioSuccess300BackgroundColor;
43
+ case "destructive-primary":
44
+ return colors_module_default.cambioDestructive300BackgroundColor;
45
+ case "branded":
46
+ return colors_module_default.cambioYellow700BackgroundColor;
47
+ default:
48
+ return colors_module_default.cambioWhiteBackgroundColor;
49
+ }
50
+ }
51
+ }
52
+
53
+ export {
54
+ backgroundColor
55
+ };
56
+ //# sourceMappingURL=T6PXFSRX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/colors/backgroundColor.ts"],"sourcesContent":["import { type Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport function backgroundColor(\n color: (typeof Color)[number],\n on: \"lightBackground\" | \"darkBackground\",\n): string {\n if (on === \"lightBackground\") {\n switch (color) {\n case \"primary\":\n return styles.cambioBlackBackgroundColor;\n case \"secondary\":\n case \"success-secondary\":\n case \"destructive-secondary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"tertiary\":\n case \"success-tertiary\":\n case \"destructive-tertiary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"success-primary\":\n return styles.cambioSuccess700BackgroundColor;\n case \"destructive-primary\":\n return styles.cambioDestructive700BackgroundColor;\n case \"branded\":\n return styles.cambioYellow700BackgroundColor;\n default:\n return styles.cambioBlackBackgroundColor;\n }\n } else {\n switch (color) {\n case \"primary\":\n return styles.cambioGray200BackgroundColor;\n case \"secondary\":\n case \"success-secondary\":\n case \"destructive-secondary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"tertiary\":\n case \"success-tertiary\":\n case \"destructive-tertiary\":\n return styles.cambioTransparentFullBackgroundColor;\n case \"success-primary\":\n return styles.cambioSuccess300BackgroundColor;\n case \"destructive-primary\":\n return styles.cambioDestructive300BackgroundColor;\n case \"branded\":\n return styles.cambioYellow700BackgroundColor;\n default:\n return styles.cambioWhiteBackgroundColor;\n }\n }\n}\n"],"mappings":";;;;;;AAGO,SAAS,gBACd,OACA,IACQ;AACR,MAAI,OAAO,mBAAmB;AAC5B,YAAQ,OAAO;AAAA,MACb,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF,OAAO;AACL,YAAQ,OAAO;AAAA,MACb,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF;AACF;","names":[]}
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  colors_module_default
4
- } from "./YKNNKOSA.js";
4
+ } from "./S6TNP7G5.js";
5
5
 
6
6
  // css-module:./Divider.module.css#css-module
7
7
  var Divider_module_default = { "divider": "_divider_1uaon_1", "dividerClassic": "_dividerClassic_1uaon_9" };
@@ -13,7 +13,10 @@ function Divider() {
13
13
  return /* @__PURE__ */ jsx(
14
14
  "hr",
15
15
  {
16
- className: classNames(Divider_module_default.divider, colors_module_default.gray370BackgroundColor)
16
+ className: classNames(
17
+ Divider_module_default.divider,
18
+ colors_module_default.cambioGray370BackgroundColor
19
+ )
17
20
  }
18
21
  );
19
22
  }
@@ -22,4 +25,4 @@ Divider.displayName = "Divider";
22
25
  export {
23
26
  Divider
24
27
  };
25
- //# sourceMappingURL=G3XGB7CC.js.map
28
+ //# sourceMappingURL=TK2EQ6QG.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["css-module:./Divider.module.css#css-module","../../src/Divider/Divider.tsx"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css\"; export default {\"divider\":\"_divider_1uaon_1\",\"dividerClassic\":\"_dividerClassic_1uaon_9\"}","import styles from \"./Divider.module.css\";\nimport classNames from \"classnames\";\nimport colorStyles from \"../colors/colors.module.css\";\n\n/**\n * [Divider](https://cambly-syntax.vercel.app/?path=/docs/components-divider--docs) is a thin horizontal line to group content in lists and layouts.\n */\nexport default function Divider(): React.ReactElement {\n return (\n <hr\n className={classNames(styles.divider, colorStyles.gray370BackgroundColor)}\n />\n );\n}\n\nDivider.displayName = \"Divider\";\n"],"mappings":";;;;;;AAA8F,IAAO,yBAAQ,EAAC,WAAU,oBAAmB,kBAAiB,0BAAyB;;;ACCrL,OAAO,gBAAgB;AAQnB;AAFW,SAAR,UAA+C;AACpD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,WAAW,uBAAO,SAAS,sBAAY,sBAAsB;AAAA;AAAA,EAC1E;AAEJ;AAEA,QAAQ,cAAc;","names":[]}
1
+ {"version":3,"sources":["css-module:./Divider.module.css#css-module","../../src/Divider/Divider.tsx"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css\"; export default {\"divider\":\"_divider_1uaon_1\",\"dividerClassic\":\"_dividerClassic_1uaon_9\"}","import styles from \"./Divider.module.css\";\nimport classNames from \"classnames\";\nimport colorStyles from \"../colors/colors.module.css\";\n\n/**\n * [Divider](https://cambly-syntax.vercel.app/?path=/docs/components-divider--docs) is a thin horizontal line to group content in lists and layouts.\n */\nexport default function Divider(): React.ReactElement {\n return (\n <hr\n className={classNames(\n styles.divider,\n colorStyles.cambioGray370BackgroundColor,\n )}\n />\n );\n}\n\nDivider.displayName = \"Divider\";\n"],"mappings":";;;;;;AAA8F,IAAO,yBAAQ,EAAC,WAAU,oBAAmB,kBAAiB,0BAAyB;;;ACCrL,OAAO,gBAAgB;AAQnB;AAFW,SAAR,UAA+C;AACpD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT,uBAAO;AAAA,QACP,sBAAY;AAAA,MACd;AAAA;AAAA,EACF;AAEJ;AAEA,QAAQ,cAAc;","names":[]}
@@ -13,7 +13,7 @@ import {
13
13
  } from "./KBIW5XV4.js";
14
14
  import {
15
15
  colors_module_default
16
- } from "./YKNNKOSA.js";
16
+ } from "./S6TNP7G5.js";
17
17
 
18
18
  // src/Dialog/Dialog.tsx
19
19
  import React, {
@@ -77,4 +77,4 @@ export {
77
77
  DialogContext,
78
78
  Dialog_default
79
79
  };
80
- //# sourceMappingURL=I7KZVDTA.js.map
80
+ //# sourceMappingURL=TZGJS522.js.map
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
2
2
 
3
3
 
4
- var _KK6SH2LZcjs = require('./KK6SH2LZ.cjs');
4
+ var _T2G4KRBEcjs = require('./T2G4KRBE.cjs');
5
5
 
6
6
 
7
7
  var _RYUXG4AScjs = require('./RYUXG4AS.cjs');
@@ -16,7 +16,7 @@ var _jsxruntime = require('react/jsx-runtime');
16
16
  var RichSelectChip_default = _react.forwardRef.call(void 0,
17
17
  function RichSelectChip(props, ref) {
18
18
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RYUXG4AScjs.RichSelectItem_default, _X2SDR4SDcjs.__spreadProps.call(void 0, _X2SDR4SDcjs.__spreadValues.call(void 0, {}, props), { ref, children: ({ isSelected, isFocusVisible, isDisabled }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
19
- _KK6SH2LZcjs.Chip_default,
19
+ _T2G4KRBEcjs.Chip_default,
20
20
  {
21
21
  text: props.label,
22
22
  selected: isSelected,
@@ -31,4 +31,4 @@ var RichSelectChip_default = _react.forwardRef.call(void 0,
31
31
 
32
32
 
33
33
  exports.RichSelectChip_default = RichSelectChip_default;
34
- //# sourceMappingURL=ELJOCI7T.cjs.map
34
+ //# sourceMappingURL=UT353VLR.cjs.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  colors_module_default
4
- } from "./KF6THXJV.js";
4
+ } from "./PUTZ53EC.js";
5
5
 
6
6
  // src/colors/foregroundColor.ts
7
7
  function foregroundColor(color, on) {
@@ -10,33 +10,33 @@ function foregroundColor(color, on) {
10
10
  case "primary":
11
11
  case "success-primary":
12
12
  case "destructive-primary":
13
- return colors_module_default.whiteColor;
13
+ return colors_module_default.cambioWhiteColor;
14
14
  case "success-secondary":
15
15
  case "success-tertiary":
16
- return colors_module_default.success700Color;
16
+ return colors_module_default.cambioSuccess700Color;
17
17
  case "destructive-secondary":
18
18
  case "destructive-tertiary":
19
- return colors_module_default.destructive700Color;
19
+ return colors_module_default.cambioDestructive700Color;
20
20
  default:
21
- return colors_module_default.blackColor;
21
+ return colors_module_default.cambioBlackColor;
22
22
  }
23
23
  } else {
24
24
  switch (color) {
25
25
  case "primary":
26
26
  case "success-primary":
27
27
  case "destructive-primary":
28
- return colors_module_default.blackColor;
28
+ return colors_module_default.cambioBlackColor;
29
29
  case "secondary":
30
30
  case "tertiary":
31
- return colors_module_default.whiteColor;
31
+ return colors_module_default.cambioWhiteColor;
32
32
  case "success-secondary":
33
33
  case "success-tertiary":
34
- return colors_module_default.success300Color;
34
+ return colors_module_default.cambioSuccess300Color;
35
35
  case "destructive-secondary":
36
36
  case "destructive-tertiary":
37
- return colors_module_default.destructive300Color;
37
+ return colors_module_default.cambioDestructive300Color;
38
38
  default:
39
- return colors_module_default.blackColor;
39
+ return colors_module_default.cambioBlackColor;
40
40
  }
41
41
  }
42
42
  }
@@ -44,4 +44,4 @@ function foregroundColor(color, on) {
44
44
  export {
45
45
  foregroundColor
46
46
  };
47
- //# sourceMappingURL=W3XKR7CX.js.map
47
+ //# sourceMappingURL=UVQS6LU3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/colors/foregroundColor.ts"],"sourcesContent":["import { type Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport function foregroundColor(\n color: (typeof Color)[number],\n on: \"lightBackground\" | \"darkBackground\",\n): string {\n if (on === \"lightBackground\") {\n switch (color) {\n case \"primary\":\n case \"success-primary\":\n case \"destructive-primary\":\n return styles.cambioWhiteColor;\n case \"success-secondary\":\n case \"success-tertiary\":\n return styles.cambioSuccess700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.cambioDestructive700Color;\n default:\n return styles.cambioBlackColor;\n }\n } else {\n switch (color) {\n case \"primary\":\n case \"success-primary\":\n case \"destructive-primary\":\n return styles.cambioBlackColor;\n case \"secondary\":\n case \"tertiary\":\n return styles.cambioWhiteColor;\n case \"success-secondary\":\n case \"success-tertiary\":\n return styles.cambioSuccess300Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.cambioDestructive300Color;\n default: // branded\n return styles.cambioBlackColor;\n }\n }\n}\n"],"mappings":";;;;;;AAGO,SAAS,gBACd,OACA,IACQ;AACR,MAAI,OAAO,mBAAmB;AAC5B,YAAQ,OAAO;AAAA,MACb,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF,OAAO;AACL,YAAQ,OAAO;AAAA,MACb,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB,KAAK;AAAA,MACL,KAAK;AACH,eAAO,sBAAO;AAAA,MAChB;AACE,eAAO,sBAAO;AAAA,IAClB;AAAA,EACF;AACF;","names":[]}
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
2
2
 
3
3
 
4
- var _KVLGXSSRcjs = require('./KVLGXSSR.cjs');
4
+ var _D62L3CWMcjs = require('./D62L3CWM.cjs');
5
5
 
6
6
 
7
- var _NF2YIWFLcjs = require('./NF2YIWFL.cjs');
7
+ var _76LTWV2Qcjs = require('./76LTWV2Q.cjs');
8
8
 
9
9
 
10
10
  var _MF7LLV7Vcjs = require('./MF7LLV7V.cjs');
@@ -100,7 +100,7 @@ var Popover = _react.forwardRef.call(void 0, function Popover2(props, ref) {
100
100
  } = props;
101
101
  const modal = !children || modalProp;
102
102
  const modalNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
103
- _KVLGXSSRcjs.ModalDialog_default,
103
+ _D62L3CWMcjs.ModalDialog_default,
104
104
  {
105
105
  accessibilityLabel,
106
106
  accessibilityCloseLabel,
@@ -117,7 +117,7 @@ var Popover = _react.forwardRef.call(void 0, function Popover2(props, ref) {
117
117
  {
118
118
  placement: _LLFHCGRAcjs.syntaxToReactAriaPlacement.call(void 0, placement),
119
119
  onChangeContentVisibility,
120
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _NF2YIWFLcjs.Dialog_default, { accessibilityLabel, "data-testid": dataTestId, children: content })
120
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _76LTWV2Qcjs.Dialog_default, { accessibilityLabel, "data-testid": dataTestId, children: content })
121
121
  }
122
122
  );
123
123
  if (!children)
@@ -141,4 +141,4 @@ var Popover_default = Popover;
141
141
 
142
142
 
143
143
  exports.AriaPopover = AriaPopover; exports.Popover_default = Popover_default;
144
- //# sourceMappingURL=S3XLYVVP.cjs.map
144
+ //# sourceMappingURL=W52D7D34.cjs.map
@@ -8,4 +8,4 @@ export {
8
8
  ColorBaseDestructive700,
9
9
  ColorBaseGray800
10
10
  };
11
- //# sourceMappingURL=GH2H5B4A.js.map
11
+ //# sourceMappingURL=WBVMCGHT.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Tue, 16 Apr 2024 16:20:17 GMT\n */\n\nexport const ColorBaseBlack = \"#000000\";\nexport const ColorBaseDestructive100 = \"#fef3f5\";\nexport const ColorBaseDestructive200 = \"#fad6de\";\nexport const ColorBaseDestructive300 = \"#f2a2b2\";\nexport const ColorBaseDestructive700 = \"#d32a4b\";\nexport const ColorBaseDestructive800 = \"#81162c\";\nexport const ColorBaseDestructive900 = \"#55101d\";\nexport const ColorBaseGray10 = \"#cbcbcb\"; // Used as the default color for dividers and inner strokes\nexport const ColorBaseGray30 = \"#000000\"; // For IconButton background when on top of an image\nexport const ColorBaseGray60 = \"#000000\"; // Used for icon background in classroom video grid\nexport const ColorBaseGray80 = \"#000000\"; // Used as the background for modals\nexport const ColorBaseGray100 = \"#f7f7f7\";\nexport const ColorBaseGray200 = \"#f0f0f0\"; // Used for light mode backgrounds when showing card content on top\nexport const ColorBaseGray300 = \"#d0d0d0\"; // Used for component outlines, eg: select and textfield\nexport const ColorBaseGray700 = \"#767676\"; // For secondary text in light mode\nexport const ColorBaseGray800 = \"#353535\";\nexport const ColorBaseGray900 = \"#191919\"; // Default text color, Classroom background\nexport const ColorBaseOrange100 = \"#fdf2f0\";\nexport const ColorBaseOrange200 = \"#f6cdc4\";\nexport const ColorBaseOrange300 = \"#ec9987\";\nexport const ColorBaseOrange700 = \"#c34124\";\nexport const ColorBaseOrange800 = \"#732818\";\nexport const ColorBaseOrange900 = \"#4d1a10\";\nexport const ColorBasePrimary100 = \"#eff6fa\";\nexport const ColorBasePrimary200 = \"#c1dbe7\";\nexport const ColorBasePrimary300 = \"#84b7d0\";\nexport const ColorBasePrimary700 = \"#236482\";\nexport const ColorBasePrimary800 = \"#274858\";\nexport const ColorBasePrimary900 = \"#1b303b\";\nexport const ColorBaseSuccess100 = \"#eff7f1\";\nexport const ColorBaseSuccess200 = \"#bddcc6\";\nexport const ColorBaseSuccess300 = \"#81ba92\";\nexport const ColorBaseSuccess700 = \"#397b4d\";\nexport const ColorBaseSuccess800 = \"#2d4936\";\nexport const ColorBaseSuccess900 = \"#1e3124\";\nexport const ColorBasePurple100 = \"#f9f5fa\";\nexport const ColorBasePurple200 = \"#e8dceb\";\nexport const ColorBasePurple300 = \"#cdb4d3\";\nexport const ColorBasePurple700 = \"#8b5f95\";\nexport const ColorBasePurple800 = \"#523b58\";\nexport const ColorBasePurple900 = \"#37273b\";\nexport const ColorBaseYellow100 = \"#fdf5d9\";\nexport const ColorBaseYellow200 = \"#fbe8a3\";\nexport const ColorBaseYellow300 = \"#f8d663\";\nexport const ColorBaseYellow700 = \"#ffc929\";\nexport const ColorBaseYellow800 = \"#765f1c\";\nexport const ColorBaseYellow900 = \"#3b3009\";\nexport const ColorBaseWhite = \"#ffffff\";\nexport const ColorCambioBlack = \"#050500\";\nexport const ColorCambioWhite = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#888077\";\nexport const ColorCambioGray800 = \"#5c554d\";\nexport const ColorCambioGray870 = \"#5c554d\";\nexport const ColorCambioGray900 = \"#312b23\";\nexport const ColorCambioDestructive100 = \"#ffdeda\";\nexport const ColorCambioDestructive300 = \"#ff8071\";\nexport const ColorCambioDestructive370 = \"#ff8071\";\nexport const ColorCambioDestructive700 = \"#c93f32\";\nexport const ColorCambioDestructive770 = \"#c93f32\";\nexport const ColorCambioDestructive900 = \"#6d0002\";\nexport const ColorCambioSuccess100 = \"#daf2c8\";\nexport const ColorCambioSuccess300 = \"#84ce64\";\nexport const ColorCambioSuccess370 = \"#84ce64\";\nexport const ColorCambioSuccess700 = \"#3c7f20\";\nexport const ColorCambioSuccess770 = \"#3c7f20\";\nexport const ColorCambioSuccess900 = \"#103e00\";\nexport const ColorCambioRed = \"#f56e56\";\nexport const ColorCambioOrange = \"#ff8f57\";\nexport const ColorCambioTan = \"#ffb47d\";\nexport const ColorCambioCream = \"#fffad1\";\nexport const ColorCambioPurple = \"#6840a8\";\nexport const ColorCambioLilac = \"#b59ef0\";\nexport const ColorCambioThistle = \"#d69ca4\";\nexport const ColorCambioPink = \"#ffccea\";\nexport const ColorCambioNavy = \"#191142\";\nexport const ColorCambioTeal = \"#44a6cf\";\nexport const ColorCambioSlate = \"#7c9fc6\";\nexport const ColorCambioSky = \"#b1e8fc\";\nexport const ColorCambioYellow700 = \"#ffe733\";\nexport const ColorCambioTransparentFull = \"#000000\";\nexport const Elevation400 = \"0px 16px 32px 0px #00000040\";\nexport const SyntaxFontSansSerif = \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB;","names":[]}
1
+ {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Wed, 17 Apr 2024 02:42:45 GMT\n */\n\nexport const ColorBaseBlack = \"#000000\";\nexport const ColorBaseDestructive100 = \"#fef3f5\";\nexport const ColorBaseDestructive200 = \"#fad6de\";\nexport const ColorBaseDestructive300 = \"#f2a2b2\";\nexport const ColorBaseDestructive700 = \"#d32a4b\";\nexport const ColorBaseDestructive800 = \"#81162c\";\nexport const ColorBaseDestructive900 = \"#55101d\";\nexport const ColorBaseGray10 = \"#cbcbcb\"; // Used as the default color for dividers and inner strokes\nexport const ColorBaseGray30 = \"#000000\"; // For IconButton background when on top of an image\nexport const ColorBaseGray60 = \"#000000\"; // Used for icon background in classroom video grid\nexport const ColorBaseGray80 = \"#000000\"; // Used as the background for modals\nexport const ColorBaseGray100 = \"#f7f7f7\";\nexport const ColorBaseGray200 = \"#f0f0f0\"; // Used for light mode backgrounds when showing card content on top\nexport const ColorBaseGray300 = \"#d0d0d0\"; // Used for component outlines, eg: select and textfield\nexport const ColorBaseGray700 = \"#767676\"; // For secondary text in light mode\nexport const ColorBaseGray800 = \"#353535\";\nexport const ColorBaseGray900 = \"#191919\"; // Default text color, Classroom background\nexport const ColorBaseOrange100 = \"#fdf2f0\";\nexport const ColorBaseOrange200 = \"#f6cdc4\";\nexport const ColorBaseOrange300 = \"#ec9987\";\nexport const ColorBaseOrange700 = \"#c34124\";\nexport const ColorBaseOrange800 = \"#732818\";\nexport const ColorBaseOrange900 = \"#4d1a10\";\nexport const ColorBasePrimary100 = \"#eff6fa\";\nexport const ColorBasePrimary200 = \"#c1dbe7\";\nexport const ColorBasePrimary300 = \"#84b7d0\";\nexport const ColorBasePrimary700 = \"#236482\";\nexport const ColorBasePrimary800 = \"#274858\";\nexport const ColorBasePrimary900 = \"#1b303b\";\nexport const ColorBaseSuccess100 = \"#eff7f1\";\nexport const ColorBaseSuccess200 = \"#bddcc6\";\nexport const ColorBaseSuccess300 = \"#81ba92\";\nexport const ColorBaseSuccess700 = \"#397b4d\";\nexport const ColorBaseSuccess800 = \"#2d4936\";\nexport const ColorBaseSuccess900 = \"#1e3124\";\nexport const ColorBasePurple100 = \"#f9f5fa\";\nexport const ColorBasePurple200 = \"#e8dceb\";\nexport const ColorBasePurple300 = \"#cdb4d3\";\nexport const ColorBasePurple700 = \"#8b5f95\";\nexport const ColorBasePurple800 = \"#523b58\";\nexport const ColorBasePurple900 = \"#37273b\";\nexport const ColorBaseYellow100 = \"#fdf5d9\";\nexport const ColorBaseYellow200 = \"#fbe8a3\";\nexport const ColorBaseYellow300 = \"#f8d663\";\nexport const ColorBaseYellow700 = \"#ffc929\";\nexport const ColorBaseYellow800 = \"#765f1c\";\nexport const ColorBaseYellow900 = \"#3b3009\";\nexport const ColorBaseWhite = \"#ffffff\";\nexport const ColorCambioBlack = \"#050500\";\nexport const ColorCambioWhite = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#888077\";\nexport const ColorCambioGray800 = \"#5c554d\";\nexport const ColorCambioGray870 = \"#5c554d\";\nexport const ColorCambioGray900 = \"#312b23\";\nexport const ColorCambioDestructive100 = \"#ffdeda\";\nexport const ColorCambioDestructive300 = \"#ff8071\";\nexport const ColorCambioDestructive370 = \"#ff8071\";\nexport const ColorCambioDestructive700 = \"#c93f32\";\nexport const ColorCambioDestructive770 = \"#c93f32\";\nexport const ColorCambioDestructive900 = \"#6d0002\";\nexport const ColorCambioSuccess100 = \"#daf2c8\";\nexport const ColorCambioSuccess300 = \"#84ce64\";\nexport const ColorCambioSuccess370 = \"#84ce64\";\nexport const ColorCambioSuccess700 = \"#3c7f20\";\nexport const ColorCambioSuccess770 = \"#3c7f20\";\nexport const ColorCambioSuccess900 = \"#103e00\";\nexport const ColorCambioRed = \"#f56e56\";\nexport const ColorCambioOrange = \"#ff8f57\";\nexport const ColorCambioTan = \"#ffb47d\";\nexport const ColorCambioCream = \"#fffad1\";\nexport const ColorCambioPurple = \"#6840a8\";\nexport const ColorCambioLilac = \"#b59ef0\";\nexport const ColorCambioThistle = \"#d69ca4\";\nexport const ColorCambioPink = \"#ffccea\";\nexport const ColorCambioNavy = \"#191142\";\nexport const ColorCambioTeal = \"#44a6cf\";\nexport const ColorCambioSlate = \"#7c9fc6\";\nexport const ColorCambioSky = \"#b1e8fc\";\nexport const ColorCambioYellow700 = \"#ffe733\";\nexport const ColorCambioTransparentFull = \"#000000\";\nexport const Elevation400 = \"0px 16px 32px 0px #00000040\";\nexport const SyntaxFontSansSerif = \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB;","names":[]}