@cambly/syntax-core 23.1.0 → 23.3.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 (132) hide show
  1. package/dist/Badge/Badge.css +83 -50
  2. package/dist/Badge/Badge.css.map +1 -1
  3. package/dist/Badge/Badge.js +2 -2
  4. package/dist/Button/Button.css +83 -50
  5. package/dist/Button/Button.css.map +1 -1
  6. package/dist/Button/Button.js +2 -2
  7. package/dist/Checkbox/Checkbox.css +83 -50
  8. package/dist/Checkbox/Checkbox.css.map +1 -1
  9. package/dist/Checkbox/Checkbox.js +2 -2
  10. package/dist/Chip/Chip.css +83 -50
  11. package/dist/Chip/Chip.css.map +1 -1
  12. package/dist/Chip/Chip.js +2 -2
  13. package/dist/Heading/Heading.css +83 -50
  14. package/dist/Heading/Heading.css.map +1 -1
  15. package/dist/Heading/Heading.d.ts +1 -1
  16. package/dist/Heading/Heading.js +2 -2
  17. package/dist/LinkButton/LinkButton.css +83 -50
  18. package/dist/LinkButton/LinkButton.css.map +1 -1
  19. package/dist/LinkButton/LinkButton.js +2 -2
  20. package/dist/Modal/Modal.css +83 -50
  21. package/dist/Modal/Modal.css.map +1 -1
  22. package/dist/Modal/Modal.js +3 -3
  23. package/dist/RadioButton/RadioButton.css +83 -50
  24. package/dist/RadioButton/RadioButton.css.map +1 -1
  25. package/dist/RadioButton/RadioButton.js +2 -2
  26. package/dist/RichSelect/RichSelectBox.css +83 -50
  27. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  28. package/dist/RichSelect/RichSelectBox.js +8 -8
  29. package/dist/RichSelect/RichSelectChip.css +83 -50
  30. package/dist/RichSelect/RichSelectChip.css.map +1 -1
  31. package/dist/RichSelect/RichSelectChip.js +3 -3
  32. package/dist/RichSelect/RichSelectList.css +83 -50
  33. package/dist/RichSelect/RichSelectList.css.map +1 -1
  34. package/dist/RichSelect/RichSelectList.js +10 -10
  35. package/dist/RichSelect/RichSelectRadioButton.css +83 -50
  36. package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
  37. package/dist/RichSelect/RichSelectRadioButton.js +3 -3
  38. package/dist/RichSelect/RichSelectSection.css +83 -50
  39. package/dist/RichSelect/RichSelectSection.css.map +1 -1
  40. package/dist/RichSelect/RichSelectSection.js +2 -2
  41. package/dist/SelectList/SelectList.css +83 -50
  42. package/dist/SelectList/SelectList.css.map +1 -1
  43. package/dist/SelectList/SelectList.js +3 -3
  44. package/dist/TabButton/TabButton.css +83 -50
  45. package/dist/TabButton/TabButton.css.map +1 -1
  46. package/dist/TabButton/TabButton.js +3 -3
  47. package/dist/TabLink/TabLink.css +83 -50
  48. package/dist/TabLink/TabLink.css.map +1 -1
  49. package/dist/TabLink/TabLink.js +3 -3
  50. package/dist/Tabs/TabInternal.css +83 -50
  51. package/dist/Tabs/TabInternal.css.map +1 -1
  52. package/dist/Tabs/TabInternal.js +2 -2
  53. package/dist/TextArea/TextArea.css +83 -50
  54. package/dist/TextArea/TextArea.css.map +1 -1
  55. package/dist/TextArea/TextArea.d.ts +3 -3
  56. package/dist/TextArea/TextArea.js +2 -2
  57. package/dist/TextField/TextField.css +83 -50
  58. package/dist/TextField/TextField.css.map +1 -1
  59. package/dist/TextField/TextField.d.ts +6 -5
  60. package/dist/TextField/TextField.js +3 -3
  61. package/dist/ThemeProvider/ThemeProvider.js +1 -1
  62. package/dist/Toast/Toast.css +83 -50
  63. package/dist/Toast/Toast.css.map +1 -1
  64. package/dist/Toast/Toast.js +2 -2
  65. package/dist/Tooltip/Tooltip.css +83 -50
  66. package/dist/Tooltip/Tooltip.css.map +1 -1
  67. package/dist/Tooltip/Tooltip.js +2 -2
  68. package/dist/Typography/Typography.css +83 -50
  69. package/dist/Typography/Typography.css.map +1 -1
  70. package/dist/Typography/Typography.d.ts +1 -1
  71. package/dist/Typography/Typography.js +1 -1
  72. package/dist/WordConfetti/WordConfetti.css +83 -50
  73. package/dist/WordConfetti/WordConfetti.css.map +1 -1
  74. package/dist/WordConfetti/WordConfetti.js +2 -2
  75. package/dist/__chunks/{RQVUNK7V.js → 372EY6DW.js} +2 -2
  76. package/dist/__chunks/{N7G37EKF.js → 3YAHDPYE.js} +2 -2
  77. package/dist/__chunks/{FEJUKON5.js → 44TZM22I.js} +2 -2
  78. package/dist/__chunks/{UCZXBZIM.js → 4EBQUEZA.js} +2 -2
  79. package/dist/__chunks/{B5PWI2NT.js → 52BERSBJ.js} +2 -2
  80. package/dist/__chunks/{GBIA6TDE.js → 7NRE6FN5.js} +2 -2
  81. package/dist/__chunks/{OCGBS7FM.js → AIZIRJN2.js} +4 -3
  82. package/dist/__chunks/AIZIRJN2.js.map +1 -0
  83. package/dist/__chunks/{WJ4QY73I.js → BUUZ3DEG.js} +2 -2
  84. package/dist/__chunks/{LUK43ZOB.js → C2FOO36D.js} +2 -2
  85. package/dist/__chunks/{VULONMWO.js → EBH2OCYN.js} +4 -2
  86. package/dist/__chunks/EBH2OCYN.js.map +1 -0
  87. package/dist/__chunks/{3WCEI35J.js → ECZR66NC.js} +2 -2
  88. package/dist/__chunks/{UMJL2E7W.js → IAO2PPWW.js} +3 -3
  89. package/dist/__chunks/{ZJMZR5UG.js → M6VIDWDD.js} +5 -4
  90. package/dist/__chunks/M6VIDWDD.js.map +1 -0
  91. package/dist/__chunks/{AZ5EYAWP.js → MVUA4X3B.js} +2 -2
  92. package/dist/__chunks/{STLN5GZL.js → N2LGHBXL.js} +2 -2
  93. package/dist/__chunks/{X6FOFRMZ.js → NK6NDD54.js} +3 -3
  94. package/dist/__chunks/NK6NDD54.js.map +1 -0
  95. package/dist/__chunks/{TH3OGGTK.js → PFODFZVK.js} +2 -2
  96. package/dist/__chunks/{KTX4P4Q2.js → PGQI46L2.js} +2 -1
  97. package/dist/__chunks/{KTX4P4Q2.js.map → PGQI46L2.js.map} +1 -1
  98. package/dist/__chunks/{R6OBV53M.js → QHCYR2L2.js} +5 -5
  99. package/dist/__chunks/{66CPOSY2.js → RRDIBQ3V.js} +2 -2
  100. package/dist/__chunks/{RKMUJHPO.js → UKBNQCPX.js} +1 -1
  101. package/dist/__chunks/{RKMUJHPO.js.map → UKBNQCPX.js.map} +1 -1
  102. package/dist/__chunks/{C2XZYAYA.js → URIZD2JX.js} +2 -2
  103. package/dist/__chunks/{ECYEQCWJ.js → VOWGEJ5P.js} +7 -7
  104. package/dist/__chunks/{Y53Z25OG.js → XFZULXN6.js} +2 -2
  105. package/dist/__chunks/{7U6IF7U6.js → Y5C6VHET.js} +2 -2
  106. package/dist/index.css +83 -50
  107. package/dist/index.css.map +1 -1
  108. package/dist/index.js +25 -25
  109. package/package.json +2 -2
  110. package/dist/__chunks/OCGBS7FM.js.map +0 -1
  111. package/dist/__chunks/VULONMWO.js.map +0 -1
  112. package/dist/__chunks/X6FOFRMZ.js.map +0 -1
  113. package/dist/__chunks/ZJMZR5UG.js.map +0 -1
  114. /package/dist/__chunks/{RQVUNK7V.js.map → 372EY6DW.js.map} +0 -0
  115. /package/dist/__chunks/{N7G37EKF.js.map → 3YAHDPYE.js.map} +0 -0
  116. /package/dist/__chunks/{FEJUKON5.js.map → 44TZM22I.js.map} +0 -0
  117. /package/dist/__chunks/{UCZXBZIM.js.map → 4EBQUEZA.js.map} +0 -0
  118. /package/dist/__chunks/{B5PWI2NT.js.map → 52BERSBJ.js.map} +0 -0
  119. /package/dist/__chunks/{GBIA6TDE.js.map → 7NRE6FN5.js.map} +0 -0
  120. /package/dist/__chunks/{WJ4QY73I.js.map → BUUZ3DEG.js.map} +0 -0
  121. /package/dist/__chunks/{LUK43ZOB.js.map → C2FOO36D.js.map} +0 -0
  122. /package/dist/__chunks/{3WCEI35J.js.map → ECZR66NC.js.map} +0 -0
  123. /package/dist/__chunks/{UMJL2E7W.js.map → IAO2PPWW.js.map} +0 -0
  124. /package/dist/__chunks/{AZ5EYAWP.js.map → MVUA4X3B.js.map} +0 -0
  125. /package/dist/__chunks/{STLN5GZL.js.map → N2LGHBXL.js.map} +0 -0
  126. /package/dist/__chunks/{TH3OGGTK.js.map → PFODFZVK.js.map} +0 -0
  127. /package/dist/__chunks/{R6OBV53M.js.map → QHCYR2L2.js.map} +0 -0
  128. /package/dist/__chunks/{66CPOSY2.js.map → RRDIBQ3V.js.map} +0 -0
  129. /package/dist/__chunks/{C2XZYAYA.js.map → URIZD2JX.js.map} +0 -0
  130. /package/dist/__chunks/{ECYEQCWJ.js.map → VOWGEJ5P.js.map} +0 -0
  131. /package/dist/__chunks/{Y53Z25OG.js.map → XFZULXN6.js.map} +0 -0
  132. /package/dist/__chunks/{7U6IF7U6.js.map → Y5C6VHET.js.map} +0 -0
package/dist/index.css CHANGED
@@ -2296,20 +2296,20 @@
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_n4fyj_1 {
2299
+ ._typography_17ldg_1 {
2300
2300
  line-height: initial;
2301
2301
  margin: 0;
2302
2302
  }
2303
- ._underline_n4fyj_6 {
2303
+ ._underline_17ldg_6 {
2304
2304
  text-decoration: underline;
2305
2305
  }
2306
- ._inline_n4fyj_10 {
2306
+ ._inline_17ldg_10 {
2307
2307
  display: inline;
2308
2308
  }
2309
- ._uppercase_n4fyj_14 {
2309
+ ._uppercase_17ldg_14 {
2310
2310
  text-transform: uppercase;
2311
2311
  }
2312
- ._lineClamp_n4fyj_18 {
2312
+ ._lineClamp_17ldg_18 {
2313
2313
  -webkit-box-orient: vertical;
2314
2314
  display: -webkit-box;
2315
2315
  max-width: 100%;
@@ -2328,129 +2328,162 @@
2328
2328
  font-weight: 700;
2329
2329
  src: local("GT-Super-Text-Bold"), url(https://static.cambly.com/fonts/gt-super-text-bold-final.woff2);
2330
2330
  }
2331
- ._sansSerif_n4fyj_42 {
2331
+ @font-face {
2332
+ font-family: Garnett;
2333
+ font-style: normal;
2334
+ font-weight: 400;
2335
+ src: local("Garnett-Regular"), url(https://static.cambly.com/fonts/Garnett-Regular.woff);
2336
+ }
2337
+ @font-face {
2338
+ font-family: Garnett;
2339
+ font-style: normal;
2340
+ font-weight: 510;
2341
+ src: local("Garnett-Medium"), url(https://static.cambly.com/fonts/Garnett-Medium.woff);
2342
+ }
2343
+ @font-face {
2344
+ font-family: Garnett;
2345
+ font-style: normal;
2346
+ font-weight: 590;
2347
+ src: local("Garnett-Semibold"), url(https://static.cambly.com/fonts/Garnett-Semibold.woff);
2348
+ }
2349
+ ._sansSerif_17ldg_66 {
2332
2350
  font-family: var(--syntax-font-sans-serif);
2333
2351
  margin: 0;
2334
2352
  }
2335
- ._serif_n4fyj_47 {
2353
+ ._serif_17ldg_71 {
2336
2354
  font-family: var( --syntax-font-sans-serif );
2337
2355
  }
2338
- :lang(en) ._serif_n4fyj_47,
2339
- :lang(az) ._serif_n4fyj_47,
2340
- :lang(fr) ._serif_n4fyj_47,
2341
- :lang(de) ._serif_n4fyj_47,
2342
- :lang(es) ._serif_n4fyj_47,
2343
- :lang(it) ._serif_n4fyj_47,
2344
- :lang(pl) ._serif_n4fyj_47,
2345
- :lang(pt) ._serif_n4fyj_47,
2346
- :lang(tr) ._serif_n4fyj_47 {
2356
+ ._sansSerifBrand_17ldg_77 {
2357
+ font-family: var( --syntax-font-sans-serif );
2358
+ }
2359
+ :lang(en) ._serif_17ldg_71,
2360
+ :lang(az) ._serif_17ldg_71,
2361
+ :lang(fr) ._serif_17ldg_71,
2362
+ :lang(de) ._serif_17ldg_71,
2363
+ :lang(es) ._serif_17ldg_71,
2364
+ :lang(it) ._serif_17ldg_71,
2365
+ :lang(pl) ._serif_17ldg_71,
2366
+ :lang(pt) ._serif_17ldg_71,
2367
+ :lang(tr) ._serif_17ldg_71 {
2347
2368
  font-family: "GT Super", var(--syntax-font-sans-serif);
2348
2369
  -webkit-font-smoothing: antialiased;
2349
2370
  letter-spacing: -0.02em;
2350
2371
  line-height: 1.15em;
2351
2372
  }
2352
- :lang(ko) ._typography_n4fyj_1 {
2373
+ :lang(en) ._sansSerifBrand_17ldg_77,
2374
+ :lang(az) ._sansSerifBrand_17ldg_77,
2375
+ :lang(fr) ._sansSerifBrand_17ldg_77,
2376
+ :lang(de) ._sansSerifBrand_17ldg_77,
2377
+ :lang(es) ._sansSerifBrand_17ldg_77,
2378
+ :lang(it) ._sansSerifBrand_17ldg_77,
2379
+ :lang(pl) ._sansSerifBrand_17ldg_77,
2380
+ :lang(pt) ._sansSerifBrand_17ldg_77,
2381
+ :lang(tr) ._sansSerifBrand_17ldg_77 {
2382
+ font-family: var(--syntax-font-sans-serif-brand);
2383
+ -webkit-font-smoothing: antialiased;
2384
+ }
2385
+ :lang(ko) ._typography_17ldg_1 {
2353
2386
  word-break: keep-all;
2354
2387
  }
2355
- ._size0_n4fyj_98 {
2388
+ ._size0_17ldg_144 {
2356
2389
  font-size: 12px;
2357
2390
  }
2358
- ._size100_n4fyj_102 {
2391
+ ._size100_17ldg_148 {
2359
2392
  font-size: 13px;
2360
2393
  }
2361
- ._size200_n4fyj_106 {
2394
+ ._size200_17ldg_152 {
2362
2395
  font-size: 16px;
2363
2396
  }
2364
- ._size300_n4fyj_110 {
2397
+ ._size300_17ldg_156 {
2365
2398
  font-size: 19px;
2366
2399
  }
2367
- ._size400_n4fyj_114 {
2400
+ ._size400_17ldg_160 {
2368
2401
  font-size: 25px;
2369
2402
  }
2370
- ._size500_n4fyj_118 {
2403
+ ._size500_17ldg_164 {
2371
2404
  font-size: 32px;
2372
2405
  }
2373
- ._size700_n4fyj_122 {
2406
+ ._size700_17ldg_168 {
2374
2407
  font-size: 38px;
2375
2408
  }
2376
- ._size800_n4fyj_126 {
2409
+ ._size800_17ldg_172 {
2377
2410
  font-size: 46px;
2378
2411
  }
2379
- ._size900_n4fyj_130 {
2412
+ ._size900_17ldg_176 {
2380
2413
  font-size: 55px;
2381
2414
  }
2382
- ._size1100_n4fyj_134 {
2415
+ ._size1100_17ldg_180 {
2383
2416
  font-size: 83px;
2384
2417
  }
2385
2418
  @media (min-width: 480px) {
2386
- ._size300_n4fyj_110 {
2419
+ ._size300_17ldg_156 {
2387
2420
  font-size: 20px;
2388
2421
  }
2389
- ._size700_n4fyj_122 {
2422
+ ._size700_17ldg_168 {
2390
2423
  font-size: 44px;
2391
2424
  }
2392
- ._size800_n4fyj_126 {
2425
+ ._size800_17ldg_172 {
2393
2426
  font-size: 63px;
2394
2427
  }
2395
- ._size900_n4fyj_130 {
2428
+ ._size900_17ldg_176 {
2396
2429
  font-size: 76px;
2397
2430
  }
2398
- ._size1100_n4fyj_134 {
2431
+ ._size1100_17ldg_180 {
2399
2432
  font-size: 119px;
2400
2433
  }
2401
2434
  }
2402
- ._center_n4fyj_162 {
2435
+ ._center_17ldg_208 {
2403
2436
  text-align: center;
2404
2437
  }
2405
- ._forceLeft_n4fyj_166 {
2438
+ ._forceLeft_17ldg_212 {
2406
2439
  text-align: left;
2407
2440
  }
2408
- ._forceRight_n4fyj_170 {
2441
+ ._forceRight_17ldg_216 {
2409
2442
  text-align: right;
2410
2443
  }
2411
- ._start_n4fyj_174 {
2444
+ ._start_17ldg_220 {
2412
2445
  text-align: start;
2413
2446
  }
2414
- ._end_n4fyj_178 {
2447
+ ._end_17ldg_224 {
2415
2448
  text-align: end;
2416
2449
  }
2417
- ._regular_n4fyj_184 {
2450
+ ._regular_17ldg_230 {
2418
2451
  font-weight: 400;
2419
2452
  }
2420
- ._medium_n4fyj_188 {
2453
+ ._medium_17ldg_234 {
2421
2454
  font-weight: 510;
2422
2455
  }
2423
- ._semiBold_n4fyj_192 {
2456
+ ._semiBold_17ldg_238 {
2424
2457
  font-weight: 590;
2425
2458
  }
2426
- ._bold_n4fyj_196 {
2459
+ ._bold_17ldg_242 {
2427
2460
  font-weight: 700;
2428
2461
  }
2429
- ._p100_n4fyj_201 {
2462
+ ._p100_17ldg_247 {
2430
2463
  line-height: 150%;
2431
2464
  }
2432
- ._p200_n4fyj_205 {
2465
+ ._p200_17ldg_251 {
2433
2466
  line-height: 150%;
2434
2467
  }
2435
- ._p300_n4fyj_209 {
2468
+ ._p300_17ldg_255 {
2436
2469
  line-height: 140%;
2437
2470
  }
2438
- ._p400_n4fyj_213 {
2471
+ ._p400_17ldg_259 {
2439
2472
  line-height: 130%;
2440
2473
  }
2441
- ._p500_n4fyj_217 {
2474
+ ._p500_17ldg_263 {
2442
2475
  line-height: 115%;
2443
2476
  }
2444
- ._inherit_n4fyj_222 {
2477
+ ._inherit_17ldg_268 {
2445
2478
  white-space: inherit;
2446
2479
  }
2447
- ._normal_n4fyj_226 {
2480
+ ._normal_17ldg_272 {
2448
2481
  white-space: normal;
2449
2482
  }
2450
- ._nowrap_n4fyj_230 {
2483
+ ._nowrap_17ldg_276 {
2451
2484
  white-space: nowrap;
2452
2485
  }
2453
- ._preLine_n4fyj_234 {
2486
+ ._preLine_17ldg_280 {
2454
2487
  white-space: pre-line;
2455
2488
  }
2456
2489