@epam/ai-dial-ui-kit 0.16.0-dev.47 → 0.16.0-dev.49

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.
Files changed (43) hide show
  1. package/README.md +2 -0
  2. package/dist/CHANGELOG.md +3 -0
  3. package/dist/{DateCellRenderer-uqWWm9rI.cjs → DateCellRenderer-C3KzulHA.cjs} +2 -2
  4. package/dist/components/New/Analytics/Bar/Bar.js +7 -7
  5. package/dist/components/New/Analytics/BarGroup/BarGroup.js +4 -4
  6. package/dist/components/New/Analytics/Histogram/Histogram.js +12 -12
  7. package/dist/components/New/LabelledText/LabelledText.js +43 -0
  8. package/dist/components/New/Steps/Steps.js +84 -0
  9. package/dist/components-manifest.json +227 -551
  10. package/dist/constants/public-class-names.js +4 -0
  11. package/dist/dial-ui-kit.cjs +3 -3
  12. package/dist/dial-ui-kit.js +374 -382
  13. package/dist/grid.cjs +1 -1
  14. package/dist/index.css +1 -1
  15. package/dist/migration-guides/0.16.0/legacy-analytics-and-steps-removal.md +54 -0
  16. package/dist/migration-guides/README.md +1 -0
  17. package/dist/src/components/{Analytics → New/Analytics}/Bar/utils.d.ts +1 -1
  18. package/dist/src/components/{Analytics → New/Analytics}/Histogram/utils.d.ts +1 -1
  19. package/dist/src/components/New/Analytics/index.d.ts +11 -0
  20. package/dist/src/components/New/LabelledText/LabelledText.d.ts +48 -0
  21. package/dist/src/components/New/Steps/Steps.d.ts +55 -0
  22. package/dist/src/constants/public-class-names.d.ts +4 -0
  23. package/dist/src/index.d.ts +7 -14
  24. package/package.json +1 -1
  25. package/dist/components/Analytics/Bar/Bar.js +0 -80
  26. package/dist/components/Analytics/BarGroup/BarGroup.js +0 -142
  27. package/dist/components/Analytics/Card/Card.js +0 -87
  28. package/dist/components/Analytics/ErrorTag/ErrorTag.js +0 -19
  29. package/dist/components/Analytics/Histogram/Histogram.js +0 -200
  30. package/dist/components/Steps/Step.js +0 -34
  31. package/dist/components/Steps/Steps.js +0 -27
  32. package/dist/components/Steps/utils.js +0 -42
  33. package/dist/src/components/Analytics/Bar/Bar.d.ts +0 -86
  34. package/dist/src/components/Analytics/BarGroup/BarGroup.d.ts +0 -103
  35. package/dist/src/components/Analytics/Card/Card.d.ts +0 -91
  36. package/dist/src/components/Analytics/ErrorTag/ErrorTag.d.ts +0 -22
  37. package/dist/src/components/Analytics/Histogram/Histogram.d.ts +0 -59
  38. package/dist/src/components/Analytics/index.d.ts +0 -13
  39. package/dist/src/components/Steps/Step.d.ts +0 -9
  40. package/dist/src/components/Steps/Steps.d.ts +0 -26
  41. package/dist/src/components/Steps/utils.d.ts +0 -3
  42. /package/dist/components/{Analytics → New/Analytics}/Bar/utils.js +0 -0
  43. /package/dist/components/{Analytics → New/Analytics}/Histogram/utils.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.16.0-dev.47",
3
- "generatedAt": "2026-10-26T12:42:59.950Z",
2
+ "version": "0.16.0-dev.49",
3
+ "generatedAt": "2026-10-27T09:16:10.434Z",
4
4
  "kit": {
5
5
  "name": "@epam/ai-dial-ui-kit",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",
@@ -1479,6 +1479,54 @@
1479
1479
  ],
1480
1480
  "sourceFile": "components/New/InfoButton/InfoButton.tsx"
1481
1481
  },
1482
+ {
1483
+ "name": "Steps",
1484
+ "category": "Components_2_0",
1485
+ "generation": "2.0",
1486
+ "description": "A row of numbered steps for a multi-step flow, marking the active one and\nflagging completed and failed steps.\naliases: StepWizard|ProgressSteps|Stepper\nDesign system 2.0\n\nA step's number turns into a check once it is completed and the user has moved\non, and into an alert icon while a failed step is the active one. A step can\nonly be entered when every step before it is `StepStatus.VALID`; going back is\nalways allowed.\n\nThe list is an ordered list, the active step carries `aria-current=\"step\"`,\nand a completed or failed step announces its status after its name.",
1487
+ "props": [
1488
+ {
1489
+ "name": "steps",
1490
+ "type": "Step[]",
1491
+ "required": true,
1492
+ "description": "Ordered steps to render."
1493
+ },
1494
+ {
1495
+ "name": "currentStep",
1496
+ "type": "string",
1497
+ "required": true,
1498
+ "description": "`id` of the active step."
1499
+ },
1500
+ {
1501
+ "name": "onChangeStep",
1502
+ "type": "(step: string) => void",
1503
+ "required": true,
1504
+ "description": "Fired with the `id` of the step the user may move to."
1505
+ },
1506
+ {
1507
+ "name": "statusLabels",
1508
+ "type": "Partial<Record<StepStatus, string>>",
1509
+ "required": false,
1510
+ "description": "Translated status text announced after a step's name."
1511
+ },
1512
+ {
1513
+ "name": "ariaLabel",
1514
+ "type": "string",
1515
+ "required": false,
1516
+ "description": "Accessible name for the list of steps."
1517
+ },
1518
+ {
1519
+ "name": "className",
1520
+ "type": "string",
1521
+ "required": false,
1522
+ "description": "Additional CSS classes for the root element."
1523
+ }
1524
+ ],
1525
+ "examples": [
1526
+ "<Steps\n ariaLabel=\"Create deployment\"\n steps={[\n { id: 'general', name: 'General', status: StepStatus.VALID },\n { id: 'limits', name: 'Limits', status: StepStatus.ERROR },\n { id: 'review', name: 'Review' },\n ]}\n currentStep=\"general\"\n onChangeStep={setCurrentStep}\n/>"
1527
+ ],
1528
+ "sourceFile": "components/New/Steps/Steps.tsx"
1529
+ },
1482
1530
  {
1483
1531
  "name": "AnalyticsCard",
1484
1532
  "category": "Components_2_0/Analytics",
@@ -1884,6 +1932,54 @@
1884
1932
  ],
1885
1933
  "sourceFile": "components/New/Label/Label.tsx"
1886
1934
  },
1935
+ {
1936
+ "name": "LabelledText",
1937
+ "category": "Components_2_0",
1938
+ "generation": "2.0",
1939
+ "description": "A read-only label/value pair: a small caption above a value.\naliases: LabelValue|DisplayText|ReadOnlyField|KeyValue\nDesign system 2.0\n\nThe caption is the kit's `Label`, so it matches the other 2.0 fields. There is\nno control to point its `htmlFor` at: it sits beside the value and reads in\nDOM order. It is not a form field: use `Label` with an input for editable\nvalues.\n\nWithout `children` the value is a single line capped at 200px that truncates;\nthe tooltip appears only while the text is actually clipped. With `children`\nthe value takes the content's own width.",
1940
+ "props": [
1941
+ {
1942
+ "name": "label",
1943
+ "type": "ReactNode",
1944
+ "required": true,
1945
+ "description": "Caption above the value."
1946
+ },
1947
+ {
1948
+ "name": "text",
1949
+ "type": "ReactNode",
1950
+ "required": false,
1951
+ "description": "The value, truncated with an ellipsis when it does not fit."
1952
+ },
1953
+ {
1954
+ "name": "tooltip",
1955
+ "type": "ReactNode",
1956
+ "required": false,
1957
+ "description": "Tooltip content used instead of `text` while it is clipped."
1958
+ },
1959
+ {
1960
+ "name": "children",
1961
+ "type": "ReactNode",
1962
+ "required": false,
1963
+ "description": "Custom value content, rendered instead of `text`."
1964
+ },
1965
+ {
1966
+ "name": "postfix",
1967
+ "type": "ReactNode",
1968
+ "required": false,
1969
+ "description": "Element after the value."
1970
+ },
1971
+ {
1972
+ "name": "className",
1973
+ "type": "string",
1974
+ "required": false,
1975
+ "description": "Additional CSS classes for the root element."
1976
+ }
1977
+ ],
1978
+ "examples": [
1979
+ "<LabelledText label=\"Endpoint\" text=\"https://example.com/v1/chat\" />\n\n<LabelledText\n label=\"Key\"\n text=\"sk-0000\"\n postfix={<IconButton icon={<IconCopy />} ariaLabel=\"Copy key\" />}\n/>"
1980
+ ],
1981
+ "sourceFile": "components/New/LabelledText/LabelledText.tsx"
1982
+ },
1887
1983
  {
1888
1984
  "name": "Textarea",
1889
1985
  "category": "Components_2_0",
@@ -6047,135 +6143,90 @@
6047
6143
  "supersededBy": "ErrorText"
6048
6144
  },
6049
6145
  {
6050
- "name": "DialAnalyticsCard",
6051
- "category": "Analytics",
6146
+ "name": "DialLabel",
6147
+ "category": "Elements",
6052
6148
  "generation": "1.0",
6053
- "description": "A simple analytics summary card that displays a single metric as a title,\na prominent value, and an optional description.\naliases: MetricCard|StatCard|KpiCard\nDesign system 1.0\n\nTwo visual variants are available via the enum:\n- `Default` — `bg-layer-3`, large `dial-display2-text` value, supports a description.\n- `Compact` — denser `bg-layer-2` card with a `dial-body-semi-text` value and no\n description (the `description` prop is ignored in this variant).\n\n**Compare mode** — pass `compareValues` to split the value area 50/50 between two\nmetrics, each with its own sub-title. Long sub-titles truncate to a single line and\nshow the full text in a tooltip. Pair with `delta` to show a change badge next\nto the card title, and `deltaUnit` for a suffix such as `\"s\"`.",
6149
+ "description": "A label component\naliases: FormLabel|RequiredIndicator\nDesign system 1.0",
6054
6150
  "props": [
6055
6151
  {
6056
- "name": "title",
6057
- "type": "ReactNode",
6058
- "required": true,
6059
- "description": "Short label describing the metric, rendered above the value."
6060
- },
6061
- {
6062
- "name": "value",
6063
- "type": "ReactNode",
6064
- "required": false,
6065
- "description": "The primary metric value. Ignored when `compareValues` is set."
6066
- },
6067
- {
6068
- "name": "description",
6152
+ "name": "label",
6069
6153
  "type": "ReactNode",
6070
6154
  "required": false,
6071
- "description": "Optional supporting text. Ignored when `variant` is `Compact`."
6072
- },
6073
- {
6074
- "name": "variant",
6075
- "type": "AnalyticsCardVariant",
6076
- "required": false,
6077
- "defaultValue": "AnalyticsCardVariant.Default",
6078
- "description": "Visual style of the card."
6079
- },
6080
- {
6081
- "name": "error",
6082
- "type": "boolean",
6083
- "required": false,
6084
- "description": "Renders an error tag in place of the value."
6085
- },
6086
- {
6087
- "name": "isLoading",
6088
- "type": "boolean",
6089
- "required": false,
6090
- "description": "Renders a loader in place of the value."
6091
- },
6092
- {
6093
- "name": "className",
6094
- "type": "string",
6095
- "required": false,
6096
- "description": "Additional CSS classes for the card container."
6097
- },
6098
- {
6099
- "name": "delta",
6100
- "type": "number",
6101
- "required": false,
6102
- "description": "Numeric change shown as a badge next to the title. ≥0 = success, <0 = error."
6155
+ "description": "The label text to display for the label"
6103
6156
  },
6104
6157
  {
6105
- "name": "deltaPositive",
6158
+ "name": "required",
6106
6159
  "type": "boolean",
6107
6160
  "required": false,
6108
- "description": "Overrides sign-based badge colour. Use for lower-is-better metrics."
6161
+ "description": "Whether the field is required"
6109
6162
  },
6110
6163
  {
6111
- "name": "deltaUnit",
6164
+ "name": "caption",
6112
6165
  "type": "string",
6113
6166
  "required": false,
6114
- "description": "Suffix appended to the formatted delta (e.g. `\"s\"` → `+9s`)."
6115
- },
6116
- {
6117
- "name": "compareValues",
6118
- "type": "[AnalyticsCardCompareItem, AnalyticsCardCompareItem]",
6119
- "required": false,
6120
- "description": "Enables compare mode with two side-by-side metrics."
6167
+ "description": "Additional caption text, displayed below the label."
6121
6168
  }
6122
6169
  ],
6123
6170
  "examples": [
6124
- "<DialAnalyticsCard\n title=\"Total requests\"\n value=\"12,480\"\n description=\"+12% vs last week\"\n/>",
6125
- "<DialAnalyticsCard\n title=\"Response time\"\n delta={9}\n deltaUnit=\"s\"\n deltaPositive={false}\n compareValues={[\n { title: 'This week', value: '248ms' },\n { title: 'Last week', value: '220ms' },\n ]}\n/>"
6171
+ "// Basic label\n<DialLabel htmlFor=\"email-input\" label=\"Email Address\" />"
6126
6172
  ],
6127
- "sourceFile": "components/Analytics/Card/Card.tsx",
6128
- "supersededBy": "AnalyticsCard"
6173
+ "sourceFile": "components/Label/Label.tsx",
6174
+ "supersededBy": "Label"
6129
6175
  },
6130
6176
  {
6131
- "name": "DialAnalyticsBar",
6132
- "category": "Analytics",
6177
+ "name": "DialAccordion",
6178
+ "category": "Layout",
6133
6179
  "generation": "1.0",
6134
- "description": "A compact analytics meter: a horizontal bar whose fill width and color reflect a\nvalue relative to `maxValue`, with an optional title on the left and value on the right.\naliases: MetricBar|Meter|ScoreBar\nDesign system 1.0\n\nThe fill color is resolved from `colorMap` based on the normalized ratio\n(`value / maxValue`), so the bar shifts hue as the value grows. An empty bar\n(value `0`) shows only the `bg-layer-1` track. A missing value (`null`) shows\nan em dash and no progress bar.",
6180
+ "description": "A collapsible panel that toggles its content when the header is clicked.\naliases: Collapse|Disclosure|ExpandablePanel\nDesign system 1.0\n\nWorks as a controlled component when `expanded` is provided, otherwise it manages\nits own state from `defaultExpanded`. The header shows a chevron that rotates when\nexpanded, a title, and an optional description.",
6135
6181
  "props": [
6136
6182
  {
6137
- "name": "value",
6138
- "type": "number | null",
6183
+ "name": "title",
6184
+ "type": "ReactNode",
6185
+ "required": true,
6186
+ "description": "Title rendered in the header."
6187
+ },
6188
+ {
6189
+ "name": "description",
6190
+ "type": "ReactNode",
6139
6191
  "required": false,
6140
- "description": "Current value used to size and color the bar. Pass `null` for no data (em dash, no bar). Omit when `error` is set."
6192
+ "description": "Optional secondary text rendered under the title."
6141
6193
  },
6142
6194
  {
6143
- "name": "maxValue",
6144
- "type": "number",
6195
+ "name": "children",
6196
+ "type": "ReactNode",
6145
6197
  "required": false,
6146
- "defaultValue": "1",
6147
- "description": "Upper bound of the scale."
6198
+ "description": "Content revealed when expanded."
6148
6199
  },
6149
6200
  {
6150
- "name": "error",
6201
+ "name": "expanded",
6151
6202
  "type": "boolean",
6152
6203
  "required": false,
6153
- "description": "Renders the error state (error-colored bar + error tag)."
6204
+ "description": "Controlled expanded state."
6154
6205
  },
6155
6206
  {
6156
- "name": "isLoading",
6207
+ "name": "defaultExpanded",
6157
6208
  "type": "boolean",
6158
6209
  "required": false,
6159
- "description": "Renders the loading state (loader + empty track)."
6210
+ "defaultValue": "false",
6211
+ "description": "Initial expanded state when uncontrolled."
6160
6212
  },
6161
6213
  {
6162
- "name": "title",
6163
- "type": "ReactNode",
6214
+ "name": "disabled",
6215
+ "type": "boolean",
6164
6216
  "required": false,
6165
- "description": "Optional label rendered above the bar, on the left."
6217
+ "description": "Disables toggling."
6166
6218
  },
6167
6219
  {
6168
- "name": "valueLabel",
6169
- "type": "ReactNode",
6220
+ "name": "nonCollapsible",
6221
+ "type": "boolean",
6170
6222
  "required": false,
6171
- "description": "Text rendered above the bar, on the right. Defaults to `value` or `—` when null."
6223
+ "description": "Renders the panel permanently expanded without a chevron or toggle."
6172
6224
  },
6173
6225
  {
6174
- "name": "colorMap",
6175
- "type": "AnalyticsBarColorStop[]",
6226
+ "name": "onToggle",
6227
+ "type": "(expanded: boolean) => void",
6176
6228
  "required": false,
6177
- "defaultValue": "DEFAULT_ANALYTICS_BAR_COLOR_MAP",
6178
- "description": "Color bands keyed by ratio."
6229
+ "description": "Fired when the header is clicked. Receives the next expanded state."
6179
6230
  },
6180
6231
  {
6181
6232
  "name": "className",
@@ -6184,418 +6235,72 @@
6184
6235
  "description": "Additional CSS classes for the outer container."
6185
6236
  },
6186
6237
  {
6187
- "name": "titleClassName",
6188
- "type": "string",
6189
- "required": false,
6190
- "description": "Additional CSS classes for the title label."
6191
- },
6192
- {
6193
- "name": "valueClassName",
6238
+ "name": "headerClassName",
6194
6239
  "type": "string",
6195
6240
  "required": false,
6196
- "description": "Additional CSS classes for the value label."
6197
- },
6198
- {
6199
- "name": "inline",
6200
- "type": "boolean",
6201
- "required": false,
6202
- "description": "Renders the title and bar on a single row (50% / 50%)."
6241
+ "description": "Additional CSS classes for the header button."
6203
6242
  },
6204
6243
  {
6205
- "name": "ariaLabel",
6244
+ "name": "contentClassName",
6206
6245
  "type": "string",
6207
6246
  "required": false,
6208
- "description": "Accessible label for the bar."
6247
+ "description": "Additional CSS classes for the content region."
6209
6248
  }
6210
6249
  ],
6211
6250
  "examples": [
6212
- "<DialAnalyticsBar title=\"Relevance\" value={0.82} valueLabel=\"82%\" />",
6213
- "<DialAnalyticsBar\n title=\"Score\"\n value={640}\n maxValue={1000}\n colorMap={customColorMap}\n/>"
6251
+ "<DialAccordion title=\"Advanced settings\" description=\"Optional configuration\">\n <p>Panel content</p>\n</DialAccordion>"
6214
6252
  ],
6215
- "sourceFile": "components/Analytics/Bar/Bar.tsx",
6216
- "supersededBy": "AnalyticsBar"
6253
+ "sourceFile": "components/Accordion/Accordion.tsx",
6254
+ "supersededBy": "Accordion"
6217
6255
  },
6218
6256
  {
6219
- "name": "DialAnalyticsErrorTag",
6220
- "category": "Analytics",
6257
+ "name": "DialIcon",
6258
+ "category": "Data Display",
6221
6259
  "generation": "1.0",
6222
- "description": "A non-interactive error tag used across analytics components to indicate that a\nDesign system 1.0\nmetric value could not be provided. Renders a styled with the\nerror palette (`bg-error`, `text-error`, `border-error`).",
6260
+ "description": "A wrapper component for rendering icons with consistent styling\naliases: IconRenderer|SVGWrapper\nDesign system 1.0",
6223
6261
  "props": [
6224
6262
  {
6225
- "name": "label",
6226
- "type": "string",
6263
+ "name": "icon",
6264
+ "type": "ReactNode",
6227
6265
  "required": false,
6228
- "defaultValue": "'Error'",
6229
- "description": "Text shown inside the tag."
6266
+ "description": "The icon element to render"
6230
6267
  },
6231
6268
  {
6232
6269
  "name": "className",
6233
6270
  "type": "string",
6234
6271
  "required": false,
6235
- "description": "Additional CSS classes applied to the tag."
6272
+ "description": "Additional CSS classes to apply to the icon wrapper"
6236
6273
  }
6237
6274
  ],
6238
6275
  "examples": [
6239
- "<DialAnalyticsErrorTag />"
6276
+ "<DialIcon icon={<SearchIcon />} />\n<DialIcon icon={<CloseIcon />} className=\"text-primary\" />"
6240
6277
  ],
6241
- "sourceFile": "components/Analytics/ErrorTag/ErrorTag.tsx"
6278
+ "sourceFile": "components/Icon/Icon.tsx"
6242
6279
  },
6243
6280
  {
6244
- "name": "DialAnalyticsBarGroup",
6245
- "category": "Analytics",
6281
+ "name": "DialLoader",
6282
+ "category": "Feedback",
6246
6283
  "generation": "1.0",
6247
- "description": "A collapsible group of analytics bars built from a key/value map. Wraps\n: the `title` is shown in the header, the number of entries\nis shown as the header description, and each entry renders a \nwith the key as its title and the value as its value.\naliases: MetricBarGroup|BarList|NumericResults\nDesign system 1.0",
6284
+ "description": "A simple loading spinner component.\naliases: LoadingSpinner|ProgressSpinner\nDesign system 1.0\n\nRenders a spinning SVG with optional full-width container.",
6248
6285
  "props": [
6249
6286
  {
6250
- "name": "title",
6251
- "type": "ReactNode",
6252
- "required": true,
6253
- "description": "Title passed to the accordion header."
6287
+ "name": "size",
6288
+ "type": "number",
6289
+ "required": false,
6290
+ "defaultValue": "18",
6291
+ "description": "Icon size in px"
6254
6292
  },
6255
6293
  {
6256
- "name": "titleTooltip",
6257
- "type": "ReactNode",
6294
+ "name": "className",
6295
+ "type": "string",
6258
6296
  "required": false,
6259
- "description": "Tooltip shown when hovering the accordion header title."
6297
+ "description": "Additional classes for the container"
6260
6298
  },
6261
6299
  {
6262
- "name": "description",
6263
- "type": "ReactNode",
6300
+ "name": "iconClassName",
6301
+ "type": "string",
6264
6302
  "required": false,
6265
- "description": "Description passed to the accordion header. Defaults to the number of entries."
6266
- },
6267
- {
6268
- "name": "data",
6269
- "type": "Record<string, number | null>",
6270
- "required": true,
6271
- "description": "Map of metric name to numeric value (or `null` when missing). Each entry renders one bar."
6272
- },
6273
- {
6274
- "name": "compareData",
6275
- "type": "Record<string, number | null>",
6276
- "required": false,
6277
- "description": "Enables compare mode: union of keys, delta badge (`compareData − data`) when both sides are numeric and the rounded delta is non-zero, em dash (no bar) when a side is missing."
6278
- },
6279
- {
6280
- "name": "compareLabels",
6281
- "type": "[ReactNode, ReactNode]",
6282
- "required": false,
6283
- "description": "Labels for the two bars in compare mode: first for `data`, second for `compareData`."
6284
- },
6285
- {
6286
- "name": "maxValue",
6287
- "type": "number",
6288
- "required": false,
6289
- "description": "Upper bound passed to every bar."
6290
- },
6291
- {
6292
- "name": "colorMap",
6293
- "type": "AnalyticsBarColorStop[]",
6294
- "required": false,
6295
- "description": "Color map passed to every bar."
6296
- },
6297
- {
6298
- "name": "defaultExpanded",
6299
- "type": "boolean",
6300
- "required": false,
6301
- "defaultValue": "true",
6302
- "description": "Whether the accordion is expanded initially."
6303
- },
6304
- {
6305
- "name": "nonCollapsible",
6306
- "type": "boolean",
6307
- "required": false,
6308
- "description": "Renders the group permanently expanded without a toggle or chevron."
6309
- },
6310
- {
6311
- "name": "isLoading",
6312
- "type": "boolean",
6313
- "required": false,
6314
- "description": "Renders a loader in place of the bars while the data is being fetched."
6315
- },
6316
- {
6317
- "name": "onBarClick",
6318
- "type": "(key: string, value: number | null) => void",
6319
- "required": false,
6320
- "description": "Invoked with the entry key and value when a bar (or, in compare mode, the whole entry) is clicked."
6321
- },
6322
- {
6323
- "name": "inline",
6324
- "type": "boolean",
6325
- "required": false,
6326
- "description": "Renders every bar on a single row (50% title, 50% bar + value)."
6327
- },
6328
- {
6329
- "name": "barTitleClassName",
6330
- "type": "string",
6331
- "required": false,
6332
- "description": "Additional CSS classes for each bar's title label."
6333
- },
6334
- {
6335
- "name": "barValueClassName",
6336
- "type": "string",
6337
- "required": false,
6338
- "description": "Additional CSS classes for each bar's value label."
6339
- },
6340
- {
6341
- "name": "barClassName",
6342
- "type": "string",
6343
- "required": false,
6344
- "description": "Additional CSS classes for each bar's outer container. In compare mode they apply to the shared pair container (one continuous block); the entry is a Tailwind `group` — use `group-hover:` for pair hover; when `onBarClick` is set that container also gets a default accent fill on hover and `:focus-visible`."
6345
- },
6346
- {
6347
- "name": "barDescriptions",
6348
- "type": "Record<string, ReactNode>",
6349
- "required": false,
6350
- "description": "Map of bar key to tooltip content. Hovering each bar shows its description."
6351
- },
6352
- {
6353
- "name": "className",
6354
- "type": "string",
6355
- "required": false,
6356
- "description": "Additional CSS classes for the accordion container."
6357
- }
6358
- ],
6359
- "examples": [
6360
- "<DialAnalyticsBarGroup\n title=\"Relevance\"\n data={{ accuracy: 0.82, recall: 0.64, precision: 0.91 }}\n/>"
6361
- ],
6362
- "sourceFile": "components/Analytics/BarGroup/BarGroup.tsx",
6363
- "supersededBy": "AnalyticsBarGroup"
6364
- },
6365
- {
6366
- "name": "DialAnalyticsHistogram",
6367
- "category": "Analytics",
6368
- "generation": "1.0",
6369
- "description": "A histogram that distributes `values` across the bands of a color map and draws a\ncolumn per band. Each column's height is relative to the Y-axis max (an even\nceiling of the dataset size — the \"out of N\" in the tooltip). Empty columns\nare outlined, populated columns are filled with their band color. A left\nY-axis (count) and horizontal grid lines provide scale; interval labels run\nalong the bottom. Hovering a column reveals a tooltip with its share of the\ntotal.\naliases: Distribution|ColumnChart|FrequencyChart\nDesign system 1.0",
6370
- "props": [
6371
- {
6372
- "name": "title",
6373
- "type": "ReactNode",
6374
- "required": true,
6375
- "description": "Title rendered above the histogram."
6376
- },
6377
- {
6378
- "name": "values",
6379
- "type": "number[]",
6380
- "required": true,
6381
- "description": "Values to distribute across the columns."
6382
- },
6383
- {
6384
- "name": "colorMap",
6385
- "type": "AnalyticsBarColorStop[]",
6386
- "required": false,
6387
- "defaultValue": "DEFAULT_ANALYTICS_BAR_COLOR_MAP",
6388
- "description": "Color bands defining the columns."
6389
- },
6390
- {
6391
- "name": "valueTitle",
6392
- "type": "string",
6393
- "required": false,
6394
- "defaultValue": "'values'",
6395
- "description": "Noun used in the hover tooltip."
6396
- },
6397
- {
6398
- "name": "showCount",
6399
- "type": "boolean",
6400
- "required": false,
6401
- "description": "When `true`, renders each column's count inside its bar."
6402
- },
6403
- {
6404
- "name": "isLoading",
6405
- "type": "boolean",
6406
- "required": false,
6407
- "description": "Renders a loader in place of the histogram while the data is being fetched."
6408
- },
6409
- {
6410
- "name": "className",
6411
- "type": "string",
6412
- "required": false,
6413
- "description": "Additional CSS classes for the outer container."
6414
- },
6415
- {
6416
- "name": "compareValues",
6417
- "type": "number[]",
6418
- "required": false,
6419
- "description": "Second set of values; enables compare mode (primary striped, compare solid)."
6420
- },
6421
- {
6422
- "name": "valueSetLabel",
6423
- "type": "string",
6424
- "required": false,
6425
- "description": "Label for the primary values set (compare mode tooltip)."
6426
- },
6427
- {
6428
- "name": "compareValueSetLabel",
6429
- "type": "string",
6430
- "required": false,
6431
- "description": "Label for the compare values set (compare mode tooltip)."
6432
- }
6433
- ],
6434
- "examples": [
6435
- "<DialAnalyticsHistogram\n title=\"Score distribution\"\n values={[0.1, 0.15, 0.4, 0.42, 0.43, 0.9, 1]}\n valueTitle=\"responses\"\n/>"
6436
- ],
6437
- "sourceFile": "components/Analytics/Histogram/Histogram.tsx",
6438
- "supersededBy": "AnalyticsHistogram"
6439
- },
6440
- {
6441
- "name": "DialLabel",
6442
- "category": "Elements",
6443
- "generation": "1.0",
6444
- "description": "A label component\naliases: FormLabel|RequiredIndicator\nDesign system 1.0",
6445
- "props": [
6446
- {
6447
- "name": "label",
6448
- "type": "ReactNode",
6449
- "required": false,
6450
- "description": "The label text to display for the label"
6451
- },
6452
- {
6453
- "name": "required",
6454
- "type": "boolean",
6455
- "required": false,
6456
- "description": "Whether the field is required"
6457
- },
6458
- {
6459
- "name": "caption",
6460
- "type": "string",
6461
- "required": false,
6462
- "description": "Additional caption text, displayed below the label."
6463
- }
6464
- ],
6465
- "examples": [
6466
- "// Basic label\n<DialLabel htmlFor=\"email-input\" label=\"Email Address\" />"
6467
- ],
6468
- "sourceFile": "components/Label/Label.tsx",
6469
- "supersededBy": "Label"
6470
- },
6471
- {
6472
- "name": "DialAccordion",
6473
- "category": "Layout",
6474
- "generation": "1.0",
6475
- "description": "A collapsible panel that toggles its content when the header is clicked.\naliases: Collapse|Disclosure|ExpandablePanel\nDesign system 1.0\n\nWorks as a controlled component when `expanded` is provided, otherwise it manages\nits own state from `defaultExpanded`. The header shows a chevron that rotates when\nexpanded, a title, and an optional description.",
6476
- "props": [
6477
- {
6478
- "name": "title",
6479
- "type": "ReactNode",
6480
- "required": true,
6481
- "description": "Title rendered in the header."
6482
- },
6483
- {
6484
- "name": "description",
6485
- "type": "ReactNode",
6486
- "required": false,
6487
- "description": "Optional secondary text rendered under the title."
6488
- },
6489
- {
6490
- "name": "children",
6491
- "type": "ReactNode",
6492
- "required": false,
6493
- "description": "Content revealed when expanded."
6494
- },
6495
- {
6496
- "name": "expanded",
6497
- "type": "boolean",
6498
- "required": false,
6499
- "description": "Controlled expanded state."
6500
- },
6501
- {
6502
- "name": "defaultExpanded",
6503
- "type": "boolean",
6504
- "required": false,
6505
- "defaultValue": "false",
6506
- "description": "Initial expanded state when uncontrolled."
6507
- },
6508
- {
6509
- "name": "disabled",
6510
- "type": "boolean",
6511
- "required": false,
6512
- "description": "Disables toggling."
6513
- },
6514
- {
6515
- "name": "nonCollapsible",
6516
- "type": "boolean",
6517
- "required": false,
6518
- "description": "Renders the panel permanently expanded without a chevron or toggle."
6519
- },
6520
- {
6521
- "name": "onToggle",
6522
- "type": "(expanded: boolean) => void",
6523
- "required": false,
6524
- "description": "Fired when the header is clicked. Receives the next expanded state."
6525
- },
6526
- {
6527
- "name": "className",
6528
- "type": "string",
6529
- "required": false,
6530
- "description": "Additional CSS classes for the outer container."
6531
- },
6532
- {
6533
- "name": "headerClassName",
6534
- "type": "string",
6535
- "required": false,
6536
- "description": "Additional CSS classes for the header button."
6537
- },
6538
- {
6539
- "name": "contentClassName",
6540
- "type": "string",
6541
- "required": false,
6542
- "description": "Additional CSS classes for the content region."
6543
- }
6544
- ],
6545
- "examples": [
6546
- "<DialAccordion title=\"Advanced settings\" description=\"Optional configuration\">\n <p>Panel content</p>\n</DialAccordion>"
6547
- ],
6548
- "sourceFile": "components/Accordion/Accordion.tsx",
6549
- "supersededBy": "Accordion"
6550
- },
6551
- {
6552
- "name": "DialIcon",
6553
- "category": "Data Display",
6554
- "generation": "1.0",
6555
- "description": "A wrapper component for rendering icons with consistent styling\naliases: IconRenderer|SVGWrapper\nDesign system 1.0",
6556
- "props": [
6557
- {
6558
- "name": "icon",
6559
- "type": "ReactNode",
6560
- "required": false,
6561
- "description": "The icon element to render"
6562
- },
6563
- {
6564
- "name": "className",
6565
- "type": "string",
6566
- "required": false,
6567
- "description": "Additional CSS classes to apply to the icon wrapper"
6568
- }
6569
- ],
6570
- "examples": [
6571
- "<DialIcon icon={<SearchIcon />} />\n<DialIcon icon={<CloseIcon />} className=\"text-primary\" />"
6572
- ],
6573
- "sourceFile": "components/Icon/Icon.tsx"
6574
- },
6575
- {
6576
- "name": "DialLoader",
6577
- "category": "Feedback",
6578
- "generation": "1.0",
6579
- "description": "A simple loading spinner component.\naliases: LoadingSpinner|ProgressSpinner\nDesign system 1.0\n\nRenders a spinning SVG with optional full-width container.",
6580
- "props": [
6581
- {
6582
- "name": "size",
6583
- "type": "number",
6584
- "required": false,
6585
- "defaultValue": "18",
6586
- "description": "Icon size in px"
6587
- },
6588
- {
6589
- "name": "className",
6590
- "type": "string",
6591
- "required": false,
6592
- "description": "Additional classes for the container"
6593
- },
6594
- {
6595
- "name": "iconClassName",
6596
- "type": "string",
6597
- "required": false,
6598
- "description": "Additional classes for the SVG icon"
6303
+ "description": "Additional classes for the SVG icon"
6599
6304
  },
6600
6305
  {
6601
6306
  "name": "fullWidth",
@@ -6617,36 +6322,6 @@
6617
6322
  ],
6618
6323
  "sourceFile": "components/Loader/Loader.tsx"
6619
6324
  },
6620
- {
6621
- "name": "DialSteps",
6622
- "category": "Navigation",
6623
- "generation": "1.0",
6624
- "description": "Props for the DialSteps component, which renders a multi-step navigation UI.\naliases: StepWizard|ProgressSteps\nDesign system 1.0",
6625
- "props": [
6626
- {
6627
- "name": "steps",
6628
- "type": "Step[]",
6629
- "required": true,
6630
- "description": "Array of step objects to display"
6631
- },
6632
- {
6633
- "name": "currentStep",
6634
- "type": "string",
6635
- "required": true,
6636
- "description": "The id of the currently active step"
6637
- },
6638
- {
6639
- "name": "onChangeStep",
6640
- "type": "(step: string) => void",
6641
- "required": true,
6642
- "description": "Callback to set the current step by id"
6643
- }
6644
- ],
6645
- "examples": [
6646
- "<DialSteps\n steps={[{ id: 'step1', label: 'Step 1', status: StepStatus.VALID }, { id: 'step2', label: 'Step 2', status: StepStatus.ERROR }]}\n currentStep=\"step1\"\n onChangeStep={(step) => console.log(step)}\n/>"
6647
- ],
6648
- "sourceFile": "components/Steps/Steps.tsx"
6649
- },
6650
6325
  {
6651
6326
  "name": "DialNoDataContent",
6652
6327
  "category": "Feedback",
@@ -6742,7 +6417,8 @@
6742
6417
  "examples": [
6743
6418
  "<DialLabelledText\n label=\"Username\"\n text=\"Enter your username\"\n postfix={<span>*</span>}\n/>"
6744
6419
  ],
6745
- "sourceFile": "components/LabelledText/LabelledText.tsx"
6420
+ "sourceFile": "components/LabelledText/LabelledText.tsx",
6421
+ "supersededBy": "LabelledText"
6746
6422
  },
6747
6423
  {
6748
6424
  "name": "DialTag",
@@ -7749,55 +7425,6 @@
7749
7425
  }
7750
7426
  ],
7751
7427
  "types": [
7752
- {
7753
- "name": "AnalyticsCardVariant",
7754
- "kind": "enum",
7755
- "members": [
7756
- {
7757
- "name": "Default",
7758
- "value": "'default'"
7759
- },
7760
- {
7761
- "name": "Compact",
7762
- "value": "'compact'"
7763
- }
7764
- ],
7765
- "sourceFile": "types/analytics.ts"
7766
- },
7767
- {
7768
- "name": "AnalyticsBarColorStop",
7769
- "kind": "interface",
7770
- "members": [
7771
- {
7772
- "name": "from",
7773
- "value": "number"
7774
- },
7775
- {
7776
- "name": "to",
7777
- "value": "number"
7778
- },
7779
- {
7780
- "name": "color",
7781
- "value": "string"
7782
- }
7783
- ],
7784
- "sourceFile": "models/analytics.ts"
7785
- },
7786
- {
7787
- "name": "AnalyticsCardCompareItem",
7788
- "kind": "interface",
7789
- "members": [
7790
- {
7791
- "name": "title",
7792
- "value": "ReactNode"
7793
- },
7794
- {
7795
- "name": "value",
7796
- "value": "ReactNode"
7797
- }
7798
- ],
7799
- "sourceFile": "models/analytics.ts"
7800
- },
7801
7428
  {
7802
7429
  "name": "DialTooltipContainerOptions",
7803
7430
  "kind": "interface",
@@ -9087,6 +8714,55 @@
9087
8714
  "sourceFile": "components/New/Breadcrumbs/Breadcrumbs.tsx",
9088
8715
  "description": "One step of the trail rendered by ."
9089
8716
  },
8717
+ {
8718
+ "name": "AnalyticsCardVariant",
8719
+ "kind": "enum",
8720
+ "members": [
8721
+ {
8722
+ "name": "Default",
8723
+ "value": "'default'"
8724
+ },
8725
+ {
8726
+ "name": "Compact",
8727
+ "value": "'compact'"
8728
+ }
8729
+ ],
8730
+ "sourceFile": "types/analytics.ts"
8731
+ },
8732
+ {
8733
+ "name": "AnalyticsBarColorStop",
8734
+ "kind": "interface",
8735
+ "members": [
8736
+ {
8737
+ "name": "from",
8738
+ "value": "number"
8739
+ },
8740
+ {
8741
+ "name": "to",
8742
+ "value": "number"
8743
+ },
8744
+ {
8745
+ "name": "color",
8746
+ "value": "string"
8747
+ }
8748
+ ],
8749
+ "sourceFile": "models/analytics.ts"
8750
+ },
8751
+ {
8752
+ "name": "AnalyticsCardCompareItem",
8753
+ "kind": "interface",
8754
+ "members": [
8755
+ {
8756
+ "name": "title",
8757
+ "value": "ReactNode"
8758
+ },
8759
+ {
8760
+ "name": "value",
8761
+ "value": "ReactNode"
8762
+ }
8763
+ ],
8764
+ "sourceFile": "models/analytics.ts"
8765
+ },
9090
8766
  {
9091
8767
  "name": "TextareaResize",
9092
8768
  "kind": "enum",
@@ -9750,12 +9426,6 @@
9750
9426
  }
9751
9427
  ],
9752
9428
  "hooks": [
9753
- {
9754
- "name": "DEFAULT_ANALYTICS_BAR_COLOR_MAP",
9755
- "sourceFile": "components/Analytics/Bar/utils.ts",
9756
- "description": "Default color map for , expressed as ratios (value / maxValue).\nA value of `0` leaves the bar empty (track shows through); a value at the maximum\nuses the dedicated full-bar color.",
9757
- "signature": "DEFAULT_ANALYTICS_BAR_COLOR_MAP: AnalyticsBarColorStop[]"
9758
- },
9759
9429
  {
9760
9430
  "name": "EDITABLE_CONTAINER_ATTRIBUTE",
9761
9431
  "sourceFile": "hooks/use-editable-item.tsx",
@@ -9776,6 +9446,12 @@
9776
9446
  "name": "UseEditableItemOptions",
9777
9447
  "sourceFile": "hooks/use-editable-item.tsx"
9778
9448
  },
9449
+ {
9450
+ "name": "DEFAULT_ANALYTICS_BAR_COLOR_MAP",
9451
+ "sourceFile": "components/New/Analytics/Bar/utils.ts",
9452
+ "description": "Default color map for , expressed as ratios (value / maxValue).\nA value of `0` leaves the bar empty (track shows through); a value at the maximum\nuses the dedicated full-bar color.",
9453
+ "signature": "DEFAULT_ANALYTICS_BAR_COLOR_MAP: AnalyticsBarColorStop[]"
9454
+ },
9779
9455
  {
9780
9456
  "name": "useThemeScope",
9781
9457
  "sourceFile": "components/New/ThemeScope/ThemeScope.tsx",
@@ -9934,7 +9610,7 @@
9934
9610
  {
9935
9611
  "name": "DIAL_KIT_CLASS",
9936
9612
  "sourceFile": "constants/public-class-names.ts",
9937
- "signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `section` root of a `StateScreen`. */\n stateScreen: 'dial-kit-state-screen',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The root of an `AnalyticsCard`: the box holding its title, value and description. */\n analyticsCard: 'dial-kit-analytics-card',\n /** The root of an `AnalyticsBar`: the title row and track, stacked or inline. */\n analyticsBar: 'dial-kit-analytics-bar',\n /** The root of an `AnalyticsBarGroup`: its accordion, header and bars. */\n analyticsBarGroup: 'dial-kit-analytics-bar-group',\n /** The root of an `AnalyticsHistogram`: its title, axis and columns. */\n analyticsHistogram: 'dial-kit-analytics-histogram',\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /** The `role=\"separator\"` element of a `ResizeHandle`. */\n resizeHandle: 'dial-kit-resize-handle',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /**\n * The backdrop of a `BottomSheet`: the portalled, scroll-locking layer on\n * `z-popup` that holds the panel.\n */\n bottomSheetOverlay: 'dial-kit-bottom-sheet-overlay',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /** The search row above the item list of a `searchable` `Dropdown`. */\n dropdownSearch: 'dial-kit-dropdown-search',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */\n schemaRenderer: 'dial-kit-schema-renderer',\n /**\n * The card of one collapsible `SchemaRenderer` section, at any depth: a\n * top-level property, a nested object or array, an array item, or a\n * key-value entry holding an object.\n */\n schemaRendererSection: 'dial-kit-schema-renderer-section',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n /** The bordered card of a `SelectedEntityCard`, not the wrapper that also holds its error. */\n selectedEntityCard: 'dial-kit-selected-entity-card',\n /** The `section` root of a `FormSection`: its heading row, description and content. */\n formSection: 'dial-kit-form-section',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
9613
+ "signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `section` root of a `StateScreen`. */\n stateScreen: 'dial-kit-state-screen',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n /** The root of a `LabelledText`, wrapping its caption and value. */\n labelledText: 'dial-kit-labelled-text',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `ol` root of a `Steps`, holding one button per step. */\n steps: 'dial-kit-steps',\n /** The root of an `AnalyticsCard`: the box holding its title, value and description. */\n analyticsCard: 'dial-kit-analytics-card',\n /** The root of an `AnalyticsBar`: the title row and track, stacked or inline. */\n analyticsBar: 'dial-kit-analytics-bar',\n /** The root of an `AnalyticsBarGroup`: its accordion, header and bars. */\n analyticsBarGroup: 'dial-kit-analytics-bar-group',\n /** The root of an `AnalyticsHistogram`: its title, axis and columns. */\n analyticsHistogram: 'dial-kit-analytics-histogram',\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /** The `role=\"separator\"` element of a `ResizeHandle`. */\n resizeHandle: 'dial-kit-resize-handle',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /**\n * The backdrop of a `BottomSheet`: the portalled, scroll-locking layer on\n * `z-popup` that holds the panel.\n */\n bottomSheetOverlay: 'dial-kit-bottom-sheet-overlay',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /** The search row above the item list of a `searchable` `Dropdown`. */\n dropdownSearch: 'dial-kit-dropdown-search',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */\n schemaRenderer: 'dial-kit-schema-renderer',\n /**\n * The card of one collapsible `SchemaRenderer` section, at any depth: a\n * top-level property, a nested object or array, an array item, or a\n * key-value entry holding an object.\n */\n schemaRendererSection: 'dial-kit-schema-renderer-section',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n /** The bordered card of a `SelectedEntityCard`, not the wrapper that also holds its error. */\n selectedEntityCard: 'dial-kit-selected-entity-card',\n /** The `section` root of a `FormSection`: its heading row, description and content. */\n formSection: 'dial-kit-form-section',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
9938
9614
  }
9939
9615
  ]
9940
9616
  }