@cambly/syntax-core 18.11.2 → 18.13.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 (72) hide show
  1. package/dist/ButtonGroup/ButtonGroup.cjs +2 -2
  2. package/dist/ButtonGroup/ButtonGroup.css +22 -6
  3. package/dist/ButtonGroup/ButtonGroup.css.map +1 -1
  4. package/dist/ButtonGroup/ButtonGroup.d.ts +13 -1
  5. package/dist/ButtonGroup/ButtonGroup.js +1 -1
  6. package/dist/Checkbox/Checkbox.cjs +2 -2
  7. package/dist/Checkbox/Checkbox.css +23 -14
  8. package/dist/Checkbox/Checkbox.css.map +1 -1
  9. package/dist/Checkbox/Checkbox.js +1 -1
  10. package/dist/RadioButton/RadioButton.cjs +2 -2
  11. package/dist/RadioButton/RadioButton.css +26 -17
  12. package/dist/RadioButton/RadioButton.css.map +1 -1
  13. package/dist/RadioButton/RadioButton.js +1 -1
  14. package/dist/RichSelect/RichSelectBox.cjs +5 -5
  15. package/dist/RichSelect/RichSelectBox.css +48 -23
  16. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  17. package/dist/RichSelect/RichSelectBox.js +4 -4
  18. package/dist/RichSelect/RichSelectList.cjs +7 -7
  19. package/dist/RichSelect/RichSelectList.css +48 -23
  20. package/dist/RichSelect/RichSelectList.css.map +1 -1
  21. package/dist/RichSelect/RichSelectList.js +6 -6
  22. package/dist/RichSelect/RichSelectRadioButton.cjs +3 -3
  23. package/dist/RichSelect/RichSelectRadioButton.css +26 -17
  24. package/dist/RichSelect/RichSelectRadioButton.css.map +1 -1
  25. package/dist/RichSelect/RichSelectRadioButton.js +2 -2
  26. package/dist/SelectList/SelectList.cjs +3 -3
  27. package/dist/SelectList/SelectList.js +2 -2
  28. package/dist/__chunks/{AWWUKCOZ.js → 2D2PXUUQ.js} +2 -2
  29. package/dist/__chunks/36DG472B.js +38 -0
  30. package/dist/__chunks/36DG472B.js.map +1 -0
  31. package/dist/__chunks/{24C55LXA.cjs → 4AI6GQ5U.cjs} +6 -8
  32. package/dist/__chunks/4AI6GQ5U.cjs.map +1 -0
  33. package/dist/__chunks/{ZQE3JK65.js → 4MHKTQMD.js} +6 -8
  34. package/dist/__chunks/4MHKTQMD.js.map +1 -0
  35. package/dist/__chunks/6KSVCCCB.cjs +38 -0
  36. package/dist/__chunks/6KSVCCCB.cjs.map +1 -0
  37. package/dist/__chunks/{CXYPA5D7.cjs → BCWRGKWL.cjs} +5 -5
  38. package/dist/__chunks/{I4HVELSQ.cjs → C46WMA7X.cjs} +1 -1
  39. package/dist/__chunks/{I4HVELSQ.cjs.map → C46WMA7X.cjs.map} +1 -1
  40. package/dist/__chunks/{743ZAVMI.cjs → FQSSK4FT.cjs} +3 -3
  41. package/dist/__chunks/{RNYDANOZ.cjs → OVHMMIVE.cjs} +5 -7
  42. package/dist/__chunks/OVHMMIVE.cjs.map +1 -0
  43. package/dist/__chunks/{WFKWSOMR.cjs → TJDFEWPT.cjs} +12 -12
  44. package/dist/__chunks/{MLYNSEQ2.js → TL2IBN7H.js} +1 -1
  45. package/dist/__chunks/{MLYNSEQ2.js.map → TL2IBN7H.js.map} +1 -1
  46. package/dist/__chunks/{KKV5SSD5.js → U6TGYOG7.js} +3 -3
  47. package/dist/__chunks/{H35XGYBG.js → Y6HBRXLN.js} +2 -2
  48. package/dist/__chunks/{WFOUJAMP.js → YMIQ7WYX.js} +5 -7
  49. package/dist/__chunks/YMIQ7WYX.js.map +1 -0
  50. package/dist/__chunks/{6FVYJXHO.js → ZGOEPXUG.js} +4 -4
  51. package/dist/__chunks/{UON4NESK.cjs → ZZPX5ZUM.cjs} +5 -5
  52. package/dist/index.cjs +9 -9
  53. package/dist/index.css +71 -37
  54. package/dist/index.css.map +1 -1
  55. package/dist/index.js +8 -8
  56. package/package.json +3 -3
  57. package/dist/__chunks/24C55LXA.cjs.map +0 -1
  58. package/dist/__chunks/BOX3VY3Q.js +0 -30
  59. package/dist/__chunks/BOX3VY3Q.js.map +0 -1
  60. package/dist/__chunks/C5XPZTFO.cjs +0 -30
  61. package/dist/__chunks/C5XPZTFO.cjs.map +0 -1
  62. package/dist/__chunks/RNYDANOZ.cjs.map +0 -1
  63. package/dist/__chunks/WFOUJAMP.js.map +0 -1
  64. package/dist/__chunks/ZQE3JK65.js.map +0 -1
  65. /package/dist/__chunks/{AWWUKCOZ.js.map → 2D2PXUUQ.js.map} +0 -0
  66. /package/dist/__chunks/{CXYPA5D7.cjs.map → BCWRGKWL.cjs.map} +0 -0
  67. /package/dist/__chunks/{743ZAVMI.cjs.map → FQSSK4FT.cjs.map} +0 -0
  68. /package/dist/__chunks/{WFKWSOMR.cjs.map → TJDFEWPT.cjs.map} +0 -0
  69. /package/dist/__chunks/{KKV5SSD5.js.map → U6TGYOG7.js.map} +0 -0
  70. /package/dist/__chunks/{H35XGYBG.js.map → Y6HBRXLN.js.map} +0 -0
  71. /package/dist/__chunks/{6FVYJXHO.js.map → ZGOEPXUG.js.map} +0 -0
  72. /package/dist/__chunks/{UON4NESK.cjs.map → ZZPX5ZUM.cjs.map} +0 -0
package/dist/index.css CHANGED
@@ -2529,76 +2529,101 @@
2529
2529
  }
2530
2530
 
2531
2531
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css/#css-module-data */
2532
- ._buttonGroup_1u02w_1 {
2532
+ ._buttonGroup_6o6o0_1 {
2533
2533
  display: flex;
2534
2534
  }
2535
- ._horizontal_1u02w_5 {
2535
+ ._horizontal_6o6o0_5 {
2536
2536
  flex-direction: row;
2537
2537
  }
2538
- ._vertical_1u02w_9 {
2538
+ ._vertical_6o6o0_9 {
2539
2539
  flex-direction: column;
2540
2540
  }
2541
- ._smallGap_1u02w_13 {
2541
+ ._smallGap_6o6o0_13 {
2542
2542
  gap: 4px;
2543
2543
  }
2544
- ._mediumGap_1u02w_17 {
2544
+ ._mediumGap_6o6o0_17 {
2545
2545
  gap: 8px;
2546
2546
  }
2547
- ._largeGap_1u02w_21 {
2547
+ ._largeGap_6o6o0_21 {
2548
2548
  gap: 12px;
2549
2549
  }
2550
+ @media (min-width: 480px) {
2551
+ ._orientationhorizontalSmall_6o6o0_27 {
2552
+ flex-direction: row;
2553
+ }
2554
+ ._orientationverticalSmall_6o6o0_31 {
2555
+ flex-direction: column;
2556
+ }
2557
+ }
2558
+ @media (min-width: 960px) {
2559
+ ._orientationhorizontalLarge_6o6o0_38 {
2560
+ flex-direction: row;
2561
+ }
2562
+ ._orientationverticalLarge_6o6o0_42 {
2563
+ flex-direction: column;
2564
+ }
2565
+ }
2550
2566
 
2551
2567
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Checkbox/Checkbox.module.css/#css-module-data */
2552
- ._mainContainer_1dut8_1 {
2568
+ ._mainContainer_1r7sy_1 {
2553
2569
  display: flex;
2554
2570
  flex-direction: row;
2555
2571
  gap: 8px;
2556
2572
  align-items: center;
2557
2573
  position: relative;
2558
2574
  }
2559
- ._inputOverlay_1dut8_9 {
2575
+ ._inputOverlay_1r7sy_9 {
2560
2576
  opacity: 0;
2561
2577
  position: absolute;
2562
2578
  margin: 0;
2563
2579
  top: 0;
2564
2580
  left: 0;
2565
2581
  }
2566
- ._checkbox_1dut8_17 {
2567
- border-radius: 4px;
2582
+ ._checkbox_1r7sy_17 {
2568
2583
  flex: none;
2569
2584
  position: relative;
2570
2585
  display: flex;
2571
2586
  justify-content: center;
2572
2587
  align-items: center;
2573
2588
  box-sizing: border-box;
2589
+ border: 1px solid var(--color-cambio-gray-870);
2590
+ border-radius: 4px;
2591
+ }
2592
+ ._checkboxChecked_1r7sy_28 {
2593
+ background-color: var(--color-cambio-black);
2594
+ border: 0;
2595
+ }
2596
+ ._checkboxError_1r7sy_33 {
2597
+ background-color: var(--color-cambio-destructive-370);
2598
+ border: 0;
2574
2599
  }
2575
- ._disabled_1dut8_27 {
2600
+ ._disabled_1r7sy_38 {
2576
2601
  opacity: 0.5;
2577
2602
  }
2578
- ._cursorDisabled_1dut8_31 {
2603
+ ._cursorDisabled_1r7sy_42 {
2579
2604
  cursor: auto;
2580
2605
  }
2581
- ._cursorEnabled_1dut8_35 {
2606
+ ._cursorEnabled_1r7sy_46 {
2582
2607
  cursor: pointer;
2583
2608
  }
2584
- ._sm_1dut8_39 {
2609
+ ._sm_1r7sy_50 {
2585
2610
  height: 16px;
2586
2611
  width: 16px;
2587
2612
  }
2588
- ._md_1dut8_44 {
2613
+ ._md_1r7sy_55 {
2589
2614
  height: 24px;
2590
2615
  width: 24px;
2591
2616
  }
2592
- ._smBorderRadius_1dut8_49 {
2617
+ ._smBorderRadius_1r7sy_60 {
2593
2618
  border-radius: 6px;
2594
2619
  }
2595
- ._mdBorderRadius_1dut8_53 {
2620
+ ._mdBorderRadius_1r7sy_64 {
2596
2621
  border-radius: 8px;
2597
2622
  }
2598
- ._checkmark_1dut8_57 {
2599
- fill: var(--color-base-black);
2623
+ ._checkmark_1r7sy_68 {
2624
+ fill: var(--color-base-white);
2600
2625
  }
2601
- ._checkmarkError_1dut8_61 {
2626
+ ._checkmarkError_1r7sy_72 {
2602
2627
  fill: var(--color-base-destructive-900);
2603
2628
  }
2604
2629
 
@@ -2860,68 +2885,77 @@
2860
2885
  }
2861
2886
 
2862
2887
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/RadioButton/RadioButton.module.css/#css-module-data */
2863
- ._radioBaseContainer_1egeq_1 {
2888
+ ._radioBaseContainer_1qipy_1 {
2864
2889
  display: flex;
2865
2890
  flex-direction: row;
2866
2891
  gap: 8px;
2867
2892
  align-items: center;
2868
2893
  position: relative;
2869
2894
  }
2870
- ._disabled_1egeq_9 {
2895
+ ._disabled_1qipy_9 {
2871
2896
  opacity: 0.5;
2872
2897
  }
2873
- ._cursorDisabled_1egeq_13 {
2898
+ ._cursorDisabled_1qipy_13 {
2874
2899
  cursor: auto;
2875
2900
  }
2876
- ._cursorEnabled_1egeq_17 {
2901
+ ._cursorEnabled_1qipy_17 {
2877
2902
  cursor: pointer;
2878
2903
  }
2879
- ._smBase_1egeq_21 {
2904
+ ._smBase_1qipy_21 {
2880
2905
  height: 16px;
2881
2906
  }
2882
- ._mdBase_1egeq_25 {
2907
+ ._mdBase_1qipy_25 {
2883
2908
  height: 32px;
2884
2909
  }
2885
- ._radioStyleOverride_1egeq_29 {
2910
+ ._radioStyleOverride_1qipy_29 {
2886
2911
  margin: 0;
2887
2912
  flex: none;
2888
2913
  opacity: 0;
2889
2914
  }
2890
- ._smOverride_1egeq_35 {
2915
+ ._smOverride_1qipy_35 {
2891
2916
  width: 16px;
2892
2917
  height: 16px;
2893
2918
  }
2894
- ._mdOverride_1egeq_40 {
2919
+ ._mdOverride_1qipy_40 {
2895
2920
  width: 24px;
2896
2921
  height: 24px;
2897
2922
  }
2898
- ._background_1egeq_45 {
2923
+ ._background_1qipy_45 {
2899
2924
  position: absolute;
2900
2925
  box-sizing: border-box;
2926
+ border: 1px solid var(--color-cambio-black);
2927
+ }
2928
+ ._backgroundChecked_1qipy_51 {
2929
+ background-color: var(--color-cambio-black);
2930
+ border: 0;
2931
+ }
2932
+ ._backgroundError_1qipy_56 {
2933
+ background-color: var(--color-cambio-destructive-370);
2934
+ border: 0;
2901
2935
  }
2902
- ._sm_1egeq_21 {
2936
+ ._sm_1qipy_21 {
2903
2937
  height: 16px;
2904
2938
  width: 16px;
2905
2939
  border-radius: 8px;
2906
2940
  }
2907
- ._md_1egeq_25 {
2941
+ ._md_1qipy_25 {
2908
2942
  height: 24px;
2909
2943
  width: 24px;
2910
2944
  border-radius: 12px;
2911
2945
  }
2912
- ._neutralBorder_1egeq_62 {
2946
+ ._neutralBorder_1qipy_73 {
2913
2947
  border: 2px solid;
2914
2948
  }
2915
- ._smCheckedBorder_1egeq_66 {
2949
+ ._smCheckedBorder_1qipy_77 {
2916
2950
  border: 5px solid;
2917
2951
  }
2918
- ._mdCheckedBorder_1egeq_70 {
2952
+ ._mdCheckedBorder_1qipy_81 {
2919
2953
  border: 8px solid;
2920
2954
  }
2921
- ._errorBorderColor_1egeq_74 {
2955
+ ._errorBorderColor_1qipy_85 {
2922
2956
  border-color: var(--color-base-destructive-700);
2923
2957
  }
2924
- ._borderColor_1egeq_78 {
2958
+ ._borderColor_1qipy_89 {
2925
2959
  border-color: var(--color-base-primary-700);
2926
2960
  }
2927
2961