@epam/ai-dial-ui-kit 0.16.0-dev.36 → 0.16.0-dev.38

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.
@@ -1,65 +1,66 @@
1
1
  import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
- import { DIAL_KIT_CLASS as E } from "../../../constants/public-class-names.js";
3
- import { AvatarShape as _ } from "../../../types/avatar.js";
2
+ import { DIAL_KIT_CLASS as _ } from "../../../constants/public-class-names.js";
3
+ import { AvatarShape as w } from "../../../types/avatar.js";
4
4
  import { EntityType as e } from "../../../types/entity-type.js";
5
5
  import { mergeClasses as l } from "../../../utils/merge-classes.js";
6
- import { Avatar as w } from "../Avatar/Avatar.js";
7
- import { EllipsisTooltip as d } from "../EllipsisTooltip/EllipsisTooltip.js";
8
- import { Highlight as L } from "../Highlight/Highlight.js";
9
- const C = {
6
+ import { Avatar as C } from "../Avatar/Avatar.js";
7
+ import { EllipsisTooltip as x } from "../EllipsisTooltip/EllipsisTooltip.js";
8
+ import { Highlight as M } from "../Highlight/Highlight.js";
9
+ const P = {
10
10
  [e.Model]: "Model",
11
11
  [e.Agent]: "Agent",
12
12
  [e.Toolset]: "Toolset",
13
13
  [e.Skill]: "Skill",
14
14
  [e.Prompt]: "Prompt"
15
- }, p = {
15
+ }, h = {
16
16
  [e.Model]: "text-blue",
17
17
  [e.Agent]: "text-green-1",
18
18
  [e.Toolset]: "text-brown-2",
19
19
  [e.Skill]: "text-violet-1",
20
20
  [e.Prompt]: "text-violet-2"
21
- }, M = {
21
+ }, k = {
22
22
  [e.Model]: "bg-blue",
23
23
  [e.Agent]: "bg-green-2",
24
24
  [e.Toolset]: "bg-brown",
25
25
  [e.Skill]: "bg-violet-2",
26
26
  [e.Prompt]: "bg-violet-1"
27
- }, P = ["h1", "h2", "h3", "h4", "h5", "h6"], k = (t) => P[Math.min(6, Math.max(1, Math.round(t))) - 1], z = ({
27
+ }, I = ["h1", "h2", "h3", "h4", "h5", "h6"], j = (t) => I[Math.min(6, Math.max(1, Math.round(t))) - 1], K = ({
28
28
  item: t,
29
- labels: i,
30
- showVersion: x = !0,
31
- hasFeaturedTag: h = !0,
32
- iconSize: g = 48,
33
- headingLevel: u = 3,
29
+ labels: o,
30
+ showType: g = !0,
31
+ showVersion: u = !0,
32
+ hasFeaturedTag: f = !0,
33
+ iconSize: y = 48,
34
+ headingLevel: v = 3,
34
35
  query: r,
35
36
  footer: a,
36
- statusBadge: o,
37
- className: f,
38
- nameClassName: v = "dial-h3-text",
39
- typeClassName: y = "dial-caption-lead-semi-text",
40
- versionClassName: T = "dial-tiny-text",
41
- iconClassName: A,
42
- featuredChipClassName: S
37
+ statusBadge: c,
38
+ className: T,
39
+ nameClassName: A = "dial-h3-text",
40
+ typeClassName: S = "dial-caption-lead-semi-text",
41
+ versionClassName: b = "dial-tiny-text",
42
+ iconClassName: N,
43
+ featuredChipClassName: E
43
44
  }) => {
44
- const N = k(u), m = h && !!t.isFeatured, b = o != null || m, c = x ? t.version : void 0;
45
+ const L = j(v), m = f && !!t.isFeatured, d = c != null || m, p = u ? t.version : void 0, i = g ? o?.type ?? P[t.type] : void 0;
45
46
  return /* @__PURE__ */ s(
46
47
  "div",
47
48
  {
48
49
  className: l(
49
50
  "flex items-start gap-2",
50
- f,
51
- E.entityIdentity
51
+ T,
52
+ _.entityIdentity
52
53
  ),
53
54
  children: [
54
55
  /* @__PURE__ */ n(
55
- w,
56
+ C,
56
57
  {
57
58
  name: t.name,
58
59
  src: t.iconUrl,
59
- size: g,
60
- shape: _.Square,
60
+ size: y,
61
+ shape: w.Square,
61
62
  imageClassName: "bg-entity-icon",
62
- className: l("rounded-[14px]", A)
63
+ className: l("rounded-[14px]", N)
63
64
  }
64
65
  ),
65
66
  /* @__PURE__ */ s(
@@ -70,60 +71,60 @@ const C = {
70
71
  a != null && "self-stretch"
71
72
  ),
72
73
  children: [
73
- /* @__PURE__ */ s("div", { className: "relative flex items-center justify-between", children: [
74
- /* @__PURE__ */ n(
74
+ (d || i) && /* @__PURE__ */ s("div", { className: "relative flex items-center justify-between", children: [
75
+ i && /* @__PURE__ */ n(
75
76
  "span",
76
77
  {
77
78
  className: l(
78
79
  "uppercase",
79
- y,
80
- p[t.type]
80
+ S,
81
+ h[t.type]
81
82
  ),
82
- children: i?.type ?? C[t.type]
83
+ children: i
83
84
  }
84
85
  ),
85
- b && /* @__PURE__ */ s("div", { className: "absolute end-0 top-[-6px] flex items-center gap-2", children: [
86
- o,
86
+ d && /* @__PURE__ */ s("div", { className: "absolute end-0 top-[-6px] flex items-center gap-2", children: [
87
+ c,
87
88
  m && /* @__PURE__ */ n(
88
89
  "span",
89
90
  {
90
91
  className: l(
91
92
  "flex h-6 items-center justify-center rounded-2xl px-2",
92
93
  "dial-caption-lead-semi-text",
93
- M[t.type],
94
- p[t.type],
95
- S
94
+ k[t.type],
95
+ h[t.type],
96
+ E
96
97
  ),
97
- children: i?.featured ?? "Featured"
98
+ children: o?.featured ?? "Featured"
98
99
  }
99
100
  )
100
101
  ] })
101
102
  ] }),
102
103
  /* @__PURE__ */ s("div", { className: "flex min-w-0 items-center gap-2", children: [
103
104
  /* @__PURE__ */ n(
104
- N,
105
+ L,
105
106
  {
106
107
  className: l(
107
108
  "min-w-0 shrink text-primary",
108
- v
109
+ A
109
110
  ),
110
- children: r ? /* @__PURE__ */ n(L, { text: t.name, query: r, maxLines: 1 }) : /* @__PURE__ */ n(d, { text: t.name })
111
+ children: r ? /* @__PURE__ */ n(M, { text: t.name, query: r, maxLines: 1 }) : /* @__PURE__ */ n(x, { text: t.name })
111
112
  }
112
113
  ),
113
- c != null && /* Capped at 30% of the row so a long version truncates instead of
114
+ p != null && /* Capped at 30% of the row so a long version truncates instead of
114
115
  squeezing the name out. */
115
116
  /* @__PURE__ */ n(
116
- d,
117
+ x,
117
118
  {
118
119
  className: l(
119
120
  "max-w-[30%] shrink-0 text-secondary",
120
- T
121
+ b
121
122
  ),
122
- text: c
123
+ text: p
123
124
  }
124
125
  )
125
126
  ] }),
126
- a != null && /* @__PURE__ */ n("div", { className: "mt-auto pt-1", children: a })
127
+ a != null && a
127
128
  ]
128
129
  }
129
130
  )
@@ -132,5 +133,5 @@ const C = {
132
133
  );
133
134
  };
134
135
  export {
135
- z as EntityIdentity
136
+ K as EntityIdentity
136
137
  };
@@ -0,0 +1,86 @@
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import { DIAL_KIT_CLASS as y } from "../../../constants/public-class-names.js";
3
+ import { SkeletonVariant as a } from "../../../types/skeleton.js";
4
+ import { mergeClasses as v } from "../../../utils/merge-classes.js";
5
+ import { ErrorText as b } from "../CaptionText/CaptionText.js";
6
+ import { EntityIdentity as g } from "../EntityIdentity/EntityIdentity.js";
7
+ import { Skeleton as l } from "../../Skeleton/Skeleton.js";
8
+ const s = "bg-control-neutral-active", C = ({ iconSize: t }) => /* @__PURE__ */ r("div", { className: "flex items-center gap-2", children: [
9
+ /* @__PURE__ */ e("div", { className: "shrink-0 overflow-hidden rounded-[14px]", children: /* @__PURE__ */ e(
10
+ l,
11
+ {
12
+ variant: a.Rectangular,
13
+ width: t,
14
+ height: t,
15
+ className: s
16
+ }
17
+ ) }),
18
+ /* @__PURE__ */ r("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
19
+ /* @__PURE__ */ e(
20
+ l,
21
+ {
22
+ variant: a.Text,
23
+ width: "30%",
24
+ height: 12,
25
+ className: s
26
+ }
27
+ ),
28
+ /* @__PURE__ */ e(
29
+ l,
30
+ {
31
+ variant: a.Text,
32
+ width: "60%",
33
+ height: 16,
34
+ className: s
35
+ }
36
+ )
37
+ ] })
38
+ ] }), _ = ({
39
+ entityId: t,
40
+ item: n,
41
+ isLoading: h = !1,
42
+ isDisabled: x = !1,
43
+ error: i,
44
+ details: o,
45
+ labels: d,
46
+ showType: f = !0,
47
+ iconSize: c = 44,
48
+ headingLevel: p = 4,
49
+ className: u
50
+ }) => {
51
+ const m = o != null ? /* @__PURE__ */ e("span", { className: "dial-caption-text text-secondary", children: o }) : void 0, N = () => t ? h ? /* @__PURE__ */ e(C, { iconSize: c }) : n == null ? /* @__PURE__ */ r("div", { className: "flex flex-col gap-1", children: [
52
+ /* @__PURE__ */ e("span", { className: "dial-body-semi-text block truncate text-secondary", children: t }),
53
+ m
54
+ ] }) : /* @__PURE__ */ e(
55
+ g,
56
+ {
57
+ item: n,
58
+ labels: { type: d?.type },
59
+ hasFeaturedTag: !1,
60
+ iconSize: c,
61
+ headingLevel: p,
62
+ nameClassName: "dial-body-semi-text",
63
+ showType: f,
64
+ footer: m
65
+ }
66
+ ) : /* @__PURE__ */ e("span", { className: "dial-body-semi-text block truncate text-secondary", children: d?.placeholder ?? "Not selected" });
67
+ return /* @__PURE__ */ r("div", { children: [
68
+ /* @__PURE__ */ e(
69
+ "div",
70
+ {
71
+ className: v(
72
+ "rounded-2xl border bg-layer-raised p-3",
73
+ i ? "border-error" : "border-tertiary",
74
+ x && "opacity-50",
75
+ u,
76
+ y.selectedEntityCard
77
+ ),
78
+ children: N()
79
+ }
80
+ ),
81
+ /* @__PURE__ */ e(b, { text: i, className: "mt-1 block" })
82
+ ] });
83
+ };
84
+ export {
85
+ _ as SelectedEntityCard
86
+ };
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.16.0-dev.36",
3
- "generatedAt": "2026-10-22T19:28:41.596Z",
2
+ "version": "0.16.0-dev.38",
3
+ "generatedAt": "2026-10-23T14:50:07.310Z",
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",
@@ -3826,6 +3826,13 @@
3826
3826
  "required": false,
3827
3827
  "description": "User-visible strings"
3828
3828
  },
3829
+ {
3830
+ "name": "showType",
3831
+ "type": "boolean",
3832
+ "required": false,
3833
+ "defaultValue": "true",
3834
+ "description": "Whether to show the type label"
3835
+ },
3829
3836
  {
3830
3837
  "name": "showVersion",
3831
3838
  "type": "boolean",
@@ -3911,6 +3918,89 @@
3911
3918
  ],
3912
3919
  "sourceFile": "components/New/EntityIdentity/EntityIdentity.tsx"
3913
3920
  },
3921
+ {
3922
+ "name": "SelectedEntityCard",
3923
+ "category": "Components_2_0",
3924
+ "generation": "2.0",
3925
+ "description": "The card of a form field that holds one selected entity — a model, an agent,\na toolset: its identity, a skeleton while the catalog loads, its raw id when\nthe catalog does not list it, or a placeholder when nothing is selected.\naliases: SelectedModelCard|ModelCard|EntityCard\nDesign system 2.0\n\nThe control that changes the selection lives next to the card, not in it:\nthe card is not interactive.",
3926
+ "props": [
3927
+ {
3928
+ "name": "entityId",
3929
+ "type": "string",
3930
+ "required": true,
3931
+ "description": "Id of the selected entity, `''` when there is none"
3932
+ },
3933
+ {
3934
+ "name": "item",
3935
+ "type": "EntityIdentityItem",
3936
+ "required": false,
3937
+ "description": "The selected entity as the catalog lists it"
3938
+ },
3939
+ {
3940
+ "name": "isLoading",
3941
+ "type": "boolean",
3942
+ "required": false,
3943
+ "defaultValue": "false",
3944
+ "description": "Whether the catalog is still loading"
3945
+ },
3946
+ {
3947
+ "name": "isDisabled",
3948
+ "type": "boolean",
3949
+ "required": false,
3950
+ "defaultValue": "false",
3951
+ "description": "Dims the card"
3952
+ },
3953
+ {
3954
+ "name": "error",
3955
+ "type": "string",
3956
+ "required": false,
3957
+ "description": "Error text under the card; also turns its border red"
3958
+ },
3959
+ {
3960
+ "name": "details",
3961
+ "type": "ReactNode",
3962
+ "required": false,
3963
+ "description": "A line under the name"
3964
+ },
3965
+ {
3966
+ "name": "labels",
3967
+ "type": "SelectedEntityCardLabels",
3968
+ "required": false,
3969
+ "description": "User-visible strings"
3970
+ },
3971
+ {
3972
+ "name": "showType",
3973
+ "type": "boolean",
3974
+ "required": false,
3975
+ "defaultValue": "true",
3976
+ "description": "Whether to show the type label"
3977
+ },
3978
+ {
3979
+ "name": "iconSize",
3980
+ "type": "number",
3981
+ "required": false,
3982
+ "defaultValue": "44",
3983
+ "description": "Icon size in px"
3984
+ },
3985
+ {
3986
+ "name": "headingLevel",
3987
+ "type": "number",
3988
+ "required": false,
3989
+ "defaultValue": "4",
3990
+ "description": "Heading level of the name"
3991
+ },
3992
+ {
3993
+ "name": "className",
3994
+ "type": "string",
3995
+ "required": false,
3996
+ "description": "Additional CSS classes for the card"
3997
+ }
3998
+ ],
3999
+ "examples": [
4000
+ "<SelectedEntityCard\n entityId=\"gpt-4o\"\n item={{ type: EntityType.Model, name: 'GPT-4o', version: '2024-11-20' }}\n isLoading={isLoading}\n labels={{ type: t('Model'), placeholder: t('Select model') }}\n/>"
4001
+ ],
4002
+ "sourceFile": "components/New/SelectedEntityCard/SelectedEntityCard.tsx"
4003
+ },
3914
4004
  {
3915
4005
  "name": "SideDrawer",
3916
4006
  "category": "Components_2_0",
@@ -11376,6 +11466,22 @@
11376
11466
  "sourceFile": "types/entity-type.ts",
11377
11467
  "description": "The category of a DIAL catalog entity. It picks the colour of the type label and the featured chip."
11378
11468
  },
11469
+ {
11470
+ "name": "SelectedEntityCardLabels",
11471
+ "kind": "interface",
11472
+ "members": [
11473
+ {
11474
+ "name": "type?",
11475
+ "value": "string"
11476
+ },
11477
+ {
11478
+ "name": "placeholder?",
11479
+ "value": "string"
11480
+ }
11481
+ ],
11482
+ "sourceFile": "components/New/SelectedEntityCard/SelectedEntityCard.tsx",
11483
+ "description": "User-visible strings of `SelectedEntityCard`."
11484
+ },
11379
11485
  {
11380
11486
  "name": "TagAppearance",
11381
11487
  "kind": "enum",
@@ -11823,7 +11929,7 @@
11823
11929
  {
11824
11930
  "name": "DIAL_KIT_CLASS",
11825
11931
  "sourceFile": "constants/public-class-names.ts",
11826
- "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 primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\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\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"
11932
+ "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 primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\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\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"
11827
11933
  }
11828
11934
  ]
11829
11935
  }
@@ -157,6 +157,8 @@ const i = {
157
157
  avatar: "dial-kit-avatar",
158
158
  /** The root row of an `EntityIdentity`: its icon, type label, name and version. */
159
159
  entityIdentity: "dial-kit-entity-identity",
160
+ /** The bordered card of a `SelectedEntityCard`, not the wrapper that also holds its error. */
161
+ selectedEntityCard: "dial-kit-selected-entity-card",
160
162
  /* ── Controls ──────────────────────────────────────────────────────────── */
161
163
  /** The row of a `Switch`: the control and its label. */
162
164
  switch: "dial-kit-switch",