@connectif/ui-components 9.0.3 → 9.0.5

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,31 @@
1
1
  # Changelog
2
2
 
3
+ ## [9.0.5] - 2026-06- 19
4
+
5
+ ### Added
6
+
7
+ - `InputLabel`: added focused visual state — the label color switches to `primary.main` when the associated input (linked via `htmlFor`) is focused.
8
+ - `InputLabel`: added `focused` prop to allow external control of the focused visual state, overriding the internal focus tracking.
9
+ - `InputLabel`: added `onClick` prop forwarded to the underlying `<label>` element.
10
+ - `ColorPicker`: added `disabled` prop.
11
+
12
+ ### Changed
13
+
14
+ - `Toolbar` story `ToolbarInDrawer`: drawer now starts closed, with an open button and a close button in the toolbar actions.
15
+ - `Dialog` story: dialog now starts closed, with a centered "Open Dialog" button to open it.
16
+ - `ConfirmationDialog` story: dialogs now start closed, with a centered "Open Dialog" button to open them.
17
+ - `Snackbar` story: removed the `Dialog` wrapper — buttons now render directly.
18
+
19
+ ## [9.0.4] - 2026-06-08
20
+
21
+ ### Changed
22
+
23
+ - `LineChart`: now the secondary metric is positioned in left side of the chart.
24
+
25
+ ### Fixed
26
+
27
+ - `Stepper`: Stepper connector fixed when only label is specified in steps
28
+
3
29
  ## [9.0.3] - 2026-06-02
4
30
 
5
31
  ### Added
@@ -53,6 +53,11 @@ export type ColorPickerProps = {
53
53
  * @default 'auto'
54
54
  */
55
55
  mode?: ColorPickerMode;
56
+ /**
57
+ * (optional) Whether the color picker is disabled.
58
+ * @default false
59
+ */
60
+ disabled?: boolean;
56
61
  /**
57
62
  * A function to update color value
58
63
  */
@@ -21,6 +21,15 @@ export type InputLabelProps = React.PropsWithChildren<{
21
21
  * Show an info icon with the text as tooltip
22
22
  */
23
23
  infoText?: TooltipProps['title'];
24
+ /**
25
+ * Override the focused visual state. When provided, takes
26
+ * precedence over the internal focus tracking via `htmlFor`.
27
+ */
28
+ focused?: boolean;
29
+ /**
30
+ * Click handler for the label element.
31
+ */
32
+ onClick?: React.MouseEventHandler<HTMLLabelElement>;
24
33
  }>;
25
34
  /**
26
35
  * A label text to be shown along with form fields, like Select or TextFields, usually
@@ -44,6 +53,15 @@ declare const InputLabel: React.ForwardRefExoticComponent<{
44
53
  * Show an info icon with the text as tooltip
45
54
  */
46
55
  infoText?: TooltipProps["title"];
56
+ /**
57
+ * Override the focused visual state. When provided, takes
58
+ * precedence over the internal focus tracking via `htmlFor`.
59
+ */
60
+ focused?: boolean;
61
+ /**
62
+ * Click handler for the label element.
63
+ */
64
+ onClick?: React.MouseEventHandler<HTMLLabelElement>;
47
65
  } & {
48
66
  children?: React.ReactNode | undefined;
49
67
  } & React.RefAttributes<HTMLLabelElement>>;