vrfi-design-system 1.0.98 → 1.1.0
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/index.d.ts +1 -0
- package/dist/main.es.js +18 -17
- package/dist/main.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -891,6 +891,7 @@ declare interface TabsProps extends TabsProps_2 {
|
|
|
891
891
|
onRemove?: (key: string) => void;
|
|
892
892
|
onDoubleClickHandler?: (key: string) => void;
|
|
893
893
|
isSticky?: boolean;
|
|
894
|
+
innerRef?: default_2.RefObject<HTMLDivElement> | null;
|
|
894
895
|
}
|
|
895
896
|
|
|
896
897
|
export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
|
package/dist/main.es.js
CHANGED
|
@@ -61166,7 +61166,7 @@ function zme({ name: e }) {
|
|
|
61166
61166
|
/* @__PURE__ */ k.jsx(xt, { children: /* @__PURE__ */ k.jsx(S0, { text: e }) })
|
|
61167
61167
|
] });
|
|
61168
61168
|
}
|
|
61169
|
-
const Rme = "
|
|
61169
|
+
const Rme = "_noData_1jdj8_24", Hme = "_subHeading_1jdj8_32", jme = "_icon_1jdj8_38", Qp = {
|
|
61170
61170
|
noData: Rme,
|
|
61171
61171
|
subHeading: Hme,
|
|
61172
61172
|
icon: jme
|
|
@@ -62885,17 +62885,18 @@ const ICe = ({
|
|
|
62885
62885
|
onDoubleClickHandler: a,
|
|
62886
62886
|
activeKey: i,
|
|
62887
62887
|
isSticky: l,
|
|
62888
|
-
|
|
62888
|
+
innerRef: s,
|
|
62889
|
+
...A
|
|
62889
62890
|
}) => {
|
|
62890
|
-
const
|
|
62891
|
-
|
|
62892
|
-
},
|
|
62893
|
-
|
|
62894
|
-
},
|
|
62895
|
-
const
|
|
62896
|
-
return /* @__PURE__ */ k.jsxs("div", { className: CO.tabLabel, onDoubleClick:
|
|
62897
|
-
/* @__PURE__ */ k.jsx("span", { children:
|
|
62898
|
-
r && i ===
|
|
62891
|
+
const u = (m) => (g) => {
|
|
62892
|
+
g.stopPropagation(), a && a(m);
|
|
62893
|
+
}, d = (m) => (g) => {
|
|
62894
|
+
g.stopPropagation(), o && o(m);
|
|
62895
|
+
}, f = (m, g) => {
|
|
62896
|
+
const p = u(g), v = d(g);
|
|
62897
|
+
return /* @__PURE__ */ k.jsxs("div", { ref: i ? s : null, className: CO.tabLabel, onDoubleClick: p, children: [
|
|
62898
|
+
/* @__PURE__ */ k.jsx("span", { children: m }),
|
|
62899
|
+
r && i === g && /* @__PURE__ */ k.jsx("i", { className: Pt.ICON_CLOSE, onClick: v })
|
|
62899
62900
|
] });
|
|
62900
62901
|
};
|
|
62901
62902
|
return /* @__PURE__ */ k.jsx(
|
|
@@ -62918,15 +62919,15 @@ const ICe = ({
|
|
|
62918
62919
|
[CO.tabsWrapper]: e === Az.CARD,
|
|
62919
62920
|
isTabsSticky: l
|
|
62920
62921
|
}),
|
|
62921
|
-
...
|
|
62922
|
-
children: n.map(({ label:
|
|
62922
|
+
...A,
|
|
62923
|
+
children: n.map(({ label: m, key: g, children: p, disabled: v }) => /* @__PURE__ */ k.jsx(
|
|
62923
62924
|
uf.TabPane,
|
|
62924
62925
|
{
|
|
62925
|
-
tab: r ?
|
|
62926
|
-
disabled:
|
|
62927
|
-
children:
|
|
62926
|
+
tab: r ? f(m, g) : m,
|
|
62927
|
+
disabled: v,
|
|
62928
|
+
children: p
|
|
62928
62929
|
},
|
|
62929
|
-
|
|
62930
|
+
g
|
|
62930
62931
|
))
|
|
62931
62932
|
}
|
|
62932
62933
|
)
|