@cambly/syntax-core 10.28.0 → 10.29.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 (167) hide show
  1. package/dist/Avatar/Avatar.d.ts +1 -1
  2. package/dist/Badge/Badge.cjs +3 -3
  3. package/dist/Badge/Badge.css +59 -59
  4. package/dist/Badge/Badge.css.map +1 -1
  5. package/dist/Badge/Badge.d.ts +1 -1
  6. package/dist/Badge/Badge.js +2 -2
  7. package/dist/Button/Button.cjs +3 -3
  8. package/dist/Button/Button.css +59 -59
  9. package/dist/Button/Button.css.map +1 -1
  10. package/dist/Button/Button.js +2 -2
  11. package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
  12. package/dist/Checkbox/Checkbox.cjs +3 -3
  13. package/dist/Checkbox/Checkbox.css +59 -59
  14. package/dist/Checkbox/Checkbox.css.map +1 -1
  15. package/dist/Checkbox/Checkbox.d.ts +1 -1
  16. package/dist/Checkbox/Checkbox.js +2 -2
  17. package/dist/Chip/Chip.cjs +3 -3
  18. package/dist/Chip/Chip.css +59 -59
  19. package/dist/Chip/Chip.css.map +1 -1
  20. package/dist/Chip/Chip.js +2 -2
  21. package/dist/Heading/Heading.cjs +3 -3
  22. package/dist/Heading/Heading.css +59 -59
  23. package/dist/Heading/Heading.css.map +1 -1
  24. package/dist/Heading/Heading.d.ts +2 -2
  25. package/dist/Heading/Heading.js +2 -2
  26. package/dist/LinkButton/LinkButton.cjs +3 -3
  27. package/dist/LinkButton/LinkButton.css +59 -59
  28. package/dist/LinkButton/LinkButton.css.map +1 -1
  29. package/dist/LinkButton/LinkButton.js +2 -2
  30. package/dist/Modal/Modal.cjs +4 -4
  31. package/dist/Modal/Modal.css +59 -59
  32. package/dist/Modal/Modal.css.map +1 -1
  33. package/dist/Modal/Modal.d.ts +3 -1
  34. package/dist/Modal/Modal.js +3 -3
  35. package/dist/RadioButton/RadioButton.cjs +3 -3
  36. package/dist/RadioButton/RadioButton.css +59 -59
  37. package/dist/RadioButton/RadioButton.css.map +1 -1
  38. package/dist/RadioButton/RadioButton.d.ts +1 -1
  39. package/dist/RadioButton/RadioButton.js +2 -2
  40. package/dist/RichSelect/RichSelectBox.cjs +9 -9
  41. package/dist/RichSelect/RichSelectBox.css +59 -59
  42. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  43. package/dist/RichSelect/RichSelectBox.d.ts +1 -1
  44. package/dist/RichSelect/RichSelectBox.js +8 -8
  45. package/dist/RichSelect/RichSelectChip.cjs +4 -4
  46. package/dist/RichSelect/RichSelectChip.css +59 -59
  47. package/dist/RichSelect/RichSelectChip.css.map +1 -1
  48. package/dist/RichSelect/RichSelectChip.js +3 -3
  49. package/dist/RichSelect/RichSelectList.cjs +11 -11
  50. package/dist/RichSelect/RichSelectList.css +59 -59
  51. package/dist/RichSelect/RichSelectList.css.map +1 -1
  52. package/dist/RichSelect/RichSelectList.d.ts +1 -1
  53. package/dist/RichSelect/RichSelectList.js +10 -10
  54. package/dist/RichSelect/RichSelectRadioButton.cjs +4 -4
  55. package/dist/RichSelect/RichSelectRadioButton.css +59 -59
  56. package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
  57. package/dist/RichSelect/RichSelectRadioButton.d.ts +1 -1
  58. package/dist/RichSelect/RichSelectRadioButton.js +3 -3
  59. package/dist/RichSelect/RichSelectSection.cjs +3 -3
  60. package/dist/RichSelect/RichSelectSection.css +59 -59
  61. package/dist/RichSelect/RichSelectSection.css.map +1 -1
  62. package/dist/RichSelect/RichSelectSection.js +2 -2
  63. package/dist/SelectList/SelectList.cjs +4 -4
  64. package/dist/SelectList/SelectList.css +59 -59
  65. package/dist/SelectList/SelectList.css.map +1 -1
  66. package/dist/SelectList/SelectList.js +3 -3
  67. package/dist/TapArea/TapArea.d.ts +1 -1
  68. package/dist/TextArea/TextArea.cjs +3 -3
  69. package/dist/TextArea/TextArea.css +59 -59
  70. package/dist/TextArea/TextArea.css.map +1 -1
  71. package/dist/TextArea/TextArea.js +2 -2
  72. package/dist/TextField/TextField.cjs +3 -3
  73. package/dist/TextField/TextField.css +59 -59
  74. package/dist/TextField/TextField.css.map +1 -1
  75. package/dist/TextField/TextField.js +2 -2
  76. package/dist/Tooltip/Tooltip.cjs +3 -3
  77. package/dist/Tooltip/Tooltip.css +59 -59
  78. package/dist/Tooltip/Tooltip.css.map +1 -1
  79. package/dist/Tooltip/Tooltip.js +2 -2
  80. package/dist/Typography/Typography.cjs +2 -2
  81. package/dist/Typography/Typography.css +59 -59
  82. package/dist/Typography/Typography.css.map +1 -1
  83. package/dist/Typography/Typography.d.ts +5 -5
  84. package/dist/Typography/Typography.js +1 -1
  85. package/dist/__chunks/{JDOSJDOR.cjs → 2BEN3VH2.cjs} +6 -6
  86. package/dist/__chunks/{RJX7ZVAG.cjs → 2RWNBVOK.cjs} +4 -4
  87. package/dist/__chunks/{CVYKJOHP.js → 3CNALXRL.js} +5 -5
  88. package/dist/__chunks/{ICLT5QY2.cjs → 3FMGCZP2.cjs} +4 -4
  89. package/dist/__chunks/{UENUF2KR.js → 3HBVE6VG.js} +2 -2
  90. package/dist/__chunks/{5JUAIXVN.js → 3Q5UNXKC.js} +7 -7
  91. package/dist/__chunks/{4HPBU76L.cjs → 5MKCDCHQ.cjs} +3 -3
  92. package/dist/__chunks/{JUB3D7BZ.js → 5PWYNWVE.js} +2 -2
  93. package/dist/__chunks/{WPKU2FTA.js → AXHY5J3K.js} +3 -3
  94. package/dist/__chunks/{4IJQ4BTF.js → AYTJYJHI.js} +2 -2
  95. package/dist/__chunks/{4VJHC5OM.js → BQOD4WU7.js} +2 -2
  96. package/dist/__chunks/{6NYPDPF4.cjs → BVYHALMT.cjs} +3 -3
  97. package/dist/__chunks/{QZZW6BPP.cjs → CS66HKUB.cjs} +3 -3
  98. package/dist/__chunks/{432LXWXX.cjs → DDUKESGS.cjs} +4 -4
  99. package/dist/__chunks/DDUKESGS.cjs.map +1 -0
  100. package/dist/__chunks/{HVYLG5OC.cjs → EKHHYK7U.cjs} +5 -5
  101. package/dist/__chunks/{6IRH354B.cjs → FH2W3CI2.cjs} +3 -3
  102. package/dist/__chunks/{KG6XG47I.js → FLFJRP4T.js} +2 -2
  103. package/dist/__chunks/{PDKMXSDQ.cjs → GEGGHBSM.cjs} +10 -10
  104. package/dist/__chunks/{AWT6KV7A.js → I6CGA2ER.js} +2 -2
  105. package/dist/__chunks/{SRAYR7UN.cjs → JHLUJYBX.cjs} +17 -17
  106. package/dist/__chunks/{2HNKN7IN.js → JNYNLJGY.js} +2 -2
  107. package/dist/__chunks/{MBTIELOD.js → K27Z66LH.js} +2 -2
  108. package/dist/__chunks/{AAJM5GTF.js → KTTIFVGY.js} +2 -2
  109. package/dist/__chunks/{J25IK5J2.cjs → KYIRM6PZ.cjs} +3 -3
  110. package/dist/__chunks/{G7N4BOR7.js → MONMI3LS.js} +2 -2
  111. package/dist/__chunks/{XYPM2PWU.js → N5B6KNJR.js} +2 -2
  112. package/dist/__chunks/{4S6APU2V.cjs → NCUQOLOV.cjs} +3 -3
  113. package/dist/__chunks/{O2J3F7UE.cjs → OFALBLGM.cjs} +1 -1
  114. package/dist/__chunks/{O2J3F7UE.cjs.map → OFALBLGM.cjs.map} +1 -1
  115. package/dist/__chunks/{KR53ODQQ.js → OU5C2MBA.js} +2 -2
  116. package/dist/__chunks/{Y2TA6QLY.cjs → SFOAZYZG.cjs} +3 -3
  117. package/dist/__chunks/{GMKJSXXQ.cjs → THYSYYWS.cjs} +3 -3
  118. package/dist/__chunks/{NKYN63G7.js → TNHXXDCA.js} +3 -3
  119. package/dist/__chunks/TNHXXDCA.js.map +1 -0
  120. package/dist/__chunks/{MDAWMKBY.js → UVROGDYB.js} +2 -2
  121. package/dist/__chunks/{MDAWMKBY.js.map → UVROGDYB.js.map} +1 -1
  122. package/dist/__chunks/{WEBZYCKQ.js → VQF4J5CC.js} +1 -1
  123. package/dist/__chunks/{WEBZYCKQ.js.map → VQF4J5CC.js.map} +1 -1
  124. package/dist/__chunks/{AGJ2QSEP.cjs → WOIJRASP.cjs} +3 -3
  125. package/dist/__chunks/{AW4Z42KI.js → X5KCRFFF.js} +2 -2
  126. package/dist/__chunks/{YJWKUNYU.cjs → XU3CLITI.cjs} +2 -2
  127. package/dist/__chunks/{YJWKUNYU.cjs.map → XU3CLITI.cjs.map} +1 -1
  128. package/dist/__chunks/{M2CJONYS.cjs → ZUQC37VB.cjs} +3 -3
  129. package/dist/index.cjs +20 -20
  130. package/dist/index.css +59 -59
  131. package/dist/index.css.map +1 -1
  132. package/dist/index.js +19 -19
  133. package/package.json +1 -1
  134. package/dist/__chunks/432LXWXX.cjs.map +0 -1
  135. package/dist/__chunks/NKYN63G7.js.map +0 -1
  136. /package/dist/__chunks/{JDOSJDOR.cjs.map → 2BEN3VH2.cjs.map} +0 -0
  137. /package/dist/__chunks/{RJX7ZVAG.cjs.map → 2RWNBVOK.cjs.map} +0 -0
  138. /package/dist/__chunks/{CVYKJOHP.js.map → 3CNALXRL.js.map} +0 -0
  139. /package/dist/__chunks/{ICLT5QY2.cjs.map → 3FMGCZP2.cjs.map} +0 -0
  140. /package/dist/__chunks/{UENUF2KR.js.map → 3HBVE6VG.js.map} +0 -0
  141. /package/dist/__chunks/{5JUAIXVN.js.map → 3Q5UNXKC.js.map} +0 -0
  142. /package/dist/__chunks/{4HPBU76L.cjs.map → 5MKCDCHQ.cjs.map} +0 -0
  143. /package/dist/__chunks/{JUB3D7BZ.js.map → 5PWYNWVE.js.map} +0 -0
  144. /package/dist/__chunks/{WPKU2FTA.js.map → AXHY5J3K.js.map} +0 -0
  145. /package/dist/__chunks/{4IJQ4BTF.js.map → AYTJYJHI.js.map} +0 -0
  146. /package/dist/__chunks/{4VJHC5OM.js.map → BQOD4WU7.js.map} +0 -0
  147. /package/dist/__chunks/{6NYPDPF4.cjs.map → BVYHALMT.cjs.map} +0 -0
  148. /package/dist/__chunks/{QZZW6BPP.cjs.map → CS66HKUB.cjs.map} +0 -0
  149. /package/dist/__chunks/{HVYLG5OC.cjs.map → EKHHYK7U.cjs.map} +0 -0
  150. /package/dist/__chunks/{6IRH354B.cjs.map → FH2W3CI2.cjs.map} +0 -0
  151. /package/dist/__chunks/{KG6XG47I.js.map → FLFJRP4T.js.map} +0 -0
  152. /package/dist/__chunks/{PDKMXSDQ.cjs.map → GEGGHBSM.cjs.map} +0 -0
  153. /package/dist/__chunks/{AWT6KV7A.js.map → I6CGA2ER.js.map} +0 -0
  154. /package/dist/__chunks/{SRAYR7UN.cjs.map → JHLUJYBX.cjs.map} +0 -0
  155. /package/dist/__chunks/{2HNKN7IN.js.map → JNYNLJGY.js.map} +0 -0
  156. /package/dist/__chunks/{MBTIELOD.js.map → K27Z66LH.js.map} +0 -0
  157. /package/dist/__chunks/{AAJM5GTF.js.map → KTTIFVGY.js.map} +0 -0
  158. /package/dist/__chunks/{J25IK5J2.cjs.map → KYIRM6PZ.cjs.map} +0 -0
  159. /package/dist/__chunks/{G7N4BOR7.js.map → MONMI3LS.js.map} +0 -0
  160. /package/dist/__chunks/{XYPM2PWU.js.map → N5B6KNJR.js.map} +0 -0
  161. /package/dist/__chunks/{4S6APU2V.cjs.map → NCUQOLOV.cjs.map} +0 -0
  162. /package/dist/__chunks/{KR53ODQQ.js.map → OU5C2MBA.js.map} +0 -0
  163. /package/dist/__chunks/{Y2TA6QLY.cjs.map → SFOAZYZG.cjs.map} +0 -0
  164. /package/dist/__chunks/{GMKJSXXQ.cjs.map → THYSYYWS.cjs.map} +0 -0
  165. /package/dist/__chunks/{AGJ2QSEP.cjs.map → WOIJRASP.cjs.map} +0 -0
  166. /package/dist/__chunks/{AW4Z42KI.js.map → X5KCRFFF.js.map} +0 -0
  167. /package/dist/__chunks/{M2CJONYS.cjs.map → ZUQC37VB.cjs.map} +0 -0
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _PDKMXSDQcjs = require('./PDKMXSDQ.cjs');
6
+ var _GEGGHBSMcjs = require('./GEGGHBSM.cjs');
7
7
 
8
8
 
9
- var _M2CJONYScjs = require('./M2CJONYS.cjs');
9
+ var _ZUQC37VBcjs = require('./ZUQC37VB.cjs');
10
10
 
11
11
 
12
12
  var _LECUYS4Ocjs = require('./LECUYS4O.cjs');
@@ -19,19 +19,19 @@ var _UKLQ64N7cjs = require('./UKLQ64N7.cjs');
19
19
 
20
20
 
21
21
 
22
- var _O2J3F7UEcjs = require('./O2J3F7UE.cjs');
22
+ var _OFALBLGMcjs = require('./OFALBLGM.cjs');
23
23
 
24
24
 
25
- var _Y2TA6QLYcjs = require('./Y2TA6QLY.cjs');
25
+ var _SFOAZYZGcjs = require('./SFOAZYZG.cjs');
26
26
 
27
27
 
28
- var _AGJ2QSEPcjs = require('./AGJ2QSEP.cjs');
28
+ var _WOIJRASPcjs = require('./WOIJRASP.cjs');
29
29
 
30
30
 
31
31
  var _GANR5JVVcjs = require('./GANR5JVV.cjs');
32
32
 
33
33
 
34
- var _YJWKUNYUcjs = require('./YJWKUNYU.cjs');
34
+ var _XU3CLITIcjs = require('./XU3CLITI.cjs');
35
35
 
36
36
 
37
37
  var _JXOKXBDZcjs = require('./JXOKXBDZ.cjs');
@@ -111,11 +111,11 @@ function RichSelectList(props) {
111
111
  const { themeName } = _JXOKXBDZcjs.useTheme.call(void 0, );
112
112
  const overlayHandlerRef = _react.useRef.call(void 0, {});
113
113
  const selectedKeysProp = _react.useMemo.call(void 0,
114
- () => _PDKMXSDQcjs.convertSelection.call(void 0, selectedValuesProp),
114
+ () => _GEGGHBSMcjs.convertSelection.call(void 0, selectedValuesProp),
115
115
  [selectedValuesProp]
116
116
  );
117
117
  const defaultSelectedKeys = _react.useMemo.call(void 0,
118
- () => _PDKMXSDQcjs.convertSelection.call(void 0, defaultSelectedValuesProp, /* @__PURE__ */ new Set()),
118
+ () => _GEGGHBSMcjs.convertSelection.call(void 0, defaultSelectedValuesProp, /* @__PURE__ */ new Set()),
119
119
  [defaultSelectedValuesProp]
120
120
  );
121
121
  const [selectedKeys, setSelectedKeys] = _utils.useControlledState.call(void 0,
@@ -153,7 +153,7 @@ function RichSelectList(props) {
153
153
  _reactariacomponents.Provider,
154
154
  {
155
155
  values: [
156
- [_PDKMXSDQcjs.RichSelectBoxContext, { autoFocus: true }],
156
+ [_GEGGHBSMcjs.RichSelectBoxContext, { autoFocus: true }],
157
157
  [_W5MIJIZAcjs.DialogContext, { padding: autosave ? void 0 : 0 }]
158
158
  // this is altering Popover's internal dialog padding to show the sticky save/close buttons. Ideally this could be avoided
159
159
  ],
@@ -177,7 +177,7 @@ function RichSelectList(props) {
177
177
  (_a2 = fieldRef.current) == null ? void 0 : _a2.focus();
178
178
  _interactions.setInteractionModality.call(void 0, "keyboard");
179
179
  },
180
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _GANR5JVVcjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _YJWKUNYUcjs.Typography_default, { size: 100, color: "gray700", children: label }) })
180
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _GANR5JVVcjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XU3CLITIcjs.Typography_default, { size: 100, color: "gray700", children: label }) })
181
181
  })
182
182
  ) }),
183
183
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -193,7 +193,7 @@ function RichSelectList(props) {
193
193
  padding: autosave ? void 0 : 5,
194
194
  dangerouslySetInlineStyle: autosave ? void 0 : { __style: { paddingBottom: 0 } },
195
195
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
196
- _PDKMXSDQcjs.RichSelectBox_default,
196
+ _GEGGHBSMcjs.RichSelectBox_default,
197
197
  _X2SDR4SDcjs.__spreadProps.call(void 0, _X2SDR4SDcjs.__spreadValues.call(void 0, {
198
198
  autosave,
199
199
  selectedValues: selectedKeys,
@@ -243,7 +243,7 @@ function RichSelectList(props) {
243
243
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
244
244
  "path",
245
245
  {
246
- fill: errorText ? _O2J3F7UEcjs.ColorBaseDestructive700 : _O2J3F7UEcjs.ColorBaseGray800,
246
+ fill: errorText ? _OFALBLGMcjs.ColorBaseDestructive700 : _OFALBLGMcjs.ColorBaseGray800,
247
247
  d: "M15.88 9.29 12 13.17 8.12 9.29a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z"
248
248
  }
249
249
  )
@@ -255,7 +255,7 @@ function RichSelectList(props) {
255
255
  }
256
256
  ),
257
257
  (helperText || errorText) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _GANR5JVVcjs.Box_default, { paddingX: 1, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
258
- _YJWKUNYUcjs.Typography_default,
258
+ _XU3CLITIcjs.Typography_default,
259
259
  _X2SDR4SDcjs.__spreadProps.call(void 0, _X2SDR4SDcjs.__spreadValues.call(void 0, {
260
260
  size: 100,
261
261
  color: errorText ? "destructive-primary" : "gray700"
@@ -270,12 +270,12 @@ function RichSelectList(props) {
270
270
  );
271
271
  }
272
272
  var RichSelectList_default = Object.assign(RichSelectList, {
273
- Section: _Y2TA6QLYcjs.RichSelectSection_default,
274
- Chip: _M2CJONYScjs.RichSelectChip_default,
275
- RadioButton: _AGJ2QSEPcjs.RichSelectRadioButton_default
273
+ Section: _SFOAZYZGcjs.RichSelectSection_default,
274
+ Chip: _ZUQC37VBcjs.RichSelectChip_default,
275
+ RadioButton: _WOIJRASPcjs.RichSelectRadioButton_default
276
276
  });
277
277
 
278
278
 
279
279
 
280
280
  exports.RichSelectList_default = RichSelectList_default;
281
- //# sourceMappingURL=SRAYR7UN.cjs.map
281
+ //# sourceMappingURL=JHLUJYBX.cjs.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./KKADUD65.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MDAWMKBY.js";
7
+ } from "./UVROGDYB.js";
8
8
  import {
9
9
  colors_module_default
10
10
  } from "./B7PDT66P.js";
@@ -134,4 +134,4 @@ var Checkbox_default = Checkbox;
134
134
  export {
135
135
  Checkbox_default
136
136
  };
137
- //# sourceMappingURL=2HNKN7IN.js.map
137
+ //# sourceMappingURL=JNYNLJGY.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./AVREYFSM.js";
8
8
  import {
9
9
  Typography_default
10
- } from "./MDAWMKBY.js";
10
+ } from "./UVROGDYB.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=MBTIELOD.js.map
53
+ //# sourceMappingURL=K27Z66LH.js.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Chip_default
4
- } from "./JUB3D7BZ.js";
4
+ } from "./5PWYNWVE.js";
5
5
  import {
6
6
  RichSelectItem_default
7
7
  } from "./ODMJANSX.js";
@@ -31,4 +31,4 @@ var RichSelectChip_default = forwardRef(
31
31
  export {
32
32
  RichSelectChip_default
33
33
  };
34
- //# sourceMappingURL=AAJM5GTF.js.map
34
+ //# sourceMappingURL=KTTIFVGY.js.map
@@ -4,7 +4,7 @@
4
4
  var _XLUVINJWcjs = require('./XLUVINJW.cjs');
5
5
 
6
6
 
7
- var _YJWKUNYUcjs = require('./YJWKUNYU.cjs');
7
+ var _XU3CLITIcjs = require('./XU3CLITI.cjs');
8
8
 
9
9
 
10
10
  var _QAS3KERZcjs = require('./QAS3KERZ.cjs');
@@ -118,7 +118,7 @@ var Checkbox = ({
118
118
  }
119
119
  ),
120
120
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
121
- _YJWKUNYUcjs.Typography_default,
121
+ _XU3CLITIcjs.Typography_default,
122
122
  {
123
123
  size: typographySize[size],
124
124
  color: error ? "destructive-primary" : "gray900",
@@ -134,4 +134,4 @@ var Checkbox_default = Checkbox;
134
134
 
135
135
 
136
136
  exports.Checkbox_default = Checkbox_default;
137
- //# sourceMappingURL=J25IK5J2.cjs.map
137
+ //# sourceMappingURL=KYIRM6PZ.cjs.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  RadioButton_default
4
- } from "./XYPM2PWU.js";
4
+ } from "./N5B6KNJR.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=G7N4BOR7.js.map
40
+ //# sourceMappingURL=MONMI3LS.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./HCHFPFNX.js";
8
8
  import {
9
9
  Typography_default
10
- } from "./MDAWMKBY.js";
10
+ } from "./UVROGDYB.js";
11
11
  import {
12
12
  colors_module_default
13
13
  } from "./B7PDT66P.js";
@@ -137,4 +137,4 @@ var RadioButton_default = RadioButton;
137
137
  export {
138
138
  RadioButton_default
139
139
  };
140
- //# sourceMappingURL=XYPM2PWU.js.map
140
+ //# sourceMappingURL=N5B6KNJR.js.map
@@ -4,7 +4,7 @@
4
4
  var _GANR5JVVcjs = require('./GANR5JVV.cjs');
5
5
 
6
6
 
7
- var _YJWKUNYUcjs = require('./YJWKUNYU.cjs');
7
+ var _XU3CLITIcjs = require('./XU3CLITI.cjs');
8
8
 
9
9
 
10
10
  var _JXOKXBDZcjs = require('./JXOKXBDZ.cjs');
@@ -93,7 +93,7 @@ var Chip = _react.forwardRef.call(void 0,
93
93
  children: [
94
94
  Icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: iconStyles }),
95
95
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _GANR5JVVcjs.Box_default, { paddingX: Icon ? 1 : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
96
- _YJWKUNYUcjs.Typography_default,
96
+ _XU3CLITIcjs.Typography_default,
97
97
  {
98
98
  size: themeName === "classic" ? typographySize[transformedSize] : 100,
99
99
  color,
@@ -112,4 +112,4 @@ var Chip_default = Chip;
112
112
 
113
113
 
114
114
  exports.Chip_default = Chip_default;
115
- //# sourceMappingURL=4S6APU2V.cjs.map
115
+ //# sourceMappingURL=NCUQOLOV.cjs.map
@@ -8,4 +8,4 @@ var ColorBaseGray800 = "#353535";
8
8
 
9
9
 
10
10
  exports.ColorBaseDestructive700 = ColorBaseDestructive700; exports.ColorBaseGray800 = ColorBaseGray800;
11
- //# sourceMappingURL=O2J3F7UE.cjs.map
11
+ //# sourceMappingURL=OFALBLGM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"names":[],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB","sourcesContent":["/**\n * Do not edit directly\n * Generated on Wed, 27 Mar 2024 18:59:22 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"]}
1
+ {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"names":[],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB","sourcesContent":["/**\n * Do not edit directly\n * Generated on Wed, 27 Mar 2024 22:00:09 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"]}
@@ -4,7 +4,7 @@ import {
4
4
  } from "./HCHFPFNX.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MDAWMKBY.js";
7
+ } from "./UVROGDYB.js";
8
8
  import {
9
9
  useTheme
10
10
  } from "./4GTNQPPD.js";
@@ -111,4 +111,4 @@ var Badge_default = Badge;
111
111
  export {
112
112
  Badge_default
113
113
  };
114
- //# sourceMappingURL=KR53ODQQ.js.map
114
+ //# sourceMappingURL=OU5C2MBA.js.map
@@ -7,7 +7,7 @@ var _MF7LLV7Vcjs = require('./MF7LLV7V.cjs');
7
7
  var _IL22HCBFcjs = require('./IL22HCBF.cjs');
8
8
 
9
9
 
10
- var _YJWKUNYUcjs = require('./YJWKUNYU.cjs');
10
+ var _XU3CLITIcjs = require('./XU3CLITI.cjs');
11
11
 
12
12
  // src/RichSelect/RichSelectSection.tsx
13
13
  var _react = require('react');
@@ -39,7 +39,7 @@ var RichSelectSection_default = _react.forwardRef.call(void 0,
39
39
  }
40
40
  ),
41
41
  children: [
42
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactariacomponents.Header, { className: _classnames2.default.call(void 0, _MF7LLV7Vcjs.layout_module_default.fullWidth), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _YJWKUNYUcjs.Typography_default, { children: label }) }),
42
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactariacomponents.Header, { className: _classnames2.default.call(void 0, _MF7LLV7Vcjs.layout_module_default.fullWidth), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _XU3CLITIcjs.Typography_default, { children: label }) }),
43
43
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactariacomponents.Collection, { children })
44
44
  ]
45
45
  }
@@ -50,4 +50,4 @@ var RichSelectSection_default = _react.forwardRef.call(void 0,
50
50
 
51
51
 
52
52
  exports.RichSelectSection_default = RichSelectSection_default;
53
- //# sourceMappingURL=Y2TA6QLY.cjs.map
53
+ //# sourceMappingURL=SFOAZYZG.cjs.map
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
2
2
 
3
3
 
4
- var _YJWKUNYUcjs = require('./YJWKUNYU.cjs');
4
+ var _XU3CLITIcjs = require('./XU3CLITI.cjs');
5
5
 
6
6
 
7
7
  var _JXOKXBDZcjs = require('./JXOKXBDZ.cjs');
@@ -33,7 +33,7 @@ var Heading = ({
33
33
  const { themeName } = _JXOKXBDZcjs.useTheme.call(void 0, );
34
34
  const classicWeight = [700, 800].includes(size) ? "heavy" : "bold";
35
35
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36
- _YJWKUNYUcjs.Typography_default,
36
+ _XU3CLITIcjs.Typography_default,
37
37
  {
38
38
  align,
39
39
  as,
@@ -52,4 +52,4 @@ var Heading_default = Heading;
52
52
 
53
53
 
54
54
  exports.Heading_default = Heading_default;
55
- //# sourceMappingURL=GMKJSXXQ.cjs.map
55
+ //# sourceMappingURL=THYSYYWS.cjs.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Heading_default
4
- } from "./4IJQ4BTF.js";
4
+ } from "./AYTJYJHI.js";
5
5
  import {
6
6
  StopScroll
7
7
  } from "./QQT35OLE.js";
@@ -127,7 +127,7 @@ function Modal({
127
127
  )
128
128
  }
129
129
  ) }),
130
- image && /* @__PURE__ */ jsx(Box_default, { maxHeight: 200, children: image }),
130
+ image && /* @__PURE__ */ jsx(Box_default, { children: image }),
131
131
  /* @__PURE__ */ jsxs(
132
132
  Box_default,
133
133
  {
@@ -174,4 +174,4 @@ Modal.displayName = "Modal";
174
174
  export {
175
175
  Modal
176
176
  };
177
- //# sourceMappingURL=NKYN63G7.js.map
177
+ //# sourceMappingURL=TNHXXDCA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/Modal/Modal.tsx","css-module:./Modal.module.css#css-module"],"sourcesContent":["import { type ReactElement } from \"react\";\nimport classnames from \"classnames\";\n\nimport Heading from \"../Heading/Heading\";\nimport Box from \"../Box/Box\";\n\nimport FocusTrap from \"./FocusTrap\";\nimport StopScroll from \"./StopScroll\";\nimport Layer from \"./Layer\";\nimport styles from \"./Modal.module.css\";\nimport { useTheme } from \"../ThemeProvider/ThemeProvider\";\nimport IconButton from \"../IconButton/IconButton\";\n\nfunction XIcon({ color = \"#000\" }: { color?: string }) {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" fill={color}>\n <path\n fill=\"inherit\"\n d=\"M11.25.758a.83.83 0 0 0-1.175 0L6 4.825 1.925.75A.83.83 0 1 0 .75 1.925L4.825 6 .75 10.075a.83.83 0 1 0 1.175 1.175L6 7.175l4.075 4.075a.83.83 0 1 0 1.175-1.175L7.175 6l4.075-4.075a.835.835 0 0 0 0-1.167Z\"\n />\n </svg>\n );\n}\n\nfunction XIconCambio({ className }: { className?: string }) {\n return (\n <svg\n className={className}\n fill=\"currentColor\"\n focusable=\"false\"\n aria-hidden=\"true\"\n viewBox=\"0 0 24 24\"\n >\n <path d=\"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"></path>\n </svg>\n );\n}\n\n// Note: Only sm + lg size currently. design thinks there should only be two sizes.\n// If there IS a md size at some point, we should use the \"size\" const.\nconst sizeWidth = {\n sm: 400,\n lg: 600,\n} as const;\n\n/**\n * [Modal](https://cambly-syntax.vercel.app/?path=/docs/components-modal--docs) is a dialog that appears on top of the main content and locks user interaction within the modal.\n *\n ```\n const [showModal, setShowModal] = useState(false)\n\n return (\n <>\n {showModal && <Modal\n header=\"header text\"\n onDismiss={() => setShowModal(false)}\n footer={\n <>\n <Button\n text=\"Cancel\"\n color=\"secondary\"\n onClick={() => {}}\n />\n <Button\n text=\"Confirm\"\n onClick={() => {}}\n />\n </>\n }\n >\n <Typography>\n Body text goes here!\n </Typography>\n </Modal> }\n </>\n )\n ```\n */\nexport default function Modal({\n header,\n children,\n image,\n onDismiss,\n footer,\n accessibilityCloseLabel = \"close modal\",\n size = \"sm\",\n zIndex = 1,\n \"data-testid\": dataTestId,\n}: {\n /**\n * The modal's main content. Should typically take in `Typography`'d text.\n */\n children: JSX.Element;\n /**\n * The header inside a modal as a string.\n */\n header: string;\n /**\n * What the X button (or clicking out of the modal area) does.\n * Typically used for closing the Modal\n */\n onDismiss: () => void;\n /**\n * The optional image rendered above the Modal.\n * Image\n * * Size should be 600w x 200h\n * * Be sure to set width=\"100%\" on the image\n * If images aren't that sized, should ask design to give another image.\n */\n image?: JSX.Element;\n /**\n * The footer for the bottom area of the Modal. Typically used for rendering buttons.\n * * Use Syntax `Button` and pass it into footer.\n * * If one button, just pass it in. If two, wrap in a React fragment (`<> </>`)\n * * If two(2) buttons, put primary button _second_.\n *\n <>\n <Button\n text=\"Cancel\"\n color=\"secondary\"\n onClick={() => {}}\n />\n <Button\n text=\"Confirm\"\n onClick={() => {}}\n />\n </>\n */\n footer?: JSX.Element;\n /**\n * The accessibilty text on the close button.\n * (Sets the aria-label of the button)\n *\n *\n * @defaultValue close modal\n */\n accessibilityCloseLabel?: string;\n /**\n * The size of the card\n *\n * Classic:\n * * `sm`: 400px (Classic only)\n * * `lg`: 600px\n *\n * Cambio:\n * * `lg`: 600px\n *\n *\n * @defaultValue sm\n */\n size?: keyof typeof sizeWidth;\n /**\n * The z-index for the modal.\n * Typically used if there are other things on the page with higher z-index and you need this overlayed on top.\n *\n * @defaultValue 0\n */\n zIndex?: number;\n /**\n * Test id for the modal\n */\n \"data-testid\"?: string;\n}): ReactElement {\n const { themeName } = useTheme();\n return (\n <Layer zIndex={zIndex}>\n <StopScroll>\n <FocusTrap>\n <div\n className={classnames(\n styles.backdrop,\n themeName === \"classic\"\n ? styles.backdropClassic\n : styles.backdropCambio,\n )}\n role=\"presentation\"\n onClick={(e) => e.target === e.currentTarget && onDismiss()}\n onKeyDown={(e) => e.key === \"Escape\" && onDismiss()}\n >\n <Box\n data-testid={dataTestId}\n backgroundColor=\"white\"\n rounding={themeName === \"classic\" ? \"xl\" : \"md\"}\n display=\"flex\"\n direction=\"column\"\n marginStart={4}\n marginEnd={4}\n minWidth={240}\n maxWidth={sizeWidth[themeName === \"classic\" ? size : \"lg\"]}\n width=\"100%\"\n dangerouslySetInlineStyle={{ __style: { overflow: \"hidden\" } }}\n >\n <Box position=\"relative\">\n {themeName === \"classic\" ? (\n <button\n aria-label={accessibilityCloseLabel}\n type=\"button\"\n className={classnames(\n styles.closeButton,\n styles.closeButtonClassic,\n {\n [styles.closeButtonWithImage]: !!image,\n },\n )}\n onClick={onDismiss}\n >\n <XIcon color={image ? \"#fff\" : \"#000\"} />\n </button>\n ) : (\n <Box\n position=\"absolute\"\n dangerouslySetInlineStyle={{\n __style: { top: 4, right: 4 },\n }}\n >\n <IconButton\n accessibilityLabel={accessibilityCloseLabel}\n color={image ? \"primary\" : \"tertiary\"}\n on={image ? \"darkBackground\" : \"lightBackground\"}\n onClick={onDismiss}\n size=\"sm\"\n icon={XIconCambio}\n />\n </Box>\n )}\n </Box>\n {image && <Box>{image}</Box>}\n <Box\n display=\"flex\"\n gap={themeName === \"classic\" ? 3 : 4}\n direction=\"column\"\n padding={themeName === \"classic\" ? 9 : 6}\n >\n <Heading\n as=\"h1\"\n size={themeName === \"classic\" ? 500 : 600}\n fontStyle={themeName === \"classic\" ? \"sans-serif\" : \"serif\"}\n >\n {header}\n </Heading>\n <Box marginBottom={themeName === \"classic\" ? 4 : 0}>\n {children}\n </Box>\n {footer && (\n <Box\n display=\"flex\"\n direction=\"column\"\n gap={3}\n marginTop={themeName === \"classic\" ? 0 : 2}\n smDirection=\"row\"\n smJustifyContent=\"end\"\n lgDirection=\"row\"\n lgJustifyContent=\"end\"\n >\n {footer}\n </Box>\n )}\n </Box>\n </Box>\n </div>\n </FocusTrap>\n </StopScroll>\n </Layer>\n );\n}\n\nModal.displayName = \"Modal\";\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Modal/Modal.module.css\"; export default {\"backdrop\":\"_backdrop_1w5vm_1\",\"backdropClassic\":\"_backdropClassic_1w5vm_11\",\"backdropCambio\":\"_backdropCambio_1w5vm_15\",\"closeButton\":\"_closeButton_1w5vm_19\",\"closeButtonClassic\":\"_closeButtonClassic_1w5vm_34\",\"closeButtonWithImage\":\"_closeButtonWithImage_1w5vm_46\",\"closeButtonWithImageCambio\":\"_closeButtonWithImageCambio_1w5vm_50\"}"],"mappings":"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","names":[]}
@@ -11,7 +11,7 @@ import classNames from "classnames";
11
11
  import { forwardRef } from "react";
12
12
 
13
13
  // css-module:./Typography.module.css#css-module
14
- var Typography_module_default = { "typography": "_typography_crxq1_1", "sansSerif": "_sansSerif_crxq1_22", "serif": "_serif_crxq1_27", "size100": "_size100_crxq1_71", "size200": "_size200_crxq1_75", "size300": "_size300_crxq1_79", "size500": "_size500_crxq1_83", "size600": "_size600_crxq1_87", "size700": "_size700_crxq1_91", "size800": "_size800_crxq1_95", "size100Cambio": "_size100Cambio_crxq1_100", "size200Cambio": "_size200Cambio_crxq1_104", "size300Cambio": "_size300Cambio_crxq1_108", "size400Cambio": "_size400Cambio_crxq1_112", "size500Cambio": "_size500Cambio_crxq1_116", "size600Cambio": "_size600Cambio_crxq1_120", "size700Cambio": "_size700Cambio_crxq1_124", "size800Cambio": "_size800Cambio_crxq1_128", "size900Cambio": "_size900Cambio_crxq1_132", "size1000Cambio": "_size1000Cambio_crxq1_173", "size1100Cambio": "_size1100Cambio_crxq1_177", "center": "_center_crxq1_183", "forceLeft": "_forceLeft_crxq1_187", "forceRight": "_forceRight_crxq1_191", "start": "_start_crxq1_195", "end": "_end_crxq1_199", "bold": "_bold_crxq1_204", "regular": "_regular_crxq1_208", "interactive": "_interactive_crxq1_212", "semiBold": "_semiBold_crxq1_216", "heavy": "_heavy_crxq1_220", "regularCambio": "_regularCambio_crxq1_224", "mediumCambio": "_mediumCambio_crxq1_228", "semiBoldCambio": "_semiBoldCambio_crxq1_232", "boldCambio": "_boldCambio_crxq1_236", "underline": "_underline_crxq1_240", "inline": "_inline_crxq1_244", "uppercase": "_uppercase_crxq1_248", "lineClamp": "_lineClamp_crxq1_252" };
14
+ var Typography_module_default = { "typography": "_typography_emvev_1", "sansSerif": "_sansSerif_emvev_22", "serif": "_serif_emvev_27", "size100": "_size100_emvev_71", "size200": "_size200_emvev_75", "size300": "_size300_emvev_79", "size500": "_size500_emvev_83", "size600": "_size600_emvev_87", "size700": "_size700_emvev_91", "size800": "_size800_emvev_95", "size100Cambio": "_size100Cambio_emvev_100", "size200Cambio": "_size200Cambio_emvev_104", "size300Cambio": "_size300Cambio_emvev_108", "size400Cambio": "_size400Cambio_emvev_112", "size500Cambio": "_size500Cambio_emvev_116", "size600Cambio": "_size600Cambio_emvev_120", "size700Cambio": "_size700Cambio_emvev_124", "size800Cambio": "_size800Cambio_emvev_128", "size900Cambio": "_size900Cambio_emvev_132", "size1000Cambio": "_size1000Cambio_emvev_173", "size1100Cambio": "_size1100Cambio_emvev_177", "center": "_center_emvev_183", "forceLeft": "_forceLeft_emvev_187", "forceRight": "_forceRight_emvev_191", "start": "_start_emvev_195", "end": "_end_emvev_199", "bold": "_bold_emvev_204", "regular": "_regular_emvev_208", "interactive": "_interactive_emvev_212", "semiBold": "_semiBold_emvev_216", "heavy": "_heavy_emvev_220", "regularCambio": "_regularCambio_emvev_224", "mediumCambio": "_mediumCambio_emvev_228", "semiBoldCambio": "_semiBoldCambio_emvev_232", "boldCambio": "_boldCambio_emvev_236", "underline": "_underline_emvev_240", "inline": "_inline_emvev_244", "uppercase": "_uppercase_emvev_248", "lineClamp": "_lineClamp_emvev_252" };
15
15
 
16
16
  // src/Typography/Typography.tsx
17
17
  import { jsx } from "react/jsx-runtime";
@@ -125,4 +125,4 @@ var Typography_default = Typography;
125
125
  export {
126
126
  Typography_default
127
127
  };
128
- //# sourceMappingURL=MDAWMKBY.js.map
128
+ //# sourceMappingURL=UVROGDYB.js.map
@@ -1 +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\";\nimport { useTheme } from \"../ThemeProvider/ThemeProvider\";\n\nfunction classicTextColor(\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.gray700Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"primary\":\n return colorStyles.primary700Color;\n case \"destructive-primary\":\n case \"destructive-darkBackground\":\n return colorStyles.destructive700Color;\n case \"success\":\n return colorStyles.success700Color;\n default:\n return colorStyles.gray900Color;\n }\n}\n\nfunction cambioTextColor(\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.cambioGray800Color;\n case \"white\":\n return colorStyles.cambioWhiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"destructive-primary\":\n return colorStyles.cambioDestructive900Color;\n case \"destructive-darkBackground\":\n return colorStyles.cambioDestructive100Color;\n case \"success\":\n return colorStyles.cambioSuccess900Color;\n case \"success-darkBackground\":\n return colorStyles.cambioSuccess100Color;\n // primary / gray900\n default:\n return colorStyles.cambioBlackColor;\n }\n}\n\nfunction classicWeight(\n weight: \"regular\" | \"interactive\" | \"medium\" | \"semiBold\" | \"bold\" | \"heavy\",\n): \"regular\" | \"interactive\" | \"semiBold\" | \"bold\" | \"heavy\" {\n switch (weight) {\n case \"medium\":\n return \"regular\";\n default:\n return weight;\n }\n}\n\nfunction cambioWeight(\n weight: \"regular\" | \"interactive\" | \"medium\" | \"semiBold\" | \"bold\" | \"heavy\",\n): \"regular\" | \"medium\" | \"semiBold\" | \"bold\" {\n switch (weight) {\n case \"interactive\":\n return \"medium\";\n case \"heavy\":\n return \"regular\";\n default:\n return weight;\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 * Cambio only: `success-darkBackground` / `destructive-darkBackground`\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 * Classic:\n * * `100`: 12px\n * * `200`: 14px\n * * `300`: 16px\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * Cambio Mobile:\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 * Cambio 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 * Classic:\n * * `regular`: 400\n * * `interactive`: 500 (Classic only)\n * * `semiBold`: 600\n * * `bold`: 700\n * * `heavy`: 860 (Classic only)\n *\n * Cambio:\n * * `regular`: 400\n * * `medium`: 510\n * * `semiBold`: 590\n * * `bold`: 710\n *\n *\n * @defaultValue \"regular\"\n */\n weight?:\n | \"regular\"\n | \"interactive\"\n | \"medium\"\n | \"semiBold\"\n | \"bold\"\n | \"heavy\";\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 const { themeName } = useTheme();\n\n const weightStyles =\n themeName === \"classic\"\n ? styles[classicWeight(weight)]\n : styles[`${cambioWeight(weight)}Cambio`];\n\n return (\n <Tag\n id={id}\n className={classNames(\n styles.typography,\n styles[align],\n weightStyles,\n themeName === \"cambio\" && fontStyle === \"serif\"\n ? styles.serif\n : styles.sansSerif,\n themeName === \"cambio\"\n ? cambioTextColor(color)\n : classicTextColor(color),\n inline && styles.inline,\n themeName === \"classic\"\n ? styles[\n `size${\n // TypeScript doesn't narrow the type of size with `.includes` so we have to do it manually\n // https://github.com/microsoft/TypeScript/issues/36275#issuecomment-643376433\n // One we ship Cambio, we can remove these checks\n size === 100 ||\n size === 200 ||\n size === 300 ||\n size === 500 ||\n size === 600 ||\n size === 700 ||\n size === 800\n ? size\n : 200\n }`\n ]\n : styles[`size${size}Cambio`],\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_crxq1_1\",\"sansSerif\":\"_sansSerif_crxq1_22\",\"serif\":\"_serif_crxq1_27\",\"size100\":\"_size100_crxq1_71\",\"size200\":\"_size200_crxq1_75\",\"size300\":\"_size300_crxq1_79\",\"size500\":\"_size500_crxq1_83\",\"size600\":\"_size600_crxq1_87\",\"size700\":\"_size700_crxq1_91\",\"size800\":\"_size800_crxq1_95\",\"size100Cambio\":\"_size100Cambio_crxq1_100\",\"size200Cambio\":\"_size200Cambio_crxq1_104\",\"size300Cambio\":\"_size300Cambio_crxq1_108\",\"size400Cambio\":\"_size400Cambio_crxq1_112\",\"size500Cambio\":\"_size500Cambio_crxq1_116\",\"size600Cambio\":\"_size600Cambio_crxq1_120\",\"size700Cambio\":\"_size700Cambio_crxq1_124\",\"size800Cambio\":\"_size800Cambio_crxq1_128\",\"size900Cambio\":\"_size900Cambio_crxq1_132\",\"size1000Cambio\":\"_size1000Cambio_crxq1_173\",\"size1100Cambio\":\"_size1100Cambio_crxq1_177\",\"center\":\"_center_crxq1_183\",\"forceLeft\":\"_forceLeft_crxq1_187\",\"forceRight\":\"_forceRight_crxq1_191\",\"start\":\"_start_crxq1_195\",\"end\":\"_end_crxq1_199\",\"bold\":\"_bold_crxq1_204\",\"regular\":\"_regular_crxq1_208\",\"interactive\":\"_interactive_crxq1_212\",\"semiBold\":\"_semiBold_crxq1_216\",\"heavy\":\"_heavy_crxq1_220\",\"regularCambio\":\"_regularCambio_crxq1_224\",\"mediumCambio\":\"_mediumCambio_crxq1_228\",\"semiBoldCambio\":\"_semiBoldCambio_crxq1_232\",\"boldCambio\":\"_boldCambio_crxq1_236\",\"underline\":\"_underline_crxq1_240\",\"inline\":\"_inline_crxq1_244\",\"uppercase\":\"_uppercase_crxq1_248\",\"lineClamp\":\"_lineClamp_crxq1_252\"}"],"mappings":"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","names":["Typography"]}
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\";\nimport { useTheme } from \"../ThemeProvider/ThemeProvider\";\n\nfunction classicTextColor(\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.gray700Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"primary\":\n return colorStyles.primary700Color;\n case \"destructive-primary\":\n case \"destructive-darkBackground\":\n return colorStyles.destructive700Color;\n case \"success\":\n return colorStyles.success700Color;\n default:\n return colorStyles.gray900Color;\n }\n}\n\nfunction cambioTextColor(\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.cambioGray800Color;\n case \"white\":\n return colorStyles.cambioWhiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"destructive-primary\":\n return colorStyles.cambioDestructive900Color;\n case \"destructive-darkBackground\":\n return colorStyles.cambioDestructive100Color;\n case \"success\":\n return colorStyles.cambioSuccess900Color;\n case \"success-darkBackground\":\n return colorStyles.cambioSuccess100Color;\n // primary / gray900\n default:\n return colorStyles.cambioBlackColor;\n }\n}\n\nfunction classicWeight(\n weight: \"regular\" | \"interactive\" | \"medium\" | \"semiBold\" | \"bold\" | \"heavy\",\n): \"regular\" | \"interactive\" | \"semiBold\" | \"bold\" | \"heavy\" {\n switch (weight) {\n case \"medium\":\n return \"regular\";\n default:\n return weight;\n }\n}\n\nfunction cambioWeight(\n weight: \"regular\" | \"interactive\" | \"medium\" | \"semiBold\" | \"bold\" | \"heavy\",\n): \"regular\" | \"medium\" | \"semiBold\" | \"bold\" {\n switch (weight) {\n case \"interactive\":\n return \"medium\";\n case \"heavy\":\n return \"regular\";\n default:\n return weight;\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 * Cambio only: `success-darkBackground` / `destructive-darkBackground`\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 * Classic:\n * * `100`: 12px\n * * `200`: 14px\n * * `300`: 16px\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * Cambio Mobile:\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 * Cambio 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 * Classic:\n * * `regular`: 400\n * * `interactive`: 500 (Classic only)\n * * `semiBold`: 600\n * * `bold`: 700\n * * `heavy`: 860 (Classic only)\n *\n * Cambio:\n * * `regular`: 400\n * * `medium`: 510\n * * `semiBold`: 590\n * * `bold`: 710\n *\n *\n * @defaultValue \"regular\"\n */\n weight?:\n | \"regular\"\n | \"interactive\"\n | \"medium\"\n | \"semiBold\"\n | \"bold\"\n | \"heavy\";\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 const { themeName } = useTheme();\n\n const weightStyles =\n themeName === \"classic\"\n ? styles[classicWeight(weight)]\n : styles[`${cambioWeight(weight)}Cambio`];\n\n return (\n <Tag\n id={id}\n className={classNames(\n styles.typography,\n styles[align],\n weightStyles,\n themeName === \"cambio\" && fontStyle === \"serif\"\n ? styles.serif\n : styles.sansSerif,\n themeName === \"cambio\"\n ? cambioTextColor(color)\n : classicTextColor(color),\n inline && styles.inline,\n themeName === \"classic\"\n ? styles[\n `size${\n // TypeScript doesn't narrow the type of size with `.includes` so we have to do it manually\n // https://github.com/microsoft/TypeScript/issues/36275#issuecomment-643376433\n // One we ship Cambio, we can remove these checks\n size === 100 ||\n size === 200 ||\n size === 300 ||\n size === 500 ||\n size === 600 ||\n size === 700 ||\n size === 800\n ? size\n : 200\n }`\n ]\n : styles[`size${size}Cambio`],\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_emvev_1\",\"sansSerif\":\"_sansSerif_emvev_22\",\"serif\":\"_serif_emvev_27\",\"size100\":\"_size100_emvev_71\",\"size200\":\"_size200_emvev_75\",\"size300\":\"_size300_emvev_79\",\"size500\":\"_size500_emvev_83\",\"size600\":\"_size600_emvev_87\",\"size700\":\"_size700_emvev_91\",\"size800\":\"_size800_emvev_95\",\"size100Cambio\":\"_size100Cambio_emvev_100\",\"size200Cambio\":\"_size200Cambio_emvev_104\",\"size300Cambio\":\"_size300Cambio_emvev_108\",\"size400Cambio\":\"_size400Cambio_emvev_112\",\"size500Cambio\":\"_size500Cambio_emvev_116\",\"size600Cambio\":\"_size600Cambio_emvev_120\",\"size700Cambio\":\"_size700Cambio_emvev_124\",\"size800Cambio\":\"_size800Cambio_emvev_128\",\"size900Cambio\":\"_size900Cambio_emvev_132\",\"size1000Cambio\":\"_size1000Cambio_emvev_173\",\"size1100Cambio\":\"_size1100Cambio_emvev_177\",\"center\":\"_center_emvev_183\",\"forceLeft\":\"_forceLeft_emvev_187\",\"forceRight\":\"_forceRight_emvev_191\",\"start\":\"_start_emvev_195\",\"end\":\"_end_emvev_199\",\"bold\":\"_bold_emvev_204\",\"regular\":\"_regular_emvev_208\",\"interactive\":\"_interactive_emvev_212\",\"semiBold\":\"_semiBold_emvev_216\",\"heavy\":\"_heavy_emvev_220\",\"regularCambio\":\"_regularCambio_emvev_224\",\"mediumCambio\":\"_mediumCambio_emvev_228\",\"semiBoldCambio\":\"_semiBoldCambio_emvev_232\",\"boldCambio\":\"_boldCambio_emvev_236\",\"underline\":\"_underline_emvev_240\",\"inline\":\"_inline_emvev_244\",\"uppercase\":\"_uppercase_emvev_248\",\"lineClamp\":\"_lineClamp_emvev_252\"}"],"mappings":"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","names":["Typography"]}
@@ -8,4 +8,4 @@ export {
8
8
  ColorBaseDestructive700,
9
9
  ColorBaseGray800
10
10
  };
11
- //# sourceMappingURL=WEBZYCKQ.js.map
11
+ //# sourceMappingURL=VQF4J5CC.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Wed, 27 Mar 2024 18:59:22 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, 27 Mar 2024 22:00:09 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,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
2
2
 
3
3
 
4
- var _4HPBU76Lcjs = require('./4HPBU76L.cjs');
4
+ var _5MKCDCHQcjs = require('./5MKCDCHQ.cjs');
5
5
 
6
6
 
7
7
  var _RYUXG4AScjs = require('./RYUXG4AS.cjs');
@@ -19,7 +19,7 @@ var RichSelectRadioButton_default = _react.forwardRef.call(void 0,
19
19
  function RichSelectRadioButton(props, ref) {
20
20
  const _a = props, { size, name } = _a, otherProps = _X2SDR4SDcjs.__objRest.call(void 0, _a, ["size", "name"]);
21
21
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RYUXG4AScjs.RichSelectItem_default, _X2SDR4SDcjs.__spreadProps.call(void 0, _X2SDR4SDcjs.__spreadValues.call(void 0, {}, otherProps), { ref, children: ({ isSelected, isFocusVisible, isDisabled }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22
- _4HPBU76Lcjs.RadioButton_default,
22
+ _5MKCDCHQcjs.RadioButton_default,
23
23
  {
24
24
  checked: isSelected,
25
25
  disabled: isDisabled,
@@ -37,4 +37,4 @@ var RichSelectRadioButton_default = _react.forwardRef.call(void 0,
37
37
 
38
38
 
39
39
  exports.RichSelectRadioButton_default = RichSelectRadioButton_default;
40
- //# sourceMappingURL=AGJ2QSEP.cjs.map
40
+ //# sourceMappingURL=WOIJRASP.cjs.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./HCHFPFNX.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MDAWMKBY.js";
7
+ } from "./UVROGDYB.js";
8
8
  import {
9
9
  useTheme
10
10
  } from "./4GTNQPPD.js";
@@ -101,4 +101,4 @@ var TextArea_default = TextArea;
101
101
  export {
102
102
  TextArea_default
103
103
  };
104
- //# sourceMappingURL=AW4Z42KI.js.map
104
+ //# sourceMappingURL=X5KCRFFF.js.map
@@ -11,7 +11,7 @@ var _classnames = require('classnames'); var _classnames2 = _interopRequireDefau
11
11
  var _react = require('react');
12
12
 
13
13
  // css-module:./Typography.module.css#css-module
14
- var Typography_module_default = { "typography": "_typography_crxq1_1", "sansSerif": "_sansSerif_crxq1_22", "serif": "_serif_crxq1_27", "size100": "_size100_crxq1_71", "size200": "_size200_crxq1_75", "size300": "_size300_crxq1_79", "size500": "_size500_crxq1_83", "size600": "_size600_crxq1_87", "size700": "_size700_crxq1_91", "size800": "_size800_crxq1_95", "size100Cambio": "_size100Cambio_crxq1_100", "size200Cambio": "_size200Cambio_crxq1_104", "size300Cambio": "_size300Cambio_crxq1_108", "size400Cambio": "_size400Cambio_crxq1_112", "size500Cambio": "_size500Cambio_crxq1_116", "size600Cambio": "_size600Cambio_crxq1_120", "size700Cambio": "_size700Cambio_crxq1_124", "size800Cambio": "_size800Cambio_crxq1_128", "size900Cambio": "_size900Cambio_crxq1_132", "size1000Cambio": "_size1000Cambio_crxq1_173", "size1100Cambio": "_size1100Cambio_crxq1_177", "center": "_center_crxq1_183", "forceLeft": "_forceLeft_crxq1_187", "forceRight": "_forceRight_crxq1_191", "start": "_start_crxq1_195", "end": "_end_crxq1_199", "bold": "_bold_crxq1_204", "regular": "_regular_crxq1_208", "interactive": "_interactive_crxq1_212", "semiBold": "_semiBold_crxq1_216", "heavy": "_heavy_crxq1_220", "regularCambio": "_regularCambio_crxq1_224", "mediumCambio": "_mediumCambio_crxq1_228", "semiBoldCambio": "_semiBoldCambio_crxq1_232", "boldCambio": "_boldCambio_crxq1_236", "underline": "_underline_crxq1_240", "inline": "_inline_crxq1_244", "uppercase": "_uppercase_crxq1_248", "lineClamp": "_lineClamp_crxq1_252" };
14
+ var Typography_module_default = { "typography": "_typography_emvev_1", "sansSerif": "_sansSerif_emvev_22", "serif": "_serif_emvev_27", "size100": "_size100_emvev_71", "size200": "_size200_emvev_75", "size300": "_size300_emvev_79", "size500": "_size500_emvev_83", "size600": "_size600_emvev_87", "size700": "_size700_emvev_91", "size800": "_size800_emvev_95", "size100Cambio": "_size100Cambio_emvev_100", "size200Cambio": "_size200Cambio_emvev_104", "size300Cambio": "_size300Cambio_emvev_108", "size400Cambio": "_size400Cambio_emvev_112", "size500Cambio": "_size500Cambio_emvev_116", "size600Cambio": "_size600Cambio_emvev_120", "size700Cambio": "_size700Cambio_emvev_124", "size800Cambio": "_size800Cambio_emvev_128", "size900Cambio": "_size900Cambio_emvev_132", "size1000Cambio": "_size1000Cambio_emvev_173", "size1100Cambio": "_size1100Cambio_emvev_177", "center": "_center_emvev_183", "forceLeft": "_forceLeft_emvev_187", "forceRight": "_forceRight_emvev_191", "start": "_start_emvev_195", "end": "_end_emvev_199", "bold": "_bold_emvev_204", "regular": "_regular_emvev_208", "interactive": "_interactive_emvev_212", "semiBold": "_semiBold_emvev_216", "heavy": "_heavy_emvev_220", "regularCambio": "_regularCambio_emvev_224", "mediumCambio": "_mediumCambio_emvev_228", "semiBoldCambio": "_semiBoldCambio_emvev_232", "boldCambio": "_boldCambio_emvev_236", "underline": "_underline_emvev_240", "inline": "_inline_emvev_244", "uppercase": "_uppercase_emvev_248", "lineClamp": "_lineClamp_emvev_252" };
15
15
 
16
16
  // src/Typography/Typography.tsx
17
17
  var _jsxruntime = require('react/jsx-runtime');
@@ -125,4 +125,4 @@ var Typography_default = Typography;
125
125
 
126
126
 
127
127
  exports.Typography_default = Typography_default;
128
- //# sourceMappingURL=YJWKUNYU.cjs.map
128
+ //# sourceMappingURL=XU3CLITI.cjs.map