@cambly/syntax-core 21.10.0 → 21.11.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 (116) hide show
  1. package/dist/Badge/Badge.css +53 -49
  2. package/dist/Badge/Badge.css.map +1 -1
  3. package/dist/Badge/Badge.js +2 -2
  4. package/dist/Button/Button.css +53 -49
  5. package/dist/Button/Button.css.map +1 -1
  6. package/dist/Button/Button.js +2 -2
  7. package/dist/Checkbox/Checkbox.css +53 -49
  8. package/dist/Checkbox/Checkbox.css.map +1 -1
  9. package/dist/Checkbox/Checkbox.js +2 -2
  10. package/dist/Chip/Chip.css +53 -49
  11. package/dist/Chip/Chip.css.map +1 -1
  12. package/dist/Chip/Chip.js +2 -2
  13. package/dist/Heading/Heading.css +53 -49
  14. package/dist/Heading/Heading.css.map +1 -1
  15. package/dist/Heading/Heading.js +2 -2
  16. package/dist/LinkButton/LinkButton.css +53 -49
  17. package/dist/LinkButton/LinkButton.css.map +1 -1
  18. package/dist/LinkButton/LinkButton.js +2 -2
  19. package/dist/Modal/Modal.css +53 -49
  20. package/dist/Modal/Modal.css.map +1 -1
  21. package/dist/Modal/Modal.js +3 -3
  22. package/dist/RadioButton/RadioButton.css +53 -49
  23. package/dist/RadioButton/RadioButton.css.map +1 -1
  24. package/dist/RadioButton/RadioButton.js +2 -2
  25. package/dist/RichSelect/RichSelectBox.css +53 -49
  26. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  27. package/dist/RichSelect/RichSelectBox.js +8 -8
  28. package/dist/RichSelect/RichSelectChip.css +53 -49
  29. package/dist/RichSelect/RichSelectChip.css.map +1 -1
  30. package/dist/RichSelect/RichSelectChip.js +3 -3
  31. package/dist/RichSelect/RichSelectList.css +53 -49
  32. package/dist/RichSelect/RichSelectList.css.map +1 -1
  33. package/dist/RichSelect/RichSelectList.js +10 -10
  34. package/dist/RichSelect/RichSelectRadioButton.css +53 -49
  35. package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
  36. package/dist/RichSelect/RichSelectRadioButton.js +3 -3
  37. package/dist/RichSelect/RichSelectSection.css +53 -49
  38. package/dist/RichSelect/RichSelectSection.css.map +1 -1
  39. package/dist/RichSelect/RichSelectSection.js +2 -2
  40. package/dist/SelectList/SelectList.css +53 -49
  41. package/dist/SelectList/SelectList.css.map +1 -1
  42. package/dist/SelectList/SelectList.js +3 -3
  43. package/dist/TabButton/TabButton.css +53 -49
  44. package/dist/TabButton/TabButton.css.map +1 -1
  45. package/dist/TabButton/TabButton.js +3 -3
  46. package/dist/TabLink/TabLink.css +53 -49
  47. package/dist/TabLink/TabLink.css.map +1 -1
  48. package/dist/TabLink/TabLink.js +3 -3
  49. package/dist/Tabs/TabInternal.css +53 -49
  50. package/dist/Tabs/TabInternal.css.map +1 -1
  51. package/dist/Tabs/TabInternal.js +2 -2
  52. package/dist/TextArea/TextArea.css +53 -49
  53. package/dist/TextArea/TextArea.css.map +1 -1
  54. package/dist/TextArea/TextArea.js +2 -2
  55. package/dist/TextField/TextField.css +53 -49
  56. package/dist/TextField/TextField.css.map +1 -1
  57. package/dist/TextField/TextField.js +3 -3
  58. package/dist/Tooltip/Tooltip.css +53 -49
  59. package/dist/Tooltip/Tooltip.css.map +1 -1
  60. package/dist/Tooltip/Tooltip.js +2 -2
  61. package/dist/Typography/Typography.css +53 -49
  62. package/dist/Typography/Typography.css.map +1 -1
  63. package/dist/Typography/Typography.js +1 -1
  64. package/dist/WordConfetti/WordConfetti.css +53 -49
  65. package/dist/WordConfetti/WordConfetti.css.map +1 -1
  66. package/dist/WordConfetti/WordConfetti.js +2 -2
  67. package/dist/__chunks/{WAGE57PF.js → 3TH6B66Z.js} +2 -2
  68. package/dist/__chunks/{A4YV2G5E.js → 7ZKXYLXP.js} +7 -7
  69. package/dist/__chunks/{V6TACYID.js → A2BLWAHB.js} +2 -2
  70. package/dist/__chunks/{3CVV6PAD.js → CLVZ4FOV.js} +5 -5
  71. package/dist/__chunks/{HVUDEKZ4.js → EJEDQLJI.js} +2 -2
  72. package/dist/__chunks/{VVBRZJ24.js → EKSO3SO5.js} +3 -3
  73. package/dist/__chunks/{MPRB6RD7.js → IDX7RWVA.js} +2 -2
  74. package/dist/__chunks/{MPRB6RD7.js.map → IDX7RWVA.js.map} +1 -1
  75. package/dist/__chunks/{DIZ2AM3O.js → IOLXYFOT.js} +2 -2
  76. package/dist/__chunks/{4DDCK4YC.js → J2CULO5Z.js} +2 -2
  77. package/dist/__chunks/{TZ6K2QOX.js → JEQOCPG6.js} +2 -2
  78. package/dist/__chunks/{JVYDT3KG.js → JRSIZ3OC.js} +2 -2
  79. package/dist/__chunks/{QGKN6QPT.js → JXOW2OYL.js} +2 -2
  80. package/dist/__chunks/{LIAZJ67M.js → KURNAKIN.js} +2 -2
  81. package/dist/__chunks/{TKDQXKWS.js → L3O26KOI.js} +2 -2
  82. package/dist/__chunks/{2BHS5CFG.js → MEW6HJNQ.js} +2 -2
  83. package/dist/__chunks/{KYB756P2.js → ND2XGXML.js} +2 -2
  84. package/dist/__chunks/{Q3GETQTJ.js → NXXK4RDM.js} +2 -2
  85. package/dist/__chunks/{22DOBTM6.js → OSGJ5HDK.js} +2 -2
  86. package/dist/__chunks/{37HO7CY6.js → SFIVTUDU.js} +2 -2
  87. package/dist/__chunks/{4QIAQ7OT.js → TNRDWSUF.js} +2 -2
  88. package/dist/__chunks/{5QR4GKVY.js → VXX4H2RU.js} +3 -3
  89. package/dist/__chunks/{OYZNL37T.js → XATRX37Q.js} +2 -2
  90. package/dist/__chunks/{YSRQYMMU.js → YGOEYFXY.js} +1 -1
  91. package/dist/__chunks/{YSRQYMMU.js.map → YGOEYFXY.js.map} +1 -1
  92. package/dist/index.css +53 -49
  93. package/dist/index.css.map +1 -1
  94. package/dist/index.js +23 -23
  95. package/package.json +3 -3
  96. /package/dist/__chunks/{WAGE57PF.js.map → 3TH6B66Z.js.map} +0 -0
  97. /package/dist/__chunks/{A4YV2G5E.js.map → 7ZKXYLXP.js.map} +0 -0
  98. /package/dist/__chunks/{V6TACYID.js.map → A2BLWAHB.js.map} +0 -0
  99. /package/dist/__chunks/{3CVV6PAD.js.map → CLVZ4FOV.js.map} +0 -0
  100. /package/dist/__chunks/{HVUDEKZ4.js.map → EJEDQLJI.js.map} +0 -0
  101. /package/dist/__chunks/{VVBRZJ24.js.map → EKSO3SO5.js.map} +0 -0
  102. /package/dist/__chunks/{DIZ2AM3O.js.map → IOLXYFOT.js.map} +0 -0
  103. /package/dist/__chunks/{4DDCK4YC.js.map → J2CULO5Z.js.map} +0 -0
  104. /package/dist/__chunks/{TZ6K2QOX.js.map → JEQOCPG6.js.map} +0 -0
  105. /package/dist/__chunks/{JVYDT3KG.js.map → JRSIZ3OC.js.map} +0 -0
  106. /package/dist/__chunks/{QGKN6QPT.js.map → JXOW2OYL.js.map} +0 -0
  107. /package/dist/__chunks/{LIAZJ67M.js.map → KURNAKIN.js.map} +0 -0
  108. /package/dist/__chunks/{TKDQXKWS.js.map → L3O26KOI.js.map} +0 -0
  109. /package/dist/__chunks/{2BHS5CFG.js.map → MEW6HJNQ.js.map} +0 -0
  110. /package/dist/__chunks/{KYB756P2.js.map → ND2XGXML.js.map} +0 -0
  111. /package/dist/__chunks/{Q3GETQTJ.js.map → NXXK4RDM.js.map} +0 -0
  112. /package/dist/__chunks/{22DOBTM6.js.map → OSGJ5HDK.js.map} +0 -0
  113. /package/dist/__chunks/{37HO7CY6.js.map → SFIVTUDU.js.map} +0 -0
  114. /package/dist/__chunks/{4QIAQ7OT.js.map → TNRDWSUF.js.map} +0 -0
  115. /package/dist/__chunks/{5QR4GKVY.js.map → VXX4H2RU.js.map} +0 -0
  116. /package/dist/__chunks/{OYZNL37T.js.map → XATRX37Q.js.map} +0 -0
@@ -4,19 +4,19 @@ import {
4
4
  } from "./36DG472B.js";
5
5
  import {
6
6
  Button_default
7
- } from "./2BHS5CFG.js";
7
+ } from "./MEW6HJNQ.js";
8
8
  import {
9
9
  Divider
10
10
  } from "./3WKVZ2UU.js";
11
11
  import {
12
12
  RichSelectSection_default
13
- } from "./LIAZJ67M.js";
13
+ } from "./KURNAKIN.js";
14
14
  import {
15
15
  RichSelectRadioButton_default
16
- } from "./KYB756P2.js";
16
+ } from "./ND2XGXML.js";
17
17
  import {
18
18
  RichSelectChip_default
19
- } from "./WAGE57PF.js";
19
+ } from "./3TH6B66Z.js";
20
20
  import {
21
21
  RichSelectItemContext,
22
22
  RichSelect_module_default
@@ -208,4 +208,4 @@ export {
208
208
  RichSelectBoxContext,
209
209
  RichSelectBox_default
210
210
  };
211
- //# sourceMappingURL=3CVV6PAD.js.map
211
+ //# sourceMappingURL=CLVZ4FOV.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./X552U42S.js";
8
8
  import {
9
9
  Typography_default
10
- } from "./MPRB6RD7.js";
10
+ } from "./IDX7RWVA.js";
11
11
  import {
12
12
  useIsHydrated
13
13
  } from "./JB65NEXK.js";
@@ -127,4 +127,4 @@ var RadioButton_default = RadioButton;
127
127
  export {
128
128
  RadioButton_default
129
129
  };
130
- //# sourceMappingURL=HVUDEKZ4.js.map
130
+ //# sourceMappingURL=EJEDQLJI.js.map
@@ -1,13 +1,13 @@
1
1
  "use client"
2
2
  import {
3
3
  Badge_default
4
- } from "./4DDCK4YC.js";
4
+ } from "./J2CULO5Z.js";
5
5
  import {
6
6
  Box_default
7
7
  } from "./X552U42S.js";
8
8
  import {
9
9
  Typography_default
10
- } from "./MPRB6RD7.js";
10
+ } from "./IDX7RWVA.js";
11
11
  import {
12
12
  useIsHydrated
13
13
  } from "./JB65NEXK.js";
@@ -118,4 +118,4 @@ function TextField({
118
118
  export {
119
119
  TextField
120
120
  };
121
- //# sourceMappingURL=VVBRZJ24.js.map
121
+ //# sourceMappingURL=EKSO3SO5.js.map
@@ -8,7 +8,7 @@ import classNames from "classnames";
8
8
  import { forwardRef } from "react";
9
9
 
10
10
  // css-module:./Typography.module.css#css-module
11
- var Typography_module_default = { "typography": "_typography_1x77l_1", "sansSerif": "_sansSerif_1x77l_22", "serif": "_serif_1x77l_27", "size0": "_size0_1x77l_73", "size100": "_size100_1x77l_77", "size200": "_size200_1x77l_81", "size300": "_size300_1x77l_85", "size400": "_size400_1x77l_89", "size500": "_size500_1x77l_93", "size700": "_size700_1x77l_97", "size800": "_size800_1x77l_101", "size900": "_size900_1x77l_105", "size1100": "_size1100_1x77l_109", "center": "_center_1x77l_137", "forceLeft": "_forceLeft_1x77l_141", "forceRight": "_forceRight_1x77l_145", "start": "_start_1x77l_149", "end": "_end_1x77l_153", "regular": "_regular_1x77l_159", "medium": "_medium_1x77l_163", "semiBold": "_semiBold_1x77l_167", "bold": "_bold_1x77l_171", "underline": "_underline_1x77l_175", "inline": "_inline_1x77l_179", "uppercase": "_uppercase_1x77l_183", "lineClamp": "_lineClamp_1x77l_187", "p100": "_p100_1x77l_196", "p200": "_p200_1x77l_200", "p300": "_p300_1x77l_204", "p400": "_p400_1x77l_208", "p500": "_p500_1x77l_212", "inherit": "_inherit_1x77l_217", "normal": "_normal_1x77l_221", "nowrap": "_nowrap_1x77l_225", "preLine": "_preLine_1x77l_229" };
11
+ var Typography_module_default = { "typography": "_typography_qb8k0_1", "sansSerif": "_sansSerif_qb8k0_22", "serif": "_serif_qb8k0_27", "size0": "_size0_qb8k0_73", "size100": "_size100_qb8k0_77", "size200": "_size200_qb8k0_81", "size300": "_size300_qb8k0_85", "size400": "_size400_qb8k0_89", "size500": "_size500_qb8k0_93", "size700": "_size700_qb8k0_97", "size800": "_size800_qb8k0_101", "size900": "_size900_qb8k0_105", "size1100": "_size1100_qb8k0_109", "center": "_center_qb8k0_137", "forceLeft": "_forceLeft_qb8k0_141", "forceRight": "_forceRight_qb8k0_145", "start": "_start_qb8k0_149", "end": "_end_qb8k0_153", "regular": "_regular_qb8k0_159", "medium": "_medium_qb8k0_163", "semiBold": "_semiBold_qb8k0_167", "bold": "_bold_qb8k0_171", "underline": "_underline_qb8k0_175", "inline": "_inline_qb8k0_179", "uppercase": "_uppercase_qb8k0_183", "lineClamp": "_lineClamp_qb8k0_187", "p100": "_p100_qb8k0_196", "p200": "_p200_qb8k0_200", "p300": "_p300_qb8k0_204", "p400": "_p400_qb8k0_208", "p500": "_p500_qb8k0_212", "inherit": "_inherit_qb8k0_217", "normal": "_normal_qb8k0_221", "nowrap": "_nowrap_qb8k0_225", "preLine": "_preLine_qb8k0_229" };
12
12
 
13
13
  // src/Typography/Typography.tsx
14
14
  import { jsx } from "react/jsx-runtime";
@@ -63,4 +63,4 @@ var Typography_default = Typography;
63
63
  export {
64
64
  Typography_default
65
65
  };
66
- //# sourceMappingURL=MPRB6RD7.js.map
66
+ //# sourceMappingURL=IDX7RWVA.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 textColor from \"../colors/textColors\";\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\" | \"p\";\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 | \"destructive-lightBackground\"\n | \"success\"\n | \"success-darkBackground\"\n | \"white\"\n | \"white-secondary\"\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 * * `0`: 12px\n * * `100`: 13px\n * * `200`: 16px\n * * `300`: 19px\n * * `400`: 25px\n * * `500`: 32px\n * * `700`: 38px\n * * `800`: 46px\n * * `900`: 55px\n * * `1100`: 83px\n *\n * Desktop (viewport width > 480px):\n * * `0`: 12px\n * * `100`: 13px\n * * `200`: 16px\n * * `300`: 20px\n * * `400`: 25px\n * * `500`: 32px\n * * `700`: 44px\n * * `800`: 63px\n * * `900`: 76px\n * * `1100`: 119px\n *\n * @defaultValue 200\n */\n size?: 0 | 100 | 200 | 300 | 400 | 500 | 700 | 800 | 900 | 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 * Controls how whitespace within the element is handled.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space\n *\n * @defaultValue \"inherit\"\n */\n whiteSpace?: \"inherit\" | \"normal\" | \"nowrap\" | \"preLine\";\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 whiteSpace = \"inherit\",\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 styles[whiteSpace],\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 as === \"p\" && styles[`p${size}`],\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_1x77l_1\",\"sansSerif\":\"_sansSerif_1x77l_22\",\"serif\":\"_serif_1x77l_27\",\"size0\":\"_size0_1x77l_73\",\"size100\":\"_size100_1x77l_77\",\"size200\":\"_size200_1x77l_81\",\"size300\":\"_size300_1x77l_85\",\"size400\":\"_size400_1x77l_89\",\"size500\":\"_size500_1x77l_93\",\"size700\":\"_size700_1x77l_97\",\"size800\":\"_size800_1x77l_101\",\"size900\":\"_size900_1x77l_105\",\"size1100\":\"_size1100_1x77l_109\",\"center\":\"_center_1x77l_137\",\"forceLeft\":\"_forceLeft_1x77l_141\",\"forceRight\":\"_forceRight_1x77l_145\",\"start\":\"_start_1x77l_149\",\"end\":\"_end_1x77l_153\",\"regular\":\"_regular_1x77l_159\",\"medium\":\"_medium_1x77l_163\",\"semiBold\":\"_semiBold_1x77l_167\",\"bold\":\"_bold_1x77l_171\",\"underline\":\"_underline_1x77l_175\",\"inline\":\"_inline_1x77l_179\",\"uppercase\":\"_uppercase_1x77l_183\",\"lineClamp\":\"_lineClamp_1x77l_187\",\"p100\":\"_p100_1x77l_196\",\"p200\":\"_p200_1x77l_200\",\"p300\":\"_p300_1x77l_204\",\"p400\":\"_p400_1x77l_208\",\"p500\":\"_p500_1x77l_212\",\"inherit\":\"_inherit_1x77l_217\",\"normal\":\"_normal_1x77l_221\",\"nowrap\":\"_nowrap_1x77l_225\",\"preLine\":\"_preLine_1x77l_229\"}"],"mappings":";;;;;;AAAA,OAAO,gBAAgB;AACvB,SAAS,kBAAqD;;;ACDsC,IAAO,4BAAQ,EAAC,cAAa,uBAAsB,aAAY,uBAAsB,SAAQ,mBAAkB,SAAQ,mBAAkB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,sBAAqB,WAAU,sBAAqB,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,wBAAuB,QAAO,mBAAkB,QAAO,mBAAkB,QAAO,mBAAkB,QAAO,mBAAkB,QAAO,mBAAkB,WAAU,sBAAqB,UAAS,qBAAoB,UAAS,qBAAoB,WAAU,qBAAoB;;;ADiKnoC;AAzJJ,IAAM,aAAa,WAkIjB,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;AAAA,EACT,aAAa;AACf,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,0BAAO,UAAU;AAAA,QACjB,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,QAC5B,OAAO,OAAO,0BAAO,IAAI,MAAM;AAAA,MACjC;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
+ {"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 textColor from \"../colors/textColors\";\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\" | \"p\";\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 | \"destructive-lightBackground\"\n | \"success\"\n | \"success-darkBackground\"\n | \"white\"\n | \"white-secondary\"\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 * * `0`: 12px\n * * `100`: 13px\n * * `200`: 16px\n * * `300`: 19px\n * * `400`: 25px\n * * `500`: 32px\n * * `700`: 38px\n * * `800`: 46px\n * * `900`: 55px\n * * `1100`: 83px\n *\n * Desktop (viewport width > 480px):\n * * `0`: 12px\n * * `100`: 13px\n * * `200`: 16px\n * * `300`: 20px\n * * `400`: 25px\n * * `500`: 32px\n * * `700`: 44px\n * * `800`: 63px\n * * `900`: 76px\n * * `1100`: 119px\n *\n * @defaultValue 200\n */\n size?: 0 | 100 | 200 | 300 | 400 | 500 | 700 | 800 | 900 | 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 * Controls how whitespace within the element is handled.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space\n *\n * @defaultValue \"inherit\"\n */\n whiteSpace?: \"inherit\" | \"normal\" | \"nowrap\" | \"preLine\";\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 whiteSpace = \"inherit\",\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 styles[whiteSpace],\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 as === \"p\" && styles[`p${size}`],\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_qb8k0_1\",\"sansSerif\":\"_sansSerif_qb8k0_22\",\"serif\":\"_serif_qb8k0_27\",\"size0\":\"_size0_qb8k0_73\",\"size100\":\"_size100_qb8k0_77\",\"size200\":\"_size200_qb8k0_81\",\"size300\":\"_size300_qb8k0_85\",\"size400\":\"_size400_qb8k0_89\",\"size500\":\"_size500_qb8k0_93\",\"size700\":\"_size700_qb8k0_97\",\"size800\":\"_size800_qb8k0_101\",\"size900\":\"_size900_qb8k0_105\",\"size1100\":\"_size1100_qb8k0_109\",\"center\":\"_center_qb8k0_137\",\"forceLeft\":\"_forceLeft_qb8k0_141\",\"forceRight\":\"_forceRight_qb8k0_145\",\"start\":\"_start_qb8k0_149\",\"end\":\"_end_qb8k0_153\",\"regular\":\"_regular_qb8k0_159\",\"medium\":\"_medium_qb8k0_163\",\"semiBold\":\"_semiBold_qb8k0_167\",\"bold\":\"_bold_qb8k0_171\",\"underline\":\"_underline_qb8k0_175\",\"inline\":\"_inline_qb8k0_179\",\"uppercase\":\"_uppercase_qb8k0_183\",\"lineClamp\":\"_lineClamp_qb8k0_187\",\"p100\":\"_p100_qb8k0_196\",\"p200\":\"_p200_qb8k0_200\",\"p300\":\"_p300_qb8k0_204\",\"p400\":\"_p400_qb8k0_208\",\"p500\":\"_p500_qb8k0_212\",\"inherit\":\"_inherit_qb8k0_217\",\"normal\":\"_normal_qb8k0_221\",\"nowrap\":\"_nowrap_qb8k0_225\",\"preLine\":\"_preLine_qb8k0_229\"}"],"mappings":";;;;;;AAAA,OAAO,gBAAgB;AACvB,SAAS,kBAAqD;;;ACDsC,IAAO,4BAAQ,EAAC,cAAa,uBAAsB,aAAY,uBAAsB,SAAQ,mBAAkB,SAAQ,mBAAkB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,qBAAoB,WAAU,sBAAqB,WAAU,sBAAqB,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,wBAAuB,QAAO,mBAAkB,QAAO,mBAAkB,QAAO,mBAAkB,QAAO,mBAAkB,QAAO,mBAAkB,WAAU,sBAAqB,UAAS,qBAAoB,UAAS,qBAAoB,WAAU,qBAAoB;;;ADiKnoC;AAzJJ,IAAM,aAAa,WAkIjB,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;AAAA,EACT,aAAa;AACf,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,0BAAO,UAAU;AAAA,QACjB,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,QAC5B,OAAO,OAAO,0BAAO,IAAI,MAAM;AAAA,MACjC;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"]}
@@ -4,7 +4,7 @@ import {
4
4
  } from "./KKADUD65.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MPRB6RD7.js";
7
+ } from "./IDX7RWVA.js";
8
8
  import {
9
9
  useIsHydrated
10
10
  } from "./JB65NEXK.js";
@@ -114,4 +114,4 @@ var Checkbox_default = Checkbox;
114
114
  export {
115
115
  Checkbox_default
116
116
  };
117
- //# sourceMappingURL=DIZ2AM3O.js.map
117
+ //# sourceMappingURL=IOLXYFOT.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./X552U42S.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MPRB6RD7.js";
7
+ } from "./IDX7RWVA.js";
8
8
 
9
9
  // css-module:./Badge.module.css#css-module
10
10
  var Badge_module_default = { "icon": "_icon_1g9xb_1" };
@@ -74,4 +74,4 @@ var Badge_default = Badge;
74
74
  export {
75
75
  Badge_default
76
76
  };
77
- //# sourceMappingURL=4DDCK4YC.js.map
77
+ //# sourceMappingURL=J2CULO5Z.js.map
@@ -23,7 +23,7 @@ import {
23
23
  } from "./RSS2H4EE.js";
24
24
  import {
25
25
  Typography_default
26
- } from "./MPRB6RD7.js";
26
+ } from "./IDX7RWVA.js";
27
27
 
28
28
  // src/LinkButton/LinkButton.tsx
29
29
  import {
@@ -138,4 +138,4 @@ var LinkButton_default = LinkButton;
138
138
  export {
139
139
  LinkButton_default
140
140
  };
141
- //# sourceMappingURL=TZ6K2QOX.js.map
141
+ //# sourceMappingURL=JEQOCPG6.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./X552U42S.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MPRB6RD7.js";
7
+ } from "./IDX7RWVA.js";
8
8
  import {
9
9
  useIsHydrated
10
10
  } from "./JB65NEXK.js";
@@ -88,4 +88,4 @@ var Chip_default = Chip;
88
88
  export {
89
89
  Chip_default
90
90
  };
91
- //# sourceMappingURL=JVYDT3KG.js.map
91
+ //# sourceMappingURL=JRSIZ3OC.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./VV2NJABK.js";
5
5
  import {
6
6
  TabInternal
7
- } from "./TKDQXKWS.js";
7
+ } from "./L3O26KOI.js";
8
8
  import {
9
9
  Box_default
10
10
  } from "./X552U42S.js";
@@ -72,4 +72,4 @@ var TabLink_default = TabLink;
72
72
  export {
73
73
  TabLink_default
74
74
  };
75
- //# sourceMappingURL=QGKN6QPT.js.map
75
+ //# sourceMappingURL=JXOW2OYL.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./AVREYFSM.js";
8
8
  import {
9
9
  Typography_default
10
- } from "./MPRB6RD7.js";
10
+ } from "./IDX7RWVA.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=LIAZJ67M.js.map
53
+ //# sourceMappingURL=KURNAKIN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./X552U42S.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MPRB6RD7.js";
7
+ } from "./IDX7RWVA.js";
8
8
  import {
9
9
  colors_module_default
10
10
  } from "./QIMMO3OB.js";
@@ -98,4 +98,4 @@ function TabInternal({
98
98
  export {
99
99
  TabInternal
100
100
  };
101
- //# sourceMappingURL=TKDQXKWS.js.map
101
+ //# sourceMappingURL=L3O26KOI.js.map
@@ -23,7 +23,7 @@ import {
23
23
  } from "./X552U42S.js";
24
24
  import {
25
25
  Typography_default
26
- } from "./MPRB6RD7.js";
26
+ } from "./IDX7RWVA.js";
27
27
  import {
28
28
  useIsHydrated
29
29
  } from "./JB65NEXK.js";
@@ -146,4 +146,4 @@ var Button_default = Button;
146
146
  export {
147
147
  Button_default
148
148
  };
149
- //# sourceMappingURL=2BHS5CFG.js.map
149
+ //# sourceMappingURL=MEW6HJNQ.js.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  RadioButton_default
4
- } from "./HVUDEKZ4.js";
4
+ } from "./EJEDQLJI.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=KYB756P2.js.map
40
+ //# sourceMappingURL=ND2XGXML.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./X552U42S.js";
5
5
  import {
6
6
  Typography_default
7
- } from "./MPRB6RD7.js";
7
+ } from "./IDX7RWVA.js";
8
8
  import {
9
9
  useIsHydrated
10
10
  } from "./JB65NEXK.js";
@@ -99,4 +99,4 @@ var TextArea_default = TextArea;
99
99
  export {
100
100
  TextArea_default
101
101
  };
102
- //# sourceMappingURL=Q3GETQTJ.js.map
102
+ //# sourceMappingURL=NXXK4RDM.js.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Heading_default
4
- } from "./37HO7CY6.js";
4
+ } from "./SFIVTUDU.js";
5
5
  import {
6
6
  StopScroll
7
7
  } from "./QQT35OLE.js";
@@ -130,4 +130,4 @@ Modal.displayName = "Modal";
130
130
  export {
131
131
  Modal
132
132
  };
133
- //# sourceMappingURL=22DOBTM6.js.map
133
+ //# sourceMappingURL=OSGJ5HDK.js.map
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Typography_default
4
- } from "./MPRB6RD7.js";
4
+ } from "./IDX7RWVA.js";
5
5
 
6
6
  // src/Heading/Heading.tsx
7
7
  import { jsx } from "react/jsx-runtime";
@@ -47,4 +47,4 @@ var Heading_default = Heading;
47
47
  export {
48
48
  Heading_default
49
49
  };
50
- //# sourceMappingURL=37HO7CY6.js.map
50
+ //# sourceMappingURL=SFIVTUDU.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./KBIW5XV4.js";
11
11
  import {
12
12
  Typography_default
13
- } from "./MPRB6RD7.js";
13
+ } from "./IDX7RWVA.js";
14
14
  import {
15
15
  colors_module_default
16
16
  } from "./QIMMO3OB.js";
@@ -166,4 +166,4 @@ export {
166
166
  AriaTooltip,
167
167
  Tooltip_default
168
168
  };
169
- //# sourceMappingURL=4QIAQ7OT.js.map
169
+ //# sourceMappingURL=TNRDWSUF.js.map
@@ -6,7 +6,7 @@ import {
6
6
  ColorBaseDestructive700,
7
7
  ColorBaseGray700,
8
8
  ColorCambioWhite100
9
- } from "./YSRQYMMU.js";
9
+ } from "./YGOEYFXY.js";
10
10
  import {
11
11
  Focus_module_default
12
12
  } from "./KKADUD65.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./X552U42S.js";
16
16
  import {
17
17
  Typography_default
18
- } from "./MPRB6RD7.js";
18
+ } from "./IDX7RWVA.js";
19
19
  import {
20
20
  useIsHydrated
21
21
  } from "./JB65NEXK.js";
@@ -140,4 +140,4 @@ SelectList.Option = SelectOption_default;
140
140
  export {
141
141
  SelectList
142
142
  };
143
- //# sourceMappingURL=5QR4GKVY.js.map
143
+ //# sourceMappingURL=VXX4H2RU.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./VV2NJABK.js";
8
8
  import {
9
9
  TabInternal
10
- } from "./TKDQXKWS.js";
10
+ } from "./L3O26KOI.js";
11
11
  import {
12
12
  Box_default
13
13
  } from "./X552U42S.js";
@@ -64,4 +64,4 @@ function TabButton({
64
64
  export {
65
65
  TabButton
66
66
  };
67
- //# sourceMappingURL=OYZNL37T.js.map
67
+ //# sourceMappingURL=XATRX37Q.js.map
@@ -10,4 +10,4 @@ export {
10
10
  ColorBaseGray700,
11
11
  ColorCambioWhite100
12
12
  };
13
- //# sourceMappingURL=YSRQYMMU.js.map
13
+ //# sourceMappingURL=YGOEYFXY.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Fri, 01 Nov 2024 20:46:04 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 ColorCambioWhite40 = \"#ffffff\";\nexport const ColorCambioWhite70 = \"#ffffff\";\nexport const ColorCambioWhite100 = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray270 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#5e5952\";\nexport const ColorCambioGray800 = \"#363432\";\nexport const ColorCambioGray870 = \"#5e5952\";\nexport const ColorCambioGray900 = \"#262625\";\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\";\nexport const ShadowInteractive = \"0px 3px 16px 0px rgba(144, 134, 130, 0.05), 0px 2px 30px 0px rgba(144, 134, 130, 0.02)\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB;","names":[]}
1
+ {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Thu, 07 Nov 2024 06:00:41 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 ColorCambioWhite40 = \"#ffffff\";\nexport const ColorCambioWhite70 = \"#ffffff\";\nexport const ColorCambioWhite100 = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray270 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#5e5952\";\nexport const ColorCambioGray800 = \"#363432\";\nexport const ColorCambioGray870 = \"#5e5952\";\nexport const ColorCambioGray900 = \"#262625\";\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\";\nexport const ShadowInteractive = \"0px 3px 16px 0px rgba(144, 134, 130, 0.05), 0px 2px 30px 0px rgba(144, 134, 130, 0.02)\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB;","names":[]}
package/dist/index.css CHANGED
@@ -2296,7 +2296,7 @@
2296
2296
  }
2297
2297
 
2298
2298
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css/#css-module-data */
2299
- ._typography_1x77l_1 {
2299
+ ._typography_qb8k0_1 {
2300
2300
  line-height: initial;
2301
2301
  margin: 0;
2302
2302
  }
@@ -2312,144 +2312,148 @@
2312
2312
  font-weight: 700;
2313
2313
  src: local("GT-Super-Text-Bold"), url(https://static.cambly.com/fonts/gt-super-text-bold-final.woff2);
2314
2314
  }
2315
- ._sansSerif_1x77l_22 {
2315
+ ._sansSerif_qb8k0_22 {
2316
2316
  font-family: var(--syntax-font-sans-serif);
2317
2317
  margin: 0;
2318
2318
  }
2319
- ._serif_1x77l_27 {
2319
+ ._serif_qb8k0_27 {
2320
2320
  font-family: var( --syntax-font-sans-serif );
2321
2321
  }
2322
- :lang(en) ._serif_1x77l_27,
2323
- :lang(az) ._serif_1x77l_27,
2324
- :lang(fr) ._serif_1x77l_27,
2325
- :lang(de) ._serif_1x77l_27,
2326
- :lang(es) ._serif_1x77l_27,
2327
- :lang(it) ._serif_1x77l_27,
2328
- :lang(pl) ._serif_1x77l_27,
2329
- :lang(pt) ._serif_1x77l_27,
2330
- :lang(tr) ._serif_1x77l_27 {
2322
+ :lang(en) ._serif_qb8k0_27,
2323
+ :lang(az) ._serif_qb8k0_27,
2324
+ :lang(fr) ._serif_qb8k0_27,
2325
+ :lang(de) ._serif_qb8k0_27,
2326
+ :lang(es) ._serif_qb8k0_27,
2327
+ :lang(it) ._serif_qb8k0_27,
2328
+ :lang(pl) ._serif_qb8k0_27,
2329
+ :lang(pt) ._serif_qb8k0_27,
2330
+ :lang(tr) ._serif_qb8k0_27 {
2331
2331
  font-family: "GT Super", var(--syntax-font-sans-serif);
2332
2332
  -webkit-font-smoothing: antialiased;
2333
2333
  letter-spacing: -0.02em;
2334
2334
  line-height: 1.15em;
2335
2335
  }
2336
- ._size0_1x77l_73 {
2336
+ ._size0_qb8k0_73 {
2337
2337
  font-size: 12px;
2338
2338
  }
2339
- ._size100_1x77l_77 {
2339
+ ._size100_qb8k0_77 {
2340
2340
  font-size: 13px;
2341
2341
  }
2342
- ._size200_1x77l_81 {
2342
+ ._size200_qb8k0_81 {
2343
2343
  font-size: 16px;
2344
2344
  }
2345
- ._size300_1x77l_85 {
2345
+ ._size300_qb8k0_85 {
2346
2346
  font-size: 19px;
2347
2347
  }
2348
- ._size400_1x77l_89 {
2348
+ ._size400_qb8k0_89 {
2349
2349
  font-size: 25px;
2350
2350
  }
2351
- ._size500_1x77l_93 {
2351
+ ._size500_qb8k0_93 {
2352
2352
  font-size: 32px;
2353
2353
  }
2354
- ._size700_1x77l_97 {
2354
+ ._size700_qb8k0_97 {
2355
2355
  font-size: 38px;
2356
2356
  }
2357
- ._size800_1x77l_101 {
2357
+ ._size800_qb8k0_101 {
2358
2358
  font-size: 46px;
2359
2359
  }
2360
- ._size900_1x77l_105 {
2360
+ ._size900_qb8k0_105 {
2361
2361
  font-size: 55px;
2362
2362
  }
2363
- ._size1100_1x77l_109 {
2363
+ ._size1100_qb8k0_109 {
2364
2364
  font-size: 83px;
2365
2365
  }
2366
2366
  @media (min-width: 480px) {
2367
- ._size300_1x77l_85 {
2367
+ ._size300_qb8k0_85 {
2368
2368
  font-size: 20px;
2369
2369
  }
2370
- ._size700_1x77l_97 {
2370
+ ._size700_qb8k0_97 {
2371
2371
  font-size: 44px;
2372
2372
  }
2373
- ._size800_1x77l_101 {
2373
+ ._size800_qb8k0_101 {
2374
2374
  font-size: 63px;
2375
2375
  }
2376
- ._size900_1x77l_105 {
2376
+ ._size900_qb8k0_105 {
2377
2377
  font-size: 76px;
2378
2378
  }
2379
- ._size1100_1x77l_109 {
2379
+ ._size1100_qb8k0_109 {
2380
2380
  font-size: 119px;
2381
2381
  }
2382
2382
  }
2383
- ._center_1x77l_137 {
2383
+ ._center_qb8k0_137 {
2384
2384
  text-align: center;
2385
2385
  }
2386
- ._forceLeft_1x77l_141 {
2386
+ ._forceLeft_qb8k0_141 {
2387
2387
  text-align: left;
2388
2388
  }
2389
- ._forceRight_1x77l_145 {
2389
+ ._forceRight_qb8k0_145 {
2390
2390
  text-align: right;
2391
2391
  }
2392
- ._start_1x77l_149 {
2392
+ ._start_qb8k0_149 {
2393
2393
  text-align: start;
2394
2394
  }
2395
- ._end_1x77l_153 {
2395
+ ._end_qb8k0_153 {
2396
2396
  text-align: end;
2397
2397
  }
2398
- ._regular_1x77l_159 {
2398
+ ._regular_qb8k0_159 {
2399
2399
  font-weight: 400;
2400
2400
  }
2401
- ._medium_1x77l_163 {
2401
+ ._medium_qb8k0_163 {
2402
2402
  font-weight: 510;
2403
2403
  }
2404
- ._semiBold_1x77l_167 {
2404
+ ._semiBold_qb8k0_167 {
2405
2405
  font-weight: 590;
2406
2406
  }
2407
- ._bold_1x77l_171 {
2407
+ ._bold_qb8k0_171 {
2408
2408
  font-weight: 700;
2409
2409
  }
2410
- ._underline_1x77l_175 {
2410
+ ._underline_qb8k0_175 {
2411
2411
  text-decoration: underline;
2412
2412
  }
2413
- ._inline_1x77l_179 {
2413
+ ._inline_qb8k0_179 {
2414
2414
  display: inline;
2415
2415
  }
2416
- ._uppercase_1x77l_183 {
2416
+ ._uppercase_qb8k0_183 {
2417
2417
  text-transform: uppercase;
2418
2418
  }
2419
- ._lineClamp_1x77l_187 {
2419
+ ._lineClamp_qb8k0_187 {
2420
2420
  -webkit-box-orient: vertical;
2421
2421
  display: -webkit-box;
2422
2422
  max-width: 100%;
2423
2423
  overflow: hidden;
2424
2424
  word-break: break-word;
2425
2425
  }
2426
- ._p100_1x77l_196 {
2426
+ ._p100_qb8k0_196 {
2427
2427
  line-height: 150%;
2428
2428
  }
2429
- ._p200_1x77l_200 {
2429
+ ._p200_qb8k0_200 {
2430
2430
  line-height: 150%;
2431
2431
  }
2432
- ._p300_1x77l_204 {
2432
+ ._p300_qb8k0_204 {
2433
2433
  line-height: 140%;
2434
2434
  }
2435
- ._p400_1x77l_208 {
2435
+ ._p400_qb8k0_208 {
2436
2436
  line-height: 130%;
2437
2437
  }
2438
- ._p500_1x77l_212 {
2438
+ ._p500_qb8k0_212 {
2439
2439
  line-height: 115%;
2440
2440
  }
2441
- ._inherit_1x77l_217 {
2441
+ ._inherit_qb8k0_217 {
2442
2442
  white-space: inherit;
2443
2443
  }
2444
- ._normal_1x77l_221 {
2444
+ ._normal_qb8k0_221 {
2445
2445
  white-space: normal;
2446
2446
  }
2447
- ._nowrap_1x77l_225 {
2447
+ ._nowrap_qb8k0_225 {
2448
2448
  white-space: nowrap;
2449
2449
  }
2450
- ._preLine_1x77l_229 {
2450
+ ._preLine_qb8k0_229 {
2451
2451
  white-space: pre-line;
2452
2452
  }
2453
+ :lang(ko),
2454
+ ._typography_qb8k0_1 {
2455
+ word-break: keep-all;
2456
+ }
2453
2457
 
2454
2458
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Badge/Badge.module.css/#css-module-data */
2455
2459
  ._icon_1g9xb_1 {