@epam/ai-dial-ui-kit 0.16.0-dev.46 → 0.16.0-dev.48
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/README.md +5 -0
- package/dist/{DateCellRenderer-Bx79kGGv.cjs → DateCellRenderer-B2BORgHD.cjs} +1 -1
- package/dist/components/New/Analytics/Bar/Bar.js +104 -0
- package/dist/components/New/Analytics/BarGroup/BarGroup.js +143 -0
- package/dist/components/New/Analytics/Card/Card.js +99 -0
- package/dist/components/New/Analytics/Histogram/Histogram.js +212 -0
- package/dist/components/New/LabelledText/LabelledText.js +43 -0
- package/dist/components-manifest.json +423 -8
- package/dist/constants/public-class-names.js +10 -0
- package/dist/dial-ui-kit.cjs +3 -3
- package/dist/dial-ui-kit.js +233 -223
- package/dist/grid.cjs +1 -1
- package/dist/src/components/New/Analytics/Bar/Bar.d.ts +86 -0
- package/dist/src/components/New/Analytics/BarGroup/BarGroup.d.ts +103 -0
- package/dist/src/components/New/Analytics/Card/Card.d.ts +91 -0
- package/dist/src/components/New/Analytics/Histogram/Histogram.d.ts +59 -0
- package/dist/src/components/New/LabelledText/LabelledText.d.ts +48 -0
- package/dist/src/constants/public-class-names.d.ts +10 -0
- package/dist/src/index.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.16.0-dev.
|
|
3
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"version": "0.16.0-dev.48",
|
|
3
|
+
"generatedAt": "2026-10-26T13:19:36.955Z",
|
|
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,368 @@
|
|
|
1479
1479
|
],
|
|
1480
1480
|
"sourceFile": "components/New/InfoButton/InfoButton.tsx"
|
|
1481
1481
|
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "AnalyticsCard",
|
|
1484
|
+
"category": "Components_2_0/Analytics",
|
|
1485
|
+
"generation": "2.0",
|
|
1486
|
+
"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 2.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\"`.",
|
|
1487
|
+
"props": [
|
|
1488
|
+
{
|
|
1489
|
+
"name": "title",
|
|
1490
|
+
"type": "ReactNode",
|
|
1491
|
+
"required": true,
|
|
1492
|
+
"description": "Short label describing the metric, rendered above the value."
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "value",
|
|
1496
|
+
"type": "ReactNode",
|
|
1497
|
+
"required": false,
|
|
1498
|
+
"description": "The primary metric value. Ignored when `compareValues` is set."
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "description",
|
|
1502
|
+
"type": "ReactNode",
|
|
1503
|
+
"required": false,
|
|
1504
|
+
"description": "Optional supporting text. Ignored when `variant` is `Compact`."
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "variant",
|
|
1508
|
+
"type": "AnalyticsCardVariant",
|
|
1509
|
+
"required": false,
|
|
1510
|
+
"defaultValue": "AnalyticsCardVariant.Default",
|
|
1511
|
+
"description": "Visual style of the card."
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "error",
|
|
1515
|
+
"type": "boolean",
|
|
1516
|
+
"required": false,
|
|
1517
|
+
"description": "Renders an error tag in place of the value."
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"name": "isLoading",
|
|
1521
|
+
"type": "boolean",
|
|
1522
|
+
"required": false,
|
|
1523
|
+
"description": "Renders a loader in place of the value."
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"name": "className",
|
|
1527
|
+
"type": "string",
|
|
1528
|
+
"required": false,
|
|
1529
|
+
"description": "Additional CSS classes for the card container."
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"name": "delta",
|
|
1533
|
+
"type": "number",
|
|
1534
|
+
"required": false,
|
|
1535
|
+
"description": "Numeric change shown as a badge next to the title. ≥0 = success, <0 = error."
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "deltaPositive",
|
|
1539
|
+
"type": "boolean",
|
|
1540
|
+
"required": false,
|
|
1541
|
+
"description": "Overrides sign-based badge colour. Use for lower-is-better metrics."
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "deltaUnit",
|
|
1545
|
+
"type": "string",
|
|
1546
|
+
"required": false,
|
|
1547
|
+
"description": "Suffix appended to the formatted delta (e.g. `\"s\"` → `+9s`)."
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"name": "compareValues",
|
|
1551
|
+
"type": "[AnalyticsCardCompareItem, AnalyticsCardCompareItem]",
|
|
1552
|
+
"required": false,
|
|
1553
|
+
"description": "Enables compare mode with two side-by-side metrics."
|
|
1554
|
+
}
|
|
1555
|
+
],
|
|
1556
|
+
"examples": [
|
|
1557
|
+
"<AnalyticsCard\n title=\"Total requests\"\n value=\"12,480\"\n description=\"+12% vs last week\"\n/>",
|
|
1558
|
+
"<AnalyticsCard\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/>"
|
|
1559
|
+
],
|
|
1560
|
+
"sourceFile": "components/New/Analytics/Card/Card.tsx"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"name": "AnalyticsBar",
|
|
1564
|
+
"category": "Components_2_0/Analytics",
|
|
1565
|
+
"generation": "2.0",
|
|
1566
|
+
"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 2.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.",
|
|
1567
|
+
"props": [
|
|
1568
|
+
{
|
|
1569
|
+
"name": "value",
|
|
1570
|
+
"type": "number | null",
|
|
1571
|
+
"required": false,
|
|
1572
|
+
"description": "Current value used to size and color the bar. Pass `null` for no data (em dash, no bar). Omit when `error` is set."
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "maxValue",
|
|
1576
|
+
"type": "number",
|
|
1577
|
+
"required": false,
|
|
1578
|
+
"defaultValue": "1",
|
|
1579
|
+
"description": "Upper bound of the scale."
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "error",
|
|
1583
|
+
"type": "boolean",
|
|
1584
|
+
"required": false,
|
|
1585
|
+
"description": "Renders the error state (error-colored bar + error tag)."
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "isLoading",
|
|
1589
|
+
"type": "boolean",
|
|
1590
|
+
"required": false,
|
|
1591
|
+
"description": "Renders the loading state (loader + empty track)."
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"name": "title",
|
|
1595
|
+
"type": "ReactNode",
|
|
1596
|
+
"required": false,
|
|
1597
|
+
"description": "Optional label rendered above the bar, on the left."
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "valueLabel",
|
|
1601
|
+
"type": "ReactNode",
|
|
1602
|
+
"required": false,
|
|
1603
|
+
"description": "Text rendered above the bar, on the right. Defaults to `value` or `—` when null."
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"name": "colorMap",
|
|
1607
|
+
"type": "AnalyticsBarColorStop[]",
|
|
1608
|
+
"required": false,
|
|
1609
|
+
"defaultValue": "DEFAULT_ANALYTICS_BAR_COLOR_MAP",
|
|
1610
|
+
"description": "Color bands keyed by ratio."
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"name": "className",
|
|
1614
|
+
"type": "string",
|
|
1615
|
+
"required": false,
|
|
1616
|
+
"description": "Additional CSS classes for the outer container."
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"name": "titleClassName",
|
|
1620
|
+
"type": "string",
|
|
1621
|
+
"required": false,
|
|
1622
|
+
"description": "Additional CSS classes for the title label."
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "valueClassName",
|
|
1626
|
+
"type": "string",
|
|
1627
|
+
"required": false,
|
|
1628
|
+
"description": "Additional CSS classes for the value label."
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "inline",
|
|
1632
|
+
"type": "boolean",
|
|
1633
|
+
"required": false,
|
|
1634
|
+
"description": "Renders the title and bar on a single row (50% / 50%)."
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"name": "ariaLabel",
|
|
1638
|
+
"type": "string",
|
|
1639
|
+
"required": false,
|
|
1640
|
+
"description": "Accessible label for the bar."
|
|
1641
|
+
}
|
|
1642
|
+
],
|
|
1643
|
+
"examples": [
|
|
1644
|
+
"<AnalyticsBar title=\"Relevance\" value={0.82} valueLabel=\"82%\" />",
|
|
1645
|
+
"<AnalyticsBar\n title=\"Score\"\n value={640}\n maxValue={1000}\n colorMap={customColorMap}\n/>"
|
|
1646
|
+
],
|
|
1647
|
+
"sourceFile": "components/New/Analytics/Bar/Bar.tsx"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"name": "AnalyticsBarGroup",
|
|
1651
|
+
"category": "Components_2_0/Analytics",
|
|
1652
|
+
"generation": "2.0",
|
|
1653
|
+
"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 2.0",
|
|
1654
|
+
"props": [
|
|
1655
|
+
{
|
|
1656
|
+
"name": "title",
|
|
1657
|
+
"type": "ReactNode",
|
|
1658
|
+
"required": true,
|
|
1659
|
+
"description": "Title passed to the accordion header."
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"name": "titleTooltip",
|
|
1663
|
+
"type": "ReactNode",
|
|
1664
|
+
"required": false,
|
|
1665
|
+
"description": "Tooltip shown when hovering the accordion header title."
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"name": "description",
|
|
1669
|
+
"type": "ReactNode",
|
|
1670
|
+
"required": false,
|
|
1671
|
+
"description": "Description passed to the accordion header. Defaults to the number of entries."
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"name": "data",
|
|
1675
|
+
"type": "Record<string, number | null>",
|
|
1676
|
+
"required": true,
|
|
1677
|
+
"description": "Map of metric name to numeric value (or `null` when missing). Each entry renders one bar."
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"name": "compareData",
|
|
1681
|
+
"type": "Record<string, number | null>",
|
|
1682
|
+
"required": false,
|
|
1683
|
+
"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."
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "compareLabels",
|
|
1687
|
+
"type": "[ReactNode, ReactNode]",
|
|
1688
|
+
"required": false,
|
|
1689
|
+
"description": "Labels for the two bars in compare mode: first for `data`, second for `compareData`."
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"name": "maxValue",
|
|
1693
|
+
"type": "number",
|
|
1694
|
+
"required": false,
|
|
1695
|
+
"description": "Upper bound passed to every bar."
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"name": "colorMap",
|
|
1699
|
+
"type": "AnalyticsBarColorStop[]",
|
|
1700
|
+
"required": false,
|
|
1701
|
+
"description": "Color map passed to every bar."
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"name": "defaultExpanded",
|
|
1705
|
+
"type": "boolean",
|
|
1706
|
+
"required": false,
|
|
1707
|
+
"defaultValue": "true",
|
|
1708
|
+
"description": "Whether the accordion is expanded initially."
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"name": "nonCollapsible",
|
|
1712
|
+
"type": "boolean",
|
|
1713
|
+
"required": false,
|
|
1714
|
+
"description": "Renders the group permanently expanded without a toggle or chevron."
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"name": "isLoading",
|
|
1718
|
+
"type": "boolean",
|
|
1719
|
+
"required": false,
|
|
1720
|
+
"description": "Renders a loader in place of the bars while the data is being fetched."
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"name": "onBarClick",
|
|
1724
|
+
"type": "(key: string, value: number | null) => void",
|
|
1725
|
+
"required": false,
|
|
1726
|
+
"description": "Invoked with the entry key and value when a bar (or, in compare mode, the whole entry) is clicked."
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"name": "inline",
|
|
1730
|
+
"type": "boolean",
|
|
1731
|
+
"required": false,
|
|
1732
|
+
"description": "Renders every bar on a single row (50% title, 50% bar + value)."
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"name": "barTitleClassName",
|
|
1736
|
+
"type": "string",
|
|
1737
|
+
"required": false,
|
|
1738
|
+
"description": "Additional CSS classes for each bar's title label."
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"name": "barValueClassName",
|
|
1742
|
+
"type": "string",
|
|
1743
|
+
"required": false,
|
|
1744
|
+
"description": "Additional CSS classes for each bar's value label."
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"name": "barClassName",
|
|
1748
|
+
"type": "string",
|
|
1749
|
+
"required": false,
|
|
1750
|
+
"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`."
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"name": "barDescriptions",
|
|
1754
|
+
"type": "Record<string, ReactNode>",
|
|
1755
|
+
"required": false,
|
|
1756
|
+
"description": "Map of bar key to tooltip content. Hovering each bar shows its description."
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "className",
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"required": false,
|
|
1762
|
+
"description": "Additional CSS classes for the accordion container."
|
|
1763
|
+
}
|
|
1764
|
+
],
|
|
1765
|
+
"examples": [
|
|
1766
|
+
"<AnalyticsBarGroup\n title=\"Relevance\"\n data={{ accuracy: 0.82, recall: 0.64, precision: 0.91 }}\n/>"
|
|
1767
|
+
],
|
|
1768
|
+
"sourceFile": "components/New/Analytics/BarGroup/BarGroup.tsx"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"name": "AnalyticsHistogram",
|
|
1772
|
+
"category": "Components_2_0/Analytics",
|
|
1773
|
+
"generation": "2.0",
|
|
1774
|
+
"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 2.0",
|
|
1775
|
+
"props": [
|
|
1776
|
+
{
|
|
1777
|
+
"name": "title",
|
|
1778
|
+
"type": "ReactNode",
|
|
1779
|
+
"required": true,
|
|
1780
|
+
"description": "Title rendered above the histogram."
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"name": "values",
|
|
1784
|
+
"type": "number[]",
|
|
1785
|
+
"required": true,
|
|
1786
|
+
"description": "Values to distribute across the columns."
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"name": "colorMap",
|
|
1790
|
+
"type": "AnalyticsBarColorStop[]",
|
|
1791
|
+
"required": false,
|
|
1792
|
+
"defaultValue": "DEFAULT_ANALYTICS_BAR_COLOR_MAP",
|
|
1793
|
+
"description": "Color bands defining the columns."
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"name": "valueTitle",
|
|
1797
|
+
"type": "string",
|
|
1798
|
+
"required": false,
|
|
1799
|
+
"defaultValue": "'values'",
|
|
1800
|
+
"description": "Noun used in the hover tooltip."
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"name": "showCount",
|
|
1804
|
+
"type": "boolean",
|
|
1805
|
+
"required": false,
|
|
1806
|
+
"description": "When `true`, renders each column's count inside its bar."
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"name": "isLoading",
|
|
1810
|
+
"type": "boolean",
|
|
1811
|
+
"required": false,
|
|
1812
|
+
"description": "Renders a loader in place of the histogram while the data is being fetched."
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "className",
|
|
1816
|
+
"type": "string",
|
|
1817
|
+
"required": false,
|
|
1818
|
+
"description": "Additional CSS classes for the outer container."
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"name": "compareValues",
|
|
1822
|
+
"type": "number[]",
|
|
1823
|
+
"required": false,
|
|
1824
|
+
"description": "Second set of values; enables compare mode (primary striped, compare solid)."
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"name": "valueSetLabel",
|
|
1828
|
+
"type": "string",
|
|
1829
|
+
"required": false,
|
|
1830
|
+
"description": "Label for the primary values set (compare mode tooltip)."
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"name": "compareValueSetLabel",
|
|
1834
|
+
"type": "string",
|
|
1835
|
+
"required": false,
|
|
1836
|
+
"description": "Label for the compare values set (compare mode tooltip)."
|
|
1837
|
+
}
|
|
1838
|
+
],
|
|
1839
|
+
"examples": [
|
|
1840
|
+
"<AnalyticsHistogram\n title=\"Score distribution\"\n values={[0.1, 0.15, 0.4, 0.42, 0.43, 0.9, 1]}\n valueTitle=\"responses\"\n/>"
|
|
1841
|
+
],
|
|
1842
|
+
"sourceFile": "components/New/Analytics/Histogram/Histogram.tsx"
|
|
1843
|
+
},
|
|
1482
1844
|
{
|
|
1483
1845
|
"name": "Label",
|
|
1484
1846
|
"category": "Components_2_0",
|
|
@@ -1522,6 +1884,54 @@
|
|
|
1522
1884
|
],
|
|
1523
1885
|
"sourceFile": "components/New/Label/Label.tsx"
|
|
1524
1886
|
},
|
|
1887
|
+
{
|
|
1888
|
+
"name": "LabelledText",
|
|
1889
|
+
"category": "Components_2_0",
|
|
1890
|
+
"generation": "2.0",
|
|
1891
|
+
"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.",
|
|
1892
|
+
"props": [
|
|
1893
|
+
{
|
|
1894
|
+
"name": "label",
|
|
1895
|
+
"type": "ReactNode",
|
|
1896
|
+
"required": true,
|
|
1897
|
+
"description": "Caption above the value."
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "text",
|
|
1901
|
+
"type": "ReactNode",
|
|
1902
|
+
"required": false,
|
|
1903
|
+
"description": "The value, truncated with an ellipsis when it does not fit."
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"name": "tooltip",
|
|
1907
|
+
"type": "ReactNode",
|
|
1908
|
+
"required": false,
|
|
1909
|
+
"description": "Tooltip content used instead of `text` while it is clipped."
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"name": "children",
|
|
1913
|
+
"type": "ReactNode",
|
|
1914
|
+
"required": false,
|
|
1915
|
+
"description": "Custom value content, rendered instead of `text`."
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"name": "postfix",
|
|
1919
|
+
"type": "ReactNode",
|
|
1920
|
+
"required": false,
|
|
1921
|
+
"description": "Element after the value."
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"name": "className",
|
|
1925
|
+
"type": "string",
|
|
1926
|
+
"required": false,
|
|
1927
|
+
"description": "Additional CSS classes for the root element."
|
|
1928
|
+
}
|
|
1929
|
+
],
|
|
1930
|
+
"examples": [
|
|
1931
|
+
"<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/>"
|
|
1932
|
+
],
|
|
1933
|
+
"sourceFile": "components/New/LabelledText/LabelledText.tsx"
|
|
1934
|
+
},
|
|
1525
1935
|
{
|
|
1526
1936
|
"name": "Textarea",
|
|
1527
1937
|
"category": "Components_2_0",
|
|
@@ -5762,7 +6172,8 @@
|
|
|
5762
6172
|
"<DialAnalyticsCard\n title=\"Total requests\"\n value=\"12,480\"\n description=\"+12% vs last week\"\n/>",
|
|
5763
6173
|
"<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/>"
|
|
5764
6174
|
],
|
|
5765
|
-
"sourceFile": "components/Analytics/Card/Card.tsx"
|
|
6175
|
+
"sourceFile": "components/Analytics/Card/Card.tsx",
|
|
6176
|
+
"supersededBy": "AnalyticsCard"
|
|
5766
6177
|
},
|
|
5767
6178
|
{
|
|
5768
6179
|
"name": "DialAnalyticsBar",
|
|
@@ -5849,7 +6260,8 @@
|
|
|
5849
6260
|
"<DialAnalyticsBar title=\"Relevance\" value={0.82} valueLabel=\"82%\" />",
|
|
5850
6261
|
"<DialAnalyticsBar\n title=\"Score\"\n value={640}\n maxValue={1000}\n colorMap={customColorMap}\n/>"
|
|
5851
6262
|
],
|
|
5852
|
-
"sourceFile": "components/Analytics/Bar/Bar.tsx"
|
|
6263
|
+
"sourceFile": "components/Analytics/Bar/Bar.tsx",
|
|
6264
|
+
"supersededBy": "AnalyticsBar"
|
|
5853
6265
|
},
|
|
5854
6266
|
{
|
|
5855
6267
|
"name": "DialAnalyticsErrorTag",
|
|
@@ -5995,7 +6407,8 @@
|
|
|
5995
6407
|
"examples": [
|
|
5996
6408
|
"<DialAnalyticsBarGroup\n title=\"Relevance\"\n data={{ accuracy: 0.82, recall: 0.64, precision: 0.91 }}\n/>"
|
|
5997
6409
|
],
|
|
5998
|
-
"sourceFile": "components/Analytics/BarGroup/BarGroup.tsx"
|
|
6410
|
+
"sourceFile": "components/Analytics/BarGroup/BarGroup.tsx",
|
|
6411
|
+
"supersededBy": "AnalyticsBarGroup"
|
|
5999
6412
|
},
|
|
6000
6413
|
{
|
|
6001
6414
|
"name": "DialAnalyticsHistogram",
|
|
@@ -6069,7 +6482,8 @@
|
|
|
6069
6482
|
"examples": [
|
|
6070
6483
|
"<DialAnalyticsHistogram\n title=\"Score distribution\"\n values={[0.1, 0.15, 0.4, 0.42, 0.43, 0.9, 1]}\n valueTitle=\"responses\"\n/>"
|
|
6071
6484
|
],
|
|
6072
|
-
"sourceFile": "components/Analytics/Histogram/Histogram.tsx"
|
|
6485
|
+
"sourceFile": "components/Analytics/Histogram/Histogram.tsx",
|
|
6486
|
+
"supersededBy": "AnalyticsHistogram"
|
|
6073
6487
|
},
|
|
6074
6488
|
{
|
|
6075
6489
|
"name": "DialLabel",
|
|
@@ -6376,7 +6790,8 @@
|
|
|
6376
6790
|
"examples": [
|
|
6377
6791
|
"<DialLabelledText\n label=\"Username\"\n text=\"Enter your username\"\n postfix={<span>*</span>}\n/>"
|
|
6378
6792
|
],
|
|
6379
|
-
"sourceFile": "components/LabelledText/LabelledText.tsx"
|
|
6793
|
+
"sourceFile": "components/LabelledText/LabelledText.tsx",
|
|
6794
|
+
"supersededBy": "LabelledText"
|
|
6380
6795
|
},
|
|
6381
6796
|
{
|
|
6382
6797
|
"name": "DialTag",
|
|
@@ -9568,7 +9983,7 @@
|
|
|
9568
9983
|
{
|
|
9569
9984
|
"name": "DIAL_KIT_CLASS",
|
|
9570
9985
|
"sourceFile": "constants/public-class-names.ts",
|
|
9571
|
-
"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 `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"
|
|
9986
|
+
"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 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"
|
|
9572
9987
|
}
|
|
9573
9988
|
]
|
|
9574
9989
|
}
|
|
@@ -34,7 +34,17 @@ const i = {
|
|
|
34
34
|
errorText: "dial-kit-error-text",
|
|
35
35
|
/** The `Label` root, which wraps the `label` element and its info button. */
|
|
36
36
|
label: "dial-kit-label",
|
|
37
|
+
/** The root of a `LabelledText`, wrapping its caption and value. */
|
|
38
|
+
labelledText: "dial-kit-labelled-text",
|
|
37
39
|
/* ── Containers ────────────────────────────────────────────────────────── */
|
|
40
|
+
/** The root of an `AnalyticsCard`: the box holding its title, value and description. */
|
|
41
|
+
analyticsCard: "dial-kit-analytics-card",
|
|
42
|
+
/** The root of an `AnalyticsBar`: the title row and track, stacked or inline. */
|
|
43
|
+
analyticsBar: "dial-kit-analytics-bar",
|
|
44
|
+
/** The root of an `AnalyticsBarGroup`: its accordion, header and bars. */
|
|
45
|
+
analyticsBarGroup: "dial-kit-analytics-bar-group",
|
|
46
|
+
/** The root of an `AnalyticsHistogram`: its title, axis and columns. */
|
|
47
|
+
analyticsHistogram: "dial-kit-analytics-histogram",
|
|
38
48
|
/** The `article` element of a `CardShell`. */
|
|
39
49
|
cardShell: "dial-kit-card-shell",
|
|
40
50
|
/** The `aside` element of a `CollapsibleSidebar`. */
|