@epam/ai-dial-ui-kit 0.16.0-dev.20 → 0.16.0-dev.22
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 +2 -0
- package/dist/CHANGELOG.md +2 -0
- package/dist/{DateCellRenderer-DDEzIi2B.cjs → DateCellRenderer-BEZLnOm0.cjs} +1 -1
- package/dist/JsonEditor-eAV7SaKu.cjs +1 -0
- package/dist/{MarkdownEditor-BKtFs714.cjs → MarkdownEditor-Cp-KX6-T.cjs} +1 -1
- package/dist/{MarkdownEditor-Bapd1ycU.cjs → MarkdownEditor-Dav_pp0T.cjs} +1 -1
- package/dist/MarkdownEditorContainer-D8YTX8EM.cjs +1 -0
- package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +18 -16
- package/dist/components/New/Calendar/Calendar.js +288 -216
- package/dist/components/New/Calendar/TimePickerPanel.js +87 -0
- package/dist/components/New/Calendar/constants.js +26 -24
- package/dist/components/New/ResizeHandle/ResizeHandle.js +147 -0
- package/dist/components-manifest.json +78 -4
- package/dist/constants/public-class-names.js +2 -0
- package/dist/dial-ui-kit.cjs +3 -3
- package/dist/dial-ui-kit.js +174 -172
- package/dist/editor-BH6_A1k2.cjs +1 -0
- package/dist/editors.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/lazy-DMVYJhUR.cjs +1 -0
- package/dist/src/components/New/Calendar/Calendar.d.ts +7 -0
- package/dist/src/components/New/Calendar/TimePickerPanel.d.ts +15 -0
- package/dist/src/components/New/Calendar/constants.d.ts +2 -0
- package/dist/src/components/New/ResizeHandle/ResizeHandle.d.ts +68 -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
- package/dist/JsonEditor-Bxui5wJH.cjs +0 -1
- package/dist/MarkdownEditorContainer-DLPODjar.cjs +0 -1
- package/dist/lazy-_W6FYhKg.cjs +0 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { jsxs as d, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as p, useRef as x, useEffect as h } from "react";
|
|
3
|
+
import { mergeClasses as b } from "../../../utils/merge-classes.js";
|
|
4
|
+
const g = Array.from({ length: 24 }, (n, r) => String(r).padStart(2, "0")), y = Array.from(
|
|
5
|
+
{ length: 60 },
|
|
6
|
+
(n, r) => String(r).padStart(2, "0")
|
|
7
|
+
), S = "flex w-full shrink-0 items-center justify-center rounded-lg px-3 py-2 dial-small-text text-primary hover:bg-control-accent-alpha-hover focus:outline-hidden focus-visible:outline focus-visible:outline-focus", v = "bg-control-accent text-control-permanent hover:bg-control-accent", u = ({
|
|
8
|
+
label: n,
|
|
9
|
+
options: r,
|
|
10
|
+
selected: l,
|
|
11
|
+
onSelect: s
|
|
12
|
+
}) => {
|
|
13
|
+
const t = x(null);
|
|
14
|
+
h(() => {
|
|
15
|
+
const e = t.current, o = e?.querySelector('[aria-selected="true"]');
|
|
16
|
+
!e || !o || (e.scrollTop = o.offsetTop - e.clientHeight / 2 + o.offsetHeight / 2);
|
|
17
|
+
}, []);
|
|
18
|
+
const f = (e) => {
|
|
19
|
+
const o = Array.from(
|
|
20
|
+
e.currentTarget.querySelectorAll("button")
|
|
21
|
+
), a = o.indexOf(document.activeElement), i = {
|
|
22
|
+
ArrowDown: o[a + 1],
|
|
23
|
+
ArrowUp: o[a - 1],
|
|
24
|
+
Home: o[0],
|
|
25
|
+
End: o[o.length - 1]
|
|
26
|
+
}[e.key];
|
|
27
|
+
i && (e.preventDefault(), i.focus());
|
|
28
|
+
}, m = l ?? r[0];
|
|
29
|
+
return /* @__PURE__ */ c(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
ref: t,
|
|
33
|
+
role: "listbox",
|
|
34
|
+
"aria-label": n,
|
|
35
|
+
tabIndex: -1,
|
|
36
|
+
className: "flex h-56 flex-1 flex-col gap-0.5 overflow-y-auto",
|
|
37
|
+
onKeyDown: f,
|
|
38
|
+
children: r.map((e) => /* @__PURE__ */ c(
|
|
39
|
+
"button",
|
|
40
|
+
{
|
|
41
|
+
type: "button",
|
|
42
|
+
role: "option",
|
|
43
|
+
"aria-selected": e === l,
|
|
44
|
+
tabIndex: e === m ? 0 : -1,
|
|
45
|
+
className: b(
|
|
46
|
+
S,
|
|
47
|
+
e === l && v
|
|
48
|
+
),
|
|
49
|
+
onClick: () => s(e),
|
|
50
|
+
children: e
|
|
51
|
+
},
|
|
52
|
+
e
|
|
53
|
+
))
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
}, T = ({
|
|
57
|
+
value: n,
|
|
58
|
+
onSelect: r
|
|
59
|
+
}) => {
|
|
60
|
+
const [l, s] = p(() => {
|
|
61
|
+
const t = /^(\d{2}):(\d{2})$/.exec(n);
|
|
62
|
+
return t ? [t[1], t[2]] : [void 0, void 0];
|
|
63
|
+
}, [n]);
|
|
64
|
+
return /* @__PURE__ */ d("div", { className: "flex w-[168px] gap-1", children: [
|
|
65
|
+
/* @__PURE__ */ c(
|
|
66
|
+
u,
|
|
67
|
+
{
|
|
68
|
+
label: "Hours",
|
|
69
|
+
options: g,
|
|
70
|
+
selected: l,
|
|
71
|
+
onSelect: (t) => r(`${t}:${s ?? "00"}`, !1)
|
|
72
|
+
}
|
|
73
|
+
),
|
|
74
|
+
/* @__PURE__ */ c(
|
|
75
|
+
u,
|
|
76
|
+
{
|
|
77
|
+
label: "Minutes",
|
|
78
|
+
options: y,
|
|
79
|
+
selected: s,
|
|
80
|
+
onSelect: (t) => r(`${l ?? "00"}:${t}`, !0)
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
] });
|
|
84
|
+
};
|
|
85
|
+
export {
|
|
86
|
+
T as TimePickerPanel
|
|
87
|
+
};
|
|
@@ -1,57 +1,59 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { IconChevronRight as o, IconChevronLeft as
|
|
3
|
-
import { DIAL_KIT_ICON_STROKE as
|
|
4
|
-
import { DIAL_ICON_SIZE as
|
|
2
|
+
import { IconChevronRight as o, IconChevronLeft as l, IconCalendar as n } from "@tabler/icons-react";
|
|
3
|
+
import { DIAL_KIT_ICON_STROKE as t } from "../constants/icon.js";
|
|
4
|
+
import { DIAL_ICON_SIZE as r } from "../../../constants/icon.js";
|
|
5
5
|
import { CalendarMode as e } from "../../../types/calendar.js";
|
|
6
|
-
const
|
|
6
|
+
const p = "en-GB", f = {
|
|
7
7
|
[e.Date]: "Select date",
|
|
8
8
|
[e.DateTime]: "Select date and time",
|
|
9
9
|
[e.Time]: "--:--",
|
|
10
10
|
[e.Weekday]: "Select day"
|
|
11
|
-
},
|
|
11
|
+
}, b = (
|
|
12
12
|
// TODO: check after design review for input
|
|
13
13
|
"flex w-full items-center justify-between gap-2 rounded-xl border border-secondary bg-layer-raised px-4 py-3 dial-small-text text-primary outline-hidden transition-colors hover:border-accent-alpha focus-within:border-accent-focus"
|
|
14
14
|
), y = (
|
|
15
15
|
// TODO: check after design review for input
|
|
16
16
|
"!cursor-not-allowed !border-transparent bg-layer-sunken text-control-disable-primary hover:!border-transparent"
|
|
17
|
-
),
|
|
18
|
-
|
|
17
|
+
), x = "!border-error", h = "z-floating flex w-[248px] flex-col gap-4 rounded-lg bg-layer-raised px-2 py-4 shadow-md", v = "z-floating rounded-lg bg-layer-raised p-2 shadow-md", C = "absolute end-2 top-1/2 flex size-8 -translate-y-1/2 items-center justify-center rounded-lg text-secondary hover:bg-control-accent-alpha-hover hover:text-primary focus:outline-hidden focus-visible:outline focus-visible:outline-focus disabled:cursor-not-allowed disabled:text-control-disable-primary disabled:hover:bg-transparent", g = "flex size-10 items-center justify-center rounded-full dial-small-text text-primary hover:bg-control-accent-alpha-hover hover:text-primary focus:outline-hidden focus-visible:outline focus-visible:outline-focus", N = "bg-control-accent text-control-permanent", D = "text-accent dial-small-semi-text", I = "text-control-disable-primary", s = "text-secondary", w = /* @__PURE__ */ a(
|
|
18
|
+
n,
|
|
19
19
|
{
|
|
20
|
-
size:
|
|
21
|
-
stroke:
|
|
20
|
+
size: r.MD,
|
|
21
|
+
stroke: t,
|
|
22
22
|
"aria-hidden": "true",
|
|
23
23
|
className: s
|
|
24
24
|
}
|
|
25
|
-
),
|
|
25
|
+
), S = {
|
|
26
26
|
prev: /* @__PURE__ */ a(
|
|
27
|
-
|
|
27
|
+
l,
|
|
28
28
|
{
|
|
29
|
-
size:
|
|
30
|
-
stroke:
|
|
29
|
+
size: r.SM,
|
|
30
|
+
stroke: t,
|
|
31
31
|
"aria-hidden": "true"
|
|
32
32
|
}
|
|
33
33
|
),
|
|
34
34
|
next: /* @__PURE__ */ a(
|
|
35
35
|
o,
|
|
36
36
|
{
|
|
37
|
-
size:
|
|
38
|
-
stroke:
|
|
37
|
+
size: r.SM,
|
|
38
|
+
stroke: t,
|
|
39
39
|
"aria-hidden": "true"
|
|
40
40
|
}
|
|
41
41
|
)
|
|
42
42
|
};
|
|
43
43
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
p as DEFAULT_CALENDAR_LOCALE,
|
|
45
|
+
g as calendarDayButtonBaseClassName,
|
|
46
|
+
I as calendarDayOutsideClassName,
|
|
47
47
|
N as calendarDaySelectedClassName,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
D as calendarDayTodayClassName,
|
|
49
|
+
b as calendarFieldBaseClassName,
|
|
50
50
|
y as calendarFieldDisabledClassName,
|
|
51
51
|
s as calendarFieldIconClassName,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
x as calendarFieldInvalidClassName,
|
|
53
|
+
w as calendarIcon,
|
|
54
54
|
f as calendarModeDefaultPlaceholder,
|
|
55
|
-
|
|
56
|
-
h as calendarPopoverClassName
|
|
55
|
+
S as calendarNavIcons,
|
|
56
|
+
h as calendarPopoverClassName,
|
|
57
|
+
C as timePickerButtonClassName,
|
|
58
|
+
v as timePickerPopoverClassName
|
|
57
59
|
};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { IconArrowsHorizontal as O } from "@tabler/icons-react";
|
|
3
|
+
import { useState as T, useRef as a, useEffect as Y, useCallback as U } from "react";
|
|
4
|
+
import { DIAL_KIT_ICON_STROKE as $ } from "../constants/icon.js";
|
|
5
|
+
import { Tooltip as j } from "../Tooltip/Tooltip.js";
|
|
6
|
+
import { DIAL_ICON_SIZE as q } from "../../../constants/icon.js";
|
|
7
|
+
import { DIAL_KIT_CLASS as B } from "../../../constants/public-class-names.js";
|
|
8
|
+
import { TooltipPlacement as b } from "../../../types/tooltip.js";
|
|
9
|
+
import { mergeClasses as L } from "../../../utils/merge-classes.js";
|
|
10
|
+
const G = 16, V = 1e3, Z = 4, h = (r) => r == null ? !1 : (r.closest("[dir]")?.getAttribute("dir") ?? r.ownerDocument.defaultView?.getComputedStyle(r).direction) === "rtl", se = ({
|
|
11
|
+
width: r,
|
|
12
|
+
minWidth: o,
|
|
13
|
+
maxWidth: s,
|
|
14
|
+
defaultWidth: R,
|
|
15
|
+
onWidthChange: f,
|
|
16
|
+
label: w,
|
|
17
|
+
tooltip: z,
|
|
18
|
+
keyboardStep: g = G,
|
|
19
|
+
className: S
|
|
20
|
+
}) => {
|
|
21
|
+
const [y, D] = T(!1), [I, m] = T(!1), [k, A] = T(!1), c = a(null), C = a(null), p = a({ x: 0, y: 0 }), l = a(null), u = a(void 0), i = a(void 0);
|
|
22
|
+
Y(
|
|
23
|
+
() => () => {
|
|
24
|
+
clearTimeout(u.current), i.current != null && cancelAnimationFrame(i.current);
|
|
25
|
+
},
|
|
26
|
+
[]
|
|
27
|
+
);
|
|
28
|
+
const P = U(
|
|
29
|
+
(e) => {
|
|
30
|
+
const t = Number.isFinite(e) ? e : o;
|
|
31
|
+
return Math.round(Math.min(s, Math.max(o, t)));
|
|
32
|
+
},
|
|
33
|
+
[s, o]
|
|
34
|
+
), E = (e) => {
|
|
35
|
+
C.current?.style.setProperty(
|
|
36
|
+
"transform",
|
|
37
|
+
`translate(${e.clientX}px, ${e.clientY}px) translate(-50%, -50%)`
|
|
38
|
+
), A(!0);
|
|
39
|
+
}, x = (e) => {
|
|
40
|
+
p.current = { x: e.clientX, y: e.clientY }, clearTimeout(u.current), u.current = setTimeout(() => m(!0), V);
|
|
41
|
+
}, M = (e) => {
|
|
42
|
+
E(e), x(e);
|
|
43
|
+
}, H = () => {
|
|
44
|
+
A(!1), clearTimeout(u.current), m(!1);
|
|
45
|
+
}, K = (e) => {
|
|
46
|
+
e.button === 0 && (e.currentTarget.setPointerCapture(e.pointerId), l.current = { x: e.clientX, width: r }, D(!0));
|
|
47
|
+
}, N = (e) => {
|
|
48
|
+
E(e);
|
|
49
|
+
const t = l.current;
|
|
50
|
+
if (t == null) {
|
|
51
|
+
Math.hypot(
|
|
52
|
+
e.clientX - p.current.x,
|
|
53
|
+
e.clientY - p.current.y
|
|
54
|
+
) > Z && (m(!1), x(e));
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const n = h(c.current) ? -1 : 1, F = P(t.width + (e.clientX - t.x) * n);
|
|
58
|
+
i.current != null && cancelAnimationFrame(i.current), i.current = requestAnimationFrame(() => f(F));
|
|
59
|
+
}, _ = (e) => {
|
|
60
|
+
l.current != null && (l.current = null, D(!1), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
|
|
61
|
+
}, X = (e) => {
|
|
62
|
+
const t = h(c.current) ? -1 : 1;
|
|
63
|
+
let n;
|
|
64
|
+
switch (e.key) {
|
|
65
|
+
case "ArrowRight":
|
|
66
|
+
n = r + g * t;
|
|
67
|
+
break;
|
|
68
|
+
case "ArrowLeft":
|
|
69
|
+
n = r - g * t;
|
|
70
|
+
break;
|
|
71
|
+
case "Home":
|
|
72
|
+
n = o;
|
|
73
|
+
break;
|
|
74
|
+
case "End":
|
|
75
|
+
n = s;
|
|
76
|
+
break;
|
|
77
|
+
default:
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
e.preventDefault(), f(P(n));
|
|
81
|
+
}, v = () => {
|
|
82
|
+
R != null && f(P(R));
|
|
83
|
+
};
|
|
84
|
+
return (
|
|
85
|
+
/* A focusable separator is the ARIA window-splitter widget, so it is interactive. */
|
|
86
|
+
/* @__PURE__ */ d(
|
|
87
|
+
"div",
|
|
88
|
+
{
|
|
89
|
+
ref: c,
|
|
90
|
+
role: "separator",
|
|
91
|
+
"aria-orientation": "vertical",
|
|
92
|
+
"aria-label": w,
|
|
93
|
+
"aria-valuenow": r,
|
|
94
|
+
"aria-valuemin": o,
|
|
95
|
+
"aria-valuemax": s,
|
|
96
|
+
tabIndex: 0,
|
|
97
|
+
className: L(
|
|
98
|
+
"absolute inset-y-0 end-0 -me-1 w-2 touch-none select-none",
|
|
99
|
+
"dial-resize-handle",
|
|
100
|
+
k && "dial-resize-handle-cursor-ready",
|
|
101
|
+
I && "dial-resize-handle-hover",
|
|
102
|
+
y && "dial-resize-handle-dragging",
|
|
103
|
+
S,
|
|
104
|
+
B.resizeHandle
|
|
105
|
+
),
|
|
106
|
+
onPointerEnter: M,
|
|
107
|
+
onPointerLeave: H,
|
|
108
|
+
onPointerDown: K,
|
|
109
|
+
onPointerMove: N,
|
|
110
|
+
onPointerUp: _,
|
|
111
|
+
onPointerCancel: _,
|
|
112
|
+
onKeyDown: X,
|
|
113
|
+
onDoubleClick: v,
|
|
114
|
+
children: /* @__PURE__ */ d(
|
|
115
|
+
j,
|
|
116
|
+
{
|
|
117
|
+
tooltip: z,
|
|
118
|
+
open: I && !y,
|
|
119
|
+
placement: h(c.current) ? b.Left : b.Right,
|
|
120
|
+
asChild: !0,
|
|
121
|
+
children: /* @__PURE__ */ d(
|
|
122
|
+
"span",
|
|
123
|
+
{
|
|
124
|
+
ref: C,
|
|
125
|
+
"aria-hidden": "true",
|
|
126
|
+
className: L(
|
|
127
|
+
"pointer-events-none fixed top-0 left-0 z-tooltip hidden text-secondary",
|
|
128
|
+
"dial-resize-handle-arrow"
|
|
129
|
+
),
|
|
130
|
+
children: /* @__PURE__ */ d(
|
|
131
|
+
O,
|
|
132
|
+
{
|
|
133
|
+
size: q.LG,
|
|
134
|
+
stroke: $
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
);
|
|
144
|
+
};
|
|
145
|
+
export {
|
|
146
|
+
se as ResizeHandle
|
|
147
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.16.0-dev.
|
|
3
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"version": "0.16.0-dev.22",
|
|
3
|
+
"generatedAt": "2026-10-20T15:37:27.298Z",
|
|
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",
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
},
|
|
424
424
|
{
|
|
425
425
|
"name": "Calendar",
|
|
426
|
-
"category": "Components_2_0",
|
|
426
|
+
"category": "Components_2_0/Calendar",
|
|
427
427
|
"generation": "2.0",
|
|
428
428
|
"description": "A date/time picker supporting four selection modes.\naliases: DatePicker|DateTimePicker\nDesign system 2.0\n\nRenders a text-field trigger that opens a rounded month-grid popover for\nthe `date`/`datetime` modes, a masked `\"HH:mm\"` text field for `time`, and\na popover list of weekday names for `weekday`. Month/weekday names and\ndate formatting are localized via the `locale` prop.",
|
|
429
429
|
"props": [
|
|
@@ -521,6 +521,13 @@
|
|
|
521
521
|
"required": false,
|
|
522
522
|
"defaultValue": "false",
|
|
523
523
|
"description": "Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`) at the trailing edge of the time fields (`time` mode and the `datetime` popover footer)"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "showTimePicker",
|
|
527
|
+
"type": "boolean",
|
|
528
|
+
"required": false,
|
|
529
|
+
"defaultValue": "true",
|
|
530
|
+
"description": "`time` mode only: shows a clock button that opens an hour/minute list popover next to the typeable field"
|
|
524
531
|
}
|
|
525
532
|
],
|
|
526
533
|
"examples": [
|
|
@@ -4967,6 +4974,73 @@
|
|
|
4967
4974
|
],
|
|
4968
4975
|
"sourceFile": "components/New/ResizableContainer/ResizableContainer.tsx"
|
|
4969
4976
|
},
|
|
4977
|
+
{
|
|
4978
|
+
"name": "ResizeHandle",
|
|
4979
|
+
"category": "Components_2_0",
|
|
4980
|
+
"generation": "2.0",
|
|
4981
|
+
"description": "A vertical separator on the inline-end edge of a panel that resizes the panel\nby pointer or keyboard.\naliases: Splitter|ColumnResizer|DragHandle|Divider\nDesign system 2.0\n\nThe component is controlled: it reports every width through `onWidthChange`\nand the host applies it to the panel. It is a focusable `separator` — the\nwindow-splitter pattern — so the arrow keys move it by `keyboardStep`, `Home`\nand `End` jump to the bounds, and a double click resets it to `defaultWidth`.\nDrag and keys follow the writing direction, so a panel at the inline start\ngrows as the pointer moves towards the inline end, in RTL as well.\n\nIt is positioned absolutely against its nearest positioned ancestor, over the\npanel's inline-end edge, and draws a thin line. The accent line and the hint\nappear once the pointer has rested on the handle, and a themed arrow follows\nthe pointer instead of the native cursor. Hide it on screens too narrow to\ndrag on by wrapping it, e.g. in `hidden desktop:block`.",
|
|
4982
|
+
"props": [
|
|
4983
|
+
{
|
|
4984
|
+
"name": "width",
|
|
4985
|
+
"type": "number",
|
|
4986
|
+
"required": true,
|
|
4987
|
+
"description": "Current width of the panel in px."
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"name": "minWidth",
|
|
4991
|
+
"type": "number",
|
|
4992
|
+
"required": true,
|
|
4993
|
+
"description": "Smallest width in px."
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"name": "maxWidth",
|
|
4997
|
+
"type": "number",
|
|
4998
|
+
"required": true,
|
|
4999
|
+
"description": "Largest width in px."
|
|
5000
|
+
},
|
|
5001
|
+
{
|
|
5002
|
+
"name": "defaultWidth",
|
|
5003
|
+
"type": "number",
|
|
5004
|
+
"required": false,
|
|
5005
|
+
"description": "Width a double click resets to."
|
|
5006
|
+
},
|
|
5007
|
+
{
|
|
5008
|
+
"name": "onWidthChange",
|
|
5009
|
+
"type": "(width: number) => void",
|
|
5010
|
+
"required": true,
|
|
5011
|
+
"description": "Called with the next, limited width."
|
|
5012
|
+
},
|
|
5013
|
+
{
|
|
5014
|
+
"name": "label",
|
|
5015
|
+
"type": "string",
|
|
5016
|
+
"required": true,
|
|
5017
|
+
"description": "Accessible name of the separator."
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"name": "tooltip",
|
|
5021
|
+
"type": "ReactNode",
|
|
5022
|
+
"required": false,
|
|
5023
|
+
"description": "Hint shown beside the pointer once it rests on the handle."
|
|
5024
|
+
},
|
|
5025
|
+
{
|
|
5026
|
+
"name": "keyboardStep",
|
|
5027
|
+
"type": "number",
|
|
5028
|
+
"required": false,
|
|
5029
|
+
"defaultValue": "DEFAULT_KEYBOARD_STEP",
|
|
5030
|
+
"description": "Width change of one arrow key press in px."
|
|
5031
|
+
},
|
|
5032
|
+
{
|
|
5033
|
+
"name": "className",
|
|
5034
|
+
"type": "string",
|
|
5035
|
+
"required": false,
|
|
5036
|
+
"description": "Additional CSS classes for the handle."
|
|
5037
|
+
}
|
|
5038
|
+
],
|
|
5039
|
+
"examples": [
|
|
5040
|
+
"<div className=\"relative\" style={{ width }}>\n <Sidebar />\n <ResizeHandle\n width={width}\n minWidth={280}\n maxWidth={640}\n defaultWidth={400}\n onWidthChange={setWidth}\n label=\"Resize sidebar\"\n tooltip=\"Drag to resize\"\n />\n</div>"
|
|
5041
|
+
],
|
|
5042
|
+
"sourceFile": "components/New/ResizeHandle/ResizeHandle.tsx"
|
|
5043
|
+
},
|
|
4970
5044
|
{
|
|
4971
5045
|
"name": "ConditionalResizableContainer",
|
|
4972
5046
|
"category": "Components_2_0",
|
|
@@ -11671,7 +11745,7 @@
|
|
|
11671
11745
|
{
|
|
11672
11746
|
"name": "DIAL_KIT_CLASS",
|
|
11673
11747
|
"sourceFile": "constants/public-class-names.ts",
|
|
11674
|
-
"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 `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 /**\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"
|
|
11748
|
+
"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 `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"
|
|
11675
11749
|
}
|
|
11676
11750
|
]
|
|
11677
11751
|
}
|
|
@@ -39,6 +39,8 @@ const i = {
|
|
|
39
39
|
collapsibleSidebar: "dial-kit-collapsible-sidebar",
|
|
40
40
|
/** The content box inside a `ResizableContainer`'s resize frame. */
|
|
41
41
|
resizableContainer: "dial-kit-resizable-container",
|
|
42
|
+
/** The `role="separator"` element of a `ResizeHandle`. */
|
|
43
|
+
resizeHandle: "dial-kit-resize-handle",
|
|
42
44
|
/**
|
|
43
45
|
* The `role="dialog"` panel of a `Popup`. Its backdrop is reached through
|
|
44
46
|
* `overlayClassName`.
|