@epam/ai-dial-ui-kit 0.6.0-rc.6 → 0.6.0-rc.7
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/dial-ui-kit.es.js
CHANGED
|
@@ -45614,20 +45614,21 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45614
45614
|
separator: n = QC,
|
|
45615
45615
|
className: r,
|
|
45616
45616
|
iconBefore: a,
|
|
45617
|
-
labelClassName: l
|
|
45617
|
+
labelClassName: l,
|
|
45618
|
+
...c
|
|
45618
45619
|
}) => {
|
|
45619
|
-
const
|
|
45620
|
+
const d = ge(
|
|
45620
45621
|
YC,
|
|
45621
45622
|
o ? a8 : r8,
|
|
45622
45623
|
r
|
|
45623
|
-
),
|
|
45624
|
+
), u = (!!t || !!s) && !o && !i, h = u ? ge(
|
|
45624
45625
|
Tg,
|
|
45625
45626
|
l8
|
|
45626
45627
|
) : ge(
|
|
45627
45628
|
Tg,
|
|
45628
45629
|
c8,
|
|
45629
45630
|
i ? "pointer-events-none opacity-75" : ""
|
|
45630
|
-
),
|
|
45631
|
+
), g = typeof e == "string" ? /* @__PURE__ */ m(
|
|
45631
45632
|
wt,
|
|
45632
45633
|
{
|
|
45633
45634
|
className: l,
|
|
@@ -45645,24 +45646,32 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45645
45646
|
children: e
|
|
45646
45647
|
}
|
|
45647
45648
|
);
|
|
45648
|
-
return /* @__PURE__ */ z(
|
|
45649
|
-
|
|
45650
|
-
|
|
45651
|
-
|
|
45652
|
-
|
|
45653
|
-
"
|
|
45654
|
-
|
|
45655
|
-
className:
|
|
45656
|
-
"aria-current": o ? "page" : void 0,
|
|
45657
|
-
"aria-disabled": i ? "true" : void 0,
|
|
45658
|
-
children: [
|
|
45649
|
+
return /* @__PURE__ */ z(
|
|
45650
|
+
"li",
|
|
45651
|
+
{
|
|
45652
|
+
...c,
|
|
45653
|
+
className: d,
|
|
45654
|
+
"aria-label": c["aria-label"] || "breadcrumb-item",
|
|
45655
|
+
children: [
|
|
45656
|
+
u ? /* @__PURE__ */ z("a", { href: t, onClick: s, className: h, children: [
|
|
45659
45657
|
a,
|
|
45660
|
-
|
|
45661
|
-
]
|
|
45662
|
-
|
|
45663
|
-
|
|
45664
|
-
|
|
45665
|
-
|
|
45658
|
+
g
|
|
45659
|
+
] }) : /* @__PURE__ */ z(
|
|
45660
|
+
"span",
|
|
45661
|
+
{
|
|
45662
|
+
className: h,
|
|
45663
|
+
"aria-current": o ? "page" : void 0,
|
|
45664
|
+
"aria-disabled": i ? "true" : void 0,
|
|
45665
|
+
children: [
|
|
45666
|
+
a,
|
|
45667
|
+
g
|
|
45668
|
+
]
|
|
45669
|
+
}
|
|
45670
|
+
),
|
|
45671
|
+
!o && /* @__PURE__ */ m("span", { className: ZC, "aria-label": "separator", children: n })
|
|
45672
|
+
]
|
|
45673
|
+
}
|
|
45674
|
+
);
|
|
45666
45675
|
}, u8 = ({
|
|
45667
45676
|
pathItems: e,
|
|
45668
45677
|
separator: t = QC,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { FC, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
export interface DialBreadcrumbItemProps {
|
|
1
|
+
import { FC, HTMLAttributes, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
+
export interface DialBreadcrumbItemProps extends Omit<HTMLAttributes<HTMLLIElement>, 'onClick'> {
|
|
3
3
|
label: ReactNode;
|
|
4
4
|
href?: string;
|
|
5
5
|
onClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
iconBefore?: ReactNode;
|
|
8
|
-
className?: string;
|
|
9
8
|
labelClassName?: string;
|
|
10
9
|
isLast?: boolean;
|
|
11
10
|
separator?: ReactNode;
|