@cambly/syntax-core 5.6.1 → 5.7.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.
package/dist/index.mjs CHANGED
@@ -958,7 +958,7 @@ var ColorBaseDestructive700 = "#d32a4b";
958
958
  var ColorBaseGray800 = "#353535";
959
959
 
960
960
  // css-module:./SelectList.module.css#css-module
961
- var SelectList_module_default = { "selectContainer": "_selectContainer_1e7f9_1", "opacityOverlay": "_opacityOverlay_1e7f9_7", "outerTextContainer": "_outerTextContainer_1e7f9_11", "selectWrapper": "_selectWrapper_1e7f9_16", "selectBox": "_selectBox_1e7f9_21", "seletBoxMouseFocusStyling": "_seletBoxMouseFocusStyling_1e7f9_35", "unselected": "_unselected_1e7f9_40", "selected": "_selected_1e7f9_44", "arrowIcon": "_arrowIcon_1e7f9_48", "sm": "_sm_1e7f9_62", "md": "_md_1e7f9_67", "lg": "_lg_1e7f9_72", "selectError": "_selectError_1e7f9_77" };
961
+ var SelectList_module_default = { "selectContainer": "_selectContainer_1u9cw_1", "opacityOverlay": "_opacityOverlay_1u9cw_7", "outerTextContainer": "_outerTextContainer_1u9cw_11", "selectWrapper": "_selectWrapper_1u9cw_16", "selectBox": "_selectBox_1u9cw_21", "selectMouseFocusStyling": "_selectMouseFocusStyling_1u9cw_35", "unselected": "_unselected_1u9cw_40", "selected": "_selected_1u9cw_44", "arrowIcon": "_arrowIcon_1u9cw_48", "sm": "_sm_1u9cw_62", "md": "_md_1u9cw_67", "lg": "_lg_1u9cw_72", "selectError": "_selectError_1u9cw_77" };
962
962
 
963
963
  // src/SelectList/SelectOption.tsx
964
964
  import { jsx as jsx14 } from "react/jsx-runtime";
@@ -1013,10 +1013,11 @@ var SelectList = ({
1013
1013
  [SelectList_module_default.selectError]: errorText,
1014
1014
  [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible2,
1015
1015
  // for focus keyboard
1016
- [SelectList_module_default.seletBoxMouseFocusStyling]: isFocused && !isFocusVisible2
1016
+ [SelectList_module_default.selectMouseFocusStyling]: isFocused && !isFocusVisible2
1017
1017
  // for focus mouse
1018
1018
  }),
1019
1019
  onChange,
1020
+ onClick: (e) => e.stopPropagation(),
1020
1021
  value: placeholderText && !selectedValue ? placeholderText : selectedValue,
1021
1022
  onFocus: () => setIsFocused(true),
1022
1023
  onBlur: () => setIsFocused(false),