@connectif/ui-components 5.0.0 → 5.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.0.1] - 2026-01-23
4
+
5
+ ### Fixed
6
+
7
+ - Fixed a bug in the `Select` component when multiple options are selected.
8
+
3
9
  ## [5.0.0] - 2026-01-23
4
10
 
5
11
  ### Fixed
package/dist/index.js CHANGED
@@ -21181,6 +21181,7 @@ var ChevronIcon = ({ disabled = false }) => /* @__PURE__ */ jsx114(
21181
21181
  }
21182
21182
  );
21183
21183
  var SelectOption = ({
21184
+ value,
21184
21185
  id,
21185
21186
  label,
21186
21187
  selected,
@@ -21192,7 +21193,7 @@ var SelectOption = ({
21192
21193
  {
21193
21194
  role: "option",
21194
21195
  selected,
21195
- "data-value": id,
21196
+ "data-value": value,
21196
21197
  text: label,
21197
21198
  ...id && {
21198
21199
  "data-testid": `select-option-${id}`,
@@ -21496,6 +21497,7 @@ var Select = function Select2({
21496
21497
  SelectOption,
21497
21498
  {
21498
21499
  label: label ?? value?.toString() ?? "",
21500
+ value: optionValue,
21499
21501
  id: optionValue,
21500
21502
  colors: !menuColors?.selectedColor ? {
21501
21503
  ...menuColors ?? {},