@epam/ai-dial-ui-kit 0.13.0-dev.66 → 0.13.0-dev.67
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/dist/{JsonEditor-vf6bGJXz.js → JsonEditor-BSP5Z3Xw.js} +1 -1
- package/dist/{JsonEditor-Brdpzyzx.cjs → JsonEditor-CcU9RmZg.cjs} +1 -1
- package/dist/{MarkdownEditor-DbdFvvhG.cjs → MarkdownEditor-9XU06KHN.cjs} +1 -1
- package/dist/{MarkdownEditor-CW4C7nzg.js → MarkdownEditor-ClquLQAD.js} +1 -1
- package/dist/{MarkdownEditor-D9O_cNKg.cjs → MarkdownEditor-DF_jStOx.cjs} +1 -1
- package/dist/{MarkdownEditor-rfkZ2SzC.js → MarkdownEditor-DjKuq5lz.js} +1 -1
- package/dist/components-manifest.json +4 -4
- package/dist/dial-ui-kit.cjs.js +1 -1
- package/dist/dial-ui-kit.es.js +1 -1
- package/dist/{index-DjRONYTU.js → index-Hb-5oCTq.js} +1240 -1228
- package/dist/{index-FYid81U_.cjs → index-ZeU1Gm87.cjs} +11 -11
- package/dist/src/components/Analytics/BarGroup/BarGroup.d.ts +9 -9
- package/package.json +1 -1
|
@@ -17,8 +17,7 @@ export interface DialAnalyticsBarGroupProps {
|
|
|
17
17
|
* `compareData`. Each entry renders two bars and, when both sides are numeric,
|
|
18
18
|
* a delta badge (`compareData[key] - data[key]`, three decimal places). A
|
|
19
19
|
* missing key (or explicit `null`) on either side shows an em dash with no
|
|
20
|
-
* progress bar and no delta. A rounded delta of `0` is omitted.
|
|
21
|
-
* is ignored in compare mode.
|
|
20
|
+
* progress bar and no delta. A rounded delta of `0` is omitted.
|
|
22
21
|
*/
|
|
23
22
|
compareData?: Record<string, number | null>;
|
|
24
23
|
/**
|
|
@@ -40,7 +39,11 @@ export interface DialAnalyticsBarGroupProps {
|
|
|
40
39
|
nonCollapsible?: boolean;
|
|
41
40
|
/** Renders a loader in place of the bars while the data is being fetched. */
|
|
42
41
|
isLoading?: boolean;
|
|
43
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Invoked with the entry key and value when a bar is clicked. When set, each
|
|
44
|
+
* bar becomes an interactive button. In compare mode the whole entry (label,
|
|
45
|
+
* delta, both bars) is the click target.
|
|
46
|
+
*/
|
|
44
47
|
onBarClick?: (key: string, value: number | null) => void;
|
|
45
48
|
/** Renders every bar on a single row (50% title, 50% bar + value). */
|
|
46
49
|
inline?: boolean;
|
|
@@ -50,10 +53,7 @@ export interface DialAnalyticsBarGroupProps {
|
|
|
50
53
|
barValueClassName?: string;
|
|
51
54
|
/** Additional CSS classes for each bar's outer container (e.g. for custom hover effects). */
|
|
52
55
|
barClassName?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Map of bar key to tooltip content. When provided, hovering each bar shows its description.
|
|
55
|
-
* Not applied in compare mode.
|
|
56
|
-
*/
|
|
56
|
+
/** Map of bar key to tooltip content. When provided, hovering each bar shows its description. */
|
|
57
57
|
barDescriptions?: Record<string, ReactNode>;
|
|
58
58
|
/** Additional CSS classes for the accordion container. */
|
|
59
59
|
className?: string;
|
|
@@ -85,12 +85,12 @@ export interface DialAnalyticsBarGroupProps {
|
|
|
85
85
|
* @param [defaultExpanded=true] - Whether the accordion is expanded initially.
|
|
86
86
|
* @param [nonCollapsible] - Renders the group permanently expanded without a toggle or chevron.
|
|
87
87
|
* @param [isLoading] - Renders a loader in place of the bars while the data is being fetched.
|
|
88
|
-
* @param [onBarClick] - Invoked with the entry key and value when a bar is clicked.
|
|
88
|
+
* @param [onBarClick] - Invoked with the entry key and value when a bar (or, in compare mode, the whole entry) is clicked.
|
|
89
89
|
* @param [inline] - Renders every bar on a single row (50% title, 50% bar + value).
|
|
90
90
|
* @param [barTitleClassName] - Additional CSS classes for each bar's title label.
|
|
91
91
|
* @param [barValueClassName] - Additional CSS classes for each bar's value label.
|
|
92
92
|
* @param [barClassName] - Additional CSS classes for each bar's outer container.
|
|
93
|
-
* @param [barDescriptions] - Map of bar key to tooltip content. Hovering each bar shows its description.
|
|
93
|
+
* @param [barDescriptions] - Map of bar key to tooltip content. Hovering each bar shows its description.
|
|
94
94
|
* @param [className] - Additional CSS classes for the accordion container.
|
|
95
95
|
*/
|
|
96
96
|
export declare const DialAnalyticsBarGroup: FC<DialAnalyticsBarGroupProps>;
|