@connectif/ui-components 5.2.0 → 5.2.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,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.2.1] - 2026-02-02
4
+
5
+ ### Fixed
6
+
7
+ - Fixed a bug in the `ColorPicker` component when setting values.
8
+
9
+ ### Changed
10
+
11
+ - Replaced tooltip with popper in `ChipViewer` component.
12
+ - Changed `Autocomplete` simple mode selection to display the selected value as text instead of a chip.
13
+
3
14
  ## 5.2.0
4
15
 
5
16
  ### Fixed
@@ -11,10 +11,10 @@ type ChipContainerProps = {
11
11
  gap: string;
12
12
  height: string;
13
13
  typographyVariant?: ThemeTypography.TypographyVariant;
14
- reserveHeight?: true;
14
+ reserveHeight?: boolean;
15
15
  placeholder?: string;
16
16
  clickable?: boolean;
17
- preventHiddenChipsTooltip?: true;
17
+ preventHiddenChipsTooltip?: boolean;
18
18
  isDeletable?: boolean;
19
19
  dataTestId?: string;
20
20
  renderChip: (data: {
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ export declare const DEFAULT_DATA_TEST_ID = "chip-container";
3
+ export declare const TOOLTIP_DATA_TEST_ID = "chip-container-tooltip";
4
+ export declare const COUNTER_LABEL_DATA_TEST_ID = "chip-counter-label";
5
+ export declare const PLACEHOLDER_DATA_TEST_ID = "chip-container-placeholder";
6
+ type ChipHiddenCounterProps = {
7
+ hiddenChips: string[];
8
+ preventHiddenChipsTooltip: boolean;
9
+ isDeletable: boolean;
10
+ renderChip: (data: {
11
+ chipName: string;
12
+ index?: number;
13
+ maxWidth?: string;
14
+ isCounterLabel?: boolean;
15
+ }) => React.ReactNode;
16
+ };
17
+ declare const ChipHiddenCounter: ({ hiddenChips, isDeletable, preventHiddenChipsTooltip, renderChip }: ChipHiddenCounterProps) => import("react/jsx-runtime").JSX.Element;
18
+ export default ChipHiddenCounter;