code7-leia 0.1.158 → 0.1.159

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,5 +1,5 @@
1
1
  {
2
- "version": "0.1.158",
2
+ "version": "0.1.159",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -66,6 +66,11 @@ const MultiSelect: React.FC<MultiSelectProps> = ({ options, presset, setPresset,
66
66
  ))}
67
67
  </select>
68
68
  <S.OverSelect>
69
+ <S.SelectedValues>
70
+ {presset.map((value, index) => (
71
+ <S.SelectedValue key={index}>{value}</S.SelectedValue>
72
+ ))}
73
+ </S.SelectedValues>
69
74
  <input
70
75
  type="text"
71
76
  placeholder={t.buttons.addNewOpinion}
@@ -73,11 +78,6 @@ const MultiSelect: React.FC<MultiSelectProps> = ({ options, presset, setPresset,
73
78
  onChange={handleInputChange}
74
79
  onKeyPress={handleInputKeyPress}
75
80
  />
76
- <S.SelectedValues>
77
- {presset.map((value, index) => (
78
- <S.SelectedValue key={index}>{value}</S.SelectedValue>
79
- ))}
80
- </S.SelectedValues>
81
81
  </S.OverSelect>
82
82
  </S.SelectBox>
83
83
  <S.Checkboxes style={{ display: expanded ? 'block' : 'none' }}>