@epam/ai-dial-ui-kit 0.16.0-dev.15 → 0.16.0-dev.18
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/dist/CHANGELOG.md +7 -1
- package/dist/{DateCellRenderer-CkDF66wX.cjs → DateCellRenderer-DDEzIi2B.cjs} +8 -8
- 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/Checkbox/Checkbox.js +23 -21
- package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
- package/dist/components/New/FolderPath/FolderPath.js +136 -77
- package/dist/components/New/Popup/constants.js +1 -1
- package/dist/components/New/Radio/Radio.js +19 -17
- package/dist/components/New/Switch/Switch.js +19 -17
- package/dist/components-manifest.json +3 -3
- package/dist/dial-ui-kit.cjs +3 -3
- 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/FolderPath/FolderPath.d.ts +5 -0
- package/dist/src/components/New/Popup/constants.d.ts +1 -1
- 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
|
@@ -9,15 +9,15 @@ const C = ({
|
|
|
9
9
|
id: d,
|
|
10
10
|
labelProps: o,
|
|
11
11
|
isOn: t = !1,
|
|
12
|
-
disabled:
|
|
12
|
+
disabled: c,
|
|
13
13
|
onChange: a,
|
|
14
|
-
caption:
|
|
14
|
+
caption: s,
|
|
15
15
|
className: u,
|
|
16
16
|
...i
|
|
17
17
|
}) => {
|
|
18
|
-
const p = b(),
|
|
19
|
-
(
|
|
20
|
-
a?.(
|
|
18
|
+
const p = b(), l = d ?? p, n = s ? `${l}-caption` : void 0, h = g(
|
|
19
|
+
(f) => {
|
|
20
|
+
a?.(f.target.checked);
|
|
21
21
|
},
|
|
22
22
|
[a]
|
|
23
23
|
);
|
|
@@ -26,7 +26,9 @@ const C = ({
|
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
28
|
className: r(
|
|
29
|
-
|
|
29
|
+
// Named group: the control shows its hover state while either of its
|
|
30
|
+
// two <label>s (the control or the text) is hovered.
|
|
31
|
+
"group/choice flex items-center gap-2",
|
|
30
32
|
u,
|
|
31
33
|
N.switch
|
|
32
34
|
),
|
|
@@ -37,11 +39,11 @@ const C = ({
|
|
|
37
39
|
...i,
|
|
38
40
|
type: "checkbox",
|
|
39
41
|
role: "switch",
|
|
40
|
-
id:
|
|
42
|
+
id: l,
|
|
41
43
|
checked: t,
|
|
42
44
|
"aria-checked": t,
|
|
43
|
-
disabled:
|
|
44
|
-
onChange:
|
|
45
|
+
disabled: c,
|
|
46
|
+
onChange: h,
|
|
45
47
|
"aria-label": y(
|
|
46
48
|
typeof o?.label != "string" ? i["aria-label"] : void 0
|
|
47
49
|
),
|
|
@@ -52,14 +54,14 @@ const C = ({
|
|
|
52
54
|
/* @__PURE__ */ e(
|
|
53
55
|
"label",
|
|
54
56
|
{
|
|
55
|
-
htmlFor:
|
|
57
|
+
htmlFor: l,
|
|
56
58
|
className: r(
|
|
57
59
|
"flex h-[18px] w-[36px] shrink-0 items-center rounded-full p-0.5 transition-colors duration-200",
|
|
58
60
|
"peer-focus-visible:outline peer-focus-visible:outline-offset-2 peer-focus-visible:outline-focus",
|
|
59
61
|
t ? "justify-end" : "justify-start",
|
|
60
|
-
|
|
62
|
+
c ? "cursor-not-allowed bg-control-disable-primary" : r(
|
|
61
63
|
"cursor-pointer",
|
|
62
|
-
t ? "bg-control-accent hover:bg-control-accent-hover" : "bg-control-neutral-default hover:bg-control-neutral-hover-strong"
|
|
64
|
+
t ? "bg-control-accent group-has-[label:hover]/choice:bg-control-accent-hover" : "bg-control-neutral-default group-has-[label:hover]/choice:bg-control-neutral-hover-strong"
|
|
63
65
|
)
|
|
64
66
|
),
|
|
65
67
|
children: /* @__PURE__ */ e(
|
|
@@ -67,7 +69,7 @@ const C = ({
|
|
|
67
69
|
{
|
|
68
70
|
className: r(
|
|
69
71
|
"size-3.5 shrink-0 rounded-full",
|
|
70
|
-
|
|
72
|
+
c ? "bg-control-disable-secondary" : "bg-control-neutral"
|
|
71
73
|
)
|
|
72
74
|
}
|
|
73
75
|
)
|
|
@@ -78,12 +80,12 @@ const C = ({
|
|
|
78
80
|
{
|
|
79
81
|
size: x.Standard,
|
|
80
82
|
...o,
|
|
81
|
-
htmlFor:
|
|
83
|
+
htmlFor: l,
|
|
82
84
|
className: r(
|
|
83
85
|
// `Label` defaults to the secondary colour; the switch's own label
|
|
84
86
|
// has always been primary while the control is usable.
|
|
85
87
|
"py-[1px]",
|
|
86
|
-
|
|
88
|
+
c ? "cursor-not-allowed text-control-disable-primary" : "cursor-pointer text-primary",
|
|
87
89
|
o.className
|
|
88
90
|
)
|
|
89
91
|
}
|
|
@@ -91,12 +93,12 @@ const C = ({
|
|
|
91
93
|
]
|
|
92
94
|
}
|
|
93
95
|
),
|
|
94
|
-
|
|
96
|
+
s && /* @__PURE__ */ e(
|
|
95
97
|
"span",
|
|
96
98
|
{
|
|
97
99
|
id: n,
|
|
98
100
|
className: "dial-tiny-text text-secondary ml-[44px]",
|
|
99
|
-
children:
|
|
101
|
+
children: s
|
|
100
102
|
}
|
|
101
103
|
)
|
|
102
104
|
] });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.16.0-dev.
|
|
3
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"version": "0.16.0-dev.18",
|
|
3
|
+
"generatedAt": "2026-10-19T21:01:06.483Z",
|
|
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",
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"name": "FolderPath",
|
|
533
533
|
"category": "Components_2_0",
|
|
534
534
|
"generation": "2.0",
|
|
535
|
-
"description": "A read-only, non-clickable folder/location path styled like `DialBreadcrumb`.\naliases: FolderBreadcrumb|LocationPath\nDesign system 2.0\n\nEvery segment is disabled (no navigation); the first segment gets a leading\nfolder icon and the last segment is styled as the current/leaf item. A path\nof more than three segments collapses its middle into a non-interactive `…`\nthat shows the full path (`Shared > Team > Sub > Reports`) in a tooltip on\nhover; the hidden segments stay in the accessible text.",
|
|
535
|
+
"description": "A read-only, non-clickable folder/location path styled like `DialBreadcrumb`.\naliases: FolderBreadcrumb|LocationPath\nDesign system 2.0\n\nEvery segment is disabled (no navigation); the first segment gets a leading\nfolder icon and the last segment is styled as the current/leaf item. A path\nof more than three segments collapses its middle into a non-interactive `…`\nthat shows the full path (`Shared > Team > Sub > Reports`) in a tooltip on\nhover; the hidden segments stay in the accessible text.\n\nWhen the path is too wide, the leaf keeps its width longest: the folder\nbefore it truncates first, down to about one character, and if the leaf\nstill does not fit, that folder joins the `…` as well. Only then does the\nleaf truncate.",
|
|
536
536
|
"props": [
|
|
537
537
|
{
|
|
538
538
|
"name": "segments",
|