@connectif/ui-components 5.2.0 → 5.2.2

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.2.2] - 2026-02-11
4
+
5
+ ### Added
6
+
7
+ - New icon `map-marker-account`.
8
+ - New prop `showIcon` for optional icon in the `DonutChart` component.
9
+
10
+ ## [5.2.1] - 2026-02-02
11
+
12
+ ### Fixed
13
+
14
+ - Fixed a bug in the `ColorPicker` component when setting values.
15
+
16
+ ### Changed
17
+
18
+ - Replaced tooltip with popper in `ChipViewer` component.
19
+ - Changed `Autocomplete` simple mode selection to display the selected value as text instead of a chip.
20
+
3
21
  ## 5.2.0
4
22
 
5
23
  ### Fixed
@@ -88,9 +88,13 @@ export type DonutChartProps = {
88
88
  * Function used to set specified tooltip.
89
89
  */
90
90
  getTooltip?: (param: CallbackDataParams) => React.ReactNode;
91
+ /**
92
+ * To show or not the icon.
93
+ */
94
+ showIcon?: boolean;
91
95
  };
92
96
  /**
93
97
  * A donut chart component to display numeric data grouped by categories and series.
94
98
  */
95
- declare const DonutChart: ({ style, isLoading, series, startAngle, innerWidth, tooltipEntryFormatter, getTooltip, onClick }: DonutChartProps) => import("react/jsx-runtime").JSX.Element;
99
+ declare const DonutChart: ({ style, isLoading, series, startAngle, innerWidth, tooltipEntryFormatter, getTooltip, onClick, showIcon }: DonutChartProps) => import("react/jsx-runtime").JSX.Element;
96
100
  export default DonutChart;
@@ -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;
@@ -1119,6 +1119,7 @@ export declare const icons: {
1119
1119
  mailbox: string;
1120
1120
  map: string;
1121
1121
  'map-marker': string;
1122
+ 'map-marker-account': string;
1122
1123
  'map-marker-circle': string;
1123
1124
  'map-marker-minus': string;
1124
1125
  'map-marker-multiple': string;