haya-select 1.0.39 → 1.0.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haya-select",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -665,10 +665,12 @@ export default memo(shapeComponent(class HayaSelect extends ShapeComponent {
665
665
 
666
666
  return (
667
667
  <View
668
- dataSet={{class: "option-presentation"}}
669
- data-toggle-icon={toggleOption?.icon}
670
- data-toggle-value={toggleOption?.value}
671
- data-value={currentValue.value}
668
+ dataSet={{
669
+ class: "option-presentation",
670
+ toggleIcon: toggleOption?.icon,
671
+ toggleValue: toggleOption?.value,
672
+ value: currentValue.value
673
+ }}
672
674
  >
673
675
  {toggleOptions && !(currentValue.value in toggled) &&
674
676
  <i className="fa fa-fw" />
@@ -48,7 +48,7 @@ export default memo(shapeComponent(class Option extends ShapeComponent {
48
48
  return (
49
49
  <View
50
50
  dataSet={{
51
- class: "haya-select-option",
51
+ class: "select-option",
52
52
  disabled,
53
53
  selected,
54
54
  value: this.props.option.value