@epam/ai-dial-ui-kit 0.16.0-dev.61 → 0.16.0-dev.66

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.
@@ -0,0 +1,67 @@
1
+ import { jsxs as E, Fragment as g, jsx as e } from "react/jsx-runtime";
2
+ import { IconAlertTriangle as I } from "@tabler/icons-react";
3
+ import { useState as v, useRef as A, useEffect as L, Component as S } from "react";
4
+ import { DIAL_KIT_ICON_STROKE as _ } from "../constants/icon.js";
5
+ import { DIAL_ICON_SIZE as D } from "../../../constants/icon.js";
6
+ import { LiveRegionPoliteness as O } from "../../../types/live-region.js";
7
+ import { PrimaryButton as F } from "../Button/ButtonWrappers.js";
8
+ import { LiveRegion as T } from "../LiveRegion/LiveRegion.js";
9
+ import { StateScreen as j } from "../StateScreen/StateScreen.js";
10
+ class x extends S {
11
+ state = { hasError: !1 };
12
+ static getDerivedStateFromError = () => ({ hasError: !0 });
13
+ componentDidCatch(r, o) {
14
+ this.props.onCatch(r, o);
15
+ }
16
+ render() {
17
+ return this.state.hasError ? null : this.props.children;
18
+ }
19
+ }
20
+ const N = /* @__PURE__ */ e(I, { size: D.LG, stroke: _ }), R = (t = [], r = []) => t.length !== r.length || t.some((o, i) => !Object.is(o, r[i])), K = ({
21
+ children: t,
22
+ title: r,
23
+ description: o,
24
+ actionLabel: i,
25
+ onReset: c,
26
+ resetKeys: n,
27
+ onError: m,
28
+ icon: h = N,
29
+ className: f
30
+ }) => {
31
+ const [s, a] = v(!1), l = A(n);
32
+ L(() => {
33
+ s && R(l.current, n) && a(!1), l.current = n;
34
+ }, [s, n]);
35
+ const u = (d, C) => {
36
+ a(!0), m?.(d, C);
37
+ }, p = () => {
38
+ if (!c) {
39
+ window.location.reload();
40
+ return;
41
+ }
42
+ c(), a(!1);
43
+ };
44
+ return /* @__PURE__ */ E(g, { children: [
45
+ /* @__PURE__ */ e(T, { politeness: O.Assertive, visuallyHidden: !0, children: s && r }),
46
+ s ? /* @__PURE__ */ e(
47
+ j,
48
+ {
49
+ icon: h,
50
+ title: r,
51
+ description: o,
52
+ className: f,
53
+ action: /* @__PURE__ */ e(
54
+ F,
55
+ {
56
+ autoFocus: !0,
57
+ label: i,
58
+ onClick: p
59
+ }
60
+ )
61
+ }
62
+ ) : /* @__PURE__ */ e(x, { onCatch: u, children: t })
63
+ ] });
64
+ };
65
+ export {
66
+ K as ErrorBoundary
67
+ };
@@ -0,0 +1,98 @@
1
+ import { jsxs as l, jsx as e, Fragment as u } from "react/jsx-runtime";
2
+ import { useId as b, useState as x } from "react";
3
+ import { mergeClasses as p } from "../../../utils/merge-classes.js";
4
+ import { DIAL_KIT_CLASS as g } from "../../../constants/public-class-names.js";
5
+ import { NeutralButton as h } from "../Button/ButtonWrappers.js";
6
+ const o = ({ src: a, className: r }) => {
7
+ const [i, n] = x();
8
+ return i === a ? null : /* @__PURE__ */ e(
9
+ "img",
10
+ {
11
+ src: a,
12
+ alt: "",
13
+ "aria-hidden": "true",
14
+ className: r,
15
+ onError: () => n(a)
16
+ }
17
+ );
18
+ }, I = ({
19
+ title: a,
20
+ description: r,
21
+ logoSrc: i,
22
+ providers: n = [],
23
+ providersLabel: m,
24
+ children: c,
25
+ titleRef: d,
26
+ className: f
27
+ }) => {
28
+ const s = b();
29
+ return /* @__PURE__ */ l(
30
+ "section",
31
+ {
32
+ "aria-labelledby": s,
33
+ className: p(
34
+ "relative flex size-full items-center justify-center overflow-hidden bg-layer-sunken mobile:items-start mobile:bg-layer-raised mobile:px-6",
35
+ f,
36
+ g.loginScreen
37
+ ),
38
+ children: [
39
+ /* @__PURE__ */ l("div", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0", children: [
40
+ /* @__PURE__ */ e("div", { className: "absolute -start-1/4 -bottom-1/3 size-[80vmax] rounded-full bg-radial from-gradient-2 to-transparent to-70% opacity-20 blur-3xl" }),
41
+ /* @__PURE__ */ e("div", { className: "absolute -end-1/4 -top-1/3 size-[80vmax] rounded-full bg-radial from-gradient-1 to-transparent to-70% opacity-20 blur-3xl" })
42
+ ] }),
43
+ /* @__PURE__ */ l("div", { className: "relative mx-6 my-8 flex flex-col items-center gap-12 rounded-xl bg-layer-raised p-16 mobile:mx-0 mobile:mt-10 mobile:w-full mobile:rounded-none mobile:bg-transparent mobile:p-0", children: [
44
+ i && /* @__PURE__ */ e(
45
+ o,
46
+ {
47
+ src: i,
48
+ className: "size-8 shrink-0 object-contain"
49
+ }
50
+ ),
51
+ /* @__PURE__ */ l("div", { className: "flex w-full flex-col items-center gap-8 mobile:gap-6", children: [
52
+ /* @__PURE__ */ e(
53
+ "h1",
54
+ {
55
+ id: s,
56
+ ref: d,
57
+ tabIndex: -1,
58
+ className: "dial-display2-text text-center text-primary",
59
+ children: a
60
+ }
61
+ ),
62
+ /* @__PURE__ */ l("div", { className: "flex w-full flex-col items-center gap-5 desktop:w-100", children: [
63
+ c,
64
+ n.length > 0 && /* @__PURE__ */ l(u, { children: [
65
+ r != null && /* @__PURE__ */ e("p", { className: "dial-body-text text-center text-primary", children: r }),
66
+ /* @__PURE__ */ e(
67
+ "ul",
68
+ {
69
+ "aria-label": m,
70
+ className: "m-0 flex w-full list-none flex-col gap-3 p-0",
71
+ children: n.map((t) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
72
+ h,
73
+ {
74
+ href: t.href,
75
+ label: t.label,
76
+ iconBefore: t.iconSrc ? /* @__PURE__ */ e(
77
+ o,
78
+ {
79
+ src: t.iconSrc,
80
+ className: "size-5 shrink-0"
81
+ }
82
+ ) : void 0,
83
+ className: "w-full"
84
+ }
85
+ ) }, t.id))
86
+ }
87
+ )
88
+ ] })
89
+ ] })
90
+ ] })
91
+ ] })
92
+ ]
93
+ }
94
+ );
95
+ };
96
+ export {
97
+ I as LoginScreen
98
+ };
@@ -1,26 +1,31 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { mergeClasses as n } from "../../utils/merge-classes.js";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { mergeClasses as l } from "../../utils/merge-classes.js";
3
3
  import { DIAL_KIT_CLASS as o } from "../../constants/public-class-names.js";
4
- const d = ({
4
+ const f = ({
5
5
  size: e = 40,
6
- className: s,
6
+ className: i,
7
7
  fullWidth: t = !1,
8
- ariaLabel: i = "Loading"
9
- }) => /* @__PURE__ */ r(
8
+ fullScreen: a = !1,
9
+ ariaLabel: n = "Loading",
10
+ focusRef: r
11
+ }) => /* @__PURE__ */ s(
10
12
  "div",
11
13
  {
12
14
  role: "status",
13
- className: n(
15
+ className: l(
14
16
  "flex items-center justify-center",
15
17
  { "size-full": t },
16
- s,
18
+ { "fixed inset-0 z-popup bg-layer-base": a },
19
+ i,
17
20
  o.spinner
18
21
  ),
19
- children: /* @__PURE__ */ r(
22
+ children: /* @__PURE__ */ s(
20
23
  "div",
21
24
  {
25
+ ref: r,
26
+ tabIndex: r ? -1 : void 0,
22
27
  role: "img",
23
- "aria-label": i,
28
+ "aria-label": n,
24
29
  style: { width: e, height: e },
25
30
  className: "rounded-full border-2 border-secondary border-t-accent animate-spin-steps shrink-0"
26
31
  }
@@ -28,5 +33,5 @@ const d = ({
28
33
  }
29
34
  );
30
35
  export {
31
- d as Spinner
36
+ f as Spinner
32
37
  };
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.16.0-dev.61",
3
- "generatedAt": "2026-11-02T10:43:43.156Z",
2
+ "version": "0.16.0-dev.66",
3
+ "generatedAt": "2026-11-02T14:50:07.690Z",
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",
@@ -27,27 +27,46 @@
27
27
  "name": "size",
28
28
  "type": "number",
29
29
  "required": false,
30
- "defaultValue": "40"
30
+ "defaultValue": "40",
31
+ "description": "Ring diameter in px."
31
32
  },
32
33
  {
33
34
  "name": "className",
34
35
  "type": "string",
35
- "required": false
36
+ "required": false,
37
+ "description": "Additional container classes."
36
38
  },
37
39
  {
38
40
  "name": "fullWidth",
39
41
  "type": "boolean",
40
42
  "required": false,
41
- "defaultValue": "false"
43
+ "defaultValue": "false",
44
+ "description": "Stretches the container to its parent's width and height."
45
+ },
46
+ {
47
+ "name": "fullScreen",
48
+ "type": "boolean",
49
+ "required": false,
50
+ "defaultValue": "false",
51
+ "description": "Covers the whole viewport with the ring centred."
42
52
  },
43
53
  {
44
54
  "name": "ariaLabel",
45
55
  "type": "string",
46
56
  "required": false,
47
- "defaultValue": "'Loading'"
57
+ "defaultValue": "'Loading'",
58
+ "description": "Accessible label for screen readers."
59
+ },
60
+ {
61
+ "name": "focusRef",
62
+ "type": "Ref<HTMLDivElement>",
63
+ "required": false,
64
+ "description": "Makes the ring focusable and points this ref at it."
48
65
  }
49
66
  ],
50
- "examples": [],
67
+ "examples": [
68
+ "<Spinner fullScreen size={48} ariaLabel=\"Checking your session…\" />"
69
+ ],
51
70
  "sourceFile": "components/Spinner/Spinner.tsx"
52
71
  },
53
72
  {
@@ -553,6 +572,18 @@
553
572
  "required": false,
554
573
  "defaultValue": "true",
555
574
  "description": "`time` mode only: shows a clock button that opens an hour/minute list popover next to the typeable field"
575
+ },
576
+ {
577
+ "name": "renderTimeField",
578
+ "type": "(props: CalendarTimeFieldRenderProps) => ReactNode",
579
+ "required": false,
580
+ "description": "`datetime` mode only: renders a custom control in place of the popover footer's time field; receives the `\"HH:mm\"` value, `onChange`, `onBlur`, `disabled`, `invalid`, `ariaLabel` and `timezoneLabel`"
581
+ },
582
+ {
583
+ "name": "pickerButtonClassName",
584
+ "type": "string",
585
+ "required": false,
586
+ "description": "`time` mode only: classes merged onto the clock button after its defaults, so a conflicting utility overrides them"
556
587
  }
557
588
  ],
558
589
  "examples": [
@@ -5860,6 +5891,134 @@
5860
5891
  ],
5861
5892
  "sourceFile": "components/New/StateScreen/StateScreen.tsx"
5862
5893
  },
5894
+ {
5895
+ "name": "ErrorBoundary",
5896
+ "category": "Components_2_0",
5897
+ "generation": "2.0",
5898
+ "description": "Catches a render error in its subtree and replaces the subtree with a\nfull-container error screen that has one way out.\naliases: ErrorFallback|CrashScreen|ErrorPage|SomethingWentWrong|RootErrorBoundary\nDesign system 2.0\n\nThe fallback is a `StateScreen` with a warning badge and a `PrimaryButton`\nthat takes focus, since the control the user was on is gone. The crash is\nannounced through an assertive `LiveRegion` that is mounted with the\nboundary, before any error: a region mounted together with its message is\noften not read.\n\nThe button calls `onReset` and renders the children again, or reloads the\npage when `onReset` is omitted. `resetKeys` clears the error without a click.\nLike every React error boundary, it does not catch errors in event handlers,\nasync code or the boundary itself. All text comes from props.",
5899
+ "props": [
5900
+ {
5901
+ "name": "children",
5902
+ "type": "ReactNode",
5903
+ "required": false,
5904
+ "description": "The subtree to guard."
5905
+ },
5906
+ {
5907
+ "name": "title",
5908
+ "type": "ReactNode",
5909
+ "required": true,
5910
+ "description": "Headline of the fallback; also the announcement."
5911
+ },
5912
+ {
5913
+ "name": "description",
5914
+ "type": "ReactNode",
5915
+ "required": false,
5916
+ "description": "Optional line under the title."
5917
+ },
5918
+ {
5919
+ "name": "actionLabel",
5920
+ "type": "string",
5921
+ "required": true,
5922
+ "description": "Text of the recovery button."
5923
+ },
5924
+ {
5925
+ "name": "onReset",
5926
+ "type": "() => void",
5927
+ "required": false,
5928
+ "description": "Recovery handler; the page reloads without one."
5929
+ },
5930
+ {
5931
+ "name": "resetKeys",
5932
+ "type": "readonly unknown[]",
5933
+ "required": false,
5934
+ "description": "Values that clear the error when one of them changes."
5935
+ },
5936
+ {
5937
+ "name": "onError",
5938
+ "type": "(error: unknown, info: ErrorInfo) => void",
5939
+ "required": false,
5940
+ "description": "Called once per caught error."
5941
+ },
5942
+ {
5943
+ "name": "icon",
5944
+ "type": "ReactNode",
5945
+ "required": false,
5946
+ "defaultValue": "DEFAULT_ICON",
5947
+ "description": "Glyph in the fallback badge; `null` drops it."
5948
+ },
5949
+ {
5950
+ "name": "className",
5951
+ "type": "string",
5952
+ "required": false,
5953
+ "description": "Additional CSS classes for the fallback screen."
5954
+ }
5955
+ ],
5956
+ "examples": [
5957
+ "<ErrorBoundary\n title={t('error.title')}\n description={t('error.description')}\n actionLabel={t('error.reload')}\n onError={(error) => logger.error(error)}\n>\n <App />\n</ErrorBoundary>\n\n<ErrorBoundary\n title={t('error.title')}\n actionLabel={t('error.tryAgain')}\n onReset={() => {}}\n resetKeys={[pathname]}\n>\n <SettingsPage />\n</ErrorBoundary>"
5958
+ ],
5959
+ "sourceFile": "components/New/ErrorBoundary/ErrorBoundary.tsx"
5960
+ },
5961
+ {
5962
+ "name": "LoginScreen",
5963
+ "category": "Components_2_0",
5964
+ "generation": "2.0",
5965
+ "description": "The full-page sign-in screen shared by DIAL applications: soft themed\nartwork behind a centred card with the product mark, an `h1`, state content\nand one button per identity provider.\naliases: SignInPage|LoginPage|AuthPage|ProviderPicker\nDesign system 2.0\n\nFills its container. The root is a `section` named by its title. The\nartwork follows the `gradient-1` / `gradient-2` theme tokens. On mobile the\ncard loses its surface and spans the width. Fetching providers and building\ntheir URLs stay with the application. For a signed-out or access-denied\nstate inside an app, use `StateScreen`.",
5966
+ "props": [
5967
+ {
5968
+ "name": "title",
5969
+ "type": "ReactNode",
5970
+ "required": true,
5971
+ "description": "Headline of the screen, rendered as the page's `h1`."
5972
+ },
5973
+ {
5974
+ "name": "description",
5975
+ "type": "ReactNode",
5976
+ "required": false,
5977
+ "description": "Prompt above the provider list."
5978
+ },
5979
+ {
5980
+ "name": "logoSrc",
5981
+ "type": "string",
5982
+ "required": false,
5983
+ "description": "Product mark above the title."
5984
+ },
5985
+ {
5986
+ "name": "providers",
5987
+ "type": "LoginScreenProvider[]",
5988
+ "required": false,
5989
+ "defaultValue": "[]",
5990
+ "description": "One link-styled button per provider."
5991
+ },
5992
+ {
5993
+ "name": "providersLabel",
5994
+ "type": "string",
5995
+ "required": false,
5996
+ "description": "Accessible name of the provider list."
5997
+ },
5998
+ {
5999
+ "name": "children",
6000
+ "type": "ReactNode",
6001
+ "required": false,
6002
+ "description": "State content above the providers."
6003
+ },
6004
+ {
6005
+ "name": "titleRef",
6006
+ "type": "Ref<HTMLHeadingElement>",
6007
+ "required": false,
6008
+ "description": "Ref to the focusable `h1`."
6009
+ },
6010
+ {
6011
+ "name": "className",
6012
+ "type": "string",
6013
+ "required": false,
6014
+ "description": "Additional CSS classes for the container."
6015
+ }
6016
+ ],
6017
+ "examples": [
6018
+ "<LoginScreen\n logoSrc=\"/favicon.svg\"\n title=\"Welcome to DIAL Chat\"\n description=\"Sign in with:\"\n providersLabel=\"Sign-in options\"\n providers={[{ id: 'keycloak', label: 'Keycloak', href: '/api/auth/login/keycloak' }]}\n/>"
6019
+ ],
6020
+ "sourceFile": "components/New/LoginScreen/LoginScreen.tsx"
6021
+ },
5863
6022
  {
5864
6023
  "name": "LiveRegion",
5865
6024
  "category": "Components_2_0",
@@ -9450,6 +9609,29 @@
9450
9609
  ],
9451
9610
  "sourceFile": "types/tooltip.ts"
9452
9611
  },
9612
+ {
9613
+ "name": "LoginScreenProvider",
9614
+ "kind": "interface",
9615
+ "members": [
9616
+ {
9617
+ "name": "id",
9618
+ "value": "string"
9619
+ },
9620
+ {
9621
+ "name": "label",
9622
+ "value": "string"
9623
+ },
9624
+ {
9625
+ "name": "href",
9626
+ "value": "string"
9627
+ },
9628
+ {
9629
+ "name": "iconSrc?",
9630
+ "value": "string"
9631
+ }
9632
+ ],
9633
+ "sourceFile": "components/New/LoginScreen/LoginScreen.tsx"
9634
+ },
9453
9635
  {
9454
9636
  "name": "LiveRegionElement",
9455
9637
  "kind": "enum",
@@ -9869,7 +10051,7 @@
9869
10051
  {
9870
10052
  "name": "DIAL_KIT_CLASS",
9871
10053
  "sourceFile": "constants/public-class-names.ts",
9872
- "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 /**\n * The always-mounted wrapper of a `LiveRegion` — also the wrapper `CaptionText`\n * and `ErrorText` render when given `announce`.\n */\n liveRegion: 'dial-kit-live-region',\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 /** The `<button aria-pressed>` of a `ToggleChip`. */\n toggleChip: 'dial-kit-toggle-chip',\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"
10054
+ "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 `LoginScreen`. */\n loginScreen: 'dial-kit-login-screen',\n /** The `section` root of a `StateScreen`. */\n stateScreen: 'dial-kit-state-screen',\n /**\n * The always-mounted wrapper of a `LiveRegion` — also the wrapper `CaptionText`\n * and `ErrorText` render when given `announce`.\n */\n liveRegion: 'dial-kit-live-region',\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 /** The `<button aria-pressed>` of a `ToggleChip`. */\n toggleChip: 'dial-kit-toggle-chip',\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"
9873
10055
  }
9874
10056
  ]
9875
10057
  }
@@ -18,6 +18,8 @@ const i = {
18
18
  notification: "dial-kit-notification",
19
19
  /** The empty-state root of `NoDataContent`. */
20
20
  noDataContent: "dial-kit-no-data-content",
21
+ /** The `section` root of a `LoginScreen`. */
22
+ loginScreen: "dial-kit-login-screen",
21
23
  /** The `section` root of a `StateScreen`. */
22
24
  stateScreen: "dial-kit-state-screen",
23
25
  /**