@tedi-design-system/react 19.0.0-rc.16 → 19.0.0-rc.18

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@tedi-design-system/react",
3
- "version": "19.0.0-rc.16",
3
+ "version": "19.0.0-rc.18",
4
4
  "description": "TEDI Design System React component library — accessible, reusable UI components. Docs & live examples: https://storybook.tedi.ee/react/rc/",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -8,13 +8,13 @@ type TextGroupListBreakpointProps = {
8
8
  type?: 'horizontal';
9
9
  /**
10
10
  * Alignment for the label text.
11
- * @default 'left'
11
+ * @default left
12
12
  */
13
13
  labelAlign?: TextAlign;
14
14
  /**
15
15
  * Width for the label column (e.g., `'200px'`, `'30%'`, or a `number`
16
16
  * interpreted as a percent).
17
- * @default 'auto'
17
+ * @default auto
18
18
  */
19
19
  labelWidth?: string | number;
20
20
  } | {
@@ -25,13 +25,13 @@ type TextGroupListBreakpointProps = {
25
25
  /**
26
26
  * Alignment for the label text. Vertical layout only supports left
27
27
  * alignment — pass `'right'` only with `type: 'horizontal'`.
28
- * @default 'left'
28
+ * @default left
29
29
  */
30
30
  labelAlign?: 'left';
31
31
  /**
32
32
  * Width for the label column (e.g., `'200px'`, `'30%'`, or a `number`
33
33
  * interpreted as a percent).
34
- * @default 'auto'
34
+ * @default auto
35
35
  */
36
36
  labelWidth?: string | number;
37
37
  };
@@ -42,7 +42,8 @@ export interface TextGroupListItem {
42
42
  */
43
43
  label: React.ReactNode;
44
44
  /**
45
- * Value rendered as the `<dd>` for this row.
45
+ * Value rendered as the `<dd>` for this row. Accepts multiple nodes — a trailing
46
+ * `StatusBadge`, `Tag`, or info tooltip renders inline beside the text.
46
47
  */
47
48
  value: React.ReactNode | React.ReactNode[];
48
49
  /**
@@ -8,12 +8,12 @@ type TextGroupBreakpointProps = {
8
8
  type?: 'horizontal';
9
9
  /**
10
10
  * Alignment for the label text
11
- * @default 'left'
11
+ * @default left
12
12
  */
13
13
  labelAlign?: TextAlign;
14
14
  /**
15
15
  * Width for the label (e.g., '200px', '30%', etc.)
16
- * @default 'auto'
16
+ * @default auto
17
17
  */
18
18
  labelWidth?: string | number;
19
19
  } | {
@@ -23,12 +23,12 @@ type TextGroupBreakpointProps = {
23
23
  type: 'vertical';
24
24
  /**
25
25
  * Alignment for the label text
26
- * @default 'left'
26
+ * @default left
27
27
  */
28
28
  labelAlign?: 'left';
29
29
  /**
30
30
  * Width for the label (e.g., '200px', '30%', etc.)
31
- * @default 'auto'
31
+ * @default auto
32
32
  */
33
33
  labelWidth?: string | number;
34
34
  };
@@ -38,7 +38,9 @@ export type TextGroupProps = BreakpointSupport<TextGroupBreakpointProps> & {
38
38
  */
39
39
  label: React.ReactNode;
40
40
  /**
41
- * Value displayed alongside the label
41
+ * Value displayed alongside the label. Accepts multiple nodes — a trailing
42
+ * `StatusBadge`, `Tag`, or info tooltip renders inline beside the text (the
43
+ * value row is a flex container with a small gap).
42
44
  */
43
45
  value: React.ReactNode | React.ReactNode[];
44
46
  /**