@epam/ai-dial-ui-kit 0.16.0-dev.60 → 0.16.0-dev.62
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 +1 -0
- package/dist/CHANGELOG.md +2 -0
- package/dist/{DateCellRenderer-BFcpoREG.cjs → DateCellRenderer-6jyIN-OC.cjs} +1 -1
- package/dist/components/New/Analytics/Card/Card.js +63 -55
- package/dist/components/New/LoginScreen/LoginScreen.js +98 -0
- package/dist/components-manifest.json +88 -4
- package/dist/constants/public-class-names.js +2 -0
- package/dist/dial-ui-kit.cjs +3 -3
- package/dist/dial-ui-kit.js +41 -39
- package/dist/grid.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/src/components/New/Analytics/Card/Card.d.ts +7 -1
- package/dist/src/components/New/LoginScreen/LoginScreen.d.ts +63 -0
- package/dist/src/constants/public-class-names.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,64 +1,66 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { DIAL_KIT_CLASS as
|
|
3
|
-
import { Badge as
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { DIAL_KIT_CLASS as N } from "../../../../constants/public-class-names.js";
|
|
3
|
+
import { Badge as g } from "../../Badge/Badge.js";
|
|
4
4
|
import { BadgeColor as b, BadgeVariant as C } from "../../../../types/badge.js";
|
|
5
|
-
import { EllipsisTooltip as
|
|
5
|
+
import { EllipsisTooltip as x } from "../../EllipsisTooltip/EllipsisTooltip.js";
|
|
6
6
|
import { Spinner as D } from "../../../Spinner/Spinner.js";
|
|
7
|
-
import { AnalyticsCardVariant as
|
|
8
|
-
import { mergeClasses as
|
|
7
|
+
import { AnalyticsCardVariant as o } from "../../../../types/analytics.js";
|
|
8
|
+
import { mergeClasses as l } from "../../../../utils/merge-classes.js";
|
|
9
9
|
const w = {
|
|
10
|
-
[
|
|
10
|
+
[o.Default]: {
|
|
11
11
|
container: "bg-layer-3",
|
|
12
12
|
title: "dial-small-text text-secondary",
|
|
13
13
|
value: "dial-display2-text text-primary",
|
|
14
|
+
compareDividerCell: "h-10",
|
|
14
15
|
showDescription: !0
|
|
15
16
|
},
|
|
16
|
-
[
|
|
17
|
+
[o.Compact]: {
|
|
17
18
|
container: "bg-layer-2",
|
|
18
19
|
title: "dial-tiny-text text-secondary",
|
|
19
20
|
value: "dial-body-semi-text text-primary",
|
|
21
|
+
compareDividerCell: "h-6",
|
|
20
22
|
showDescription: !1
|
|
21
23
|
}
|
|
22
|
-
},
|
|
23
|
-
title:
|
|
24
|
+
}, T = ({
|
|
25
|
+
title: d,
|
|
24
26
|
value: p,
|
|
25
|
-
description:
|
|
26
|
-
variant:
|
|
27
|
-
error:
|
|
27
|
+
description: r,
|
|
28
|
+
variant: y = o.Default,
|
|
29
|
+
error: i,
|
|
28
30
|
isLoading: n,
|
|
29
|
-
className:
|
|
31
|
+
className: f,
|
|
30
32
|
delta: a,
|
|
31
|
-
deltaPositive:
|
|
32
|
-
deltaUnit:
|
|
33
|
-
compareValues:
|
|
33
|
+
deltaPositive: m,
|
|
34
|
+
deltaUnit: v,
|
|
35
|
+
compareValues: s
|
|
34
36
|
}) => {
|
|
35
|
-
const t = w[
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
+
const t = w[y], h = m !== void 0 ? m : (a ?? 0) >= 0, u = a === void 0 ? null : `${a >= 0 ? `+${a}` : String(a)}${v ?? ""}`;
|
|
38
|
+
return /* @__PURE__ */ c(
|
|
37
39
|
"div",
|
|
38
40
|
{
|
|
39
|
-
className:
|
|
41
|
+
className: l(
|
|
40
42
|
"flex flex-col rounded-lg border border-secondary p-4",
|
|
41
|
-
|
|
43
|
+
i || n ? "gap-2" : "gap-1",
|
|
42
44
|
t.container,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
f,
|
|
46
|
+
N.analyticsCard
|
|
45
47
|
),
|
|
46
48
|
children: [
|
|
47
|
-
a !== void 0 ? /* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */ e("span", { className: t.title, children:
|
|
49
|
+
a !== void 0 ? /* @__PURE__ */ c("div", { className: "flex items-center gap-2", children: [
|
|
50
|
+
/* @__PURE__ */ e("span", { className: t.title, children: d }),
|
|
49
51
|
/* @__PURE__ */ e(
|
|
50
52
|
"span",
|
|
51
53
|
{
|
|
52
|
-
className:
|
|
54
|
+
className: l(
|
|
53
55
|
"dial-tiny-semi-text rounded-[120px] border border-transparent px-2",
|
|
54
|
-
|
|
56
|
+
h ? "bg-success text-success" : "bg-error text-error"
|
|
55
57
|
),
|
|
56
|
-
children:
|
|
58
|
+
children: u
|
|
57
59
|
}
|
|
58
60
|
)
|
|
59
|
-
] }) : /* @__PURE__ */ e("span", { className: t.title, children:
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
] }) : /* @__PURE__ */ e("span", { className: t.title, children: d }),
|
|
62
|
+
i ? /* @__PURE__ */ e(
|
|
63
|
+
g,
|
|
62
64
|
{
|
|
63
65
|
label: "Error",
|
|
64
66
|
variant: C.Filled,
|
|
@@ -66,34 +68,40 @@ const w = {
|
|
|
66
68
|
textClassName: "dial-tiny-semi-text",
|
|
67
69
|
className: "self-start"
|
|
68
70
|
}
|
|
69
|
-
) : n ? /* @__PURE__ */ e(D, { size: 18, fullWidth: !1, className: "self-start" }) :
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
71
|
+
) : n ? /* @__PURE__ */ e(D, { size: 18, fullWidth: !1, className: "self-start" }) : s ? /* @__PURE__ */ c("div", { className: "grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] gap-x-3 gap-y-0.5", children: [
|
|
72
|
+
/* @__PURE__ */ e(
|
|
73
|
+
x,
|
|
74
|
+
{
|
|
75
|
+
text: s[0].title,
|
|
76
|
+
className: "col-start-1 dial-tiny-text text-secondary"
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
/* @__PURE__ */ e(
|
|
80
|
+
x,
|
|
81
|
+
{
|
|
82
|
+
text: s[1].title,
|
|
83
|
+
className: "col-start-3 dial-tiny-text text-secondary"
|
|
84
|
+
}
|
|
85
|
+
),
|
|
86
|
+
/* @__PURE__ */ e("span", { className: l("col-start-1 min-w-0", t.value), children: s[0].value }),
|
|
87
|
+
/* @__PURE__ */ e(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
"aria-hidden": "true",
|
|
91
|
+
className: l(
|
|
92
|
+
"col-start-2 flex items-center self-start",
|
|
93
|
+
t.compareDividerCell
|
|
94
|
+
),
|
|
95
|
+
children: /* @__PURE__ */ e("div", { className: "h-4 w-px bg-controls-disable-accent" })
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ e("span", { className: l("col-start-3 min-w-0", t.value), children: s[1].value })
|
|
91
99
|
] }) : /* @__PURE__ */ e("span", { className: t.value, children: p }),
|
|
92
|
-
!
|
|
100
|
+
!i && !n && t.showDescription && r != null && r !== !1 && /* @__PURE__ */ e("span", { className: "mt-auto dial-tiny-text text-secondary", children: r })
|
|
93
101
|
]
|
|
94
102
|
}
|
|
95
103
|
);
|
|
96
104
|
};
|
|
97
105
|
export {
|
|
98
|
-
|
|
106
|
+
T as AnalyticsCard
|
|
99
107
|
};
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.16.0-dev.
|
|
3
|
-
"generatedAt": "2026-11-
|
|
2
|
+
"version": "0.16.0-dev.62",
|
|
3
|
+
"generatedAt": "2026-11-02T12:21:52.558Z",
|
|
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",
|
|
@@ -1571,7 +1571,7 @@
|
|
|
1571
1571
|
"name": "AnalyticsCard",
|
|
1572
1572
|
"category": "Components_2_0/Analytics",
|
|
1573
1573
|
"generation": "2.0",
|
|
1574
|
-
"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\"`.",
|
|
1574
|
+
"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\"`. The divider is\ncentred on the first line of the two values, so dividers line up across cards\nwhose values differ in height.\n\n**Description placement** — when the card is stretched to the height of its row\n(a grid or flex row with equal-height items), the description sits at the\nbottom of the card with the free space between it and the value.",
|
|
1575
1575
|
"props": [
|
|
1576
1576
|
{
|
|
1577
1577
|
"name": "title",
|
|
@@ -5860,6 +5860,67 @@
|
|
|
5860
5860
|
],
|
|
5861
5861
|
"sourceFile": "components/New/StateScreen/StateScreen.tsx"
|
|
5862
5862
|
},
|
|
5863
|
+
{
|
|
5864
|
+
"name": "LoginScreen",
|
|
5865
|
+
"category": "Components_2_0",
|
|
5866
|
+
"generation": "2.0",
|
|
5867
|
+
"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`.",
|
|
5868
|
+
"props": [
|
|
5869
|
+
{
|
|
5870
|
+
"name": "title",
|
|
5871
|
+
"type": "ReactNode",
|
|
5872
|
+
"required": true,
|
|
5873
|
+
"description": "Headline of the screen, rendered as the page's `h1`."
|
|
5874
|
+
},
|
|
5875
|
+
{
|
|
5876
|
+
"name": "description",
|
|
5877
|
+
"type": "ReactNode",
|
|
5878
|
+
"required": false,
|
|
5879
|
+
"description": "Prompt above the provider list."
|
|
5880
|
+
},
|
|
5881
|
+
{
|
|
5882
|
+
"name": "logoSrc",
|
|
5883
|
+
"type": "string",
|
|
5884
|
+
"required": false,
|
|
5885
|
+
"description": "Product mark above the title."
|
|
5886
|
+
},
|
|
5887
|
+
{
|
|
5888
|
+
"name": "providers",
|
|
5889
|
+
"type": "LoginScreenProvider[]",
|
|
5890
|
+
"required": false,
|
|
5891
|
+
"defaultValue": "[]",
|
|
5892
|
+
"description": "One link-styled button per provider."
|
|
5893
|
+
},
|
|
5894
|
+
{
|
|
5895
|
+
"name": "providersLabel",
|
|
5896
|
+
"type": "string",
|
|
5897
|
+
"required": false,
|
|
5898
|
+
"description": "Accessible name of the provider list."
|
|
5899
|
+
},
|
|
5900
|
+
{
|
|
5901
|
+
"name": "children",
|
|
5902
|
+
"type": "ReactNode",
|
|
5903
|
+
"required": false,
|
|
5904
|
+
"description": "State content above the providers."
|
|
5905
|
+
},
|
|
5906
|
+
{
|
|
5907
|
+
"name": "titleRef",
|
|
5908
|
+
"type": "Ref<HTMLHeadingElement>",
|
|
5909
|
+
"required": false,
|
|
5910
|
+
"description": "Ref to the focusable `h1`."
|
|
5911
|
+
},
|
|
5912
|
+
{
|
|
5913
|
+
"name": "className",
|
|
5914
|
+
"type": "string",
|
|
5915
|
+
"required": false,
|
|
5916
|
+
"description": "Additional CSS classes for the container."
|
|
5917
|
+
}
|
|
5918
|
+
],
|
|
5919
|
+
"examples": [
|
|
5920
|
+
"<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/>"
|
|
5921
|
+
],
|
|
5922
|
+
"sourceFile": "components/New/LoginScreen/LoginScreen.tsx"
|
|
5923
|
+
},
|
|
5863
5924
|
{
|
|
5864
5925
|
"name": "LiveRegion",
|
|
5865
5926
|
"category": "Components_2_0",
|
|
@@ -9450,6 +9511,29 @@
|
|
|
9450
9511
|
],
|
|
9451
9512
|
"sourceFile": "types/tooltip.ts"
|
|
9452
9513
|
},
|
|
9514
|
+
{
|
|
9515
|
+
"name": "LoginScreenProvider",
|
|
9516
|
+
"kind": "interface",
|
|
9517
|
+
"members": [
|
|
9518
|
+
{
|
|
9519
|
+
"name": "id",
|
|
9520
|
+
"value": "string"
|
|
9521
|
+
},
|
|
9522
|
+
{
|
|
9523
|
+
"name": "label",
|
|
9524
|
+
"value": "string"
|
|
9525
|
+
},
|
|
9526
|
+
{
|
|
9527
|
+
"name": "href",
|
|
9528
|
+
"value": "string"
|
|
9529
|
+
},
|
|
9530
|
+
{
|
|
9531
|
+
"name": "iconSrc?",
|
|
9532
|
+
"value": "string"
|
|
9533
|
+
}
|
|
9534
|
+
],
|
|
9535
|
+
"sourceFile": "components/New/LoginScreen/LoginScreen.tsx"
|
|
9536
|
+
},
|
|
9453
9537
|
{
|
|
9454
9538
|
"name": "LiveRegionElement",
|
|
9455
9539
|
"kind": "enum",
|
|
@@ -9869,7 +9953,7 @@
|
|
|
9869
9953
|
{
|
|
9870
9954
|
"name": "DIAL_KIT_CLASS",
|
|
9871
9955
|
"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"
|
|
9956
|
+
"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
9957
|
}
|
|
9874
9958
|
]
|
|
9875
9959
|
}
|
|
@@ -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
|
/**
|