@cambly/syntax-core 10.37.0 → 11.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 (296) hide show
  1. package/dist/Avatar/Avatar.cjs +5 -5
  2. package/dist/Avatar/Avatar.css +77 -303
  3. package/dist/Avatar/Avatar.css.map +1 -1
  4. package/dist/Avatar/Avatar.js +4 -4
  5. package/dist/AvatarGroup/AvatarGroup.cjs +4 -4
  6. package/dist/AvatarGroup/AvatarGroup.css +77 -303
  7. package/dist/AvatarGroup/AvatarGroup.css.map +1 -1
  8. package/dist/AvatarGroup/AvatarGroup.js +3 -3
  9. package/dist/Badge/Badge.cjs +5 -5
  10. package/dist/Badge/Badge.css +79 -305
  11. package/dist/Badge/Badge.css.map +1 -1
  12. package/dist/Badge/Badge.d.ts +1 -1
  13. package/dist/Badge/Badge.js +4 -4
  14. package/dist/Box/Box.cjs +3 -3
  15. package/dist/Box/Box.css +77 -303
  16. package/dist/Box/Box.css.map +1 -1
  17. package/dist/Box/Box.d.ts +9 -0
  18. package/dist/Box/Box.js +2 -2
  19. package/dist/Button/Button.cjs +9 -9
  20. package/dist/Button/Button.css +79 -305
  21. package/dist/Button/Button.css.map +1 -1
  22. package/dist/Button/Button.js +8 -8
  23. package/dist/Card/Card.cjs +4 -4
  24. package/dist/Card/Card.css +77 -303
  25. package/dist/Card/Card.css.map +1 -1
  26. package/dist/Card/Card.js +3 -3
  27. package/dist/Checkbox/Checkbox.cjs +4 -4
  28. package/dist/Checkbox/Checkbox.css +71 -305
  29. package/dist/Checkbox/Checkbox.css.map +1 -1
  30. package/dist/Checkbox/Checkbox.js +3 -3
  31. package/dist/Chip/Chip.cjs +5 -5
  32. package/dist/Chip/Chip.css +79 -305
  33. package/dist/Chip/Chip.css.map +1 -1
  34. package/dist/Chip/Chip.js +4 -4
  35. package/dist/Dialog/Dialog.cjs +3 -3
  36. package/dist/Dialog/Dialog.css +71 -305
  37. package/dist/Dialog/Dialog.css.map +1 -1
  38. package/dist/Dialog/Dialog.js +2 -2
  39. package/dist/Dialog/ModalDialog.cjs +10 -10
  40. package/dist/Dialog/ModalDialog.css +79 -305
  41. package/dist/Dialog/ModalDialog.css.map +1 -1
  42. package/dist/Dialog/ModalDialog.js +9 -9
  43. package/dist/Divider/Divider.cjs +3 -3
  44. package/dist/Divider/Divider.css +71 -305
  45. package/dist/Divider/Divider.css.map +1 -1
  46. package/dist/Divider/Divider.js +2 -2
  47. package/dist/Heading/Heading.cjs +4 -4
  48. package/dist/Heading/Heading.css +71 -305
  49. package/dist/Heading/Heading.css.map +1 -1
  50. package/dist/Heading/Heading.d.ts +1 -1
  51. package/dist/Heading/Heading.js +3 -3
  52. package/dist/IconButton/IconButton.cjs +6 -6
  53. package/dist/IconButton/IconButton.css +71 -305
  54. package/dist/IconButton/IconButton.css.map +1 -1
  55. package/dist/IconButton/IconButton.js +5 -5
  56. package/dist/LinkButton/LinkButton.cjs +8 -8
  57. package/dist/LinkButton/LinkButton.css +71 -305
  58. package/dist/LinkButton/LinkButton.css.map +1 -1
  59. package/dist/LinkButton/LinkButton.js +7 -7
  60. package/dist/Modal/Layer.cjs +4 -4
  61. package/dist/Modal/Layer.css +77 -303
  62. package/dist/Modal/Layer.css.map +1 -1
  63. package/dist/Modal/Layer.js +3 -3
  64. package/dist/Modal/Modal.cjs +12 -12
  65. package/dist/Modal/Modal.css +79 -305
  66. package/dist/Modal/Modal.css.map +1 -1
  67. package/dist/Modal/Modal.js +11 -11
  68. package/dist/Popover/Popover.cjs +11 -11
  69. package/dist/Popover/Popover.css +79 -305
  70. package/dist/Popover/Popover.css.map +1 -1
  71. package/dist/Popover/Popover.js +10 -10
  72. package/dist/RadioButton/RadioButton.cjs +5 -5
  73. package/dist/RadioButton/RadioButton.css +79 -305
  74. package/dist/RadioButton/RadioButton.css.map +1 -1
  75. package/dist/RadioButton/RadioButton.js +4 -4
  76. package/dist/RichSelect/RichSelectBox.cjs +16 -16
  77. package/dist/RichSelect/RichSelectBox.css +79 -305
  78. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  79. package/dist/RichSelect/RichSelectBox.js +15 -15
  80. package/dist/RichSelect/RichSelectChip.cjs +6 -6
  81. package/dist/RichSelect/RichSelectChip.css +79 -305
  82. package/dist/RichSelect/RichSelectChip.css.map +1 -1
  83. package/dist/RichSelect/RichSelectChip.js +5 -5
  84. package/dist/RichSelect/RichSelectList.cjs +22 -22
  85. package/dist/RichSelect/RichSelectList.css +79 -305
  86. package/dist/RichSelect/RichSelectList.css.map +1 -1
  87. package/dist/RichSelect/RichSelectList.js +21 -21
  88. package/dist/RichSelect/RichSelectRadioButton.cjs +6 -6
  89. package/dist/RichSelect/RichSelectRadioButton.css +79 -305
  90. package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
  91. package/dist/RichSelect/RichSelectRadioButton.js +5 -5
  92. package/dist/RichSelect/RichSelectSection.cjs +4 -4
  93. package/dist/RichSelect/RichSelectSection.css +71 -305
  94. package/dist/RichSelect/RichSelectSection.css.map +1 -1
  95. package/dist/RichSelect/RichSelectSection.js +3 -3
  96. package/dist/SelectList/SelectList.cjs +6 -6
  97. package/dist/SelectList/SelectList.css +77 -303
  98. package/dist/SelectList/SelectList.css.map +1 -1
  99. package/dist/SelectList/SelectList.js +5 -5
  100. package/dist/TextArea/TextArea.cjs +5 -5
  101. package/dist/TextArea/TextArea.css +77 -303
  102. package/dist/TextArea/TextArea.css.map +1 -1
  103. package/dist/TextArea/TextArea.js +4 -4
  104. package/dist/TextField/TextField.cjs +5 -5
  105. package/dist/TextField/TextField.css +77 -303
  106. package/dist/TextField/TextField.css.map +1 -1
  107. package/dist/TextField/TextField.js +4 -4
  108. package/dist/Tooltip/Tooltip.cjs +4 -4
  109. package/dist/Tooltip/Tooltip.css +71 -305
  110. package/dist/Tooltip/Tooltip.css.map +1 -1
  111. package/dist/Tooltip/Tooltip.js +3 -3
  112. package/dist/Typography/Typography.cjs +3 -3
  113. package/dist/Typography/Typography.css +71 -305
  114. package/dist/Typography/Typography.css.map +1 -1
  115. package/dist/Typography/Typography.d.ts +1 -1
  116. package/dist/Typography/Typography.js +2 -2
  117. package/dist/__chunks/25TMUQNI.cjs +9 -0
  118. package/dist/__chunks/25TMUQNI.cjs.map +1 -0
  119. package/dist/__chunks/{BW5Q7OJQ.js → 2AXMXHLN.js} +5 -5
  120. package/dist/__chunks/{DOQ5YEJ4.cjs → 2DIXO2DX.cjs} +4 -4
  121. package/dist/__chunks/2M4NFHP3.cjs +9 -0
  122. package/dist/__chunks/2M4NFHP3.cjs.map +1 -0
  123. package/dist/__chunks/{PX2UXNON.js → 2Y74R7FR.js} +4 -4
  124. package/dist/__chunks/2Y74R7FR.js.map +1 -0
  125. package/dist/__chunks/33N6APZI.cjs +37 -0
  126. package/dist/__chunks/{3OMIAWRN.cjs → 3F6ZYQ2N.cjs} +9 -9
  127. package/dist/__chunks/{2IXPTAJD.js → 3GMABSQQ.js} +9 -9
  128. package/dist/__chunks/3GMABSQQ.js.map +1 -0
  129. package/dist/__chunks/{YICZLNHI.cjs → 3Q5GZWDJ.cjs} +7 -7
  130. package/dist/__chunks/{6BULM4PL.cjs → 3TRJH5PN.cjs} +16 -16
  131. package/dist/__chunks/{HXTCI7A3.js → 3XJZEGNR.js} +2 -2
  132. package/dist/__chunks/42PXTCNP.js +9 -0
  133. package/dist/__chunks/42PXTCNP.js.map +1 -0
  134. package/dist/__chunks/{FPDQA475.cjs → 5A7NZN6R.cjs} +7 -7
  135. package/dist/__chunks/{272LSIIS.cjs → 5TXFYVC6.cjs} +5 -5
  136. package/dist/__chunks/{272LSIIS.cjs.map → 5TXFYVC6.cjs.map} +1 -1
  137. package/dist/__chunks/{PROA22UK.cjs → 65J4XTMX.cjs} +7 -7
  138. package/dist/__chunks/{4A6OSK3V.js → 665YTLAL.js} +3 -3
  139. package/dist/__chunks/{QVR3OSXW.cjs → 6Y5ROOOQ.cjs} +3 -3
  140. package/dist/__chunks/{PO66GRTH.js → 72KJKVDM.js} +7 -7
  141. package/dist/__chunks/{36DIFAKH.cjs → 7ROHPPQU.cjs} +24 -24
  142. package/dist/__chunks/{NXQTDCKY.cjs → APLP5AB7.cjs} +1 -1
  143. package/dist/__chunks/{NXQTDCKY.cjs.map → APLP5AB7.cjs.map} +1 -1
  144. package/dist/__chunks/{H6VD4C7I.js → B2H72KQX.js} +3 -3
  145. package/dist/__chunks/{2Y7Y6KGW.cjs → BR5VQPSZ.cjs} +3 -3
  146. package/dist/__chunks/{N5N4HUQB.js → BVBONLQR.js} +2 -2
  147. package/dist/__chunks/{ECA33JJ5.js → C3HA4L2U.js} +2 -2
  148. package/dist/__chunks/{EMUPGJ7I.cjs → CC2KCC7R.cjs} +8 -8
  149. package/dist/__chunks/{XCGRNBQH.cjs → CCWSUOIC.cjs} +10 -10
  150. package/dist/__chunks/CCWSUOIC.cjs.map +1 -0
  151. package/dist/__chunks/{DMA6PPUZ.cjs → DCWVWQ2F.cjs} +3 -6
  152. package/dist/__chunks/DCWVWQ2F.cjs.map +1 -0
  153. package/dist/__chunks/{HLC7NU6Z.js → DHOC4CAU.js} +2 -2
  154. package/dist/__chunks/{UVQS6LU3.js → DWWKBOGE.js} +11 -11
  155. package/dist/__chunks/DWWKBOGE.js.map +1 -0
  156. package/dist/__chunks/{QVOCSKIN.js → EDJLIWNN.js} +5 -5
  157. package/dist/__chunks/{SLDP6ZJE.js → EOEYMFUJ.js} +2 -2
  158. package/dist/__chunks/{MEOMWLNG.js → ETNYF6H5.js} +4 -4
  159. package/dist/__chunks/{DB7KX3J2.cjs → FPDSM74F.cjs} +9 -3
  160. package/dist/__chunks/FPDSM74F.cjs.map +1 -0
  161. package/dist/__chunks/{CA6LTZL7.cjs → GJZUC7BQ.cjs} +7 -7
  162. package/dist/__chunks/{7IV2L4B4.cjs → GOW4YAYH.cjs} +6 -6
  163. package/dist/__chunks/{7IV2L4B4.cjs.map → GOW4YAYH.cjs.map} +1 -1
  164. package/dist/__chunks/{TZGJS522.js → HH5XJEO5.js} +2 -2
  165. package/dist/__chunks/{44BDRP6O.js → HMTHZDZ3.js} +5 -5
  166. package/dist/__chunks/HMTHZDZ3.js.map +1 -0
  167. package/dist/__chunks/LGB3NFC4.cjs +56 -0
  168. package/dist/__chunks/LGB3NFC4.cjs.map +1 -0
  169. package/dist/__chunks/{WHQ73FAY.js → LPI4KPI2.js} +3 -3
  170. package/dist/__chunks/{L2CARKP7.cjs → M4HJ5QZM.cjs} +3 -3
  171. package/dist/__chunks/{TY6VF7DF.cjs → M6F3DOMS.cjs} +14 -14
  172. package/dist/__chunks/{BKBUTHI5.js → O7LOFAKP.js} +2 -2
  173. package/dist/__chunks/{2F77AU5B.js → OSFJ6PMW.js} +1 -1
  174. package/dist/__chunks/{2F77AU5B.js.map → OSFJ6PMW.js.map} +1 -1
  175. package/dist/__chunks/{2LV4KJ5U.js → OXM4ZIZ4.js} +4 -4
  176. package/dist/__chunks/{5A5IBIPC.cjs → PZ6S6MCT.cjs} +8 -8
  177. package/dist/__chunks/{J6DAGNNN.js → Q62XO2L2.js} +8 -2
  178. package/dist/__chunks/Q62XO2L2.js.map +1 -0
  179. package/dist/__chunks/{Y3D5XFML.js → Q6JWKPZD.js} +3 -3
  180. package/dist/__chunks/{CGBH73TM.cjs → QSPSQGJI.cjs} +3 -3
  181. package/dist/__chunks/{S77S5MVX.cjs → QTBR7TWV.cjs} +5 -5
  182. package/dist/__chunks/{B4BYSLWK.js → QZC5LXBR.js} +3 -3
  183. package/dist/__chunks/{MARZTIPV.cjs → RB3G3MSW.cjs} +3 -3
  184. package/dist/__chunks/RJHD6EJ3.js +56 -0
  185. package/dist/__chunks/RJHD6EJ3.js.map +1 -0
  186. package/dist/__chunks/{ALD77RKF.cjs → ROKJS4JR.cjs} +3 -3
  187. package/dist/__chunks/{JHUEQO5Q.cjs → S35EEGAP.cjs} +3 -3
  188. package/dist/__chunks/{65OHGDU2.cjs → S3ZWPIRJ.cjs} +10 -10
  189. package/dist/__chunks/{MKZONAGT.cjs → TBD42MPV.cjs} +11 -11
  190. package/dist/__chunks/{MKZONAGT.cjs.map → TBD42MPV.cjs.map} +1 -1
  191. package/dist/__chunks/{AWZCK6T3.js → U3FBL6LD.js} +2 -2
  192. package/dist/__chunks/{7JPWJT4Z.js → UENDVGIP.js} +2 -2
  193. package/dist/__chunks/{NCDLHBVI.cjs → UQWB5VP6.cjs} +8 -8
  194. package/dist/__chunks/UZ4ORX3X.js +9 -0
  195. package/dist/__chunks/UZ4ORX3X.js.map +1 -0
  196. package/dist/__chunks/{QF2477HJ.js → VISYTOZE.js} +10 -10
  197. package/dist/__chunks/{TK2EQ6QG.js → WLJ6Y7KS.js} +3 -6
  198. package/dist/__chunks/{TK2EQ6QG.js.map → WLJ6Y7KS.js.map} +1 -1
  199. package/dist/__chunks/{76LTWV2Q.cjs → WZWLUIXX.cjs} +3 -3
  200. package/dist/__chunks/{JOVGUW46.js → XGJC6J5R.js} +4 -4
  201. package/dist/__chunks/{LX5KVHM2.js → XZOWHDOS.js} +6 -6
  202. package/dist/__chunks/{52L4VM3G.cjs → YBNBVMSU.cjs} +7 -7
  203. package/dist/__chunks/{52L4VM3G.cjs.map → YBNBVMSU.cjs.map} +1 -1
  204. package/dist/__chunks/{UU3JE4UT.js → Z4HWXSTM.js} +3 -3
  205. package/dist/__chunks/{GJMFOAIB.js → ZVERXSQG.js} +4 -4
  206. package/dist/__chunks/ZVERXSQG.js.map +1 -0
  207. package/dist/colors/allColors.cjs +33 -55
  208. package/dist/colors/allColors.cjs.map +1 -1
  209. package/dist/colors/allColors.d.ts +1 -1
  210. package/dist/colors/allColors.js +33 -55
  211. package/dist/colors/allColors.js.map +1 -1
  212. package/dist/colors/backgroundColor.cjs +3 -3
  213. package/dist/colors/backgroundColor.css +71 -305
  214. package/dist/colors/backgroundColor.css.map +1 -1
  215. package/dist/colors/backgroundColor.js +2 -2
  216. package/dist/colors/border.cjs +3 -3
  217. package/dist/colors/border.css +71 -305
  218. package/dist/colors/border.css.map +1 -1
  219. package/dist/colors/border.js +2 -2
  220. package/dist/colors/foregroundColor.cjs +3 -3
  221. package/dist/colors/foregroundColor.css +71 -305
  222. package/dist/colors/foregroundColor.css.map +1 -1
  223. package/dist/colors/foregroundColor.js +2 -2
  224. package/dist/index.cjs +35 -35
  225. package/dist/index.css +77 -303
  226. package/dist/index.css.map +1 -1
  227. package/dist/index.js +34 -34
  228. package/package.json +3 -3
  229. package/dist/__chunks/2IXPTAJD.js.map +0 -1
  230. package/dist/__chunks/44BDRP6O.js.map +0 -1
  231. package/dist/__chunks/C3KZXHTV.cjs +0 -37
  232. package/dist/__chunks/DB7KX3J2.cjs.map +0 -1
  233. package/dist/__chunks/DMA6PPUZ.cjs.map +0 -1
  234. package/dist/__chunks/GJMFOAIB.js.map +0 -1
  235. package/dist/__chunks/J6DAGNNN.js.map +0 -1
  236. package/dist/__chunks/KZT53ITQ.cjs +0 -9
  237. package/dist/__chunks/KZT53ITQ.cjs.map +0 -1
  238. package/dist/__chunks/PUTZ53EC.js +0 -9
  239. package/dist/__chunks/PUTZ53EC.js.map +0 -1
  240. package/dist/__chunks/PX2UXNON.js.map +0 -1
  241. package/dist/__chunks/QT6IRCGW.cjs +0 -9
  242. package/dist/__chunks/QT6IRCGW.cjs.map +0 -1
  243. package/dist/__chunks/RAL6R27S.cjs +0 -56
  244. package/dist/__chunks/RAL6R27S.cjs.map +0 -1
  245. package/dist/__chunks/S6TNP7G5.js +0 -9
  246. package/dist/__chunks/S6TNP7G5.js.map +0 -1
  247. package/dist/__chunks/T6PXFSRX.js +0 -56
  248. package/dist/__chunks/T6PXFSRX.js.map +0 -1
  249. package/dist/__chunks/UVQS6LU3.js.map +0 -1
  250. package/dist/__chunks/XCGRNBQH.cjs.map +0 -1
  251. /package/dist/__chunks/{BW5Q7OJQ.js.map → 2AXMXHLN.js.map} +0 -0
  252. /package/dist/__chunks/{DOQ5YEJ4.cjs.map → 2DIXO2DX.cjs.map} +0 -0
  253. /package/dist/__chunks/{C3KZXHTV.cjs.map → 33N6APZI.cjs.map} +0 -0
  254. /package/dist/__chunks/{3OMIAWRN.cjs.map → 3F6ZYQ2N.cjs.map} +0 -0
  255. /package/dist/__chunks/{YICZLNHI.cjs.map → 3Q5GZWDJ.cjs.map} +0 -0
  256. /package/dist/__chunks/{6BULM4PL.cjs.map → 3TRJH5PN.cjs.map} +0 -0
  257. /package/dist/__chunks/{HXTCI7A3.js.map → 3XJZEGNR.js.map} +0 -0
  258. /package/dist/__chunks/{FPDQA475.cjs.map → 5A7NZN6R.cjs.map} +0 -0
  259. /package/dist/__chunks/{PROA22UK.cjs.map → 65J4XTMX.cjs.map} +0 -0
  260. /package/dist/__chunks/{4A6OSK3V.js.map → 665YTLAL.js.map} +0 -0
  261. /package/dist/__chunks/{QVR3OSXW.cjs.map → 6Y5ROOOQ.cjs.map} +0 -0
  262. /package/dist/__chunks/{PO66GRTH.js.map → 72KJKVDM.js.map} +0 -0
  263. /package/dist/__chunks/{36DIFAKH.cjs.map → 7ROHPPQU.cjs.map} +0 -0
  264. /package/dist/__chunks/{H6VD4C7I.js.map → B2H72KQX.js.map} +0 -0
  265. /package/dist/__chunks/{2Y7Y6KGW.cjs.map → BR5VQPSZ.cjs.map} +0 -0
  266. /package/dist/__chunks/{N5N4HUQB.js.map → BVBONLQR.js.map} +0 -0
  267. /package/dist/__chunks/{ECA33JJ5.js.map → C3HA4L2U.js.map} +0 -0
  268. /package/dist/__chunks/{EMUPGJ7I.cjs.map → CC2KCC7R.cjs.map} +0 -0
  269. /package/dist/__chunks/{HLC7NU6Z.js.map → DHOC4CAU.js.map} +0 -0
  270. /package/dist/__chunks/{QVOCSKIN.js.map → EDJLIWNN.js.map} +0 -0
  271. /package/dist/__chunks/{SLDP6ZJE.js.map → EOEYMFUJ.js.map} +0 -0
  272. /package/dist/__chunks/{MEOMWLNG.js.map → ETNYF6H5.js.map} +0 -0
  273. /package/dist/__chunks/{CA6LTZL7.cjs.map → GJZUC7BQ.cjs.map} +0 -0
  274. /package/dist/__chunks/{TZGJS522.js.map → HH5XJEO5.js.map} +0 -0
  275. /package/dist/__chunks/{WHQ73FAY.js.map → LPI4KPI2.js.map} +0 -0
  276. /package/dist/__chunks/{L2CARKP7.cjs.map → M4HJ5QZM.cjs.map} +0 -0
  277. /package/dist/__chunks/{TY6VF7DF.cjs.map → M6F3DOMS.cjs.map} +0 -0
  278. /package/dist/__chunks/{BKBUTHI5.js.map → O7LOFAKP.js.map} +0 -0
  279. /package/dist/__chunks/{2LV4KJ5U.js.map → OXM4ZIZ4.js.map} +0 -0
  280. /package/dist/__chunks/{5A5IBIPC.cjs.map → PZ6S6MCT.cjs.map} +0 -0
  281. /package/dist/__chunks/{Y3D5XFML.js.map → Q6JWKPZD.js.map} +0 -0
  282. /package/dist/__chunks/{CGBH73TM.cjs.map → QSPSQGJI.cjs.map} +0 -0
  283. /package/dist/__chunks/{S77S5MVX.cjs.map → QTBR7TWV.cjs.map} +0 -0
  284. /package/dist/__chunks/{B4BYSLWK.js.map → QZC5LXBR.js.map} +0 -0
  285. /package/dist/__chunks/{MARZTIPV.cjs.map → RB3G3MSW.cjs.map} +0 -0
  286. /package/dist/__chunks/{ALD77RKF.cjs.map → ROKJS4JR.cjs.map} +0 -0
  287. /package/dist/__chunks/{JHUEQO5Q.cjs.map → S35EEGAP.cjs.map} +0 -0
  288. /package/dist/__chunks/{65OHGDU2.cjs.map → S3ZWPIRJ.cjs.map} +0 -0
  289. /package/dist/__chunks/{AWZCK6T3.js.map → U3FBL6LD.js.map} +0 -0
  290. /package/dist/__chunks/{7JPWJT4Z.js.map → UENDVGIP.js.map} +0 -0
  291. /package/dist/__chunks/{NCDLHBVI.cjs.map → UQWB5VP6.cjs.map} +0 -0
  292. /package/dist/__chunks/{QF2477HJ.js.map → VISYTOZE.js.map} +0 -0
  293. /package/dist/__chunks/{76LTWV2Q.cjs.map → WZWLUIXX.cjs.map} +0 -0
  294. /package/dist/__chunks/{JOVGUW46.js.map → XGJC6J5R.js.map} +0 -0
  295. /package/dist/__chunks/{LX5KVHM2.js.map → XZOWHDOS.js.map} +0 -0
  296. /package/dist/__chunks/{UU3JE4UT.js.map → Z4HWXSTM.js.map} +0 -0
@@ -1,22 +1,22 @@
1
1
  "use client"
2
2
  import {
3
3
  Heading_default
4
- } from "./HLC7NU6Z.js";
4
+ } from "./DHOC4CAU.js";
5
5
  import {
6
6
  StopScroll
7
7
  } from "./QQT35OLE.js";
8
8
  import {
9
9
  Layer
10
- } from "./SLDP6ZJE.js";
10
+ } from "./EOEYMFUJ.js";
11
11
  import {
12
12
  FocusTrap
13
13
  } from "./HVA7R2EL.js";
14
14
  import {
15
15
  IconButton_default
16
- } from "./MEOMWLNG.js";
16
+ } from "./ETNYF6H5.js";
17
17
  import {
18
18
  Box_default
19
- } from "./J6DAGNNN.js";
19
+ } from "./Q62XO2L2.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=BW5Q7OJQ.js.map
133
+ //# sourceMappingURL=2AXMXHLN.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 _DB7KX3J2cjs = require('./DB7KX3J2.cjs');
4
+ var _FPDSM74Fcjs = require('./FPDSM74F.cjs');
5
5
 
6
6
 
7
- var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
7
+ var _CCWSUOICcjs = require('./CCWSUOIC.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, _DB7KX3J2cjs.Box_default, { paddingX: Icon ? 1 : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XCGRNBQHcjs.Typography_default, { size: 100, color, weight: "medium", children: text }) })
79
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FPDSM74Fcjs.Box_default, { paddingX: Icon ? 1 : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _CCWSUOICcjs.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=DOQ5YEJ4.cjs.map
91
+ //# sourceMappingURL=2DIXO2DX.cjs.map
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
2
+
3
+ // css-module:../colors/colors.module.css#css-module
4
+ var colors_module_default = { "blackColor": "_blackColor_syoug_2", "whiteColor": "_whiteColor_syoug_6", "gray100Color": "_gray100Color_syoug_10", "gray200Color": "_gray200Color_syoug_14", "gray300Color": "_gray300Color_syoug_18", "gray370Color": "_gray370Color_syoug_22", "gray700Color": "_gray700Color_syoug_26", "gray800Color": "_gray800Color_syoug_30", "gray870Color": "_gray870Color_syoug_34", "gray900Color": "_gray900Color_syoug_38", "destructive100Color": "_destructive100Color_syoug_42", "destructive300Color": "_destructive300Color_syoug_46", "destructive370Color": "_destructive370Color_syoug_50", "destructive700Color": "_destructive700Color_syoug_54", "destructive770Color": "_destructive770Color_syoug_58", "destructive900Color": "_destructive900Color_syoug_62", "success100Color": "_success100Color_syoug_66", "success300Color": "_success300Color_syoug_70", "success370Color": "_success370Color_syoug_74", "success700Color": "_success700Color_syoug_78", "success770Color": "_success770Color_syoug_82", "success900Color": "_success900Color_syoug_86", "redColor": "_redColor_syoug_90", "orangeColor": "_orangeColor_syoug_94", "tanColor": "_tanColor_syoug_98", "creamColor": "_creamColor_syoug_102", "purpleColor": "_purpleColor_syoug_106", "lilacColor": "_lilacColor_syoug_110", "thistleColor": "_thistleColor_syoug_114", "pinkColor": "_pinkColor_syoug_118", "navyColor": "_navyColor_syoug_122", "tealColor": "_tealColor_syoug_126", "slateColor": "_slateColor_syoug_130", "skyColor": "_skyColor_syoug_134", "yellow700BackgroundColor": "_yellow700BackgroundColor_syoug_138", "transparentFullBackgroundColor": "_transparentFullBackgroundColor_syoug_142", "blackBackgroundColor": "_blackBackgroundColor_syoug_146", "whiteBackgroundColor": "_whiteBackgroundColor_syoug_150", "gray100BackgroundColor": "_gray100BackgroundColor_syoug_154", "gray200BackgroundColor": "_gray200BackgroundColor_syoug_158", "gray300BackgroundColor": "_gray300BackgroundColor_syoug_162", "gray370BackgroundColor": "_gray370BackgroundColor_syoug_166", "gray700BackgroundColor": "_gray700BackgroundColor_syoug_170", "gray800BackgroundColor": "_gray800BackgroundColor_syoug_174", "gray870BackgroundColor": "_gray870BackgroundColor_syoug_178", "gray900BackgroundColor": "_gray900BackgroundColor_syoug_182", "destructive100BackgroundColor": "_destructive100BackgroundColor_syoug_186", "destructive300BackgroundColor": "_destructive300BackgroundColor_syoug_190", "destructive370BackgroundColor": "_destructive370BackgroundColor_syoug_194", "destructive700BackgroundColor": "_destructive700BackgroundColor_syoug_198", "destructive770BackgroundColor": "_destructive770BackgroundColor_syoug_202", "destructive900BackgroundColor": "_destructive900BackgroundColor_syoug_206", "success100BackgroundColor": "_success100BackgroundColor_syoug_210", "success300BackgroundColor": "_success300BackgroundColor_syoug_214", "success370BackgroundColor": "_success370BackgroundColor_syoug_218", "success700BackgroundColor": "_success700BackgroundColor_syoug_222", "success770BackgroundColor": "_success770BackgroundColor_syoug_226", "success900BackgroundColor": "_success900BackgroundColor_syoug_230", "redBackgroundColor": "_redBackgroundColor_syoug_234", "orangeBackgroundColor": "_orangeBackgroundColor_syoug_238", "tanBackgroundColor": "_tanBackgroundColor_syoug_242", "creamBackgroundColor": "_creamBackgroundColor_syoug_246", "purpleBackgroundColor": "_purpleBackgroundColor_syoug_250", "lilacBackgroundColor": "_lilacBackgroundColor_syoug_254", "thistleBackgroundColor": "_thistleBackgroundColor_syoug_258", "pinkBackgroundColor": "_pinkBackgroundColor_syoug_262", "navyBackgroundColor": "_navyBackgroundColor_syoug_266", "tealBackgroundColor": "_tealBackgroundColor_syoug_270", "slateBackgroundColor": "_slateBackgroundColor_syoug_274", "skyBackgroundColor": "_skyBackgroundColor_syoug_278" };
5
+
6
+
7
+
8
+ exports.colors_module_default = colors_module_default;
9
+ //# sourceMappingURL=2M4NFHP3.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["css-module:../colors/colors.module.css#css-module"],"names":[],"mappings":";;;AAA4F,IAAO,wBAAQ,EAAC,cAAa,uBAAsB,cAAa,uBAAsB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,YAAW,sBAAqB,eAAc,yBAAwB,YAAW,sBAAqB,cAAa,yBAAwB,eAAc,0BAAyB,cAAa,yBAAwB,gBAAe,2BAA0B,aAAY,wBAAuB,aAAY,wBAAuB,aAAY,wBAAuB,cAAa,yBAAwB,YAAW,uBAAsB,4BAA2B,uCAAsC,kCAAiC,6CAA4C,wBAAuB,mCAAkC,wBAAuB,mCAAkC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,sBAAqB,iCAAgC,yBAAwB,oCAAmC,sBAAqB,iCAAgC,wBAAuB,mCAAkC,yBAAwB,oCAAmC,wBAAuB,mCAAkC,0BAAyB,qCAAoC,uBAAsB,kCAAiC,uBAAsB,kCAAiC,uBAAsB,kCAAiC,wBAAuB,mCAAkC,sBAAqB,gCAA+B","sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"blackColor\":\"_blackColor_syoug_2\",\"whiteColor\":\"_whiteColor_syoug_6\",\"gray100Color\":\"_gray100Color_syoug_10\",\"gray200Color\":\"_gray200Color_syoug_14\",\"gray300Color\":\"_gray300Color_syoug_18\",\"gray370Color\":\"_gray370Color_syoug_22\",\"gray700Color\":\"_gray700Color_syoug_26\",\"gray800Color\":\"_gray800Color_syoug_30\",\"gray870Color\":\"_gray870Color_syoug_34\",\"gray900Color\":\"_gray900Color_syoug_38\",\"destructive100Color\":\"_destructive100Color_syoug_42\",\"destructive300Color\":\"_destructive300Color_syoug_46\",\"destructive370Color\":\"_destructive370Color_syoug_50\",\"destructive700Color\":\"_destructive700Color_syoug_54\",\"destructive770Color\":\"_destructive770Color_syoug_58\",\"destructive900Color\":\"_destructive900Color_syoug_62\",\"success100Color\":\"_success100Color_syoug_66\",\"success300Color\":\"_success300Color_syoug_70\",\"success370Color\":\"_success370Color_syoug_74\",\"success700Color\":\"_success700Color_syoug_78\",\"success770Color\":\"_success770Color_syoug_82\",\"success900Color\":\"_success900Color_syoug_86\",\"redColor\":\"_redColor_syoug_90\",\"orangeColor\":\"_orangeColor_syoug_94\",\"tanColor\":\"_tanColor_syoug_98\",\"creamColor\":\"_creamColor_syoug_102\",\"purpleColor\":\"_purpleColor_syoug_106\",\"lilacColor\":\"_lilacColor_syoug_110\",\"thistleColor\":\"_thistleColor_syoug_114\",\"pinkColor\":\"_pinkColor_syoug_118\",\"navyColor\":\"_navyColor_syoug_122\",\"tealColor\":\"_tealColor_syoug_126\",\"slateColor\":\"_slateColor_syoug_130\",\"skyColor\":\"_skyColor_syoug_134\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_syoug_138\",\"transparentFullBackgroundColor\":\"_transparentFullBackgroundColor_syoug_142\",\"blackBackgroundColor\":\"_blackBackgroundColor_syoug_146\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_syoug_150\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_syoug_154\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_syoug_158\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_syoug_162\",\"gray370BackgroundColor\":\"_gray370BackgroundColor_syoug_166\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_syoug_170\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_syoug_174\",\"gray870BackgroundColor\":\"_gray870BackgroundColor_syoug_178\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_syoug_182\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_syoug_186\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_syoug_190\",\"destructive370BackgroundColor\":\"_destructive370BackgroundColor_syoug_194\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_syoug_198\",\"destructive770BackgroundColor\":\"_destructive770BackgroundColor_syoug_202\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_syoug_206\",\"success100BackgroundColor\":\"_success100BackgroundColor_syoug_210\",\"success300BackgroundColor\":\"_success300BackgroundColor_syoug_214\",\"success370BackgroundColor\":\"_success370BackgroundColor_syoug_218\",\"success700BackgroundColor\":\"_success700BackgroundColor_syoug_222\",\"success770BackgroundColor\":\"_success770BackgroundColor_syoug_226\",\"success900BackgroundColor\":\"_success900BackgroundColor_syoug_230\",\"redBackgroundColor\":\"_redBackgroundColor_syoug_234\",\"orangeBackgroundColor\":\"_orangeBackgroundColor_syoug_238\",\"tanBackgroundColor\":\"_tanBackgroundColor_syoug_242\",\"creamBackgroundColor\":\"_creamBackgroundColor_syoug_246\",\"purpleBackgroundColor\":\"_purpleBackgroundColor_syoug_250\",\"lilacBackgroundColor\":\"_lilacBackgroundColor_syoug_254\",\"thistleBackgroundColor\":\"_thistleBackgroundColor_syoug_258\",\"pinkBackgroundColor\":\"_pinkBackgroundColor_syoug_262\",\"navyBackgroundColor\":\"_navyBackgroundColor_syoug_266\",\"tealBackgroundColor\":\"_tealBackgroundColor_syoug_270\",\"slateBackgroundColor\":\"_slateBackgroundColor_syoug_274\",\"skyBackgroundColor\":\"_skyBackgroundColor_syoug_278\"}"]}
@@ -4,10 +4,10 @@ import {
4
4
  } from "./KKADUD65.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./2IXPTAJD.js";
7
+ } from "./3GMABSQQ.js";
8
8
  import {
9
9
  colors_module_default
10
- } from "./S6TNP7G5.js";
10
+ } from "./UZ4ORX3X.js";
11
11
  import {
12
12
  useIsHydrated
13
13
  } from "./JB65NEXK.js";
@@ -65,7 +65,7 @@ var Checkbox = ({
65
65
  {
66
66
  [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
67
67
  },
68
- error ? colors_module_default.cambioDestructive370BackgroundColor : colors_module_default.cambioGray370BackgroundColor
68
+ error ? colors_module_default.destructive370BackgroundColor : colors_module_default.gray370BackgroundColor
69
69
  ),
70
70
  children: checked && /* @__PURE__ */ jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ jsx(
71
71
  "path",
@@ -114,4 +114,4 @@ var Checkbox_default = Checkbox;
114
114
  export {
115
115
  Checkbox_default
116
116
  };
117
- //# sourceMappingURL=PX2UXNON.js.map
117
+ //# sourceMappingURL=2Y74R7FR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/Checkbox/Checkbox.tsx","css-module:./Checkbox.module.css#css-module"],"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\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport colorStyles from \"../colors/colors.module.css\";\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: disabledProp = 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 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.mainContainer,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.disabled]: disabled,\n },\n )}\n >\n <div\n className={classNames(\n styles.checkbox,\n styles[size],\n {\n [focusStyles.accessibilityOutlineFocus]:\n isFocused && isFocusVisible,\n },\n error\n ? colorStyles.destructive370BackgroundColor\n : colorStyles.gray370BackgroundColor,\n )}\n >\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n className={error ? styles.checkmarkError : styles.checkmark}\n d=\"m9.55 18-5.7-5.7 1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4 9.55 18Z\"\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\" : \"gray900\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Checkbox/Checkbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_17ijp_1\",\"inputOverlay\":\"_inputOverlay_17ijp_9\",\"checkbox\":\"_checkbox_17ijp_17\",\"disabled\":\"_disabled_17ijp_26\",\"cursorDisabled\":\"_cursorDisabled_17ijp_30\",\"cursorEnabled\":\"_cursorEnabled_17ijp_34\",\"sm\":\"_sm_17ijp_38\",\"md\":\"_md_17ijp_43\",\"smBorderRadius\":\"_smBorderRadius_17ijp_48\",\"mdBorderRadius\":\"_mdBorderRadius_17ijp_52\",\"checkmark\":\"_checkmark_17ijp_56\",\"checkmarkError\":\"_checkmarkError_17ijp_60\"}"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACDyE,IAAO,0BAAQ,EAAC,iBAAgB,0BAAyB,gBAAe,yBAAwB,YAAW,sBAAqB,YAAW,sBAAqB,kBAAiB,4BAA2B,iBAAgB,2BAA0B,MAAK,gBAAe,MAAK,gBAAe,kBAAiB,4BAA2B,kBAAiB,4BAA2B,aAAY,uBAAsB,kBAAiB,2BAA0B;;;AD6E/hB,SAwBQ,KAxBR;AApEJ,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,UAAU,eAAe;AAAA,EACzB,OAAO;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,EACR;AACF,MAwCoB;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,wBAAO;AAAA,QACP,wBAAO,SAAS,WAAW,aAAa,WAAW;AAAA,QACnD;AAAA,UACE,CAAC,wBAAO,QAAQ,GAAG;AAAA,QACrB;AAAA,MACF;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,cACT,wBAAO;AAAA,cACP,wBAAO,IAAI;AAAA,cACX;AAAA,gBACE,CAAC,qBAAY,yBAAyB,GACpC,aAAa;AAAA,cACjB;AAAA,cACA,QACI,sBAAY,gCACZ,sBAAY;AAAA,YAClB;AAAA,YAEC,qBACC,oBAAC,SAAI,eAAY,QAAO,SAAQ,aAAY,OAAO,UAAU,IAAI,GAC/D;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,QAAQ,wBAAO,iBAAiB,wBAAO;AAAA,gBAClD,GAAE;AAAA;AAAA,YACH,GACH;AAAA;AAAA,QAEJ;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;","names":[]}
@@ -0,0 +1,37 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
2
+
3
+
4
+ var _25TMUQNIcjs = require('./25TMUQNI.cjs');
5
+
6
+ // src/colors/border.ts
7
+ var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
8
+ function border(color, on) {
9
+ if (on === "lightBackground") {
10
+ switch (color) {
11
+ case "secondary":
12
+ return _classnames2.default.call(void 0, _25TMUQNIcjs.colors_module_default.noBorder, _25TMUQNIcjs.colors_module_default.blackBorderColor);
13
+ case "success-secondary":
14
+ return _classnames2.default.call(void 0, _25TMUQNIcjs.colors_module_default.noBorder, _25TMUQNIcjs.colors_module_default.success770BorderColor);
15
+ case "destructive-secondary":
16
+ return _classnames2.default.call(void 0, _25TMUQNIcjs.colors_module_default.noBorder, _25TMUQNIcjs.colors_module_default.destructive770BorderColor);
17
+ default:
18
+ return _25TMUQNIcjs.colors_module_default.noBorder;
19
+ }
20
+ } else {
21
+ switch (color) {
22
+ case "secondary":
23
+ return _classnames2.default.call(void 0, _25TMUQNIcjs.colors_module_default.noBorder, _25TMUQNIcjs.colors_module_default.gray370BorderColor);
24
+ case "success-secondary":
25
+ return _classnames2.default.call(void 0, _25TMUQNIcjs.colors_module_default.noBorder, _25TMUQNIcjs.colors_module_default.success370BorderColor);
26
+ case "destructive-secondary":
27
+ return _classnames2.default.call(void 0, _25TMUQNIcjs.colors_module_default.noBorder, _25TMUQNIcjs.colors_module_default.destructive370BorderColor);
28
+ default:
29
+ return _25TMUQNIcjs.colors_module_default.noBorder;
30
+ }
31
+ }
32
+ }
33
+
34
+
35
+
36
+ exports.border = border;
37
+ //# sourceMappingURL=33N6APZI.cjs.map
@@ -10,16 +10,16 @@ var _3P2PWHOUcjs = require('./3P2PWHOU.cjs');
10
10
  var _BHN2OODFcjs = require('./BHN2OODF.cjs');
11
11
 
12
12
 
13
- var _MKZONAGTcjs = require('./MKZONAGT.cjs');
13
+ var _TBD42MPVcjs = require('./TBD42MPV.cjs');
14
14
 
15
15
 
16
- var _C3KZXHTVcjs = require('./C3KZXHTV.cjs');
16
+ var _33N6APZIcjs = require('./33N6APZI.cjs');
17
17
 
18
18
 
19
- var _RAL6R27Scjs = require('./RAL6R27S.cjs');
19
+ var _LGB3NFC4cjs = require('./LGB3NFC4.cjs');
20
20
 
21
21
 
22
- var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
22
+ var _CCWSUOICcjs = require('./CCWSUOIC.cjs');
23
23
 
24
24
  // src/LinkButton/LinkButton.tsx
25
25
  var _react = require('react');
@@ -49,8 +49,8 @@ var LinkButton = _react.forwardRef.call(void 0,
49
49
  on = "lightBackground",
50
50
  onClick
51
51
  }, ref) => {
52
- const foregroundColorClass = _MKZONAGTcjs.foregroundColor.call(void 0, color, on);
53
- const backgroundColorClass = _RAL6R27Scjs.backgroundColor.call(void 0, color, on);
52
+ const foregroundColorClass = _TBD42MPVcjs.foregroundColor.call(void 0, color, on);
53
+ const backgroundColorClass = _LGB3NFC4cjs.backgroundColor.call(void 0, color, on);
54
54
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
55
55
  "a",
56
56
  {
@@ -64,7 +64,7 @@ var LinkButton = _react.forwardRef.call(void 0,
64
64
  Button_module_default.button,
65
65
  foregroundColorClass,
66
66
  backgroundColorClass,
67
- _C3KZXHTVcjs.border.call(void 0, color, on),
67
+ _33N6APZIcjs.border.call(void 0, color, on),
68
68
  Button_module_default[size],
69
69
  {
70
70
  [Button_module_default.fullWidth]: fullWidth,
@@ -85,7 +85,7 @@ var LinkButton = _react.forwardRef.call(void 0,
85
85
  )
86
86
  }
87
87
  ),
88
- !loading && text && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XCGRNBQHcjs.Typography_default, { size: _5JUNB754cjs.textVariant_default[size], weight: "medium", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
88
+ !loading && text && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _CCWSUOICcjs.Typography_default, { size: _5JUNB754cjs.textVariant_default[size], weight: "medium", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
89
89
  "span",
90
90
  {
91
91
  className: foregroundColorClass,
@@ -133,4 +133,4 @@ var LinkButton_default = LinkButton;
133
133
 
134
134
 
135
135
  exports.LinkButton_default = LinkButton_default;
136
- //# sourceMappingURL=3OMIAWRN.cjs.map
136
+ //# sourceMappingURL=3F6ZYQ2N.cjs.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  colors_module_default
4
- } from "./S6TNP7G5.js";
4
+ } from "./UZ4ORX3X.js";
5
5
 
6
6
  // src/Typography/Typography.tsx
7
7
  import classNames from "classnames";
@@ -15,21 +15,21 @@ import { jsx } from "react/jsx-runtime";
15
15
  function textColor(color) {
16
16
  switch (color) {
17
17
  case "gray700":
18
- return colors_module_default.cambioGray800Color;
18
+ return colors_module_default.gray800Color;
19
19
  case "white":
20
- return colors_module_default.cambioWhiteColor;
20
+ return colors_module_default.whiteColor;
21
21
  case "inherit":
22
22
  return colors_module_default.inheritColor;
23
23
  case "destructive-primary":
24
- return colors_module_default.cambioDestructive900Color;
24
+ return colors_module_default.destructive900Color;
25
25
  case "destructive-darkBackground":
26
- return colors_module_default.cambioDestructive100Color;
26
+ return colors_module_default.destructive100Color;
27
27
  case "success":
28
- return colors_module_default.cambioSuccess900Color;
28
+ return colors_module_default.success900Color;
29
29
  case "success-darkBackground":
30
- return colors_module_default.cambioSuccess100Color;
30
+ return colors_module_default.success100Color;
31
31
  default:
32
- return colors_module_default.cambioBlackColor;
32
+ return colors_module_default.blackColor;
33
33
  }
34
34
  }
35
35
  var Typography = forwardRef(function Typography2({
@@ -80,4 +80,4 @@ var Typography_default = Typography;
80
80
  export {
81
81
  Typography_default
82
82
  };
83
- //# sourceMappingURL=2IXPTAJD.js.map
83
+ //# sourceMappingURL=3GMABSQQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module"],"sourcesContent":["import classNames from \"classnames\";\nimport { forwardRef, type ReactElement, type ReactNode } from \"react\";\nimport styles from \"./Typography.module.css\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nfunction textColor(\n color:\n | \"gray900\"\n | \"gray700\"\n | \"primary\"\n | \"destructive-primary\"\n | \"destructive-darkBackground\"\n | \"success\"\n | \"success-darkBackground\"\n | \"white\"\n | \"inherit\",\n): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.gray800Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"destructive-primary\":\n return colorStyles.destructive900Color;\n case \"destructive-darkBackground\":\n return colorStyles.destructive100Color;\n case \"success\":\n return colorStyles.success900Color;\n case \"success-darkBackground\":\n return colorStyles.success100Color;\n // gray900\n default:\n return colorStyles.blackColor;\n }\n}\n\n/**\n * [Typography](https://cambly-syntax.vercel.app/?path=/docs/components-typography--docs) is a component that renders text.\n */\nconst Typography = forwardRef<\n HTMLDivElement,\n {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"div\"\n */\n as?: \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?:\n | \"gray900\"\n | \"gray700\"\n | \"primary\"\n | \"destructive-primary\"\n | \"destructive-darkBackground\"\n | \"success\"\n | \"success-darkBackground\"\n | \"white\"\n | \"inherit\";\n /**\n * Test id for the text\n */\n \"data-testid\"?: string;\n /**\n * Style of the font\n *\n * Classic only supports `sans-serif`\n *\n * @defaultValue \"sans-serif\"\n */\n fontStyle?: \"serif\" | \"sans-serif\";\n /**\n * The id for the element\n */\n id?: string;\n /**\n * Whether the text should flow inline with other elements.\n *\n * @defaultValue false\n */\n inline?: boolean;\n /**\n * The number of lines we should truncate the text at\n */\n lineClamp?: number | undefined;\n /**\n * Size of the text.\n *\n * Mobile (viewport width <= 480px)::\n * * `100`: 14px\n * * `200`: 16px\n * * `300`: 18px\n * * `400`: 20px\n * * `500`: 23px\n * * `600`: 26px\n * * `700`: 29px\n * * `800`: 33px\n * * `900`: 37px\n * * `1000`: 41px\n * * `1100`: 46px\n *\n * Desktop (viewport width > 480px):\n * * `100`: 13px\n * * `200`: 16px\n * * `300`: 20px\n * * `400`: 25px\n * * `500`: 31px\n * * `600`: 39px\n * * `700`: 49px\n * * `800`: 61px\n * * `900`: 76px\n * * `1000`: 95px\n * * `1100`: 119px\n *\n * @defaultValue 200\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | 1100;\n /**\n * The tooltip to be displayed when the user hovers the text\n */\n tooltip?: string;\n /**\n * Whether the text should be transformed to uppercase.\n *\n * @defaultValue \"none\"\n */\n transform?: \"none\" | \"uppercase\";\n /**\n * Whether the text has an underline.\n *\n * @defaultValue false\n */\n underline?: boolean;\n /**\n * Indicates the boldness of the text.\n *\n * * `regular`: 400\n * * `medium`: 510\n * * `semiBold`: 590\n * * `bold`: 710\n *\n * @defaultValue \"regular\"\n */\n weight?: \"regular\" | \"medium\" | \"semiBold\" | \"bold\";\n }\n>(function Typography(\n {\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n \"data-testid\": dataTestId,\n fontStyle = \"sans-serif\",\n id,\n inline = false,\n lineClamp = undefined,\n size = 200,\n tooltip,\n transform = \"none\",\n underline = false,\n weight = \"regular\",\n },\n ref,\n): ReactElement {\n const Tag = as;\n\n return (\n <Tag\n id={id}\n className={classNames(\n styles.typography,\n styles[align],\n styles[weight],\n fontStyle === \"serif\" ? styles.serif : styles.sansSerif,\n textColor(color),\n inline && styles.inline,\n styles[`size${size}`],\n transform === \"uppercase\" && styles.uppercase,\n underline && styles.underline,\n lineClamp != null && styles.lineClamp,\n )}\n data-testid={dataTestId}\n style={{\n WebkitLineClamp: lineClamp,\n }}\n title={tooltip}\n ref={ref}\n >\n {children}\n </Tag>\n );\n});\n\nexport default Typography;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css\"; export default {\"typography\":\"_typography_t1t27_1\",\"sansSerif\":\"_sansSerif_t1t27_22\",\"serif\":\"_serif_t1t27_27\",\"size100\":\"_size100_t1t27_71\",\"size200\":\"_size200_t1t27_75\",\"size300\":\"_size300_t1t27_79\",\"size400\":\"_size400_t1t27_83\",\"size500\":\"_size500_t1t27_87\",\"size600\":\"_size600_t1t27_91\",\"size700\":\"_size700_t1t27_95\",\"size800\":\"_size800_t1t27_99\",\"size900\":\"_size900_t1t27_103\",\"size1000\":\"_size1000_t1t27_144\",\"size1100\":\"_size1100_t1t27_148\",\"center\":\"_center_t1t27_154\",\"forceLeft\":\"_forceLeft_t1t27_158\",\"forceRight\":\"_forceRight_t1t27_162\",\"start\":\"_start_t1t27_166\",\"end\":\"_end_t1t27_170\",\"regular\":\"_regular_t1t27_176\",\"medium\":\"_medium_t1t27_180\",\"semiBold\":\"_semiBold_t1t27_184\",\"bold\":\"_bold_t1t27_188\",\"underline\":\"_underline_t1t27_192\",\"inline\":\"_inline_t1t27_196\",\"uppercase\":\"_uppercase_t1t27_200\",\"lineClamp\":\"_lineClamp_t1t27_204\"}"],"mappings":";;;;;;AAAA,OAAO,gBAAgB;AACvB,SAAS,kBAAqD;;;ACDsC,IAAO,4BAAQ,EAAC,cAAa,uBAAsB,aAAY,uBAAsB,SAAQ,mBAAkB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,sBAAqB,YAAW,uBAAsB,YAAW,uBAAsB,UAAS,qBAAoB,aAAY,wBAAuB,cAAa,yBAAwB,SAAQ,oBAAmB,OAAM,kBAAiB,WAAU,sBAAqB,UAAS,qBAAoB,YAAW,uBAAsB,QAAO,mBAAkB,aAAY,wBAAuB,UAAS,qBAAoB,aAAY,wBAAuB,aAAY,uBAAsB;;;ADyLl7B;AApLJ,SAAS,UACP,OAUQ;AACR,UAAQ,OAAO;AAAA,IACb,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IACrB,KAAK;AACH,aAAO,sBAAY;AAAA,IAErB;AACE,aAAO,sBAAY;AAAA,EACvB;AACF;AAKA,IAAM,aAAa,WA0HjB,SAASA,YACT;AAAA,EACE,QAAQ;AAAA,EACR,KAAK;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,YAAY;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,SAAS;AACX,GACA,KACc;AACd,QAAM,MAAM;AAEZ,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT,0BAAO;AAAA,QACP,0BAAO,KAAK;AAAA,QACZ,0BAAO,MAAM;AAAA,QACb,cAAc,UAAU,0BAAO,QAAQ,0BAAO;AAAA,QAC9C,UAAU,KAAK;AAAA,QACf,UAAU,0BAAO;AAAA,QACjB,0BAAO,OAAO,MAAM;AAAA,QACpB,cAAc,eAAe,0BAAO;AAAA,QACpC,aAAa,0BAAO;AAAA,QACpB,aAAa,QAAQ,0BAAO;AAAA,MAC9B;AAAA,MACA,eAAa;AAAA,MACb,OAAO;AAAA,QACL,iBAAiB;AAAA,MACnB;AAAA,MACA,OAAO;AAAA,MACP;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,qBAAQ;","names":["Typography"]}
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
2
2
 
3
3
 
4
- var _DB7KX3J2cjs = require('./DB7KX3J2.cjs');
4
+ var _FPDSM74Fcjs = require('./FPDSM74F.cjs');
5
5
 
6
6
 
7
- var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
7
+ var _CCWSUOICcjs = require('./CCWSUOIC.cjs');
8
8
 
9
9
  // css-module:./Badge.module.css#css-module
10
10
  var Badge_module_default = { "icon": "_icon_1g9xb_1" };
@@ -33,7 +33,7 @@ var Badge = ({
33
33
  color = "sky"
34
34
  }) => {
35
35
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36
- _DB7KX3J2cjs.Box_default,
36
+ _FPDSM74Fcjs.Box_default,
37
37
  {
38
38
  display: "inlineFlex",
39
39
  paddingX: 2,
@@ -43,15 +43,15 @@ var Badge = ({
43
43
  justifyContent: "center",
44
44
  minHeight: 24,
45
45
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46
- _XCGRNBQHcjs.Typography_default,
46
+ _CCWSUOICcjs.Typography_default,
47
47
  {
48
48
  size: 100,
49
49
  weight: "medium",
50
50
  color: textColorForBackgroundColor(color),
51
- children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _DB7KX3J2cjs.Box_default, { display: "flex", gap: 1, alignItems: "center", justifyContent: "start", children: [
51
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _FPDSM74Fcjs.Box_default, { display: "flex", gap: 1, alignItems: "center", justifyContent: "start", children: [
52
52
  Icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: Badge_module_default.icon }),
53
53
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
54
- _XCGRNBQHcjs.Typography_default,
54
+ _CCWSUOICcjs.Typography_default,
55
55
  {
56
56
  color: textColorForBackgroundColor(color),
57
57
  size: 100,
@@ -70,4 +70,4 @@ var Badge_default = Badge;
70
70
 
71
71
 
72
72
  exports.Badge_default = Badge_default;
73
- //# sourceMappingURL=YICZLNHI.cjs.map
73
+ //# sourceMappingURL=3Q5GZWDJ.cjs.map
@@ -4,26 +4,26 @@
4
4
  var _C5XPZTFOcjs = require('./C5XPZTFO.cjs');
5
5
 
6
6
 
7
- var _65OHGDU2cjs = require('./65OHGDU2.cjs');
7
+ var _S3ZWPIRJcjs = require('./S3ZWPIRJ.cjs');
8
8
 
9
9
 
10
- var _DMA6PPUZcjs = require('./DMA6PPUZ.cjs');
10
+ var _DCWVWQ2Fcjs = require('./DCWVWQ2F.cjs');
11
11
 
12
12
 
13
- var _L2CARKP7cjs = require('./L2CARKP7.cjs');
13
+ var _M4HJ5QZMcjs = require('./M4HJ5QZM.cjs');
14
14
 
15
15
 
16
- var _JHUEQO5Qcjs = require('./JHUEQO5Q.cjs');
16
+ var _S35EEGAPcjs = require('./S35EEGAP.cjs');
17
17
 
18
18
 
19
- var _QVR3OSXWcjs = require('./QVR3OSXW.cjs');
19
+ var _6Y5ROOOQcjs = require('./6Y5ROOOQ.cjs');
20
20
 
21
21
 
22
22
 
23
23
  var _RYUXG4AScjs = require('./RYUXG4AS.cjs');
24
24
 
25
25
 
26
- var _DB7KX3J2cjs = require('./DB7KX3J2.cjs');
26
+ var _FPDSM74Fcjs = require('./FPDSM74F.cjs');
27
27
 
28
28
  // src/RichSelect/RichSelectBox.tsx
29
29
 
@@ -125,7 +125,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
125
125
  });
126
126
  }, []);
127
127
  const { autoFocus } = _react.useContext.call(void 0, RichSelectBoxContext);
128
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RYUXG4AScjs.RichSelectItemContext.Provider, { value: { disableKey }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _DB7KX3J2cjs.Box_default, { children: [
128
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RYUXG4AScjs.RichSelectItemContext.Provider, { value: { disableKey }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _FPDSM74Fcjs.Box_default, { children: [
129
129
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
130
130
  _reactariacomponents.ListBox,
131
131
  {
@@ -144,7 +144,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
144
144
  }
145
145
  ),
146
146
  !autosave && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
147
- _DB7KX3J2cjs.Box_default,
147
+ _FPDSM74Fcjs.Box_default,
148
148
  {
149
149
  backgroundColor: "white",
150
150
  display: "flex",
@@ -159,9 +159,9 @@ var RichSelectBox = _react.forwardRef.call(void 0,
159
159
  }
160
160
  },
161
161
  children: [
162
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _DB7KX3J2cjs.Box_default, { flex: "grow", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _DMA6PPUZcjs.Divider, {}) }),
162
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FPDSM74Fcjs.Box_default, { flex: "grow", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _DCWVWQ2Fcjs.Divider, {}) }),
163
163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
164
- _DB7KX3J2cjs.Box_default,
164
+ _FPDSM74Fcjs.Box_default,
165
165
  {
166
166
  paddingY: 5,
167
167
  marginTop: -5,
@@ -169,7 +169,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
169
169
  justifyContent: "end",
170
170
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _C5XPZTFOcjs.ButtonGroup_default, { orientation: "horizontal", children: [
171
171
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
172
- _65OHGDU2cjs.Button_default,
172
+ _S3ZWPIRJcjs.Button_default,
173
173
  {
174
174
  onClick: clearChanges,
175
175
  color: "secondary",
@@ -179,7 +179,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
179
179
  }
180
180
  ),
181
181
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
182
- _65OHGDU2cjs.Button_default,
182
+ _S3ZWPIRJcjs.Button_default,
183
183
  {
184
184
  onClick: saveChanges,
185
185
  text: primaryButtonText,
@@ -198,9 +198,9 @@ var RichSelectBox = _react.forwardRef.call(void 0,
198
198
  }
199
199
  );
200
200
  var RichSelectBox_default = Object.assign(RichSelectBox, {
201
- Section: _JHUEQO5Qcjs.RichSelectSection_default,
202
- Chip: _L2CARKP7cjs.RichSelectChip_default,
203
- RadioButton: _QVR3OSXWcjs.RichSelectRadioButton_default
201
+ Section: _S35EEGAPcjs.RichSelectSection_default,
202
+ Chip: _M4HJ5QZMcjs.RichSelectChip_default,
203
+ RadioButton: _6Y5ROOOQcjs.RichSelectRadioButton_default
204
204
  });
205
205
 
206
206
 
@@ -208,4 +208,4 @@ var RichSelectBox_default = Object.assign(RichSelectBox, {
208
208
 
209
209
 
210
210
  exports.convertSelection = convertSelection; exports.RichSelectBoxContext = RichSelectBoxContext; exports.RichSelectBox_default = RichSelectBox_default;
211
- //# sourceMappingURL=6BULM4PL.cjs.map
211
+ //# sourceMappingURL=3TRJH5PN.cjs.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./AVREYFSM.js";
8
8
  import {
9
9
  Typography_default
10
- } from "./2IXPTAJD.js";
10
+ } from "./3GMABSQQ.js";
11
11
 
12
12
  // src/RichSelect/RichSelectSection.tsx
13
13
  import { forwardRef } from "react";
@@ -50,4 +50,4 @@ var RichSelectSection_default = forwardRef(
50
50
  export {
51
51
  RichSelectSection_default
52
52
  };
53
- //# sourceMappingURL=HXTCI7A3.js.map
53
+ //# sourceMappingURL=3XJZEGNR.js.map
@@ -0,0 +1,9 @@
1
+ "use client"
2
+
3
+ // css-module:./colors.module.css#css-module
4
+ var colors_module_default = { "blackColor": "_blackColor_syoug_2", "whiteColor": "_whiteColor_syoug_6", "gray100Color": "_gray100Color_syoug_10", "gray200Color": "_gray200Color_syoug_14", "gray300Color": "_gray300Color_syoug_18", "gray370Color": "_gray370Color_syoug_22", "gray700Color": "_gray700Color_syoug_26", "gray800Color": "_gray800Color_syoug_30", "gray870Color": "_gray870Color_syoug_34", "gray900Color": "_gray900Color_syoug_38", "destructive100Color": "_destructive100Color_syoug_42", "destructive300Color": "_destructive300Color_syoug_46", "destructive370Color": "_destructive370Color_syoug_50", "destructive700Color": "_destructive700Color_syoug_54", "destructive770Color": "_destructive770Color_syoug_58", "destructive900Color": "_destructive900Color_syoug_62", "success100Color": "_success100Color_syoug_66", "success300Color": "_success300Color_syoug_70", "success370Color": "_success370Color_syoug_74", "success700Color": "_success700Color_syoug_78", "success770Color": "_success770Color_syoug_82", "success900Color": "_success900Color_syoug_86", "redColor": "_redColor_syoug_90", "orangeColor": "_orangeColor_syoug_94", "tanColor": "_tanColor_syoug_98", "creamColor": "_creamColor_syoug_102", "purpleColor": "_purpleColor_syoug_106", "lilacColor": "_lilacColor_syoug_110", "thistleColor": "_thistleColor_syoug_114", "pinkColor": "_pinkColor_syoug_118", "navyColor": "_navyColor_syoug_122", "tealColor": "_tealColor_syoug_126", "slateColor": "_slateColor_syoug_130", "skyColor": "_skyColor_syoug_134", "yellow700BackgroundColor": "_yellow700BackgroundColor_syoug_138", "transparentFullBackgroundColor": "_transparentFullBackgroundColor_syoug_142", "blackBackgroundColor": "_blackBackgroundColor_syoug_146", "whiteBackgroundColor": "_whiteBackgroundColor_syoug_150", "gray100BackgroundColor": "_gray100BackgroundColor_syoug_154", "gray200BackgroundColor": "_gray200BackgroundColor_syoug_158", "gray300BackgroundColor": "_gray300BackgroundColor_syoug_162", "gray370BackgroundColor": "_gray370BackgroundColor_syoug_166", "gray700BackgroundColor": "_gray700BackgroundColor_syoug_170", "gray800BackgroundColor": "_gray800BackgroundColor_syoug_174", "gray870BackgroundColor": "_gray870BackgroundColor_syoug_178", "gray900BackgroundColor": "_gray900BackgroundColor_syoug_182", "destructive100BackgroundColor": "_destructive100BackgroundColor_syoug_186", "destructive300BackgroundColor": "_destructive300BackgroundColor_syoug_190", "destructive370BackgroundColor": "_destructive370BackgroundColor_syoug_194", "destructive700BackgroundColor": "_destructive700BackgroundColor_syoug_198", "destructive770BackgroundColor": "_destructive770BackgroundColor_syoug_202", "destructive900BackgroundColor": "_destructive900BackgroundColor_syoug_206", "success100BackgroundColor": "_success100BackgroundColor_syoug_210", "success300BackgroundColor": "_success300BackgroundColor_syoug_214", "success370BackgroundColor": "_success370BackgroundColor_syoug_218", "success700BackgroundColor": "_success700BackgroundColor_syoug_222", "success770BackgroundColor": "_success770BackgroundColor_syoug_226", "success900BackgroundColor": "_success900BackgroundColor_syoug_230", "redBackgroundColor": "_redBackgroundColor_syoug_234", "orangeBackgroundColor": "_orangeBackgroundColor_syoug_238", "tanBackgroundColor": "_tanBackgroundColor_syoug_242", "creamBackgroundColor": "_creamBackgroundColor_syoug_246", "purpleBackgroundColor": "_purpleBackgroundColor_syoug_250", "lilacBackgroundColor": "_lilacBackgroundColor_syoug_254", "thistleBackgroundColor": "_thistleBackgroundColor_syoug_258", "pinkBackgroundColor": "_pinkBackgroundColor_syoug_262", "navyBackgroundColor": "_navyBackgroundColor_syoug_266", "tealBackgroundColor": "_tealBackgroundColor_syoug_270", "slateBackgroundColor": "_slateBackgroundColor_syoug_274", "skyBackgroundColor": "_skyBackgroundColor_syoug_278" };
5
+
6
+ export {
7
+ colors_module_default
8
+ };
9
+ //# sourceMappingURL=42PXTCNP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["css-module:./colors.module.css#css-module"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"blackColor\":\"_blackColor_syoug_2\",\"whiteColor\":\"_whiteColor_syoug_6\",\"gray100Color\":\"_gray100Color_syoug_10\",\"gray200Color\":\"_gray200Color_syoug_14\",\"gray300Color\":\"_gray300Color_syoug_18\",\"gray370Color\":\"_gray370Color_syoug_22\",\"gray700Color\":\"_gray700Color_syoug_26\",\"gray800Color\":\"_gray800Color_syoug_30\",\"gray870Color\":\"_gray870Color_syoug_34\",\"gray900Color\":\"_gray900Color_syoug_38\",\"destructive100Color\":\"_destructive100Color_syoug_42\",\"destructive300Color\":\"_destructive300Color_syoug_46\",\"destructive370Color\":\"_destructive370Color_syoug_50\",\"destructive700Color\":\"_destructive700Color_syoug_54\",\"destructive770Color\":\"_destructive770Color_syoug_58\",\"destructive900Color\":\"_destructive900Color_syoug_62\",\"success100Color\":\"_success100Color_syoug_66\",\"success300Color\":\"_success300Color_syoug_70\",\"success370Color\":\"_success370Color_syoug_74\",\"success700Color\":\"_success700Color_syoug_78\",\"success770Color\":\"_success770Color_syoug_82\",\"success900Color\":\"_success900Color_syoug_86\",\"redColor\":\"_redColor_syoug_90\",\"orangeColor\":\"_orangeColor_syoug_94\",\"tanColor\":\"_tanColor_syoug_98\",\"creamColor\":\"_creamColor_syoug_102\",\"purpleColor\":\"_purpleColor_syoug_106\",\"lilacColor\":\"_lilacColor_syoug_110\",\"thistleColor\":\"_thistleColor_syoug_114\",\"pinkColor\":\"_pinkColor_syoug_118\",\"navyColor\":\"_navyColor_syoug_122\",\"tealColor\":\"_tealColor_syoug_126\",\"slateColor\":\"_slateColor_syoug_130\",\"skyColor\":\"_skyColor_syoug_134\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_syoug_138\",\"transparentFullBackgroundColor\":\"_transparentFullBackgroundColor_syoug_142\",\"blackBackgroundColor\":\"_blackBackgroundColor_syoug_146\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_syoug_150\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_syoug_154\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_syoug_158\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_syoug_162\",\"gray370BackgroundColor\":\"_gray370BackgroundColor_syoug_166\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_syoug_170\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_syoug_174\",\"gray870BackgroundColor\":\"_gray870BackgroundColor_syoug_178\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_syoug_182\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_syoug_186\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_syoug_190\",\"destructive370BackgroundColor\":\"_destructive370BackgroundColor_syoug_194\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_syoug_198\",\"destructive770BackgroundColor\":\"_destructive770BackgroundColor_syoug_202\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_syoug_206\",\"success100BackgroundColor\":\"_success100BackgroundColor_syoug_210\",\"success300BackgroundColor\":\"_success300BackgroundColor_syoug_214\",\"success370BackgroundColor\":\"_success370BackgroundColor_syoug_218\",\"success700BackgroundColor\":\"_success700BackgroundColor_syoug_222\",\"success770BackgroundColor\":\"_success770BackgroundColor_syoug_226\",\"success900BackgroundColor\":\"_success900BackgroundColor_syoug_230\",\"redBackgroundColor\":\"_redBackgroundColor_syoug_234\",\"orangeBackgroundColor\":\"_orangeBackgroundColor_syoug_238\",\"tanBackgroundColor\":\"_tanBackgroundColor_syoug_242\",\"creamBackgroundColor\":\"_creamBackgroundColor_syoug_246\",\"purpleBackgroundColor\":\"_purpleBackgroundColor_syoug_250\",\"lilacBackgroundColor\":\"_lilacBackgroundColor_syoug_254\",\"thistleBackgroundColor\":\"_thistleBackgroundColor_syoug_258\",\"pinkBackgroundColor\":\"_pinkBackgroundColor_syoug_262\",\"navyBackgroundColor\":\"_navyBackgroundColor_syoug_266\",\"tealBackgroundColor\":\"_tealBackgroundColor_syoug_270\",\"slateBackgroundColor\":\"_slateBackgroundColor_syoug_274\",\"skyBackgroundColor\":\"_skyBackgroundColor_syoug_278\"}"],"mappings":";;;AAA4F,IAAO,wBAAQ,EAAC,cAAa,uBAAsB,cAAa,uBAAsB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,gBAAe,0BAAyB,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,uBAAsB,iCAAgC,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,mBAAkB,6BAA4B,YAAW,sBAAqB,eAAc,yBAAwB,YAAW,sBAAqB,cAAa,yBAAwB,eAAc,0BAAyB,cAAa,yBAAwB,gBAAe,2BAA0B,aAAY,wBAAuB,aAAY,wBAAuB,aAAY,wBAAuB,cAAa,yBAAwB,YAAW,uBAAsB,4BAA2B,uCAAsC,kCAAiC,6CAA4C,wBAAuB,mCAAkC,wBAAuB,mCAAkC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,0BAAyB,qCAAoC,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,iCAAgC,4CAA2C,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,6BAA4B,wCAAuC,sBAAqB,iCAAgC,yBAAwB,oCAAmC,sBAAqB,iCAAgC,wBAAuB,mCAAkC,yBAAwB,oCAAmC,wBAAuB,mCAAkC,0BAAyB,qCAAoC,uBAAsB,kCAAiC,uBAAsB,kCAAiC,uBAAsB,kCAAiC,wBAAuB,mCAAkC,sBAAqB,gCAA+B;","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 _DB7KX3J2cjs = require('./DB7KX3J2.cjs');
4
+ var _FPDSM74Fcjs = require('./FPDSM74F.cjs');
5
5
 
6
6
 
7
- var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
7
+ var _CCWSUOICcjs = require('./CCWSUOIC.cjs');
8
8
 
9
9
 
10
10
  var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
@@ -38,7 +38,7 @@ function TextField({
38
38
  const reactId = _react.useId.call(void 0, );
39
39
  const inputId = id != null ? id : reactId;
40
40
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
41
- _DB7KX3J2cjs.Box_default,
41
+ _FPDSM74Fcjs.Box_default,
42
42
  {
43
43
  display: "flex",
44
44
  direction: "column",
@@ -50,7 +50,7 @@ function TextField({
50
50
  }
51
51
  },
52
52
  children: [
53
- label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: TextField_module_default.label, htmlFor: inputId, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _DB7KX3J2cjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XCGRNBQHcjs.Typography_default, { size: 100, color: "gray700", children: label }) }) }),
53
+ label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: TextField_module_default.label, htmlFor: inputId, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FPDSM74Fcjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _CCWSUOICcjs.Typography_default, { size: 100, color: "gray700", children: label }) }) }),
54
54
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
55
55
  "input",
56
56
  {
@@ -67,8 +67,8 @@ function TextField({
67
67
  value
68
68
  }
69
69
  ),
70
- (helperText || errorText) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _DB7KX3J2cjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
71
- _XCGRNBQHcjs.Typography_default,
70
+ (helperText || errorText) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FPDSM74Fcjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
71
+ _CCWSUOICcjs.Typography_default,
72
72
  {
73
73
  size: 100,
74
74
  color: errorText ? "destructive-primary" : "gray700",
@@ -83,4 +83,4 @@ function TextField({
83
83
 
84
84
 
85
85
  exports.TextField = TextField;
86
- //# sourceMappingURL=FPDQA475.cjs.map
86
+ //# sourceMappingURL=5A7NZN6R.cjs.map
@@ -4,10 +4,10 @@
4
4
  var _XLUVINJWcjs = require('./XLUVINJW.cjs');
5
5
 
6
6
 
7
- var _XCGRNBQHcjs = require('./XCGRNBQH.cjs');
7
+ var _CCWSUOICcjs = require('./CCWSUOIC.cjs');
8
8
 
9
9
 
10
- var _QT6IRCGWcjs = require('./QT6IRCGW.cjs');
10
+ var _2M4NFHP3cjs = require('./2M4NFHP3.cjs');
11
11
 
12
12
 
13
13
  var _K4AUV2VKcjs = require('./K4AUV2VK.cjs');
@@ -65,7 +65,7 @@ var Checkbox = ({
65
65
  {
66
66
  [_XLUVINJWcjs.Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible
67
67
  },
68
- error ? _QT6IRCGWcjs.colors_module_default.cambioDestructive370BackgroundColor : _QT6IRCGWcjs.colors_module_default.cambioGray370BackgroundColor
68
+ error ? _2M4NFHP3cjs.colors_module_default.destructive370BackgroundColor : _2M4NFHP3cjs.colors_module_default.gray370BackgroundColor
69
69
  ),
70
70
  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,
71
71
  "path",
@@ -98,7 +98,7 @@ var Checkbox = ({
98
98
  }
99
99
  ),
100
100
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
101
- _XCGRNBQHcjs.Typography_default,
101
+ _CCWSUOICcjs.Typography_default,
102
102
  {
103
103
  size: typographySize[size],
104
104
  color: error ? "destructive-primary" : "gray900",
@@ -114,4 +114,4 @@ var Checkbox_default = Checkbox;
114
114
 
115
115
 
116
116
  exports.Checkbox_default = Checkbox_default;
117
- //# sourceMappingURL=272LSIIS.cjs.map
117
+ //# sourceMappingURL=5TXFYVC6.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Checkbox/Checkbox.tsx","css-module:./Checkbox.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACDyE,IAAO,0BAAQ,EAAC,iBAAgB,0BAAyB,gBAAe,yBAAwB,YAAW,sBAAqB,YAAW,sBAAqB,kBAAiB,4BAA2B,iBAAgB,2BAA0B,MAAK,gBAAe,MAAK,gBAAe,kBAAiB,4BAA2B,kBAAiB,4BAA2B,aAAY,uBAAsB,kBAAiB,2BAA0B;;;AD6E/hB,SAwBQ,KAxBR;AApEJ,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,UAAU,eAAe;AAAA,EACzB,OAAO;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,EACR;AACF,MAwCoB;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,wBAAO;AAAA,QACP,wBAAO,SAAS,WAAW,aAAa,WAAW;AAAA,QACnD;AAAA,UACE,CAAC,wBAAO,QAAQ,GAAG;AAAA,QACrB;AAAA,MACF;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,cACT,wBAAO;AAAA,cACP,wBAAO,IAAI;AAAA,cACX;AAAA,gBACE,CAAC,qBAAY,yBAAyB,GACpC,aAAa;AAAA,cACjB;AAAA,cACA,QACI,sBAAY,sCACZ,sBAAY;AAAA,YAClB;AAAA,YAEC,qBACC,oBAAC,SAAI,eAAY,QAAO,SAAQ,aAAY,OAAO,UAAU,IAAI,GAC/D;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,QAAQ,wBAAO,iBAAiB,wBAAO;AAAA,gBAClD,GAAE;AAAA;AAAA,YACH,GACH;AAAA;AAAA,QAEJ;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\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport colorStyles from \"../colors/colors.module.css\";\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: disabledProp = 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 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.mainContainer,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.disabled]: disabled,\n },\n )}\n >\n <div\n className={classNames(\n styles.checkbox,\n styles[size],\n {\n [focusStyles.accessibilityOutlineFocus]:\n isFocused && isFocusVisible,\n },\n error\n ? colorStyles.cambioDestructive370BackgroundColor\n : colorStyles.cambioGray370BackgroundColor,\n )}\n >\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n className={error ? styles.checkmarkError : styles.checkmark}\n d=\"m9.55 18-5.7-5.7 1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4 9.55 18Z\"\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\" : \"gray900\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Checkbox/Checkbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_17ijp_1\",\"inputOverlay\":\"_inputOverlay_17ijp_9\",\"checkbox\":\"_checkbox_17ijp_17\",\"disabled\":\"_disabled_17ijp_26\",\"cursorDisabled\":\"_cursorDisabled_17ijp_30\",\"cursorEnabled\":\"_cursorEnabled_17ijp_34\",\"sm\":\"_sm_17ijp_38\",\"md\":\"_md_17ijp_43\",\"smBorderRadius\":\"_smBorderRadius_17ijp_48\",\"mdBorderRadius\":\"_mdBorderRadius_17ijp_52\",\"checkmark\":\"_checkmark_17ijp_56\",\"checkmarkError\":\"_checkmarkError_17ijp_60\"}"]}
1
+ {"version":3,"sources":["../../src/Checkbox/Checkbox.tsx","css-module:./Checkbox.module.css#css-module"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAmC,gBAAgB;AACnD,OAAO,gBAAgB;;;ACDyE,IAAO,0BAAQ,EAAC,iBAAgB,0BAAyB,gBAAe,yBAAwB,YAAW,sBAAqB,YAAW,sBAAqB,kBAAiB,4BAA2B,iBAAgB,2BAA0B,MAAK,gBAAe,MAAK,gBAAe,kBAAiB,4BAA2B,kBAAiB,4BAA2B,aAAY,uBAAsB,kBAAiB,2BAA0B;;;AD6E/hB,SAwBQ,KAxBR;AApEJ,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,UAAU,eAAe;AAAA,EACzB,OAAO;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,EACR;AACF,MAwCoB;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,wBAAO;AAAA,QACP,wBAAO,SAAS,WAAW,aAAa,WAAW;AAAA,QACnD;AAAA,UACE,CAAC,wBAAO,QAAQ,GAAG;AAAA,QACrB;AAAA,MACF;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,cACT,wBAAO;AAAA,cACP,wBAAO,IAAI;AAAA,cACX;AAAA,gBACE,CAAC,qBAAY,yBAAyB,GACpC,aAAa;AAAA,cACjB;AAAA,cACA,QACI,sBAAY,gCACZ,sBAAY;AAAA,YAClB;AAAA,YAEC,qBACC,oBAAC,SAAI,eAAY,QAAO,SAAQ,aAAY,OAAO,UAAU,IAAI,GAC/D;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,QAAQ,wBAAO,iBAAiB,wBAAO;AAAA,gBAClD,GAAE;AAAA;AAAA,YACH,GACH;AAAA;AAAA,QAEJ;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\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport colorStyles from \"../colors/colors.module.css\";\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: disabledProp = 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 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.mainContainer,\n styles[`cursor${disabled ? \"Disabled\" : \"Enabled\"}`],\n {\n [styles.disabled]: disabled,\n },\n )}\n >\n <div\n className={classNames(\n styles.checkbox,\n styles[size],\n {\n [focusStyles.accessibilityOutlineFocus]:\n isFocused && isFocusVisible,\n },\n error\n ? colorStyles.destructive370BackgroundColor\n : colorStyles.gray370BackgroundColor,\n )}\n >\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n className={error ? styles.checkmarkError : styles.checkmark}\n d=\"m9.55 18-5.7-5.7 1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4 9.55 18Z\"\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\" : \"gray900\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Checkbox/Checkbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_17ijp_1\",\"inputOverlay\":\"_inputOverlay_17ijp_9\",\"checkbox\":\"_checkbox_17ijp_17\",\"disabled\":\"_disabled_17ijp_26\",\"cursorDisabled\":\"_cursorDisabled_17ijp_30\",\"cursorEnabled\":\"_cursorEnabled_17ijp_34\",\"sm\":\"_sm_17ijp_38\",\"md\":\"_md_17ijp_43\",\"smBorderRadius\":\"_smBorderRadius_17ijp_48\",\"mdBorderRadius\":\"_mdBorderRadius_17ijp_52\",\"checkmark\":\"_checkmark_17ijp_56\",\"checkmarkError\":\"_checkmarkError_17ijp_60\"}"]}